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

IEC 61158-6-12:2010 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). It defines the protocol provided to define the wire-representation of the service primitives defined in IEC 61158-5-12:2010, and the externally visible behavior associated with their transfer. This second edition cancels and replaces the first edition published in 2007 and constitutes a technical revision. The main changes with respect to the previous edition are: bug fixes and editorial improvements.

Réseaux de communication industriels - Spécifications de bus de terrain - Partie 6-12: Spécification de protocoles de couche Application - Eléments de Type 12

La CEI 61158-6-12:2010 spécifie le protocole de la couche Application de bus de terrain de la CEI, en conformité avec le modèle de référence de base OSI (ISO/CEI 7498) et avec la structure de la couche Application OSI (ISO/CEI 9545). Elle vise à définir le protocole mis en place pour définir le comportement visible de l'extérieur associé à leur transfert. Cette deuxième édition annule et remplace la première édition parue en 2007. Elle constitue une révision technique. Les principales modifications sont: correction d'erreurs et améliorations rédactionnelles.

General Information

Status
Published
Publication Date
05-Aug-2010
Technical Committee
Drafting Committee
Current Stage
DELPUB - Deleted Publication
Completion Date
19-Aug-2014
Ref Project

Relations

Buy Standard

Standard
IEC 61158-6-12:2010 - Industrial communication networks - Fieldbus specifications - Part 6-12: Application layer protocol specification - Type 12 elements Released:8/6/2010 Isbn:9782889121298
English language
143 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 61158-6-12:2010 - Industrial communication networks - Fieldbus specifications - Part 6-12: Application layer protocol specification - Type 12 elements Released:8/6/2010 Isbn:9782832205389
English and French language
290 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


IEC 61158-6-12 ®
Edition 2.0 2010-08
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
3, rue de Varembé
CH-1211 Geneva 20
Switzerland
Email: 0Hinmail@iec.ch
Web: 1Hwww.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.
ƒ Catalogue of IEC publications: 2Hwww.iec.ch/searchpub
The IEC on-line Catalogue enables you to search by a variety of criteria (reference number, text, technical committee,…).
It also gives information on projects, withdrawn and replaced publications.
ƒ IEC Just Published: 3Hwww.iec.ch/online_news/justpub
Stay up to date on all new IEC publications. Just Published details twice a month all new publications released. Available
on-line and also by email.
ƒ Electropedia: 4Hwww.electropedia.org
The world's leading online dictionary of electronic and electrical terms containing more than 20 000 terms and definitions
in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical
Vocabulary online.
ƒ Customer Service Centre: 5Hwww.iec.ch/webstore/custserv
If you wish to give us your feedback on this publication or need further assistance, please visit the Customer Service
Centre FAQ or contact us:
Email: 6Hcsc@iec.ch
Tel.: +41 22 919 02 11
Fax: +41 22 919 03 00
IEC 61158-6-12 ®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-12: Application layer protocol specification – Type 12 elements

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XG
ICS 25.04.40; 35.100.70; 35.110 ISBN 978-2-88912-129-8
– 2 – 61158-6-12 © IEC:2010(E)
CONTENTS
FOREWORD.5H7
INTRODUCTION.6H9
1 Scope.7H10
1.1 General .8H10
1.2 Specifications .9H11
1.3 Conformance.10H11
2 Normative references.11H11
3 Terms, definitions, symbols, abbreviations and conventions .12H12
3.1 Reference model terms and definitions .13H12
3.2 Service convention terms and definitions .14H12
3.3 Application layer definitions.15H13
3.4 Common symbols and abbreviations .16H18
3.5 Additional symbols and abbreviations.17H18
3.6 Conventions .18H20
4 Application layer protocol specification.19H25
4.1 Operating principle .20H25
4.2 Node reference model .21H25
5 FAL syntax description.22H27
5.1 Coding principles .23H27
5.2 Data types and encoding rules .24H27
5.3 AR coding.25H30
5.4 SII coding .26H35
5.5 Isochronous PDI coding.27H40
5.6 CoE coding.28H44
5.7 EoE coding.29H82
5.8 FoE Coding .30H91
6 FAL protocol state machines.31H97
6.1 Overall structure .32H97
6.2 AP-Context state machine .33H99
6.3 FAL service protocol machine (FSPM) .34H99
6.4 Application Relationship Protocol Machines (ARPMs).35H99
6.5 DLL mapping protocol machine (DMPM) .36H142
Bibliography .37H143

