IEC 61158-5-2:2019
(Main)Industrial communication networks - Fieldbus specifications - Part 5-2: Application layer service definition - Type 2 elements
Industrial communication networks - Fieldbus specifications - Part 5-2: Application layer service definition - Type 2 elements
IEC 61158-5-2:2019 defines the services provided to the FAL user at the boundary between the user and the application layer of the fieldbus reference model, and Systems Management at the boundary between the application layer and Systems Management of the fieldbus reference model. This standard specifies the structure and services 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 cancels and replaces the third edition published in 2014. This edition constitutes a technical revision. This edition includes the following significant technical changes with respect to the previous edition:
- addition of a data type in 5.3.2;
- clarifications of Object management ASE in 6.2.1;
- extensions of General ASE in 6.2.1.2.1;
- extensions/clarifications of Identity ASE in 6.2.1.2.2;
- update of Message Router ASE in 6.2.1.2.4;
- extensions/clarifications of Time Sync ASE in 6.2.1.2.6;
- updates of Parameter ASE in 6.2.1.2.7;
- updates of FAL ASE service specification in 6.2.1.3;
- extensions/clarifications of Connection manager ASE in 6.2.2;
- extensions/clarifications of Connection ASE in 6.2.3;
- extensions/clarifications of Application type in 6.3.1.4.5.
- miscellaneous editorial corrections.
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 5-2: Définition des services de la couche application - Éléments de type 2
L’IEC 61158-5-2:2019 fournit des éléments communs pour les communications à temps critique ou non entre des programmes d’application dans un environnement et avec un matériel d’automation spécifiques aux bus de terrain de type 2. Le terme "à temps critique" signale l'existence d'une fenêtre temporelle dans laquelle une ou plusieurs actions spécifiées doivent être réalisées, avec un niveau de certitude défini. La non-réalisation des actions spécifiées dans la fenêtre temporelle induit un risque de défaillance des applications qui demandent ces actions, avec les risques afférents pour l'équipement, les installations et éventuellement la vie humaine.
General Information
Relations
Buy Standard
Standards Content (Sample)
IEC 61158-5-2
®
Edition 4.0 2019-04
INTERNATIONAL
STANDARD
colour
inside
Industrial communication networks – Fieldbus specifications –
Part 5-2: Application layer service definition – Type 2 elements
IEC 61158-5-2:2019-04(en)
---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2019 IEC, Geneva, Switzerland
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.
---------------------- Page: 2 ----------------------
IEC 61158-5-2
®
Edition 4.0 2019-04
INTERNATIONAL
STANDARD
colour
inside
Industrial communication networks – Fieldbus specifications –
Part 5-2: Application layer service definition – Type 2 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-6738-7
Warning! Make sure that you obtained this publication from an authorized distributor.
® Registered trademark of the International Electrotechnical Commission
---------------------- Page: 3 ----------------------
– 2 – IEC 61158-5-2:2019 © IEC 2019
CONTENTS
FOREWORD . 6
INTRODUCTION . 8
1 Scope . 9
1.1 General . 9
1.2 Specifications . 10
1.3 Conformance . 10
2 Normative references . 10
3 Terms, definitions, symbols, abbreviated terms and conventions . 12
3.1 ISO/IEC 7498-1 terms . 12
3.2 ISO/IEC 8822 terms . 13
3.3 ISO/IEC 9545 terms . 13
3.4 ISO/IEC 8824-1 terms . 13
3.5 Type 2 fieldbus data-link layer terms . 13
3.6 Type 2 fieldbus application-layer specific definitions . 13
3.7 Type 2 abbreviated terms and symbols . 21
3.8 Conventions . 22
3.8.1 Overview . 22
3.8.2 General conventions . 23
3.8.3 Conventions for class definitions . 23
3.8.4 Conventions for service definitions . 24
4 Common concepts . 25
5 Data type ASE . 25
5.1 General . 25
5.2 Formal definition of data type objects . 25
5.3 FAL defined data types . 26
5.3.1 Fixed length types . 26
5.3.2 String types . 31
5.3.3 Structure types . 32
5.4 Data type ASE service specification . 36
6 Communication model specification . 36
6.1 Concepts . 36
6.1.1 General . 36
6.1.2 General concepts . 36
6.1.3 Relationships between ASEs . 37
6.1.4 Naming and addressing . 38
6.1.5 Data types . 39
6.2 ASEs . 46
6.2.1 Object management ASE . 46
6.2.2 Connection manager ASE . 154
6.2.3 Connection ASE . 172
6.3 ARs . 186
6.3.1 Overview . 186
6.3.2 UCMM AR formal model . 197
6.3.3 Transport AR formal model . 199
6.3.4 AR ASE services . 209
6.4 Summary of FAL classes . 217
---------------------- Page: 4 ----------------------
IEC 61158-5-2:2019 © IEC 2019 – 3 –
6.5 Permitted FAL services by AR type . 218
Bibliography . 220
Figure 1 – Overview of ASEs and object classes . 38
Figure 2 – Addressing format using MAC, class, instance and attribute IDs . 39
Figure 3 – Identity object state transition diagram . 60
Figure 4 – Explicit and Implicit Setting interaction . 63
Figure 5 – Static Assembly state transition diagram . 67
Figure 6 – Dynamic Assembly state transition diagram . 68
Figure 7 – Typical timing relationships for acknowledged data production . 79
Figure 8 – Example of a COS system with two acking devices . 80
Figure 9 – Message flow in COS connection – one Connection object, one consumer . 80
Figure 10 – Message flow in COS connection – multiple consumers . 81
Figure 11 – Path Reconfiguration in a ring topology . 93
Figure 12 – CPF2 time synchronization offset clock model . 94
Figure 13 – CPF2 time synchronization system with offset clock model . 95
Figure 14 – CPF2 time synchronization group startup sequence . 97
Figure 15 – Parameter object state transition diagram . 104
Figure 16 – Example of Find_Next_Object_Instance service . 130
Figure 17 – Transmission Trigger Timer behavior . 180
Figure 18 – Inactivity watchdog timer . 181
Figure 19 – Using tools for configuration . 181
Figure 20 – Production Inhibit Timer behavior . 182
Figure 21 – Context of transport services within the connection model . 189
Figure 22 – Application–to–application view of data transfer . 189
Figure 23 – Data flow diagram for a link producer . 190
Figure 24 – Data flow diagram for a link consumer . 191
Figure 25 – Triggers . 192
Figure 26 – Binding transport instances to the producer and consumer of a transport
connection that does not have a reverse data path . 193
Figure 27 – Binding transport instances to the producers and consumers of a transport
connection that does have a reverse data path . 193
Figure 28 – Binding transport instances to the producer and consumers of a multipoint
connection when the transport connection does not have a reverse data path . 194
Figure 29 – Binding transport instances to the producers and consumers of a
multipoint connection when the transport connection does have reverse data paths . 194
Table 1 – Valid IANA MIB printer codes for character set selection . 35
Table 2 – Common elements . 41
Table 3 – ST language elements . 42
Table 4 – Type conversion operations. 43
Table 5 – Values of implementation-dependent parameters . 45
Table 6 – Extensions to IEC 61131-3:2003 . 45
Table 7 – Identity object state event matrix . 61
---------------------- Page: 5 ----------------------
– 4 – IEC 61158-5-2:2019 © IEC 2019
Table 8 – Static Assembly state event matrix . 67
Table 9 – Static Assembly instance attribute access . 68
Table 10 – Dynamic Assembly state event matrix . 69
Table 11 – Dynamic Assembly instance attribute access. 69
Table 12 – Message Router object Forward_Open parameters . 72
Table 13 – Acknowledge Handler object state event matrix . 76
Table 14 – Producing I/O application object state event matrix . 77
Table 15 – PTPEnable attribute default values . 84
Table 16 – Profile identification . 90
Table 17 – Profile default settings and ranges . 91
Table 18 – Profile transports . 91
Table 19 – Default PTP clock settings . 92
Table 20 – Hand_Set clock quality management . 92
Table 21 – Path Reconfiguration Signalling message . 93
Table 22 – Parameter object state event matrix . 104
Table 23 – Status codes . 107
Table 24 – Get_Attributes_All service parameters . 109
Table 25 – Set_Attributes_All service parameters . 111
Table 26 – Get_Attribute_List service parameters . 113
Table 27 – Set_Attribute_List service parameters . 115
Table 28 – Reset service parameters . 117
Table 29 – Start service parameters . 119
Table 30 – Stop service parameters . 120
Table 31 – Create service parameters . 122
Table 32 – Delete service parameters . 124
Table 33 – Get_Attribute_Single service parameters . 125
Table 34 – Set_Attribute_Single service parameters . 127
Table 35 – Find_Next_Object_Instance service parameters . 129
Table 36 – NOP service parameters . 131
Table 37 – Apply_Attributes service parameters . 132
Table 38 – Save service parameters . 134
Table 39 – Restore service parameters . 135
Table 40 – Get_Member service parameters . 137
Table 41 – Set_Member service parameters . 139
Table 42 – Insert_Member service parameters. 141
Table 43 – Remove_Member service parameters . 143
Table 44 – Group_Sync service parameters . 144
Table 45 – Add_AckData_Path service parameters . 146
Table 46 – Remove_AckData_Path service parameters . 147
Table 47 – Get_Enum_String service parameters . 148
Table 48 – Symbolic_Translation service parameters . 150
Table 49 – Flash_LEDs service parameters . 151
Table 50 – Multiple_Service_Packet service parameters . 153
---------------------- Page: 6 ----------------------
IEC 61158-5-2:2019 © IEC 2019 – 5 –
Table 51 – CM_Open service parameters . 163
Table 52 – CM_Close service parameters . 165
Table 53 – CM_ Unconnected_Send service parameters . 167
Table 54 – CM_Get_Connection_Data service parameters . 168
Table 55 – CM_Search_Connection_Data service parameters . 170
Table 56 – CM_Get_Connection_Data service parameters . 171
Table 57 – I/O Connection object attribute access . 176
Table 58 – Bridged Connection object attribute access . 177
Table 59 – Explicit messaging object attribute access . 178
Table 60 – Connection_Bind service parameters . 184
Table 61 – Service_Name service parameters . 185
Table 62 – How production trigger, transport class, and CM_RPI determine when data
is produced . 188
Table 63 – Transport classes . 199
Table 64 – UCMM_Create service parameters . 210
Table 65 – UCMM_Delete service parameters . 211
Table 66 – UCMM_Write service parameters . 212
Table 67 – UCMM_Abort service parameters . 213
Table 68 – TR_Write service parameters . 214
Table 69 – TR_Trigger service parameters . 215
Table 70 – TR_Packet_arrived service parameters . 215
Table 71 – TR_Ack_received service parameters . 216
Table 72 – TR_Verify service parameters . 216
Table 73 – TR_Status_updated service parameters . 217
Table 74 – FAL class summary . 218
Table 75 – FAL services by AR type . 219
---------------------- Page: 7 ----------------------
– 6 – IEC 61158-5-2:2019 © IEC 2019
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 5-2: Application layer service definition –
Type 2 elements
FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of IEC is to promote
international co-operation on all questions concerning standardization in the electrical and electronic fields. To
this end and in addition to other activities, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC
Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested
in the subject dealt with may participate in this preparatory work. International, governmental and non-
governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely
with the International Organization for Standardization (ISO) in accordance with conditions determined by
agreement between the two organizations.
2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
consensus of opinion on the relevant subjects since each technical committee has representation from all
interested IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
services carried out by independent certification bodies.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
Attention is drawn to the fact that the use of the associated protocol type is restricted by its
intellectual-property-right holders. In all cases, the commitment to limited release of
intellectual-property-rights made by the holders of those rights permits a layer protocol type to
be used with other layer protocols of the same type, or in other type combinations explicitly
authorized by its intellectual-property-right holders.
NOTE Combinations of protocol types are specified in IEC 61784-1 and IEC 61784-2.
International Standard IEC 61158-5-2 has been prepared by subcommittee 65C: Industrial
networks, of IEC technical committee 65: Industrial-process measurement, control and
automation.
This fourth edition cancels and replaces the third edition published in 2014. This edition
constitutes a technical revision.
---------------------- Page: 8 ----------------------
IEC 61158-5-2:2019 © IEC 2019 – 7 –
This edition includes the following significant technical changes with respect to the previous
edition:
• addition of a data type in 5.3.2;
• clarifications of Object management ASE in 6.2.1;
• extensions of General ASE in 6.2.1.2.1;
• extensions/clarifications of Identity ASE in 6.2.1.2.2;
• update of Message Router ASE in 6.2.1.2.4;
• extensions/clarifications of Time Sync ASE in 6.2.1.2.6;
• updates of Parameter ASE in 6.2.1.2.7;
• updates of FAL ASE service specification in 6.2.1.3;
• extensions/clarifications of Connection manager ASE in 6.2.2;
• extensions/clarifications of Connection ASE in 6.2.3;
• extensions/clarifications of Application type in 6.3.1.4.5.
• miscellaneous editorial corrections.
The text of this International Standard is based on the following documents:
FDIS Report on voting
65C/947/FDIS 65C/950/RVD
Full information on the voting for the approval of this International Standard can be found in
the report on voting indicated in the above table.
This publication has been drafted in accordance with ISO/IEC Directives, Part 2.
A list of all parts of the IEC 61158 series, published under the general title Industrial
communication networks – Fieldbus specifications, can be found on the IEC web site.
The committee has decided that the contents of this publication will remain unchanged until
the stability date indicated on the IEC web site under "http://webstore.iec.ch" in the data
related to the specific publication. At this date, the publication will be
• reconfirmed,
• withdrawn,
• replaced by a revised edition, or
• amended.
A bilingual version of this publication may be issued at a later date.
IMPORTANT – The 'colour inside' logo on the cover page of this publication indicates
that it contains colours which are considered to be useful for the correct
understanding of its contents. Users should therefore print this document using a
colour printer.
---------------------- Page: 9 ----------------------
– 8 – IEC 61158-5-2:2019 © IEC 2019
INTRODUCTION
This document is one of a series produced to facilitate the interconnection of automation
system components. It is related to other standards in the set as defined by the “three-layer”
fieldbus reference model described in IEC 61158-1.
The application service is provided by the application protocol making use of the services
available from the data-link or other immediately lower layer. This document defines the
application service characteristics that fieldbus applications and/or system management may
exploit.
Throughout the set of fieldbus standards, the term “service” refers to the abstract capability
provided by one layer of the OSI Basic Reference Model to the layer immediately above.
Thus, the application layer service defined in this document is a conceptual architectural
service, independent of administrative and implementation divisions.
---------------------- Page: 10 ----------------------
IEC 61158-5-2:2019 © IEC 2019 – 9 –
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 5-2: Application layer service definition –
Type 2 elements
1 Scope
1.1 General
The fieldbus application layer (FAL) provides user programs with a means to access the
fieldbus communication environment. In this respect,
...
IEC 61158-5-2
®
Edition 4.0 2019-04
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Industrial communication networks – Fieldbus specifications –
Part 5-2: Application layer service definition – Type 2 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 5-2: Définition des services de la couche application – Eléments de type 2
IEC 61158-5-2:2019-04(en-fr)
---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2019 IEC, Geneva, Switzerland
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.
---------------------- Page: 2 ----------------------
IEC 61158-5-2
®
Edition 4.0 2019-04
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Industrial communication networks – Fieldbus specifications –
Part 5-2: Application layer service definition – Type 2 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 5-2: Définition des services de la couche application – Eléments de type 2
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-9264-8
Warning! Make sure that you obtained this publication from an authorized distributor.
Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agréé.
® Registered trademark of the International Electrotechnical Commission
Marque déposée de la Commission Electrotechnique Internationale
---------------------- Page: 3 ----------------------
– 2 – IEC 61158-5-2:2019 © IEC 2019
CONTENTS
FOREWORD . 6
INTRODUCTION . 8
1 Scope . 9
1.1 General . 9
1.2 Specifications . 10
1.3 Conformance . 10
2 Normative references . 10
3 Terms, definitions, symbols, abbreviated terms and conventions . 12
3.1 ISO/IEC 7498-1 terms . 12
3.2 ISO/IEC 8822 terms . 13
3.3 ISO/IEC 9545 terms . 13
3.4 ISO/IEC 8824-1 terms . 13
3.5 Type 2 fieldbus data-link layer terms . 13
3.6 Type 2 fieldbus application-layer specific definitions . 13
3.7 Type 2 abbreviated terms and symbols . 21
3.8 Conventions . 22
3.8.1 Overview . 22
3.8.2 General conventions . 23
3.8.3 Conventions for class definitions . 23
3.8.4 Conventions for service definitions . 24
4 Common concepts . 25
5 Data type ASE . 25
5.1 General . 25
5.2 Formal definition of data type objects . 25
5.3 FAL defined data types . 26
5.3.1 Fixed length types . 26
5.3.2 String types . 31
5.3.3 Structure types . 32
5.4 Data type ASE service specification . 36
6 Communication model specification . 36
6.1 Concepts . 36
6.1.1 General . 36
6.1.2 General concepts . 36
6.1.3 Relationships between ASEs . 37
6.1.4 Naming and addressing . 38
6.1.5 Data types . 39
6.2 ASEs . 46
6.2.1 Object management ASE . 46
6.2.2 Connection manager ASE . 154
6.2.3 Connection ASE . 172
6.3 ARs . 186
6.3.1 Overview . 186
6.3.2 UCMM AR formal model . 197
6.3.3 Transport AR formal model . 199
6.3.4 AR ASE services . 209
6.4 Summary of FAL classes . 217
---------------------- Page: 4 ----------------------
IEC 61158-5-2:2019 © IEC 2019 – 3 –
6.5 Permitted FAL services by AR type . 218
Bibliography . 220
Figure 1 – Overview of ASEs and object classes . 38
Figure 2 – Addressing format using MAC, class, instance and attribute IDs . 39
Figure 3 – Identity object state transition diagram . 60
Figure 4 – Explicit and Implicit Setting interaction . 63
Figure 5 – Static Assembly state transition diagram . 67
Figure 6 – Dynamic Assembly state transition diagram . 68
Figure 7 – Typical timing relationships for acknowledged data production . 79
Figure 8 – Example of a COS system with two acking devices . 80
Figure 9 – Message flow in COS connection – one Connection object, one consumer . 80
Figure 10 – Message flow in COS connection – multiple consumers . 81
Figure 11 – Path Reconfiguration in a ring topology . 93
Figure 12 – CPF2 time synchronization offset clock model . 94
Figure 13 – CPF2 time synchronization system with offset clock model . 95
Figure 14 – CPF2 time synchronization group startup sequence . 97
Figure 15 – Parameter object state transition diagram . 104
Figure 16 – Example of Find_Next_Object_Instance service . 130
Figure 17 – Transmission Trigger Timer behavior . 180
Figure 18 – Inactivity watchdog timer . 181
Figure 19 – Using tools for configuration . 181
Figure 20 – Production Inhibit Timer behavior . 182
Figure 21 – Context of transport services within the connection model . 189
Figure 22 – Application–to–application view of data transfer . 189
Figure 23 – Data flow diagram for a link producer . 190
Figure 24 – Data flow diagram for a link consumer . 191
Figure 25 – Triggers . 192
Figure 26 – Binding transport instances to the producer and consumer of a transport
connection that does not have a reverse data path . 193
Figure 27 – Binding transport instances to the producers and consumers of a transport
connection that does have a reverse data path . 193
Figure 28 – Binding transport instances to the producer and consumers of a multipoint
connection when the transport connection does not have a reverse data path . 194
Figure 29 – Binding transport instances to the producers and consumers of a
multipoint connection when the transport connection does have reverse data paths . 194
Table 1 – Valid IANA MIB printer codes for character set selection . 35
Table 2 – Common elements . 41
Table 3 – ST language elements . 42
Table 4 – Type conversion operations. 43
Table 5 – Values of implementation-dependent parameters . 45
Table 6 – Extensions to IEC 61131-3:2003 . 45
Table 7 – Identity object state event matrix . 61
---------------------- Page: 5 ----------------------
– 4 – IEC 61158-5-2:2019 © IEC 2019
Table 8 – Static Assembly state event matrix . 67
Table 9 – Static Assembly instance attribute access . 68
Table 10 – Dynamic Assembly state event matrix . 69
Table 11 – Dynamic Assembly instance attribute access. 69
Table 12 – Message Router object Forward_Open parameters . 72
Table 13 – Acknowledge Handler object state event matrix . 76
Table 14 – Producing I/O application object state event matrix . 77
Table 15 – PTPEnable attribute default values . 84
Table 16 – Profile identification . 90
Table 17 – Profile default settings and ranges . 91
Table 18 – Profile transports . 91
Table 19 – Default PTP clock settings . 92
Table 20 – Hand_Set clock quality management . 92
Table 21 – Path Reconfiguration Signalling message . 93
Table 22 – Parameter object state event matrix . 104
Table 23 – Status codes . 107
Table 24 – Get_Attributes_All service parameters . 109
Table 25 – Set_Attributes_All service parameters . 111
Table 26 – Get_Attribute_List service parameters . 113
Table 27 – Set_Attribute_List service parameters . 115
Table 28 – Reset service parameters . 117
Table 29 – Start service parameters . 119
Table 30 – Stop service parameters . 120
Table 31 – Create service parameters . 122
Table 32 – Delete service parameters . 124
Table 33 – Get_Attribute_Single service parameters . 125
Table 34 – Set_Attribute_Single service parameters . 127
Table 35 – Find_Next_Object_Instance service parameters . 129
Table 36 – NOP service parameters . 131
Table 37 – Apply_Attributes service parameters . 132
Table 38 – Save service parameters . 134
Table 39 – Restore service parameters . 135
Table 40 – Get_Member service parameters . 137
Table 41 – Set_Member service parameters . 139
Table 42 – Insert_Member service parameters. 141
Table 43 – Remove_Member service parameters . 143
Table 44 – Group_Sync service parameters . 144
Table 45 – Add_AckData_Path service parameters . 146
Table 46 – Remove_AckData_Path service parameters . 147
Table 47 – Get_Enum_String service parameters . 148
Table 48 – Symbolic_Translation service parameters . 150
Table 49 – Flash_LEDs service parameters . 151
Table 50 – Multiple_Service_Packet service parameters . 153
---------------------- Page: 6 ----------------------
IEC 61158-5-2:2019 © IEC 2019 – 5 –
Table 51 – CM_Open service parameters . 163
Table 52 – CM_Close service parameters . 165
Table 53 – CM_ Unconnected_Send service parameters . 167
Table 54 – CM_Get_Connection_Data service parameters . 168
Table 55 – CM_Search_Connection_Data service parameters . 170
Table 56 – CM_Get_Connection_Data service parameters . 171
Table 57 – I/O Connection object attribute access . 176
Table 58 – Bridged Connection object attribute access . 177
Table 59 – Explicit messaging object attribute access . 178
Table 60 – Connection_Bind service parameters . 184
Table 61 – Service_Name service parameters . 185
Table 62 – How production trigger, transport class, and CM_RPI determine when data
is produced . 188
Table 63 – Transport classes . 199
Table 64 – UCMM_Create service parameters . 210
Table 65 – UCMM_Delete service parameters . 211
Table 66 – UCMM_Write service parameters . 212
Table 67 – UCMM_Abort service parameters . 213
Table 68 – TR_Write service parameters . 214
Table 69 – TR_Trigger service parameters . 215
Table 70 – TR_Packet_arrived service parameters . 215
Table 71 – TR_Ack_received service parameters . 216
Table 72 – TR_Verify service parameters . 216
Table 73 – TR_Status_updated service parameters . 217
Table 74 – FAL class summary . 218
Table 75 – FAL services by AR type . 219
---------------------- Page: 7 ----------------------
– 6 – IEC 61158-5-2:2019 © IEC 2019
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 5-2: Application layer service definition –
Type 2 elements
FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of IEC is to promote
international co-operation on all questions concerning standardization in the electrical and electronic fields. To
this end and in addition to other activities, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC
Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested
in the subject dealt with may participate in this preparatory work. International, governmental and non-
governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely
with the International Organization for Standardization (ISO) in accordance with conditions determined by
agreement between the two organizations.
2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
consensus of opinion on the relevant subjects since each technical committee has representation from all
interested IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
services carried out by independent certification bodies.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
Attention is drawn to the fact that the use of the associated protocol type is restricted by its
intellectual-property-right holders. In all cases, the commitment to limited release of
intellectual-property-rights made by the holders of those rights permits a layer protocol type to
be used with other layer protocols of the same type, or in other type combinations explicitly
authorized by its intellectual-property-right holders.
NOTE Combinations of protocol types are specified in IEC 61784-1 and IEC 61784-2.
International Standard IEC 61158-5-2 has been prepared by subcommittee 65C: Industrial
networks, of IEC technical committee 65: Industrial-process measurement, control and
automation.
This fourth edition cancels and replaces the third edition published in 2014. This edition
constitutes a technical revision.
---------------------- Page: 8 ----------------------
IEC 61158-5-2:2019 © IEC 2019 – 7 –
This edition includes the following significant technical changes with respect to the previous
edition:
• addition of a data type in 5.3.2;
• clarifications of Object management ASE in 6.2.1;
• extensions of General ASE in 6.2.1.2.1;
• extensions/clarifications of Identity ASE in 6.2.1.2.2;
• update of Message Router ASE in 6.2.1.2.4;
• extensions/clarifications of Time Sync ASE in 6.2.1.2.6;
• updates of Parameter ASE in 6.2.1.2.7;
• updates of FAL ASE service specification in 6.2.1.3;
• extensions
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.