Industrial communication networks - Fieldbus specifications - Part 6-12: Application layer protocol specification - Type 12 elements

IEC 61158-6-12: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:
- technical corrections; and
- editorial improvements for clarification.

Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-12: Spécification du protocole de la couche application - Eléments de type 12

L’IEC 61158-6-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 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 le comportement, visible par un observateur externe, assuré par les différents Types de la couche Application de bus de terrain, en termes
a) de syntaxe abstraite définissant les unités de données de protocole de la couche Application, transmises entre les entités d’application en communication,
b) de syntaxe de transfert définissant les unités de données de protocole de la couche Application, transmises entre les entités d’application en communication;
c) de diagramme d’états de contexte d’application définissant le comportement de service d’application observable entre les entités d’application en communication; et
d) de diagrammes d’états de relations entre applications définissant le comportement de communication visible entre les entités d’application en communication

General Information

Status
Published
Publication Date
19-Jun-2019
Technical Committee
Drafting Committee
Current Stage
PPUB - Publication issued
Start Date
26-Apr-2019
Completion Date
20-Jun-2019
Ref Project

Relations

Buy Standard

Standard
IEC 61158-6-12:2019 - Industrial communication networks - Fieldbus specifications - Part 6-12: Application layer protocol specification - Type 12 elements
English language
142 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 61158-6-12:2019 - Industrial communication networks - Fieldbus specifications - Part 6-12: Application layer protocol specification - Type 12 elements
English and French language
300 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


IEC 61158-6-12 ®
Edition 4.0 2019-06
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-12: Application layer protocol specification – 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-6-12 ®
Edition 4.0 2019-06
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –

Part 6-12: Application layer protocol specification – Type 12 elements

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-7011-0

– 2 – IEC 61158-6-12:2019 © IEC 2019
CONTENTS
FOREWORD . 8
INTRODUCTION . 10
1 Scope . 11
1.1 General . 11
1.2 Specifications . 12
1.3 Conformance . 12
2 Normative references . 12
3 Terms, definitions, symbols, abbreviations and conventions . 13
3.1 Reference model terms and definitions . 13
3.2 Service convention terms and definitions . 14
3.3 Application layer definitions . 14
3.4 Common symbols and abbreviations . 19
3.5 Additional symbols and abbreviations . 20
3.6 Conventions . 20
3.6.1 General concept . 20
3.6.2 Convention for the encoding of reserved bits and octets . 21
3.6.3 Conventions for the common codings of specific field octets . 21
3.6.4 Abstract syntax conventions . 22
3.6.5 State machine conventions . 23
4 Application layer protocol specification . 25
4.1 Operating principle . 25
4.2 Node reference model . 25
4.2.1 Mapping onto OSI basic reference model. 25
4.2.2 Data Link Layer features . 26
4.2.3 Application Layer structure . 26
5 FAL syntax description . 27
5.1 Coding principles . 27
5.2 Data types and encoding rules . 27
5.2.1 General description of data types and encoding rules . 27
5.2.2 Encoding of a Boolean value . 27
5.2.3 Encoding of a Time Of Day with and without date indication value . 27
5.2.4 Encoding of a Time Difference with and without date indication value . 28
5.2.5 Transfer syntax for bit sequences . 28
5.2.6 Encoding of a Unsigned Integer value . 28
5.2.7 Encoding of a Signed Integer value . 29
5.2.8 Encoding of a Floating Point value . 30
5.2.9 Encoding of a Visible String value. 30
5.2.10 Encoding of a Unicode String value . 30
5.2.11 Encoding of an Octet String value . 30
5.2.12 Encoding of GUID . 30
5.3 AR coding . 30
5.3.1 AL Control Request (Indication) . 30
5.3.2 AL Control Response (Confirmation) . 31
5.3.3 AL State Changed . 33
5.3.4 AL AR Attributes . 34
5.4 SII coding . 36

5.5 Isochronous PDI coding . 41
5.6 CoE coding . 43
5.6.1 PDU structure . 43
5.6.2 SDO . 44
5.6.3 SDO Information . 56
5.6.4 Emergency . 65
5.6.5 Process Data . 69
5.6.6 Command . 70
5.6.7 Object Dictionary . 71
5.7 EoE coding . 81
5.7.1 Initiate EoE . 81
5.7.2 EoE Fragment Data . 83
5.7.3 Data element for EoE . 84
5.7.4 Set IP Parameter . 85
5.7.5 Set Address Filter . 88
5.8 FoE Coding . 90
5.8.1 Read Request . 90
5.8.2 Write Request . 91
5.8.3 Data Request . 92
5.8.4 Ack Request . 93
5.8.5 Error Request . 94
5.8.6 Busy Request . 95
6 FAL protocol state machines . 96
6.1 Overall structure . 96
6.1.1 Overview . 96
6.1.2 Fieldbus Service Protocol Machines (FSPM). 97
6.1.3 Application Relationship Protocol Machines (ARPM) . 97
6.1.4 DLL Mapping Protocol Machines (DMPM) . 98
6.2 AP-Context state machine . 98
6.3 FAL service protocol machine (FSPM) . 98
6.4 Application Relationship Protocol Machines (ARPMs) . 98
6.4.1 AL state machine . 98
6.4.2 Mailbox handler state machine . 117
6.4.3 CoE state machine . 118
6.4.4 EoE state machine . 129
6.4.5 FoE state machine . 136
6.5 DLL mapping protocol machine (DMPM) . 141
Bibliography . 142