Figure 1 – Common structure of specific fields .38H20
Figure 2 – Type description example .39H22
Figure 3 – Slave Node Reference Model.40H26
Figure 4 – Encoding of Time Of Day value.41H27
Figure 5 – Encoding of Time Difference value.42H28
Figure 6 – AL Control Request structure.43H30
Figure 7 – AL Control Response structure .44H31
Figure 8 – AL State Changed structure .45H33
Figure 9 – PDI Control type description .46H34
Figure 10 – Sync Configuration type description .47H34

61158-6-12 © IEC:2010(E) – 3 –
Figure 11 – Distributed Clock sync and latch type description .48H41
Figure 12 – CoE general structure .49H44
Figure 13 – SDO Download Expedited Request structure.50H45
Figure 14 – SDO Download Expedited Response structure .51H46
Figure 15 – SDO Download Normal Request structure.52H47
Figure 16 – Download SDO Segment Request structure .53H49
Figure 17 – Download SDO Segment Response structure.54H50
Figure 18 – SDO Upload Expedited Request structure .55H50
Figure 19 – SDO Upload Expedited Response structure .56H51
Figure 20 – SDO Upload Normal Response structure.57H53
Figure 21 – Upload SDO Segment Request structure.58H54
Figure 22 – Upload SDO Segment Response structure .59H54
Figure 23 – Abort SDO Transfer Request structure.60H55
Figure 24 – SDO Information Service structure.61H58
Figure 25 – Get OD List Request structure .62H58
Figure 26 – Get OD List Response structure.63H59
Figure 27 – Get Object Description Request structure.64H61
Figure 28 – Get Object Description Response structure.65H61
Figure 29 – Get Entry Description Request structure.66H62
Figure 30 – Get Entry Description Response structure .67H63
Figure 31 – SDO Info Error Request structure .68H65
Figure 32 – EoE general structure .69H82
Figure 33 – EoE Timestamp structure.70H83
Figure 34 – EoE Fragment Request structure .71H84
Figure 35 – Set IP Parameter Request structure.72H86
Figure 36 – Set IP Parameter Response structure .73H88
Figure 37 – Set Address Filter Request structure.74H89
Figure 38 – Set Address Filter Response structure .75H91
Figure 39 – Read Request structure .76H92
Figure 40 – Write Request structure .77H92
Figure 41 – Data Request structure .78H93
Figure 42 – Ack Request structure .79H94
Figure 43 – Error Request structure.80H95
Figure 44 – Busy Request structure.81H97
Figure 45 – Relationship among Protocol Machines .82H98
Figure 46 – AR Protocol machines .83H99
Figure 47 – ESM Diagramm .84H101

Table 1 – PDU element description example.85H22
Table 2 – Example attribute description .86H23
Table 3 – State machine description elements .87H23
Table 4 – Description of state machine elements .88H24
Table 5 – Conventions used in state machines .89H24

– 4 – 61158-6-12 © IEC:2010(E)
Table 6 – Transfer Syntax for bit sequences.90H28
Table 7 – Transfer syntax for data type Unsignedn .91H29
Table 8 – Transfer syntax for data type Integern.92H30
Table 9 – AL Control Description .93H31
Table 10 – AL Control Response .94H31
Table 11 – AL Status Codes .95H32
Table 12 – AL State Changed.96H33
Table 13 – PDI Control.97H34
Table 14 – PDI Configuration .98H34
Table 15 – Sync Configuration.
...


IEC 61158-6-12 ®
Edition 2.0 2010-08
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 de bus de terrain –
Partie 6-12: Spécification de protocoles de 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 la CEI ou du Comité national de la CEI du pays du demandeur.
Si vous avez des questions sur le copyright de la CEI 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 la CEI 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.

Useful links:
IEC publications search - www.iec.ch/searchpub Electropedia - www.electropedia.org
The advanced search enables you to find IEC publications The world's leading online dictionary of electronic and
by a variety of criteria (reference number, text, technical electrical terms containing more than 30 000 terms and
committee,…). definitions in English and French, with equivalent terms in
It also gives information on projects, replaced and additional languages. Also known as the International
withdrawn publications. Electrotechnical Vocabulary (IEV) on-line.

IEC Just Published - webstore.iec.ch/justpublished Customer Service Centre - webstore.iec.ch/csc
Stay up to date on all new IEC publications. Just Published If you wish to give us your feedback on this publication
details all new publications released. Available on-line and or need further assistance, please contact the
also once a month by email. Customer Service Centre: csc@iec.ch.

