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

IEC 61158-6-18:2010 specifies the protocol of the Type 18 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-18: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:
- editorial corrections;
- addition of cyclic data segmenting.

Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-18: Spécification des protocoles des couches d'application - Eléments de type 18

L'IEC 61158-6-18:2010 fournit des éléments communs pour les communications en temps critique ou non entre des programmes d'application dans un environnement et avec un matériel d'automatisation propres aux bus de terrain de type 18. Le terme "en temps critique" signale l'existence d'une fenêtre temporelle dans laquelle est exigée la réalisation d'une ou de plusieurs actions spécifiées, avec un niveau de certitude défini. La non-réalisation des actions spécifiées dans la fenêtre temporelle induit un risque de défaillance des applications qui exigent ces actions, avec les risques afférents pour l'équipement, les installations et éventuellement la vie humaine.
La présente norme définit les interactions entre les applications distantes ainsi que le comportement, visible par un observateur externe, assuré par la couche Application de bus de terrain de type 18, en termes
a) de syntaxe abstraite formelle définissant les unités de données de protocole de couche application, acheminées entre les entités d'application en communication;
b) de syntaxe de transfert définissant les règles de codage qui s'appliquent aux unités de données de protocole de couche application;
c) de la machine à état de contexte application définissant le comportement de service application visible entre des entités d'application engagées dans une communication;
d) de machines à état de relations d'applications définissant le comportement de communication visible entre les entités d'application en communication.

General Information

Status
Published
Publication Date
05-Aug-2010
Technical Committee
Drafting Committee
Current Stage
PPUB - Publication issued
Start Date
15-Aug-2010
Completion Date
06-Aug-2010
Ref Project

Relations

Buy Standard

Standard
IEC 61158-6-18:2010 - Industrial communication networks - Fieldbus specifications - Part 6-18: Application layer protocol specification - Type 18 elements
English language
60 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 61158-6-18:2010 - Industrial communication networks - Fieldbus specifications - Part 6-18: Application layer protocol specification - Type 18 elements
English and French language
127 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


IEC 61158-6-18 ®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-18: Application layer protocol specification – Type 18 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-18 ®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-18: Application layer protocol specification – Type 18 elements

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XA
ICS 25.04.40; 35.100.70; 35.110 ISBN 978-2-88912-132-8
– 2 – 61158-6-18 © IEC:2010(E)
CONTENTS
FOREWORD.5
INTRODUCTION.7
1 Scope.8
1.1 General .8
1.2 Specifications.8
1.3 Conformance.9
2 Normative references .9
3 Terms and definitions .9
3.1 Terms and definitions from other ISO/IEC standards .9
3.2 Other terms and definitions .10
3.3 Abbreviations and symbols.16
3.4 Additional abbreviations and symbols for type 18 .16
3.5 Conventions .17
4 Abstract syntax.17
4.1 M1 device manager PDU abstract syntax .17
4.2 M2 device manager PDU abstract syntax .17
4.3 S1 device manager PDU abstract syntax.18
4.4 S2 device manager PDU abstract syntax.18
4.5 M1 connection manager PDU abstract syntax.18
4.6 M2 connection manager PDU abstract syntax.19
4.7 S1 connection manager PDU abstract syntax .19
4.8 S2 connection manager PDU abstract syntax .20
4.9 M1 cyclic transmission PDU abstract syntax.20
4.10 M2 cyclic transmission PDU abstract syntax.20
4.11 S1 cyclic transmission PDU abstract syntax .21
4.12 S2 cyclic transmission PDU abstract syntax .21
4.13 Acyclic transmission PDU abstract syntax .21
5 Transfer syntax .22
5.1 M1 device manager PDU encoding.22
5.2 M2 device manager PDU encoding.25
5.3 S1 device manager PDU encoding .26
5.4 S2 device manager PDU encoding .26
5.5 M1 connection manager PDU encoding .27
5.6 M2 connection manager PDU encoding .31
5.7 S1 connection manager PDU encoding.32
5.8 S2 connection manager PDU encoding.33
5.9 M1 cyclic transmission PDU encoding .33
5.10 M2 cyclic transmission PDU encoding .35
5.11 S1 cyclic transmission PDU encoding.36
5.12 S2 cyclic transmission PDU encoding.37
5.13 Acyclic transmission PDU encoding.38
6 Structure of FAL protocol state machines .45
7 AP-context state machine.47
8 FAL service protocol machine (FSPM).47
8.1 Overview .47
8.2 FAL service primitives .47

61158-6-18 © IEC:2010(E) – 3 –
9 AR protocol machine (ARPM) .48
9.1 Overview .48
9.2 M1 master ARPM .49
9.3 M2 master ARPM .53
9.4 Slave ARPM.56
10 DLL mapping protocol machine (DMPM).59
10.1 Overview .59
10.2 Primitives received from the ARPM .59
10.3 Indications received from the DL .59
Bibliography.60

Figure 1 – Parameter block 1 command parameter field.40
Figure 2 – Parameter block 2 command parameter field.41
Figure 3 – Relationships among protocol machines and adjacent layers .46
Figure 4 – ARPM M1 master AR state diagram .49
Figure 5 – ARPM M2 master AR state diagram .53
Figure 6 – ARPM slave AR state diagram .56

