Industrial communication networks - Fieldbus specifications - Part 5-2: Application layer service definition - Type 2 elements

IEC 61158-5-2:2014 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 third edition cancels and replaces the second edition published in 2010 and constitutes a technical revision. The main changes are:
- Updates of definitions used by the Time Sync ASE;
- Corrections to numbering of services in 6.2;
- Addition of "member" and object specific services in 6.2.1.2.1, 6.2.1.2.3, 6.2.1.3.1, 6.2.1.3.20 to 6.2.1.3.23, 6.2.1.3.28, and 6.5;
- Updates of Identity ASE in 6.2.1.2.2;
- Updates of Assembly ASE in 6.2.1.2.3;
- Updates of Message Router ASE in 6.2.1.2.4;
- Updates of Time Sync ASE in 6.2.1.2.6;
- Updates of FAL service status codes in 6.2.1.3.3;
- Miscellaneous clarifications of FAL services in 6.2.1.3.4 to 6.2.1.3.19;
- Updates of Connection Manager ASE in 6.2.2;
- Updates of Connection ASE in 6.2.3;
- Removal of obsolete transport classes 4 to 6 in 6.3.1, 6.3.3 and 6.4;
- 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 - Eléments de type 2

L'IEC 61158-5-2:2014 défini les services mis en place pour l'utilisateur de FAL, à la frontière entre l'utilisateur et la couche application du modèle de référence de bus de terrain; et la Gestion des systèmes, à la frontière entre la couche application et la Gestion des systèmes selon le modèle de référence de bus de terrain. La présente norme spécifie la structure et les services de la couche application de bus de terrain de Type 2, en conformité avec le modèle de référence de base de l'OSI (ISO/CEI 7498-1) et la structure de la couche application de l'OSI (ISO/CEI 9545). Cette troisième édition annule et remplace la deuxième édition parue en 2010. Elle constitue une révision technique. Cette édition inclut les modifications majeures suivantes:
- mise à jour des définitions utilisées par l'ASE Time Sync;
- correction de la numérotation des services en 6.2;
- ajout de "membre" et des services spécifiques aux objets en 6.2.1.2.1, 6.2.1.2.3, 6.2.1.3.1, 6.2.1.3.20 à 6.2.1.3.23, 6.2.1.3.28 et 6.5;
- mise à jour de l'ASE Identity en 6.2.1.2.2;
- mise à jour de l'ASE Assembly en 6.2.1.2.3;
- mise à jour de l'ASE Message Router en 6.2.1.2.4;
- mise à jour de l'ASE Time Sync en 6.2.1.2.6;
- mise à jour des codes de statut des services FAL en 6.2.1.3.3;
- clarifications diverses des services FAL en 6.2.1.3.4 à 6.2.1.3.19;
- mise à jour de l'ASE Connection Manager en 6.2.2;
- mise à jour de l'ASE Connection en 6.2.3;
- suppression des classes de transport obsolètes 4 à 6 en 6.3.1, 6.3.3 et 6.4;
- corrections rédactionnelles diverses.

General Information

Status
Published
Publication Date
17-Aug-2014
Technical Committee
Drafting Committee
Current Stage
DELPUB - Deleted Publication
Completion Date
10-Apr-2019
Ref Project

Relations

Buy Standard

Standard
IEC 61158-5-2:2014 - Industrial communication networks - Fieldbus specifications - Part 5-2: Application layer service definition - Type 2 elements Released:8/18/2014
English and French language
429 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

IEC 61158-5-2


®


Edition 3.0 2014-08



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:2014-08(en-fr)

---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED


Copyright © 2014 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é Fax: +41 22 919 03 00
CH-1211 Geneva 20 info@iec.ch
Switzerland www.iec.ch

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 corrigenda or an amendment might have been published.