A propos de la CEI
La Commission Electrotechnique Internationale (CEI) 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 CEI
Le contenu technique des publications de la CEI est constamment revu. Veuillez vous assurer que vous possédez
l’édition la plus récente, un corrigendum ou amendement peut avoir été publié.

Liens utiles:
Recherche de publications CEI - www.iec.ch/searchpub Electropedia - www.electropedia.org
La recherche avancée vous permet de trouver des Le premier dictionnaire en ligne au monde de termes
publications CEI en utilisant différents critères (numéro de électroniques et électriques. Il contient plus de 30 000
référence, texte, comité d’études,…). termes et définitions en anglais et en français, ainsi que
Elle donne aussi des informations sur les projets et les les termes équivalents dans les langues additionnelles.
publications remplacées ou retirées. Egalement appelé Vocabulaire Electrotechnique
International (VEI) en ligne.
Just Published CEI - webstore.iec.ch/justpublished
Service Clients - webstore.iec.ch/csc
Restez informé sur les nouvelles publications de la CEI.
Just Published détaille les nouvelles publications parues. Si vous désirez nous donner des commentaires sur
Disponible en ligne et aussi une fois par mois par email. cette publication ou si vous avez des questions
contactez-nous: csc@iec.ch.
IEC 61158-6-12 ®
Edition 2.0 2010-08
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 de bus de terrain –

Partie 6-12: Spécification de protocoles de couche Application – Eléments de

Type 12
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
CODE PRIX XG
ICS 25.04.40; 35.100.70; 35.110 ISBN 978-2-83220-538-9

– 2 – 61158-6-12  IEC:2010
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 . 12
3.3 Application layer definitions. 13
3.4 Common symbols and abbreviations . 18
3.5 Additional symbols and abbreviations . 18
3.6 Conventions . 20
4 Application layer protocol specification . 25
4.1 Operating principle . 25
4.2 Node reference model . 25
5 FAL syntax description . 27
5.1 Coding principles . 27
5.2 Data types and encoding rules . 27
5.3 AR coding . 30
5.4 SII coding . 35
5.5 Isochronous PDI coding . 40
5.6 CoE coding . 44
5.7 EoE coding . 82
5.8 FoE Coding . 91
6 FAL protocol state machines . 97
6.1 Overall structure . 97
6.2 AP-Context state machine . 99
6.3 FAL service protocol machine (FSPM) . 99
6.4 Application Relationship Protocol Machines (ARPMs) . 99
6.5 DLL mapping protocol machine (DMPM) . 143
Bibliography . 144

Figure 1 – Common structure of specific fields . 20
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 . 33
Figure 9 – PDI Control type description . 34
Figure 10 – Sync Configuration type description . 34

61158-6-12  IEC:2010 – 3 –
Figure 11 – Distributed Clock sync and latch type description . 41
Figure 12 – CoE general structure . 44
Figure 13 – SDO Download Expedited Request structure . 45
Figure 14 – SDO Download Expedited Response structure . 46
Figure 15 – SDO Download Normal Request structure . 47
Figure 16 – Download SDO Segment Request structure . 49
Figure 17 – Download SDO Segment Response structure . 50
Figure 18 – SDO Upload Expedited Request structure . 50
Figure 19 – SDO Upload Expedited Response structure . 51
Figure 20 – SDO Upload Normal Response structure. 53
Figure 21 – Upload SDO Segment Request structure . 54
Figure 22 – Upload SDO Segment Response structure . 54
Figure 23 – Abort SDO Transfer Request structure . 55
Figure 24 – SDO Information Service structure . 58
Figure 25 – Get OD List Request structure . 58
Figure 26 – Get OD List Response structure . 59
Figure 27 – Get Object Description Request structure. 61
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 . 65
Figure 32 – EoE general structure . 82
Figure 33 – EoE Timestamp structure . 83
Figure 34 – EoE Fragment Request structure . 84
Figure 35 – Set IP Parameter Request structure . 86
Figure 36 – Set IP Parameter Response structure . 88
Figure 37 – Set Address Filter Request structure . 89
Figure 38 – Set Address Filter Response structure . 91
Figure 39 – Read Request structure . 92
Figure 40 – Write Request structure . 92
Figure 41 – Data Request structure .
...

Questions, Comments and Discussion

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