Table 1 – M1 device manager attribute format .17
Table 2 – M2 device manager attribute format .17
Table 3 – S1 device manager attribute format.18
Table 4 – S2 device manager attribute format.18
Table 5 – M1 connection manager attribute format.18
Table 6 – M2 connection manager attribute format.19
Table 7 – S1 connection manager attribute format .20
Table 8 – S2 connection manager attribute format .20
Table 9 – M1 cyclic transmission attribute format.20
Table 10 – M2 cyclic transmission attribute format.21
Table 11 – S1 cyclic transmission attribute format .21
Table 12 – S2 cyclic transmission attribute format .21
Table 13 – Acyclic transmission attribute format .21
Table 14 – M1 device manager attribute encoding .23
Table 15 – M2 device manager attribute encoding .25
Table 16 – S1 device manager attribute encoding.26
Table 17 – S2 device manager attribute encoding.27
Table 18 – M1 connection manager attribute encoding .28
Table 19 – M2 connection manager attribute encoding .31
Table 20 – S1 connection manager attribute encoding .32
Table 21 – S2 connection manager attribute encoding .33
Table 22 – M1 cyclic transmission attribute encoding.34
Table 23 – M2 cyclic transmission attribute encoding.36
Table 24 – S1 cyclic transmission attribute encoding .36
Table 25 – S2 cyclic transmission attribute encoding .38
Table 26 – Acyclic transmission – message data encoding .38

– 4 – 61158-6-18 © IEC:2010(E)
Table 27 – Command header format .39
Table 28 – Command codes .39
Table 29 – System information command parameter field .42
Table 30 – System information command parameter field .42
Table 31 – System information command parameter field .42
Table 32 – System information command parameter field .43
Table 33 – Line test command parameter field.43
Table 34 – Memory read command parameter field.44
Table 35 – Memory write command parameter field .45
Table 36 – FSPM events.48
Table 37 – M1 master state-event table 1 – events .51
Table 38 – M1 master state-event table 2 – receipt of FSPM service primitives .51
Table 39 – M1 master state-event table 3 – receipt of DMPM service primitives.
...


IEC 61158-6-18 ®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 6-18: Application layer protocol specification – Type 18 elements

Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 6-18: Spécification des protocoles des couches d'application – Eléments
de type 18
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-18 ®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –

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

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

Partie 6-18: Spécification des protocoles des couches d'application – Eléments

de type 18
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.04.40; 35.100.70; 35.110 ISBN 978-2-8322-9703-2

– 2 – IEC 61158-6-18:2010  IEC 2010
CONTENTS
FOREWORD . 5
INTRODUCTION . 7
1 Scope . 8
1.1 General . 8
1.2 Specifications . 8
1.3 Conformance . 9
2 Normative references . 9
3 Terms and definitions . 9
3.1 Terms and definitions from other ISO/IEC standards . 9
3.2 Other terms and definitions . 10
3.3 Abbreviations and symbols . 16
3.4 Additional abbreviations and symbols for type 18 . 17
3.5 Conventions . 17
4 Abstract syntax . 17
4.1 M1 device manager PDU abstract syntax . 17
4.2 M2 device manager PDU abstract syntax . 17
4.3 S1 device manager PDU abstract syntax . 18
4.4 S2 device manager PDU abstract syntax . 18
4.5 M1 connection manager PDU abstract syntax . 18
4.6 M2 connection manager PDU abstract syntax . 19
4.7 S1 connection manager PDU abstract syntax . 19
4.8 S2 connection manager PDU abstract syntax . 20
4.9 M1 cyclic transmission PDU abstract syntax . 20
4.10 M2 cyclic transmission PDU abstract syntax . 20
4.11 S1 cyclic transmission PDU abstract syntax . 21
4.12 S2 cyclic transmission PDU abstract syntax . 21
4.13 Acyclic transmission PDU abstract syntax . 21
5 Transfer syntax. 22
5.1 M1 device manager PDU encoding . 22
5.2 M2 device manager PDU encoding . 25
5.3 S1 device manager PDU encoding . 26
5.4 S2 device manager PDU encoding . 26
5.5 M1 connection manager PDU encoding . 27
5.6 M2 connection manager PDU encoding . 31
5.7 S1 connection manager PDU encoding . 32
5.8 S2 connection manager PDU encoding . 33
5.9 M1 cyclic transmission PDU encoding . 33
5.10 M2 cyclic transmission PDU encoding . 35
5.11 S1 cyclic transmission PDU encoding . 36
5.12 S2 cyclic transmission PDU encoding . 37
5.13 Acyclic transmission PDU encoding . 38
6 Structure of FAL protocol state machines . 45
7 AP-context state machine . 47
8 FAL service protocol machine (FSPM) . 47
8.1 Overview . 47
8.2 FAL service primitives . 47

9 AR protocol machine (ARPM) . 48
9.1 Overview . 48
9.2 M1 master ARPM . 49
9.3 M2 master ARPM . 53
9.4 Slave ARPM . 56
10 DLL mapping protocol machine (DMPM) . 59
10.1 Overview . 59
10.2 Primitives received from the ARPM . 59
10.3 Indications received from the DL . 59
Bibliography . 60

Figure 1 – Parameter block 1 command parameter field . 40
Figure 2 – Parameter block 2 command parameter field . 41
Figure 3 – Relationships among protocol machines and adjacent layers . 46
Figure 4 – ARPM M1 master AR state diagram . 49
Figure 5 – ARPM M2 master AR state diagram . 53
Figure 6 – ARPM slave AR state diagram . 56

Table 1 – M1 device manager attribute format . 17
Table 2 – M2 device manager attribute format . 18
Table 3 – S1 device manager attribute format . 18
Table 4 – S2 device manager attribute format . 18
Table 5 – M1 connection manager attribute format. 18
Table 6 – M2 connection manager attribute format. 19
Table 7 – S1 connection manager attribute format . 20
Table 8 – S2 connection manager attribute format . 20
Table 9 – M1 cyclic transmission attribute format . 20
Table 10 – M2 cyclic transmission attribute format . 21
Table 11 – S1 cyclic transmission attribute format .
...

Questions, Comments and Discussion

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