IEC 61158-5-12:2019
(Main)Industrial communication networks - Fieldbus specifications - Part 5-12: Application layer service definition - Type 12 elements
Industrial communication networks - Fieldbus specifications - Part 5-12: Application layer service definition - Type 12 elements
IEC 61158-5-12: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 IEC 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 and constitutes a technical revision.
This edition includes the following significant technical changes with respect to the previous edition:
•Technical corrections; and
•Editorial improvements for clarification
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 5-12: Définition des services de la couche liaison de données - Eléments de type 12
L’IEC 61158-5-12: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 12. On utilise le terme "prioritaire" pour traduire la présence d’une fenêtre temporelle, à l’intérieur de laquelle il est exigé qu’une ou plusieurs actions spécifiées soient réalisées selon un certain niveau de certitude. 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.
General Information
Relations
Buy Standard
Standards Content (Sample)
IEC 61158-5-12 ®
Edition 4.0 2019-04
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 5-12: Application layer service definition – Type 12 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-5-12 ®
Edition 4.0 2019-04
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 5-12: Application layer service definition – Type 12 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-6747-9
– 2 – IEC 61158-5-12:2019 © IEC 2019
CONTENTS
FOREWORD . 5
INTRODUCTION . 7
1 Scope . 8
1.1 General . 8
1.2 Specifications . 9
1.3 Conformance . 9
2 Normative references . 9
3 Terms, definitions, symbols, abbreviations and conventions . 10
3.1 Reference model terms and definitions . 10
3.2 Service convention terms and definitions . 11
3.3 Application layer and data-link service terms and definitions . 11
3.4 Common symbols and abbreviations . 15
3.5 Conventions . 16
4 Concepts . 17
4.1 Common concepts . 17
4.2 Type specific concepts . 17
4.2.1 Operating principle . 17
4.2.2 Communication model overview . 18
4.2.3 Application layer element description . 18
4.2.4 Slave reference model . 20
4.2.5 Master reference model . 22
5 Data type ASE . 24
5.1 General . 24
5.2 Formal definition of data type objects . 24
5.3 FAL defined data types . 24
5.3.1 Fixed length types . 24
5.3.2 String types . 32
5.3.3 GUID Types . 33
5.4 Data type ASE service specification . 33
6 Communication model specification . 33
6.1 ASEs . 33
6.1.1 Process data ASE. 33
6.1.2 SII ASE . 40
6.1.3 Isochronous ASE . 49
6.1.4 CoE ASE . 52
6.1.5 EoE ASE . 85
6.1.6 FoE ASE. 94
6.1.7 MBX ASE . 100
6.2 AR . 105
6.2.1 Overview . 105
6.2.2 AR control class specification . 110
6.2.3 AR service specification . 114
Bibliography . 117
Figure 1 – Producer consumer model. 19
Figure 2 – Client server model . 19
Figure 3 – Server triggered invocation . 19
Figure 4 – Slave reference model . 20
Figure 5 – Simple slave device . 21
Figure 6 – Complex slave device . 22
Figure 7 – Master functional overview . 23
Figure 8 – Process output data sequence . 34
Figure 9 – Process input data sequence . 35
Figure 10 – CoE server model . 52
Figure 11 – Successful single SDO-Download sequence . 57
Figure 12 – Unsuccessful single SDO-Download sequence . 58
Figure 13 – Successful segmented SDO-Download sequence . 58
Figure 14 – Successful single SDO-Upload sequence . 59
Figure 15 – Unsuccessful single SDO-Upload sequence . 59
Figure 16 – Successful segmented SDO-Upload sequence . 60
Figure 17 – SDO information sequence . 61
Figure 18 – Emergency service . 62
Figure 19 – Command sequence. 63
Figure 20 – PDO mapping . 64
Figure 21 – Sync manager PDO assigment . 64
Figure 22 – RxPDO service . 66
Figure 23 – TxPDO service . 66
Figure 24 – RxPDO remote transmission sequence . 67
Figure 25 – TxPDO remote transmission sequence . 67
Figure 26 – EoE sequence . 87
Figure 27 – FoE read sequence with success . 94
Figure 28 – FoE read sequence with error . 95
Figure 29 – FoE write sequence with success . 95
Figure 30 – FoE write sequence with error . 96
Figure 31 – FoE write sequence with busy . 96
Figure 32 – Successful AL control sequence . 106
Figure 33 – Unsuccessful AL control sequence . 107
Figure 34 – AL state changed sequence . 108
Table 1 – Process output data . 37
Table 2 – Process input data . 38
Table 3 – Update process input data . 39
Table 4 – SII read . 47
Table 5 – SII write. 48
Table 6 – SII reload . 49
Table 7 – Allocation of SDO areas . 53
Table 8 – SDO download expedited . 71
Table 9 – SDO download normal . 72
Table 10 – Download SDO segment . 73
– 4 – IEC 61158-5-12:2019 © IEC 2019
Table 11 – SDO upload expedited. 74
Table 12 – SDO upload normal . 75
Table 13 – Upload SDO segment . 76
Table 14 – Abort SDO transfer . 76
Table 15 – Get OD list . 77
Table 16
...
IEC 61158-5-12 ®
Edition 4.0 2019-04
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 5-12: Application layer service definition – Type 12 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 5-12: Définition des services de la couche liaison de données –
Eléments de type 12
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-5-12 ®
Edition 4.0 2019-04
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 5-12: Application layer service definition – Type 12 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 5-12: Définition des services de la couche liaison de données –
Eléments de type 12
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-9168-9
– 2 – IEC 61158-5-12:2019 © IEC 2019
CONTENTS
FOREWORD . 5
INTRODUCTION . 7
1 Scope . 8
1.1 General . 8
1.2 Specifications . 9
1.3 Conformance . 9
2 Normative references . 9
3 Terms, definitions, symbols, abbreviations and conventions . 10
3.1 Reference model terms and definitions . 10
3.2 Service convention terms and definitions . 11
3.3 Application layer and data-link service terms and definitions . 11
3.4 Common symbols and abbreviations . 15
3.5 Conventions . 16
4 Concepts . 17
4.1 Common concepts . 17
4.2 Type specific concepts . 17
4.2.1 Operating principle . 17
4.2.2 Communication model overview . 18
4.2.3 Application layer element description . 18
4.2.4 Slave reference model . 20
4.2.5 Master reference model . 22
5 Data type ASE . 24
5.1 General . 24
5.2 Formal definition of data type objects . 24
5.3 FAL defined data types . 24
5.3.1 Fixed length types . 24
5.3.2 String types . 32
5.3.3 GUID Types . 33
5.4 Data type ASE service specification . 33
6 Communication model specification . 33
6.1 ASEs . 33
6.1.1 Process data ASE. 33
6.1.2 SII ASE . 40
6.1.3 Isochronous ASE . 49
6.1.4 CoE ASE . 52
6.1.5 EoE ASE . 85
6.1.6 FoE ASE. 94
6.1.7 MBX ASE . 100
6.2 AR . 105
6.2.1 Overview . 105
6.2.2 AR control class specification . 110
6.2.3 AR service specification . 114
Bibliography . 117
Figure 1 – Producer consumer model. 19
Figure 2 – Client server model . 19
Figure 3 – Server triggered invocation . 19
Figure 4 – Slave reference model . 20
Figure 5 – Simple slave device . 21
Figure 6 – Complex slave device . 22
Figure 7 – Master functional overview . 23
Figure 8 – Process output data sequence . 34
Figure 9 – Process input data sequence . 35
Figure 10 – CoE server model . 52
Figure 11 – Successful single SDO-Download sequence . 57
Figure 12 – Unsuccessful single SDO-Download sequence . 58
Figure 13 – Successful segmented SDO-Download sequence . 58
Figure 14 – Successful single SDO-Upload sequence . 59
Figure 15 – Unsuccessful single SDO-Upload sequence . 59
Figure 16 – Successful segmented SDO-Upload sequence . 60
Figure 17 – SDO information sequence . 61
Figure 18 – Emergency service . 62
Figure 19 – Command sequence. 63
Figure 20 – PDO mapping . 64
Figure 21 – Sync manager PDO assigment . 64
Figure 22 – RxPDO service . 66
Figure 23 – TxPDO service . 66
Figure 24 – RxPDO remote transmission sequence . 67
Figure 25 – TxPDO remote transmission sequence . 67
Figure 26 – EoE sequence . 87
Figure 27 – FoE read sequence with success . 94
Figure 28 – FoE read sequence with error .
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.