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

IEC 61158-6-12:2014 defines the protocol provided to define the wire-representation of the service primitives defined in IEC 61158-5-12, and define the externally visible behavior associated with their transfer. This standard specifies the protocol of the Type 12 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:
- bug fixes;
- editorial improvements;
- support of Explicit Device Identification added in ESM.

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:2014 décrit le protocole mis en place pour définir la représentation filaire des primitives de service définies dans la CEI 61158-5-12 et définir le comportement visible de l'extérieur associé à leur transfert. La présente norme spécifie le protocole de la couche application de bus de terrain de Type 12, en conformité avec le modèle de référence de base OSI (ISO/CEI 7498-1) et la structure de la couche application OSI (ISO/CEI 9545). Cette troisième édition annule et remplace la deuxième édition parue en 2010. Elle constitue une révision technique. Les principales modifications sont:
- réparations des erreurs;
- améliorations éditoriales;
- prise en charge de l'Identification Explicite d'Appareils ajoutée en ESM.

General Information

Status
Published
Publication Date
18-Aug-2014
Technical Committee
Current Stage
DELPUB - Deleted Publication
Completion Date
20-Jun-2019
Ref Project

Relations

Buy Standard

Standard
IEC 61158-6-12:2014 - Industrial communication networks - Fieldbus specifications - Part 6-12: Application layer protocol specification - Type 12 elements Released:8/19/2014
English and French language
288 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

IEC 61158-6-12


®


Edition 3.0 2014-08



INTERNATIONAL



STANDARD



NORME
INTERNATIONALE
colour
inside


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 – Éléments
de type 12


IEC 61158-6-12: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-6-12



®



Edition 3.0 2014-08







INTERNATIONAL





STANDARD







NORME



INTERNATIONALE
colour

inside










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 – Éléments

de type 12











-




INTERNATIONAL

ELECTROTECHNICAL

COMMISSION


COMMISSION

ELECTROTECHNIQUE

PRICE CODE
INTERNATIONALE

CODE PRIX XG


ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-1762-7



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



CONTENTS



FOREWORD . 7

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 . 12
3.1 Reference model terms and definitions . 12
3.2 Service convention terms and definitions . 13
3.3 Application layer definitions . 14
3.4 Common symbols and abbreviations . 19
3.5 Additional symbols and abbreviations . 19
3.6 Conventions . 21
4 Application layer protocol specification . 25
4.1 Operating principle . 25
4.2 Node reference model . 26
5 FAL syntax description . 27
5.1 Coding principles . 27
5.2 Data types and encoding rules . 27
5.3 AR coding . 31
5.4 SII coding . 36
5.5 Isochronous PDI coding . 40
5.6 CoE coding . 43
5.7 EoE coding . 81
5.8 FoE Coding . 89
6 FAL protocol state machines . 95
6.1 Overall structure . 95
6.2 AP-Context state machine . 97
6.3 FAL service protocol machine (FSPM) . 97
6.4 Application Relationship Protocol Machines (ARPMs) . 97

6.5 DLL mapping protocol machine (DMPM) . 137
Bibliography . 138

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

---------------------- Page: 4 ----------------------
IEC 61158-6-12:2014 © IEC 2014 – 3 –


Figure 10 – Sync Configuration type description . 35

Figure 11 – Distributed Clock sync and latch type description . 41


Figure 12 – CoE general structure . 43

Figure 13 – SDO Download Expedited Request structure . 44

Figure 14 – SDO Download Expedited Response structure . 45


Figure 15 – SDO Download Normal Request structure . 46

Figure 16 – Download SDO Segment Request structure . 48

Figure 17 – Download SDO Segment Response structure . 49


Figure 18 – SDO Upload Expedited Request structure . 49
Figure 19 – SDO Upload Expedited Response structure . 50
Figure 20 – SDO Upload Normal Response structure . 52
Figure 21 – Upload SDO Segment Request structure . 53
Figure 22 – Upload SDO Segment Response structure . 53
Figure 23 – Abort SDO Transfer Request structure . 54
Figure 24 – SDO Information Service structure . 57
Figure 25 – Get OD List Request structure. 58
Figure 26 – Get OD List Response structure . 59
Figure 27 – Get Object Description Request structure . 60
Figure 28 – Get Object Description Response structure . 61
Figure 29 – Get Entry Description Request structure. 62
Figure 30 – Get Entry Description Response structure . 63
Figure 31 – SDO Info Error Request structure . 64
Figure 32 – EoE general structure . 81
Figure 33 – EoE Timestamp structure . 82
Figure 34 – EoE Fragment Data structure . 83
Figure 35 – Set IP Parameter Request structure . 85
Figure 36 – Set IP Parameter Response structure . 86
Figure 37 – Set MAC Filter Request structure . 87
Figure 38 – Set MAC Filter Response structure . 88
Figure 39 – Read Request structure . 89
Figure 40 – Write Request structure. 90

Figure 41 – Data Request structure . 91
Figure 42 – Ack Request structure . 92
Figure 43 – Error Request structure . 93
Figure 44 – Busy Request structure . 95
Figure 45 – Relationship among Protocol Machines . 96
Figure 46 – AR Protocol machines . 97
Figure 47 – ESM Diagramm . 99