Figure 1 – Common structure of specific fields . 21
Figure 2 – Type description example. 22
Figure 3 – Slave Node Reference Model . 26
Figure 4 – Encoding of Time of Day value . 27
Figure 5 – Encoding of Time Difference value . 28
Figure 6 – AL Control Request structure . 30
Figure 7 – AL Control Response structure . 31
Figure 8 – AL State Changed structure . 34

– 4 – IEC 61158-6-12:2019 © IEC 2019
Figure 9 – PDI Control type description . 34
Figure 10 – Sync Configuration type description . 35
Figure 11 – Distributed Clock sync and latch type description . 41
Figure 12 – CoE general structure .
...


IEC 61158-6-12 ®
Edition 4.0 2019-06
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 6-12: Application layer protocol specification – Type 12 elements

Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 6-12: Spécification du protocole de la couche application – 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-6-12 ®
Edition 4.0 2019-06
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –

Part 6-12: Application layer protocol specification – Type 12 elements

Réseaux de communication industriels – Spécifications des bus de terrain –

Partie 6-12: Spécification du protocole de la couche application – Eléments

de type 12
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-9324-9

– 2 – IEC 61158-6-12:2019 © IEC 2019
CONTENTS
FOREWORD . 8
INTRODUCTION . 10
1 Scope . 11
1.1 General . 11
1.2 Specifications . 12
1.3 Conformance . 12
2 Normative references . 12
3 Terms, definitions, symbols, abbreviations and conventions . 13
3.1 Reference model terms and definitions . 13
3.2 Service convention terms and definitions . 14
3.3 Application layer definitions . 15
3.4 Common symbols and abbreviations . 20
3.5 Additional symbols and abbreviations . 21
3.6 Conventions . 21
3.6.1 General concept . 21
3.6.2 Convention for the encoding of reserved bits and octets . 22
3.6.3 Conventions for the common codings of specific field octets . 22
3.6.4 Abstract syntax conventions . 23
3.6.5 State machine conventions . 24
4 Application layer protocol specification . 26
4.1 Operating principle . 26
4.2 Node reference model . 26
4.2.1 Mapping onto OSI basic reference model. 26
4.2.2 Data Link Layer features . 27
4.2.3 Application Layer structure . 27
5 FAL syntax description . 28
5.1 Coding principles . 28
5.2 Data types and encoding rules . 28
5.2.1 General description of data types and encoding rules . 28
5.2.2 Encoding of a Boolean value . 28
5.2.3 Encoding of a Time Of Day with and without date indication value . 28
5.2.4 Encoding of a Time Difference with and without date indication value . 29
5.2.5 Transfer syntax for bit sequences . 29
5.2.6 Encoding of a Unsigned Integer value . 29
5.2.7 Encoding of a Signed Integer value . 30
5.2.8 Encoding of a Floating Point value . 31
5.2.9 Encoding of a Visible String value. 31
5.2.10 Encoding of a Unicode String value . 31
5.2.11 Encoding of an Octet String value . 31
5.2.12 Encoding of GUID . 31
5.3 AR coding . 31
5.3.1 AL Control Request (Indication) . 31
5.3.2 AL Control Response (Confirmation) . 32
5.3.3 AL State Changed . 34
5.3.4 AL AR Attributes . 35
5.4 SII coding . 37

5.5 Isochronous PDI coding . 42
5.6 CoE coding . 44
5.6.1 PDU structure . 44
5.6.2 SDO . 45
5.6.3 SDO Information . 57
5.6.4 Emergency . 66
5.6.5 Process Data . 70
5.6.6 Command . 71
5.6.7 Object Dictionary . 72
5.7 EoE coding . 82
5.7.1 Initiate EoE . 82
5.7.2 EoE Fragment Data . 84
5.7.3 Data element for EoE . 85
5.7.4 Set IP Parameter . 86
5.7.5 Set Address Filter . 89
5.8 FoE Coding . 91
5.8.1 Read Request . 91
5.8.2 Write Request . 92
5.8.3 Data Request . 93
5.8.4 Ack Request . 94
5.8.5 Error Request . 95
5.8.6 Busy Request . 96
6 FAL protocol state machines . 97
6.1 Overall structure . 97
6.1.1 Overview . 97
6.1.2 Fieldbus Service Protocol Machines (FSPM). 98
6.1.3 Application Relationship Protocol Machines (ARPM) . 98
6.1.4 DL
...

Questions, Comments and Discussion

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