IEC Catalogue - webstore.iec.ch/catalogue Electropedia - www.electropedia.org
The stand-alone application for consulting the entire The world's leading online dictionary of electronic and
bibliographical information on IEC International Standards, electrical terms containing more than 30 000 terms and
Technical Specifications, Technical Reports and other definitions in English and French, with equivalent terms in 14
documents. Available for PC, Mac OS, Android Tablets and additional languages. Also known as the International
iPad. Electrotechnical Vocabulary (IEV) online.

IEC publications search - www.iec.ch/searchpub IEC Glossary - std.iec.ch/glossary
The advanced search enables to find IEC publications by a More than 55 000 electrotechnical terminology entries in
variety of criteria (reference number, text, technical English and French extracted from the Terms and Definitions
committee,…). It also gives information on projects, replaced clause of IEC publications issued since 2002. Some entries
and withdrawn publications. have been collected from earlier publications of IEC TC 37,

77, 86 and CISPR.
IEC Just Published - webstore.iec.ch/justpublished
Stay up to date on all new IEC publications. Just Published IEC Customer Service Centre - webstore.iec.ch/csc
details all new publications released. Available online and If you wish to give us your feedback on this publication or
also once a month by email. need further assistance, please contact the Customer Service
Centre: csc@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é.


Catalogue IEC - webstore.iec.ch/catalogue Electropedia - www.electropedia.org
Application autonome pour consulter tous les renseignements
Le premier dictionnaire en ligne de termes électroniques et
bibliographiques sur les Normes internationales,
électriques. Il contient plus de 30 000 termes et définitions en
Spécifications techniques, Rapports techniques et autres
anglais et en français, ainsi que les termes équivalents dans
documents de l'IEC. Disponible pour PC, Mac OS, tablettes
14 langues additionnelles. Egalement appelé Vocabulaire
Android et iPad.
Electrotechnique International (IEV) en ligne.


Recherche de publications IEC - www.iec.ch/searchpub
Glossaire IEC - std.iec.ch/glossary
Plus de 55 000 entrées terminologiques électrotechniques, en
La recherche avancée permet de trouver des publications IEC
en utilisant différents critères (numéro de référence, texte, anglais et en français, extraites des articles Termes et
comité d’études,…). Elle donne aussi des informations sur les Définitions des publications IEC parues depuis 2002. Plus
projets et les publications remplacées ou retirées. certaines entrées antérieures extraites des publications des

CE 37, 77, 86 et CISPR de l'IEC.
IEC Just Published - webstore.iec.ch/justpublished

Service Clients - webstore.iec.ch/csc
Restez informé sur les nouvelles publications IEC. Just
Published détaille les nouvelles publications parues. Si vous désirez nous donner des commentaires sur cette
Disponible en ligne et aussi une fois par mois par email. publication ou si vous avez des questions contactez-nous:
csc@iec.ch.

---------------------- Page: 2 ----------------------
IEC 61158-5-2



®



Edition 3.0 2014-08







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

PRICE CODE
INTERNATIONALE

CODE PRIX XH


ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-1731-3



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:2014 © IEC 2014


CONTENTS


FOREWORD . 6

INTRODUCTION . 9


1 Scope . 10

1.1 General . 10

1.2 Specifications . 11

1.3 Conformance . 11

2 Normative references . 11