Table 1 – PDU element description example . 22
Table 2 – Example attribute description . 23
Table 3 – State machine description elements . 24
Table 4 – Description of state machine elements . 24

---------------------- Page: 5 ----------------------
– 4 – IEC 61158-6-12:2014 © IEC 2014


Table 5 – Conventions used in state machines . 25

Table 6 – Transfer Syntax for bit sequences . 29


Table 7 – Transfer syntax for data type Unsignedn . 29

Table 8 – Transfer syntax for data type Integern . 30

Table 9 – AL Control Description . 31


Table 10 – AL Control Response . 32

Table 11 – AL Status Codes . 32

Table 12 – AL State Changed . 34


Table 13 – PDI Control . 35
Table 14 – PDI Configuration . 35
Table 15 – Sync Configuration . 35
Table 16 – Slave Information Interface Area . 36
Table 17 – Slave Information Interface Categories . 37
Table 18 – Mailbox Protocols Supported Types. 37
Table 19 – Categories Types . 37
Table 20 – Structure Category String . 38
Table 21 – Structure Category General . 38
Table 22 – Structure Category FMMU . 39
Table 23 – Structure Category SyncM for each Element . 39
Table 24 – Structure Category TXPDO and RXPDO for each PDO . 40
Table 25 – Structure PDO Entry . 40
Table 26 – Distributed Clock sync parameter . 42
Table 27 – Distributed Clock latch data . 43
Table 28 – CoE elements . 44
Table 29 – SDO Download Expedited Request . 45
Table 30 – SDO Download Expedited Response . 46
Table 31 – SDO Download Normal Request . 47
Table 32 – Download SDO Segment Request . 48
Table 33 – Download SDO Segment Response . 49
Table 34 – SDO Upload Expedited Request . 50
Table 35 – SDO Upload Expedited Response . 51

Table 36 – SDO Upload Normal Response . 52
Table 37 – Upload SDO Segment Request . 53
Table 38 – Upload SDO Segment Response . 54
Table 39 – Abort SDO Transfer Request . 55
Table 40 – SDO Abort Codes . 56
Table 41 – SDO Information Service . 57
Table 42 – Get OD List Request . 58
Table 43 – Get OD List Response . 59
Table 44 – Get Object Description Request . 60
Table 45 – Get Object Description Response . 61
Table 46 – Get Entry Description Request . 62
Table 47 – Get Entry Description Response . 63

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


Table 48 – SDO Info Error Request. 65

Table 49 – Emergency Request . 66


Table 50 – Emergency Error Codes . 67

Table 51 – Error Code . 67

Table 52 – Diagnostic Data . 68


Table 53 – Sync Manager Length Error . 68

Table 54 – Sync Manager Address Error . 68

Table 55 – Sync Manager Settings Error . 68


Table 56 – RxPDO Transmission via mailbox . 69
Table 57 – TxPDO Transmission via mailbox . 69
Table 58 – RxPDO Remote Transmission Request . 70
Table 59 – TxPDO Remote Transmission Request . 70
Table 60 – Command object structure . 71
Table 61 – Object Dictionary Structure . 71
Table 62 – Object Code Definitions . 71
Table 63 – Basic Data Type Area . 72
Table 64 – Extended Data Type Area . 73
Table 65 – Enumeration Definition . 74
Table 66 – CoE Communication Area . 74
Table 67 – Device Type . 75
Table 68 – Error Register . 76
Table 69 – Manufacturer Device Name . 76
Table 70 – Manufacturer Hardware Version . 76
Table 71 – Manufacturer Software Version . 77
Table 72 – Identity Object . 77
Table 73 – Receive PDO Mapping . 78
Table 74 – Transmit PDO Mapping . 78
Table 75 – Sync Manager Communication Type. 79
Table 76 – Sync Manager Channel 0-31 . 80
Table 77 – Sync Manager Synchronization . 81
Table 78 – Initiate EoE Request . 82

Table 79 – Initiate EoE Response . 83
Table 80 – EoE Fragment Data . 83
Table 81 – EoE Data . 84
Table 82 – Set IP Parameter Request . 85
Table 83 – Set IP Parameter Response . 86
Table 84 – EoE Result Parameter . 87
Table 85 – Set MAC Filter Request . 87
Table 86 – Set MAC Filter Response . 89
Table 87 – Read Request . 90
Table 88 – Write Request . 91
Table 89 – Data Request . 92
Table 90 – Ack Request . 93

---------------------- Page: 7 ----------------------
– 6 – IEC 61158-6-12:2014 © IEC 2014


Table 91 – Error Request . 94

Table 92 – Error codes of FoE . 94


Table 93 – Busy Request . 95

Table 94 – State transitions and local management services . 99

Table 95 – Primitives issued by ESM to DL . 100


Table 96 – Primitives issued by DL to ESM . 100

Table 97 – Primitives issued by Application to ESM . 101

Table 98 – Primitives issued by ESM to Application . 101


Table 99 – ESM Variables . 102
Table 100 – ESM macros . 102
Table 101 – ESM functions . 103
Table 102 – ESM state table .
...

Questions, Comments and Discussion

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