IEC 61158-6-10:2019
(Main)Industrial communication networks - Fieldbus specifications - Part 6-10: Application layer protocol specification - Type 10 elements
Industrial communication networks - Fieldbus specifications - Part 6-10: Application layer protocol specification - Type 10 elements
IEC 61158-6-10:2019 provides common elements for basic time-critical and non-time-critical messaging communications between application programs in an automation environment and material specific to Type 2 fieldbus. The term “time-critical” is used to represent the presence of a time-window, within which one or more specified actions are required to be completed with some defined level of certainty. Failure to complete specified actions within the time window risks failure of the applications requesting the actions, with attendant risk to equipment, plant and possibly human life.
This International Standard specifies interactions between remote applications and defines the externally visible behavior provided by the Type 2 fieldbus application layer. The purpose of this document is to define the protocol provided to
a) define the wire-representation of the service primitives defined in this document, and
b) define the externally visible behavior associated with their transfer. This document specifies the protocol of the Type 2 fieldbus application layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498-1) and the OSI application layer structure (ISO/IEC 9545).
This fourth edition includes the following significant technical changes with respect to the previous edition:
a) integration of system redundancy basic functionality;
b) integration of dynamic reconfiguration basic functionality;
c) integration of reporting system basic functionality;
d) integration of asset management basic functionality;
e) integration of media redundancy ring interconnection basic functionality.
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-10: Spécification du protocole de la couche application - Eléments de type 10
L’IEC 61158-6-10:2019 fournit des éléments communs pour les communications de messagerie prioritaires et non prioritaires élémentaires entre les programmes d’application des environnements d’automatisation et le matériel spécifique au bus de terrain de type 10. On utilise le terme "prioritaire" pour traduire la présence d’une fenêtre temporelle, à l’intérieur de laquelle une ou plusieurs actions spécifiées doivent être terminées avec un niveau de certitude défini. Si les actions spécifiées ne sont pas réalisées dans la fenêtre temporelle, les applications demandant les actions risquent de connaître une défaillance, avec les risques que cela comporte pour les équipements, les installations et éventuellement la vie humaine.
La présente norme définit de manière abstraite les caractéristiques visibles en externe offertes par la couche application de bus de terrain de type 10 en termes
a) de la syntaxe abstraite définissant les unités de données de protocole de couche application acheminées entre les entités d'application engagées dans une communication,
b) de la syntaxe de transfert définissant les unités de données de protocole de couche application acheminées entre les entités d'application engagées dans une communication,
c) de diagramme d'états de contexte d'application définissant les caractéristiques du service d'application visibles entre les entités d'application de communication, et
d) des diagrammes d'états de Relation entre applications définissant le comportement de communication visible entre des entités d'application engagées dans une communication.
La présente norme vise à définir le protocole mis en place pour
a) définir la représentation filaire des primitives de service définies dans l’IEC 61158-5-10 et
b) définir le comportement visible de l'extérieur associé à leur transfert.
La présente norme spécifie le protocole de la couche application de bus de terrain de type 10, conformément au modèle de référence de base OSI (ISO/IEC 7498-1) et à la structure de couche application OSI (ISO/IEC 9545).
General Information
Relations
Standards Content (Sample)
IEC 61158-6-10 ®
Edition 4.0 2019-06
INTERNATIONAL
STANDARD
colour
inside
Industrial communication networks – Fieldbus specifications –
Part 6-10: Application layer protocol specification – Type 10 elements
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form
or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from
either IEC or IEC's member National Committee in the country of the requester. If you have any questions about IEC
copyright or have an enquiry about obtaining additional rights to this publication, please contact the address below or
your local IEC member National Committee for further information.
IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé info@iec.ch
CH-1211 Geneva 20 www.iec.ch
Switzerland
About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.
About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigendum or an amendment might have been published.
IEC publications search - webstore.iec.ch/advsearchform Electropedia - www.electropedia.org
The advanced search enables to find IEC publications by a The world's leading online dictionary on electrotechnology,
variety of criteria (reference number, text, technical containing more than 22 000 terminological entries in English
committee,…). It also gives information on projects, replaced and French, with equivalent terms in 16 additional languages.
and withdrawn publications. Also known as the International Electrotechnical Vocabulary
(IEV) online.
IEC Just Published - webstore.iec.ch/justpublished
Stay up to date on all new IEC publications. Just Published IEC Glossary - std.iec.ch/glossary
details all new publications released. Available online and 67 000 electrotechnical terminology entries in English and
once a month by email. French extracted from the Terms and Definitions clause of
IEC publications issued since 2002. Some entries have been
IEC Customer Service Centre - webstore.iec.ch/csc collected from earlier publications of IEC TC 37, 77, 86 and
If you wish to give us your feedback on this publication or CISPR.
need further assistance, please contact the Customer Service
Centre: sales@iec.ch.
IEC 61158-6-10 ®
Edition 4.0 2019-06
INTERNATIONAL
STANDARD
colour
inside
Industrial communication networks – Fieldbus specifications –
Part 6-10: Application layer protocol specification – Type 10 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-7010-3
– 2 – IEC 61158-6-10:2019 © IEC 2019
CONTENTS
FOREWORD . 37
INTRODUCTION . 39
1 Scope . 41
1.1 General . 41
1.2 Specifications . 41
1.3 Conformance . 41
2 Normative references . 42
3 Terms, definitions, abbreviated terms, symbols and conventions . 45
3.1 Referenced terms and definitions . 45
3.1.1 ISO/IEC 7498-1 terms. 45
3.1.2 ISO/IEC 8822 terms . 45
3.1.3 ISO/IEC 8824-1 terms. 45
3.1.4 ISO/IEC 9545 terms . 45
3.2 Terms and definitions for decentralized periphery . 46
3.3 Abbreviated terms and symbols . 54
3.3.1 Abbreviated terms and symbols for media redundancy . 54
3.3.2 Abbreviated terms and symbols for decentralized periphery . 54
3.3.3 Abbreviated terms and symbols for services . 58
3.3.4 Abbreviated terms and symbols for IEEE 802.1Q . 58
3.3.5 Abbreviated terms and symbols for IETF RFC 2474 . 58
3.3.6 Abbreviated terms and symbols for IETF RFC 4291 . 58
3.4 Conventions . 58
3.4.1 General concept . 58
3.4.2 Conventions for decentralized periphery . 58
3.4.3 Conventions used in state machines . 67
4 Application layer protocol specification for common protocols . 72
4.1 FAL syntax description . 72
4.1.1 DLPDU abstract syntax reference . 72
4.1.2 Data types . 74
4.2 Transfer syntax . 75
4.2.1 Coding of basic data types . 75
4.2.2 Coding section related to common basic fields . 83
4.3 Discovery and basic configuration . 94
4.3.1 DCP syntax description . 94
4.3.2 DCP protocol state machines . 122
4.3.3 DLL Mapping Protocol Machines. 139
4.4 Precision working time control . 140
4.4.1 FAL syntax description . 140
4.4.2 AP-Context state machine . 151
4.4.3 FAL Service Protocol Machines . 151
4.4.4 Application Relationship Protocol Machines . 152
4.4.5 DLL Mapping Protocol Machines. 215
4.5 Time synchronization . 215
4.5.1 General . 215
4.5.2 GlobalTime . 216
4.5.3 WorkingClock . 216
4.6 Media redundancy . 217
4.6.1 Media redundancy and loop prevention . 217
4.6.2 Seamless media redundancy . 220
4.7 Real time cyclic . 220
4.7.1 FAL syntax description . 220
4.7.2 FAL transfer syntax . 221
4.7.3 FAL Service Protocol Machines . 231
4.7.4 Application Relationship Protocol Machines . 231
4.7.5 DLL Mapping Protocol Machines. 249
4.8 Real time acyclic . 249
4.8.1 RTA syntax description . 249
4.8.2 RTA transfer syntax . 250
4.8.3 FAL Service Protocol Machines . 254
4.8.4 Application Relationship Protocol Machines . 254
4.8.5 DLL Mapping Protocol Machines. 269
4.9 Fragmentation. 269
4.9.1 General . 269
4.9.2 FRAG syntax description . 272
4.9.3 FRAG transfer syntax . 273
4.9.4 FAL Service Protocol Machines . 275
4.9.5 Application Relationship Protocol Machines . 275
4.9.6 DLL Mapping Protocol Machines. 275
4.10 Remote procedure call . 286
4.10.1 General . 286
4.10.2 RPC syntax description . 286
4.10.3 RPC Transfer syntax . 288
4.10.4 FAL Service Protocol Machines . 304
4.10.5 Application Relationship Protocol Machines . 304
4.10.6 DLL Mapping Protocol Machines. 305
4.11 Link layer discovery . 305
4.11.1 General . 305
4.11.2 FAL common syntax description . 305
4.11.3 LLDP transfer syntax . 307
4.11.4 FAL Service Protocol Machines . 317
4.11.5 Application Relation Protocol Machines . 317
4.11.6 DLL Mapping Protocol Machines. 317
4.12 Bridges and End Stations . 317
4.12.1 General . 317
4.12.2 Model . 318
4.12.3 Traffic Shaping . 333
4.12.4 Bridge extensions . 334
4.12.5 QueueHandler . 335
4.12.6 FAL Service Protocol Machines . 335
4.12.7 Application Relation Protocol Machines . 335
4.12.8 DLL Mapping Protocol Machines. 335
4.13 IP suite . 374
4.13.1 Overview . 374
4.13.2 IP/UDP syntax description . 374
4.13.3 IP/UDP transfer syntax . 375
4.13.4 ARP . 378
– 4 – IEC 61158-6-10:2019 © IEC 2019
4.14 Domain name system . 380
4.14.1 General . 380
4.14.2 Primitive definitions . 380
4.14.3 DNS state transition diagram . 381
4.14.4 State machine description . 381
4.14.5 DNS state table . 381
4.14.6 Functions, Macros, Timers and Variables . 381
4.15 Dynamic host configuration . 381
4.15.1 General . 381
4.15.2 Primitive definitions . 382
4.15.3 DHCP state transition diagram . 382
4.15.4 State machine description . 382
4.15.5 DHCP state table . 382
4.15.6 Functions, Macros, Timers and Variables . 382
4.16 Simple network management . 383
4.16.1 Overview . 383
4.16.2 IETF RFC 1213-MIB . 383
4.16.3 Enterprise number for PNIO MIB . 383
4.16.4 MIB cross reference . 384
4.16.5 Behavior in case of modular built bridges . 384
4.16.6 LLDP EXT MIB . 384
4.17 Common DLL Mapping Protocol Machines . 384
4.17.1 Overview . 384
4.17.2 Data Link Layer Mapping Protocol Machine . 385
4.18 Additional definitions . 390
5 Application layer protocol specification for decentralized periphery . 390
5.1 FAL syntax description . 390
5.1.1 DLPDU abstract syntax reference . 390
5.1.2 APDU abstract syntax . 390
5.2 Transfer syntax . 409
5.2.1 Coding section related to BlockHeader specific fields . 409
5.2.2 Coding section related to RTA-SDU specific fields . 424
5.2.3 Coding section related to common address fields . 429
5.2.4 Coding section related to AL services . 445
5.2.5 Coding section related to ARVendorBlock . 479
5.2.6 Coding section related to PNIOStatus . 481
5.2.7 Coding section related to I&M Records . 498
5.2.8 Coding section related to Alarm and Diagnosis PDUs . 505
5.2.9 Coding section related to upload and retrieval . 527
5.2.10 Coding section related to iParameter . 527
5.2.11 Coding section related to Physical Device Interface Data . 528
5.2.12 Coding section related to Physical Device Port Data . 528
5.2.13 Coding section related to Physical Device IR Data . 531
5.2.14 Coding section related to Physical Sync Data . 554
5.2.15 Coding section related to Isochrone Mode Data . 559
5.2.16 Coding section related to Physical Time Data . 561
5.2.17 Coding section related to Media Redundancy . 564
5.2.18 Coding section related to fiber optics . 575
5.2.19 Coding section related to network components . 577
5.2.20 Coding section related port statistic . 578
5.2.21 Coding section related to fast startup. 581
5.2.22 Coding section related to DFP . 583
5.2.23 Coding section related to MRPD . 587
5.2.24 Coding section related to auto configuration . 588
5.2.25 Coding section related to controller to controller communication . 591
5.2.26 Coding section related to system redundancy . 592
5.2.27 Coding section related to energy saving . 595
5.2.28 Coding section related to asset management . 595
5.2.29 Coding section related to reporting system . 600
5.2.30 Coding section related to Logbook . 606
5.2.31 Coding section related to Time . 607
5.2.32 Coding section related to Channel Related Process Alarm Reason . 607
5.2.33 PDU checking rules . 610
5.3 FAL protocol state machines . 643
5.3.1 Overall structure . 643
5.4 AP-Context state machine . 645
5.5 FAL Service Protocol Machines . 645
5.5.1 Overview . 645
5.5.2 FAL Service Protocol Machine Device . 645
5.5.3 FAL Service Protocol Machine Controller . 654
5.6 Application Relationship Protocol Machines . 665
5.6.1 Alarm Protocol Machine Initiator . 665
5.6.2 Alarm Protocol Machine Responder . 669
5.6.3 Device . 673
5.6.4 Controller . 756
5.7 DLL Mapping Protocol Machines . 818
Annex A (normative) Unified establishing of an AR for all RT classes . 819
A.1 General . 819
A.2 AR establishing . 820
A.3 Startup of Alarm transmitter and receiver . 825
Annex B (normative) Compatible establishing of an AR . 828
Annex C (informative) Establishing of a device access AR . 831
Annex D (informative) Establishing of an AR (accelerated procedure) . 832
Annex E (informative) Establishing of an AR (fast startup procedure). 835
Annex F (informative) Example of the upload, storage and retrieval procedure . 837
Annex G (informative) OSI reference model layers. 839
Annex H (informative) Overview of the IO controller and the IO device state machines . 840
Annex I (informative) Priority regeneration . 842
Annex J (informative) Overview of the PTCP synchronization master hierarchy . 843
Annex K (informative) Optimization of bandwidth usage . 845
Annex L (informative) Time constraints for bandwidth allocation . 847
Annex M (informative) Time constraints for the forwarding of a frame . 849
M.1 Principle . 849
M.2 Forwarding . 849
Annex N (informative) Principle of dynamic frame packing . 851
Annex O (informative) Principle of Fragmentation . 855
– 6 – IEC 61158-6-10:2019 © IEC 2019
Annex P (informative) MRPD – Principle of seamless media redundancy . 858
Annex Q (normative) Principle of a RED_RELAY without forwarding information in
PDIRFrameData . 860
Annex R (informative) Optimization for fast startup without autonegotiation . 863
Annex S (informative) Example of a PrmBegin, PrmEnd and ApplRdy sequence . 866
Annex T (informative) List of supported MIBs . 867
Annex U (informative) Structure and content of BLOB . 868
Annex V (normative) LLDP EXT MIB . 869
Annex W (normative) Cross reference to the IEC 62439-2 . 887
W.1 Cross reference to the IEC 62439-2 . 887
W.1.1 General . 887
W.1.2 Ring . 887
W.1.3 Interconnection . 888
Annex X (normative) Maintaining statistic counters for Ethernet . 890
X.1 General . 890
X.2 Counting model . 890
X.3 Explanation of the IETF RFC defined statistic counters . 892
X.4 Value range of the IETF RFC defined statistic counters . 893
Bibliography . 894
Figure 1 – Common structure of specific fields for octet 1 (high) . 60
Figure 2 – Common structure of specific fields for octet 2 . 60
Figure 3 – Common structure of specific fields for octet 3 . 60
Figure 4 – Common structure of specific fields for octet 4 . 61
Figure 5 – Common structure of specific fields for octet 5 . 61
Figure 6 – Common structure of specific fields for octet 6 . 61
Figure 7 – Common structure of specific fields for octet 7 . 62
Figure 8 – Common structure of specific fields for octet 8 . 62
Figure 9 – Common structure of specific fields for octet 9 . 62
Figure 10 – Common structure of specific fields for octet 10 . 63
Figure 11 – Common structure of specific fields for octet 11 . 63
Figure 12 – Common structure of specific fields for octet 12 . 63
Figure 13 – Common structure of specific fields for octet 13 . 64
Figure 14 – Common structure of specific fields for octet 14 . 64
Figure 15 – Common structure of specific fields for octet 15 . 64
Figure 16 – Common structure of specific fields for octet 16 (low) . 65
Figure 17 – Coding of the data type BinaryDate . 77
Figure 18 – Encoding of TimeOfDay with date indication value . 77
Figure 19 – Encoding of TimeOfDay without date indication value . 78
Figure 20 – Encoding of TimeDifference with date indication value . 78
Figure 21 – Encoding of TimeDifference without date indication value . 78
Figure 22 – Encoding of a NetworkTime value . 79
Figure 23 – Encoding of NetworkTimeDifference value . 79
Figure 24 – Encoding of TimeStamp value . 80
Figure 25 – Encoding of TimeStampDifference value . 81
Figure 26 – Encoding of TimeStampDifferenceShort value . 82
Figure 27 – FastForwardingMulticastMACAdd . 88
Figure 28 – State transition diagram of DCPUCS . 123
Figure 29 – State transition diagram of DCPUCR . 127
Figure 30 – State transition diagram of DCPMCS . 131
Figure 31 – State transition diagram of DCPMCR . 134
Figure 32 – State transition diagram of DCPHMCS . 137
Figure 33 – State transition diagram of DCPHMCR . 139
Figure 34 – PTCP_SequenceID value range . 144
Figure 35 – Timescale correspondence between PTCP_Time and CycleCounter . 147
Figure 36 – Message timestamp point . 152
Figure 37 – Timer model . 152
Figure 38 – Four message timestamps . 153
Figure 39 – Line delay protocol with follow up . 154
Figure 40 – Line delay protocol without follow up . 154
Figure 41 – Line delay measurement . 156
Figure 42 – Model parameter for GSDML usage . 158
Figure 43 – Bridge delay measurement . 159
Figure 44 – Delay accumulation . 160
Figure 45 – Worst case accumulated time deviation of synchronization . 161
Figure 46 – Signal generation for measurement of deviation . 161
Figure 47 – Measurement of deviation . 162
Figure 48 – PTCP master sending Sync-Frame without Follow Up-Frame . 163
Figure 49 – PTCP master sending Sync-Frame with FollowUp-Frame . 163
Figure 50 – !FU Sync Slave Forwarding Sync-Frame . 164
Figure 51 – FU Sync Slave Forwarding Sync- and FollowUp-Frame . 165
Figure 52 – FU Sync Slave Forwarding Sync- and Generating FollowUp-Frame . 166
Figure 53 – Principle of the monitoring of the line delay measurement . 167
Figure 54 – State transition diagram of DELAY_REQ . 169
Figure 55 – State transition diagram of DELAY_RSP . 177
Figure 56 – Overview of PTCP . 181
Figure 57 – State transition diagram of SYN_BMA . 184
Figure 58 – State transition diagram of SYN_MPSM . 193
Figure 59 – State transition diagram of SYN_SPSM . 199
Figure 60 – State transition diagram of SYNC_RELAY . 206
Figure 61 – State transition diagram of SCHEDULER . 212
Figure 62 – GlobalTime timer model . 216
Figure 63 – WorkingClock timer model . 217
Figure 64 – Media redundancy – Ring . 217
Figure 65 – Media redundancy – Interconnection . 219
Figure 66 – CycleCounter value range . 222
Figure 67 – Structure of the CycleCounter . 223
– 8 – IEC 61158-6-10:2019 © IEC 2019
Figure 68 – Optimized CycleCounter setting . 224
Figure 69 – SFCRC16 generation rule . 228
Figure 70 – SFCycleCounter value range . 229
Figure 71 – Basic structure of a PPM with frame structure . 232
Figure 72 – Basic structure of a PPM with subframe structure. 233
Figure 73 – State transition diagram of PPM . 235
Figure 74 – Basic structure of a CPM . 239
Figure 75 – State transition diagram of CPM . 241
Figure 76 – Addressing scheme of RTA . 251
Figure 77 – Structure of the APM . 255
Figure 78 – Structure of the APMS . 256
Figure 79 – State transition diagram of APMS . 258
Figure 80 – Structure of the APMR . 263
Figure 81 – State transition diagram of APMR . 265
Figure 82 – State transition diagram of FRAG_D . 276
Figure 83 – State transition diagram of FRAG_S . 280
Figure 84 – State transition diagram of DEFRAG . 283
Figure 85 – DLL Maping Protocol Machines (DMPM) . 317
Figure 86 – Principle traffic flow model of a bridge . 322
Figure 87 – Principle resource model of a bridge . 323
Figure 88 – End station – on port bridge – transmit . 328
Figure 89 – End station – on port bridge – receive . 329
Figure 90 – Bridge with End Station . 330
Figure 91 – Transmit – one port of a bridge . 330
Figure 92 – Forwarding process – bridge . 331
Figure 93 – Receive – on port of a bridge . 331
Figure 94 – Transmit – Management port . 332
Figure 95 – Receive – Management port . 333
Figure 96 – State transition diagram of RTC3PSM . 339
Figure 97 – State transition diagram for generating events . 343
Figure 98 – State transition diagram of RED_RELAY . 345
Figure 99 – Scheme of the DFP_RELAY . 349
Figure 100 – Scheme of the DFP_RELAY_INBOUND and DFP_RELAY_IN_STORAGE . 349
Figure 101 – Scheme of the DFP_RELAY_OUTBOUND . 350
Figure 102 – State transition diagram of DFP_RELAY . 351
Figure 103 – State transition diagram of DFP_RELAY_INBOUND . 354
Figure 104 – State transition diagram of DFP_RELAY_IN_STORAGE . 358
Figure 105 – State transition diagram of DFP_RELAY_OUTBOUND . 362
Figure 106 – State transition diagram of MUX . 366
Figure 107 – State transition diagram of DEMUX . 371
Figure 108 – State transition diagram of ACCM . 379
Figure 109 – Structuring of the protocol machines within the DMPM (bridge) . 385
Figure 110 – State transition diagram of LMPM . 388
Figure 111 – AlarmSpecifier.SequenceNumber value range . 427
Figure 112 – FrameSendOffset vs. duration of a cycle . 472
Figure 113 – Severity classification of fault, maintenance and normal . 526
Figure 114 – Calculation principle for a cycle . 548
Figure 115 – Calculation principle for the minimum YellowTime . 549
Figure 116 – Definition of the reserved interval . 556
Figure 117 – Toplevel view to the PLL window . 559
Figure 118 – Definition of PLL window . 559
Figure 119 – Toplevel view to the time PLL window . 562
Figure 120 – Definition of time PLL window . 563
Figure 121 – Detection of dropped frames – appear . 578
Figure 122 – Detection of dropped frames – disappear . 578
Figure 123 – Detection of DFP late error – appear and disappear . 586
Figure 124 – MediaRedundancyWatchDog expired – appear and disappear . 588
Figure 125 – EndPoint1 and Endpoint2 scheme – above and below . 593
Figure 126 – EndPoint1 and Endpoint2 scheme – left and right . 593
Figure 127 – Relationship among Protocol Machines . 643
Figure 128 – State transition diagram of ALPMI . 666
Figure 129 – State transition diagram of ALPMR . 670
Figure 130 – Scheme of the IO device CM . 674
Figure 131 – State transition diagram of the IO device CM . 676
Figure 132 – State transition diagram of CMDEV . 680
Figure 133 – Scheme of the IO device CM – device access . 685
Figure 134 – State transition diagram of CMDEV_DA. 687
Figure 135 – State transition diagram of CMSU . 691
Figure 136 – State transition diagram of CMIO . 696
Figure 137 – State transition diagram of CMRS . 699
Figure 138 – State transition diagram of CMWRR . 702
Figure 139 – State transition diagram of CMRDR . 707
Figure 140 – State transition diagram of CMSM . 709
Figure 141 – State transition diagram of CMPBE . 713
Figure 142 – State transition diagram of CMDMC . 718
Figure 143 – State transition diagram of CMINA . 723
Figure 144 – State transition diagram of CMRPC . 734
Figure 145 – Intersection and residual amount using different ARUUID.ConfigIDs . 740
Figure 146 – Intersection and removed amount using different ARUUID.ConfigIDs . 741
Figure 147 – State transition dia
...
IEC 61158-6-10 ®
Edition 4.0 2019-06
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Industrial communication networks – Fieldbus specifications –
Part 6-10: Application layer protocol specification – Type 10 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 6-10: Spécification de protocole de couche d’application – Eléments
de type 10
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form
or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from
either IEC or IEC's member National Committee in the country of the requester. If you have any questions about IEC
copyright or have an enquiry about obtaining additional rights to this publication, please contact the address below or
your local IEC member National Committee for further information.
Droits de reproduction réservés. Sauf indication contraire, aucune partie de cette publication ne peut être reproduite
ni utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie
et les microfilms, sans l'accord écrit de l'IEC ou du Comité national de l'IEC du pays du demandeur. Si vous avez des
questions sur le copyright de l'IEC ou si vous désirez obtenir des droits supplémentaires sur cette publication, utilisez
les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pays de résidence.
IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé info@iec.ch
CH-1211 Geneva 20 www.iec.ch
Switzerland
About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.
About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigendum or an amendment might have been published.
IEC publications search - webstore.iec.ch/advsearchform IEC online collection - oc.iec.ch
The advanced search enables to find IEC publications by a Discover our powerful search engine and read freely all the
variety of criteria (reference number, text, technical publications previews. With a subscription you will always
committee, …). It also gives information on projects, replaced have access to up to date content tailored to your needs.
and withdrawn publications.
Electropedia - www.electropedia.org
IEC Just Published - webstore.iec.ch/justpublished
The world's leading online dictionary on electrotechnology,
Stay up to date on all new IEC publications. Just Published
containing more than 22 000 terminological entries in English
details all new publications released. Available online and
and French, with equivalent terms in 18 additional languages.
once a month by email.
Also known as the International Electrotechnical Vocabulary
(IEV) online.
IEC Customer Service Centre - webstore.iec.ch/csc
If you wish to give us your feedback on this publication or
need further assistance, please contact the Customer Service
Centre: sales@iec.ch.
A propos de l'IEC
La Commission Electrotechnique Internationale (IEC) est la première organisation mondiale qui élabore et publie des
Normes internationales pour tout ce qui a trait à l'électricité, à l'électronique et aux technologies apparentées.
A propos des publications IEC
Le contenu technique des publications IEC est constamment revu. Veuillez vous assurer que vous possédez l’édition la
plus récente, un corrigendum ou amendement peut avoir été publié.
Recherche de publications IEC - IEC online collection - oc.iec.ch
webstore.iec.ch/advsearchform Découvrez notre puissant moteur de recherche et consultez
La recherche avancée permet de trouver des publications IEC gratuitement tous les aperçus des publications. Avec un
en utilisant différents critères (numéro de référence, texte, abonnement, vous aurez toujours accès à un contenu à jour
comité d’études, …). Elle donne aussi des informations sur adapté à vos besoins.
les projets et les publications remplacées ou retirées.
Electropedia - www.electropedia.org
IEC Just Published - webstore.iec.ch/justpublished
Le premier dictionnaire d'électrotechnologie en ligne au
Restez informé sur les nouvelles publications IEC. Just
monde, avec plus de 22 000 articles terminologiques en
Published détaille les nouvelles publications parues.
anglais et en français, ainsi que les termes équivalents dans
Disponible en ligne et une fois par mois par email.
16 langues additionnelles. Egalement appelé Vocabulaire
Electrotechnique International (IEV) en ligne.
Service Clients - webstore.iec.ch/csc
Si vous désirez nous donner des commentaires sur cette
publication ou si vous avez des questions contactez-nous:
sales@iec.ch.
IEC 61158-6-10 ®
Edition 4.0 2019-06
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Industrial communication networks – Fieldbus specifications –
Part 6-10: Application layer protocol specification – Type 10 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 6-10: Spécification de protocole de couche d’application – Eléments
de type 10
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-9740-7
– 2 – IEC 61158-6-10:2019 © IEC 2019
CONTENTS
FOREWORD . 37
INTRODUCTION . 39
1 Scope . 41
1.1 General . 41
1.2 Specifications . 41
1.3 Conformance . 41
2 Normative references . 42
3 Terms, definitions, abbreviated terms, symbols and conventions . 45
3.1 Referenced terms and definitions . 45
3.1.1 ISO/IEC 7498-1 terms. 45
3.1.2 ISO/IEC 8822 terms . 45
3.1.3 ISO/IEC 8824-1 terms. 45
3.1.4 ISO/IEC 9545 terms . 45
3.2 Terms and definitions for decentralized periphery . 46
3.3 Abbreviated terms and symbols . 54
3.3.1 Abbreviated terms and symbols for media redundancy . 54
3.3.2 Abbreviated terms and symbols for decentralized periphery . 54
3.3.3 Abbreviated terms and symbols for services . 58
3.3.4 Abbreviated terms and symbols for IEEE 802.1Q . 58
3.3.5 Abbreviated terms and symbols for IETF RFC 2474 . 58
3.3.6 Abbreviated terms and symbols for IETF RFC 4291 . 58
3.4 Conventions . 58
3.4.1 General concept . 58
3.4.2 Conventions for decentralized periphery . 58
3.4.3 Conventions used in state machines . 67
4 Application layer protocol specification for common protocols . 72
4.1 FAL syntax description . 72
4.1.1 DLPDU abstract syntax reference . 72
4.1.2 Data types . 74
4.2 Transfer syntax . 75
4.2.1 Coding of basic data types . 75
4.2.2 Coding section related to common basic fields . 83
4.3 Discovery and basic configuration . 94
4.3.1 DCP syntax description . 94
4.3.2 DCP protocol state machines . 122
4.3.3 DLL Mapping Protocol Machines. 139
4.4 Precision working time control . 140
4.4.1 FAL syntax description . 140
4.4.2 AP-Context state machine . 151
4.4.3 FAL Service Protocol Machines . 151
4.4.4 Application Relationship Protocol Machines . 152
4.4.5 DLL Mapping Protocol Machines. 215
4.5 Time synchronization . 215
4.5.1 General . 215
4.5.2 GlobalTime . 216
4.5.3 WorkingClock . 216
4.6 Media redundancy . 217
4.6.1 Media redundancy and loop prevention . 217
4.6.2 Seamless media redundancy . 220
4.7 Real time cyclic . 220
4.7.1 FAL syntax description . 220
4.7.2 FAL transfer syntax . 221
4.7.3 FAL Service Protocol Machines . 231
4.7.4 Application Relationship Protocol Machines . 231
4.7.5 DLL Mapping Protocol Machines. 249
4.8 Real time acyclic . 249
4.8.1 RTA syntax description . 249
4.8.2 RTA transfer syntax . 250
4.8.3 FAL Service Protocol Machines . 254
4.8.4 Application Relationship Protocol Machines . 254
4.8.5 DLL Mapping Protocol Machines. 269
4.9 Fragmentation. 269
4.9.1 General . 269
4.9.2 FRAG syntax description . 272
4.9.3 FRAG transfer syntax . 273
4.9.4 FAL Service Protocol Machines . 275
4.9.5 Application Relationship Protocol Machines . 275
4.9.6 DLL Mapping Protocol Machines. 275
4.10 Remote procedure call . 286
4.10.1 General . 286
4.10.2 RPC syntax description . 286
4.10.3 RPC Transfer syntax . 288
4.10.4 FAL Service Protocol Machines . 304
4.10.5 Application Relationship Protocol Machines . 304
4.10.6 DLL Mapping Protocol Machines. 305
4.11 Link layer discovery . 305
4.11.1 General . 305
4.11.2 FAL common syntax description . 305
4.11.3 LLDP transfer syntax . 307
4.11.4 FAL Service Protocol Machines . 317
4.11.5 Application Relation Protocol Machines . 317
4.11.6 DLL Mapping Protocol Machines. 317
4.12 Bridges and End Stations . 317
4.12.1 General . 317
4.12.2 Model . 318
4.12.3 Traffic Shaping . 333
4.12.4 Bridge extensions . 334
4.12.5 QueueHandler . 335
4.12.6 FAL Service Protocol Machines . 335
4.12.7 Application Relation Protocol Machines . 335
4.12.8 DLL Mapping Protocol Machines. 335
4.13 IP suite . 374
4.13.1 Overview . 374
4.13.2 IP/UDP syntax description . 374
4.13.3 IP/UDP transfer syntax . 375
4.13.4 ARP . 378
– 4 – IEC 61158-6-10:2019 © IEC 2019
4.14 Domain name system . 380
4.14.1 General . 380
4.14.2 Primitive definitions . 380
4.14.3 DNS state transition diagram . 381
4.14.4 State machine description . 381
4.14.5 DNS state table . 381
4.14.6 Functions, Macros, Timers and Variables . 381
4.15 Dynamic host configuration . 381
4.15.1 General . 381
4.15.2 Primitive definitions . 382
4.15.3 DHCP state transition diagram . 382
4.15.4 State machine description . 382
4.15.5 DHCP state table . 382
4.15.6 Functions, Macros, Timers and Variables . 382
4.16 Simple network management . 383
4.16.1 Overview . 383
4.16.2 IETF RFC 1213-MIB . 383
4.16.3 Enterprise number for PNIO MIB . 383
4.16.4 MIB cross reference . 384
4.16.5 Behavior in case of modular built bridges . 384
4.16.6 LLDP EXT MIB . 384
4.17 Common DLL Mapping Protocol Machines . 384
4.17.1 Overview . 384
4.17.2 Data Link Layer Mapping Protocol Machine . 385
4.18 Additional definitions . 390
5 Application layer protocol specification for decentralized periphery . 390
5.1 FAL syntax description . 390
5.1.1 DLPDU abstract syntax reference . 390
5.1.2 APDU abstract syntax . 390
5.2 Transfer syntax . 409
5.2.1 Coding section related to BlockHeader specific fields . 409
5.2.2 Coding section related to RTA-SDU specific fields . 424
5.2.3 Coding section related to common address fields . 429
5.2.4 Coding section related to AL services . 445
5.2.5 Coding section related to ARVendorBlock . 479
5.2.6 Coding section related to PNIOStatus . 481
5.2.7 Coding section related to I&M Records . 498
5.2.8 Coding section related to Alarm and Diagnosis PDUs . 505
5.2.9 Coding section related to upload and retrieval . 527
5.2.10 Coding section related to iParameter . 527
5.2.11 Coding section related to Physical Device Interface Data . 528
5.2.12 Coding section related to Physical Device Port Data . 528
5.2.13 Coding section related to Physical Device IR Data . 531
5.2.14 Coding section related to Physical Sync Data . 554
5.2.15 Coding section related to Isochrone Mode Data . 559
5.2.16 Coding section related to Physical Time Data . 561
5.2.17 Coding section related to Media Redundancy . 564
5.2.18 Coding section related to fiber optics . 575
5.2.19 Coding section related to network components . 577
5.2.20 Coding section related port statistic . 578
5.2.21 Coding section related to fast startup. 581
5.2.22 Coding section related to DFP . 583
5.2.23 Coding section related to MRPD . 587
5.2.24 Coding section related to auto configuration . 588
5.2.25 Coding section related to controller to controller communication . 591
5.2.26 Coding section related to system redundancy . 592
5.2.27 Coding section related to energy saving . 595
5.2.28 Coding section related to asset management . 595
5.2.29 Coding section related to reporting system . 600
5.2.30 Coding section related to Logbook . 606
5.2.31 Coding section related to Time . 607
5.2.32 Coding section related to Channel Related Process Alarm Reason . 607
5.2.33 PDU checking rules . 610
5.3 FAL protocol state machines . 643
5.3.1 Overall structure . 643
5.4 AP-Context state machine . 645
5.5 FAL Service Protocol Machines . 645
5.5.1 Overview . 645
5.5.2 FAL Service Protocol Machine Device . 645
5.5.3 FAL Service Protocol Machine Controller . 654
5.6 Application Relationship Protocol Machines . 665
5.6.1 Alarm Protocol Machine Initiator . 665
5.6.2 Alarm Protocol Machine Responder . 669
5.6.3 Device . 673
5.6.4 Controller . 756
5.7 DLL Mapping Protocol Machines . 818
Annex A (normative) Unified establishing of an AR for all RT classes . 819
A.1 General . 819
A.2 AR establishing . 820
A.3 Startup of Alarm transmitter and receiver . 825
Annex B (normative) Compatible establishing of an AR . 828
Annex C (informative) Establishing of a device access AR . 831
Annex D (informative) Establishing of an AR (accelerated procedure) . 832
Annex E (informative) Establishing of an AR (fast startup procedure). 835
Annex F (informative) Example of the upload, storage and retrieval procedure . 837
Annex G (informative) OSI reference model layers. 839
Annex H (informative) Overview of the IO controller and the IO device state machines . 840
Annex I (informative) Priority regeneration . 842
Annex J (informative) Overview of the PTCP synchronization master hierarchy . 843
Annex K (informative) Optimization of bandwidth usage . 845
Annex L (informative) Time constraints for bandwidth allocation . 847
Annex M (informative) Time constraints for the forwarding of a frame . 849
M.1 Principle . 849
M.2 Forwarding . 849
Annex N (informative) Principle of dynamic frame packing . 851
Annex O (informative) Principle of Fragmentation . 855
– 6 – IEC 61158-6-10:2019 © IEC 2019
Annex P (informative) MRPD – Principle of seamless media redundancy . 858
Annex Q (normative) Principle of a RED_RELAY without forwarding information in
PDIRFrameData . 860
Annex R (informative) Optimization for fast startup without autonegotiation . 863
Annex S (informative) Example of a PrmBegin, PrmEnd and ApplRdy sequence . 866
Annex T (informative) List of supported MIBs . 867
Annex U (informative) Structure and content of BLOB . 868
Annex V (normative) LLDP EXT MIB . 869
Annex W (normative) Cross reference to the IEC 62439-2 . 887
W.1 Cross reference to the IEC 62439-2 . 887
W.1.1 General . 887
W.1.2 Ring . 887
W.1.3 Interconnection . 888
Annex X (normative) Maintaining statistic counters for Ethernet . 890
X.1 General . 890
X.2 Counting model . 890
X.3 Explanation of the IETF RFC defined statistic counters . 892
X.4 Value range of the IETF RFC defined statistic counters . 893
Bibliography . 894
Figure 1 – Common structure of specific fields for octet 1 (high) . 60
Figure 2 – Common structure of specific fields for octet 2 . 60
Figure 3 – Common structure of specific fields for octet 3 . 60
Figure 4 – Common structure of specific fields for octet 4 . 61
Figure 5 – Common structure of specific fields for octet 5 . 61
Figure 6 – Common structure of specific fields for octet 6 . 61
Figure 7 – Common structure of specific fields for octet 7 . 62
Figure 8 – Common structure of specific fields for octet 8 . 62
Figure 9 – Common structure of specific fields for octet 9 . 62
Figure 10 – Common structure of specific fields for octet 10 . 63
Figure 11 – Common structure of specific fields for octet 11 . 63
Figure 12 – Common structure of specific fields for octet 12 . 63
Figure 13 – Common structure of specific fields for octet 13 . 64
Figure 14 – Common structure of specific fields for octet 14 . 64
Figure 15 – Common structure of specific fields for octet 15 . 64
Figure 16 – Common structure of specific fields for octet 16 (low) . 65
Figure 17 – Coding of the data type BinaryDate . 77
Figure 18 – Encoding of TimeOfDay with date indication value . 77
Figure 19 – Encoding of TimeOfDay without date indication value . 78
Figure 20 – Encoding of TimeDifference with date indication value . 78
Figure 21 – Encoding of TimeDifference without date indication value . 78
Figure 22 – Encoding of a NetworkTime value . 79
Figure 23 – Encoding of NetworkTimeDifference value . 79
Figure 24 – Encoding of TimeStamp value . 80
Figure 25 – Encoding of TimeStampDifference value . 81
Figure 26 – Encoding of TimeStampDifferenceShort value . 82
Figure 27 – FastForwardingMulticastMACAdd . 88
Figure 28 – State transition diagram of DCPUCS . 123
Figure 29 – State transition diagram of DCPUCR . 127
Figure 30 – State transition diagram of DCPMCS . 131
Figure 31 – State transition diagram of DCPMCR . 134
Figure 32 – State transition diagram of DCPHMCS . 137
Figure 33 – State transition diagram of DCPHMCR . 139
Figure 34 – PTCP_SequenceID value range . 144
Figure 35 – Timescale correspondence between PTCP_Time and CycleCounter . 147
Figure 36 – Message timestamp point . 152
Figure 37 – Timer model . 152
Figure 38 – Four message timestamps . 153
Figure 39 – Line delay protocol with follow up . 154
Figure 40 – Line delay protocol without follow up . 154
Figure 41 – Line delay measurement . 156
Figure 42 – Model parameter for GSDML usage . 158
Figure 43 – Bridge delay measurement . 159
Figure 44 – Delay accumulation . 160
Figure 45 – Worst case accumulated time deviation of synchronization . 161
Figure 46 – Signal generation for measurement of deviation . 161
Figure 47 – Measurement of deviation . 162
Figure 48 – PTCP master sending Sync-Frame without Follow Up-Frame . 163
Figure 49 – PTCP master sending Sync-Frame with FollowUp-Frame . 163
Figure 50 – !FU Sync Slave Forwarding Sync-Frame . 164
Figure 51 – FU Sync Slave Forwarding Sync- and FollowUp-Frame . 165
Figure 52 – FU Sync Slave Forwarding Sync- and Generating FollowUp-Frame . 166
Figure 53 – Principle of the monitoring of the line delay measurement . 167
Figure 54 – State transition diagram of DELAY_REQ . 169
Figure 55 – State transition diagram of DELAY_RSP . 177
Figure 56 – Overview of PTCP . 181
Figure 57 – State transition diagram of SYN_BMA . 184
Figure 58 – State transition diagram of SYN_MPSM . 193
Figure 59 – State transition diagram of SYN_SPSM . 199
Figure 60 – State transition diagram of SYNC_RELAY . 206
Figure 61 – State transition diagram of SCHEDULER . 212
Figure 62 – GlobalTime timer model . 216
Figure 63 – WorkingClock timer model . 217
Figure 64 – Media redundancy – Ring . 217
Figure 65 – Media redundancy – Interconnection . 219
Figure 66 – CycleCounter value range . 222
Figure 67 – Structure of the CycleCounter . 223
– 8 – IEC 61158-6-10:2019 © IEC 2019
Figure 68 – Optimized CycleCounter setting . 224
Figure 69 – SFCRC16 generation rule . 228
Figure 70 – SFCycleCounter value range . 229
Figure 71 – Basic structure of a PPM with frame structure . 232
Figure 72 – Basic structure of a PPM with subframe structure. 233
Figure 73 – State transition diagram of PPM . 235
Figure 74 – Basic structure of a CPM . 239
Figure 75 – State transition diagram of CPM . 241
Figure 76 – Addressing scheme of RTA . 251
Figure 77 – Structure of the APM . 255
Figure 78 – Structure of the APMS . 256
Figure 79 – State transition diagram of APMS . 258
Figure 80 – Structure of the APMR . 263
Figure 81 – State transition diagram of APMR . 265
Figure 82 – State transition diagram of FRAG_D . 276
Figure 83 – State transition diagram of FRAG_S . 280
Figure 84 – State transition diagram of DEFRAG . 283
Figure 85 – DLL Maping Protocol Machines (DMPM) . 317
Figure 86 – Principle traffic flow model of a bridge . 322
Figure 87 – Principle resource model of a bridge . 323
Figure 88 – End station – on port bridge – transmit . 328
Figure 89 – End station – on port bridge – receive . 329
Figure 90 – Bridge with End Station . 330
Figure 91 – Transmit – one port of a bridge . 330
Figure 92 – Forwarding process – bridge . 331
Figure 93 – Receive – on port of a bridge . 331
Figure 94 – Transmit – Management port . 332
Figure 95 – Receive – Management port . 333
Figure 96 – State transition diagram of RTC3PSM . 339
Figure 97 – State transition diagram for generating events . 343
Figure 98 – State transition diagram of RED_RELAY . 345
Figure 99 – Scheme of the DFP_RELAY . 349
Figure 100 – Scheme of the DFP_RELAY_INBOUND and DFP_RELAY_IN_STORAGE . 349
Figure 101 – Scheme of the DFP_RELAY_OUTBOUND . 350
Figure 102 – State transition diagram of DFP_RELAY . 351
Figure 103 – State transition diagram of DFP_RELAY_INBOUND . 354
Figure 104 – State transition diagram of DFP_RELAY_IN_STORAGE . 358
Figure 105 – State transition diagram of DFP_RELAY_OUTBOUND . 362
Figure 106 – State transition diagram of MUX . 366
Figure 107 – State transition diagram of DEMUX . 371
Figure 108 – State transition diagram of ACCM . 379
Figure 109 – Structuring of the protocol machines within the DMPM (bridge) . 385
Figure 110 – State transition diagram of LMPM . 388
Figure 111 – AlarmSpecifier.SequenceNumber value range . 427
Figure 112 – FrameSendOffset vs. duration of a cycle . 472
Figure 113 – Severity classification of fault, maintenance and normal . 526
Figure 114 – Calculation principle for a cycle . 548
Figure 115 – Calculation principle for the minimum YellowTime . 549
Figure 116 – Definition of the reserved interval . 556
Figure 117 – Toplevel view to the PLL window . 559
Figure 118 – Definition of PLL window . 559
Figure 119 – Toplevel view to the time PLL window . 562
Figure 120 – Definition of time PLL window . 563
Figure 121 – Detection of dropped frames – appear . 578
Figure 122 – Detection of dropped frames – disapp
...










Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.
Loading comments...