3 Terms, definitions, symbols, abbreviations and conventions . 13
3.1 ISO/IEC 7498-1 terms . 13
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 . 14
3.6 Type 2 fieldbus application-layer specific definitions. 14
3.7 Type 2 abbreviations and symbols . 22
3.8 Conventions . 23
4 Common concepts . 26
5 Data type ASE . 26
5.1 General . 26
5.2 Formal definition of data type objects . 26
5.3 FAL defined data types . 26
5.4 Data type ASE service specification . 36
6 Communication model specification . 36
6.1 Concepts . 36
6.2 ASEs . 45
6.3 ARs . 175
6.4 Summary of FAL classes . 206
6.5 Permitted FAL services by AR type . 206
Bibliography . 208

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 . 58
Figure 4 – Static Assembly state transition diagram . 63
Figure 5 – Dynamic Assembly state transition diagram . 64
Figure 6 – Typical timing relationships for acknowledged data production . 74
Figure 7 – Example of a COS system with two acking devices . 75
Figure 8 – Message flow in COS connection – one Connection object, one consumer . 75
Figure 9 – Message flow in COS connection – multiple consumers . 76
Figure 10 – Path Reconfiguration in a ring topology . 88
Figure 11 – CPF2 time synchronization offset clock model . 89
Figure 12 – CPF2 time synchronization system with offset clock model . 90
Figure 13 – CPF2 time synchronization group startup sequence . 93
Figure 14 – Parameter object state transition diagram . 99

---------------------- Page: 4 ----------------------
IEC 61158-5-2:2014 © IEC 2014 – 3 –


Figure 15 – Example of Find_Next_Object_Instance service . 125

Figure 16 – Transmission trigger timer . 169


Figure 17 – Inactivity watchdog timer . 170

Figure 18 – Using tools for configuration . 171

Figure 19 – Production inhibit timer . 172


Figure 20 – Context of transport services within the connection model . 178

Figure 21 – Application–to–application view of data transfer . 178

Figure 22 – Data flow diagram for a link producer . 179


Figure 23 – Data flow diagram for a link consumer . 180
Figure 24 – Triggers . 181
Figure 25 – Binding transport instances to the producer and consumer of a transport
connection that does not have a reverse data path . 182
Figure 26 – Binding transport instances to the producers and consumers of a transport
connection that does have a reverse data path . 182
Figure 27 – Binding transport instances to the producer and consumers of a multipoint
connection when the transport connection does not have a reverse data path . 183
Figure 28 – Binding transport instances to the producers and consumers of a
multipoint connection when the transport connection does have reverse data paths . 183

Table 1 – Valid IANA MIB printer codes for character set selection . 35
Table 2 – Common elements . 42
Table 3 – ST language elements . 43
Table 4 – Type conversion operations. 43
Table 5 – Values of implementation-dependent parameters . 44
Table 6 – Extensions to IEC 61131-3:2003 . 45
Table 7 – Identity object state event matrix . 59
Table 8 – Static Assembly state event matrix . 64
Table 9 – Static Assembly instance attribute access . 64
Table 10 – Dynamic Assembly state event matrix . 65
Table 11 – Dynamic Assembly instance attribute access. 65
Table 12 – Message Router object Forward_Open parameters . 68
Table 13 – Acknowledge Handler object state event matrix . 71

Table 14 – Producing I/O application object state event matrix . 72
Table 15 – Profile identification . 85
Table 16 – Profile default settings and ranges . 85
Table 17 – Profile transports . 85
Table 18 – Default PTP clock settings . 86
Table 19 – Hand_Set clock quality management . 87
Table 20 – Path Reconfiguration Signalling message . 88
Table 21 – Parameter object state event matrix . 99
Table 22 – Status codes . 101
Table 23 – Get_Attribute_All service parameters . 104
Table 24 – Set_Attribute_All service parameters . 106
Table 25 – Get_Attribute_List service parameters . 108

---------------------- Page: 5 ----------------------
– 4 – IEC 61158-5-2:2014 © IEC 2014


Table 26 – Set_Attribute_List service parameters . 110

Table 27 – Reset service parameters . 112


Table 28 – Start service parameters . 114

Table 29 – Stop service parameters . 116

Table 30 – Create service parameters . 117


Table 31 – Delete service parameters . 119

Table 32 – Get_Attribute_Single service parameters . 120

Table 33 – Set_Attribute_Single service parameters . 122


Table 34 – Find_Next_Object_Instance service parameters . 124
Table 35 – NOP service parameters . 126
Table 36 – Apply_Attributes service parameters . 127
Table 37 – Save service parameters . 129
Table 38 – Restore service parameters . 130
Table 39 – Get_Member service parameters . 132
Table 40 – Set_Member service parameters . 134
Table 41 – Insert_Member service parameters. 135
Table 42 – Remove_Member service parameters . 137
Table 43 – Group_Sync service parameters . 138
Table 44 – Add_AckData_Path service parameters . 140
Table 45 – Remove_AckData_Path service parameters . 141
Table 46 – Get_Enum_String service parameters . 142
Table 47 – Symbolic_Translation service parameters . 144
Table 48 – CM_Open service parameters . 152
Table 49 – CM_Close service parameters . 154
Table 50 – CM_ Unconnected_Send service parameters . 156
Table 51 – CM_Get_Connection_Data service parameters . 158
Table 52 – CM_Search_Connection_Data service parameters . 160
Table 53 – CM_Get_Connection_Data service parameters . 161
Table 54 – I/O Connection object attribute access . 166
Table 55 – Bridged Connection object attribute access . 166
Table 56 – Explicit messaging object attribute access . 167

Table 57 – Connection_Bind service parameters . 173
Table 58 – Service_Name service parameters . 174
Table 59 – How production trigger, transport class, and CM_RPI determine when data
is produced . 177
Table 60 – Transport classes . 188
Table 61 – UCMM_Create service parameters . 199
Table 62 – UCMM_Delete service parameters . 200
Table 63 – UCMM_Write service parameters . 200
Table 64 – UCMM_Abort service parameters . 202
Table 65 – TR_Write service parameters . 203
Table 66 – TR_Trigger service parameters . 203
Table 67 – TR_Packet_arrived service parameters . 204

---------------------- Page: 6 ----------------------
IEC 61158-5-2:2014 © IEC 2014 – 5 –


Table 68 – TR_Ack_received service parameters . 204

Table 69 – TR_Verify service parameters . 205


Table 70 – TR_Status_updated service parameters . 205

Table 71 – FAL class summary . 206

Table 72 – FAL services by AR type . 207

---------------------- Page: 7 ----------------------
– 6 – IEC 61158-5-2:2014 © IEC 2014


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.

---------------------- Page: 8 ----------------------
IEC 61158-5-2:2014 © IEC 2014 – 7 –


This third edition cancels and replaces the second edition published in 2010. This edition

constitutes a technical revision.


The main changes with respect to the previous edition are listed below:


• Updates of definitions used by the Time Sync ASE;

• Corrections to numbering of services in 6.2;


• Addition of “member” and and object specific services in 6.2.1.2.1, 6.2.1.2.3, 6.2.1.3.1,
6.2.1.3.20 to 6.2.1.3.23, 6.2.1.3.28, and 6.5;

• Updates of Identity ASE in 6.2.1.2.2;

• Updates of Assembly ASE in 6.2.1.2.3;
• Updates of Message Router ASE in 6.2.1.2.4;
• Updates of Time Sync ASE in 6.2.1.2.6;
• Updates of FAL service status codes in 6.2.1.3.3;
• Miscellaneous clarifications of FAL services in 6.2.1.3.4 to 6.2.1.3.19;
• Updates of Connection Manager ASE in 6.2.2;
• Updates of Connection ASE in 6.2.3;
• Removal of obsolete transport classes 4 to 6 in 6.3.1, 6.3.3 and 6.4;
• Miscellaneous editorial corrections.
The text of this standard is based on the following documents:
FDIS Report on voting
65C/763/FDIS 65C/773/RVD

Full information on the voting for the approval of this 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.

---------------------- Page: 9 ----------------------
– 8 – IEC 61158-5-2:2014 © IEC 2014


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.





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: 10 ----------------------
IEC 61158-5-2:2014 © IEC 2014 – 9 –


INTRODUCTION


This part of IEC 6
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.