IEC 61158-6-18:2007
(Main)Industrial communication networks - Fieldbus specifications - Part 6-18: Application layer protocol specification - Type 18 elements
Industrial communication networks - Fieldbus specifications - Part 6-18: Application layer protocol specification - Type 18 elements
IEC 61158-6-18:2007 specifies the protocol of the Type 18 fieldbus application layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498) and the OSI application layer structure (ISO/IEC 9545).
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:20107 spécifie le protocole de la couche Application de bus de terrain de Type 18, 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).
General Information
Relations
Buy Standard
Standards Content (Sample)
IEC 61158-6-18
Edition 1.0 2007-12
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: inmail@iec.ch
Web: 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.
ƒ Catalogue of IEC publications: www.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: www.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: www.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: www.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: csc@iec.ch
Tel.: +41 22 919 02 11
Fax: +41 22 919 03 00
IEC 61158-6-18
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-18: Application layer protocol specification – Type 18 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XB
ICS 35.100.70; 25.040.40 ISBN 2-8318-9496-4
– 2 – 61158-6-18 © IEC:2007(E)
CONTENTS
FOREWORD.5
INTRODUCTION.7
1 Scope.8
1.1 General .8
1.2 Specifications.8
1.3 Conformance.8
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.19
3.4 Additional abbreviations and symbols for decentralized periphery .19
3.5 Conventions .21
4 Abstract syntax.21
4.1 M1 device manager PDU abstract syntax .21
4.2 M2 device manager PDU abstract syntax .21
4.3 S1 device manager PDU abstract syntax.22
4.4 S2 device manager PDU abstract syntax.22
4.5 M1 connection manager PDU abstract syntax.22
4.6 M2 connection manager PDU abstract syntax.23
4.7 S1 connection manager PDU abstract syntax .24
4.8 S2 connection manager PDU abstract syntax .24
4.9 M1 cyclic transmission PDU abstract syntax.24
4.10 M2 cyclic transmission PDU abstract syntax.25
4.11 S1 cyclic transmission PDU abstract syntax .25
4.12 S2 cyclic transmission PDU abstract syntax .26
5 Transfer syntax .26
5.1 M1 device manager PDU encoding.26
5.2 M2 device manager PDU encoding.28
5.3 S1 device manager PDU encoding .29
5.4 S2 device manager PDU encoding .30
5.5 M1 connection manager PDU encoding .31
5.6 M2 connection manager PDU encoding .35
5.7 S1 connection manager PDU encoding.35
5.8 S2 connection manager PDU encoding.36
5.9 M1 cyclic transmission PDU encoding .37
5.10 M2 cyclic transmission PDU encoding .38
5.11 S1 cyclic transmission PDU encoding.39
5.12 S2 cyclic transmission PDU encoding.41
5.13 Acyclic transmission PDU encoding.42
6 Structure of FAL protocol state machines .50
7 AP-context state machine.51
8 FAL service protocol machine (FSPM).51
8.1 Overview .51
8.2 FAL service primitives .51
9 AR protocol machine (ARPM) .52
61158-6-18 © IEC:2007(E) – 3 –
9.1 Overview .52
9.2 M1 master ARPM .52
9.3 M2 master ARPM .57
9.4 Slave ARPM.60
10 DLL mapping protocol machine (DMPM).63
10.1 Overview .63
10.2 Primitives received from the ARPM .63
10.3 Indications received from the DL .63
Bibliography.64
Figure 1 – Parameter block 1 command parameter field.44
Figure 2 – Parameter block 2 command parameter field.45
Figure 3 – Relationships among protocol machines and adjacent layers .50
Figure 4 – ARPM M1 master AR state diagram .53
Figure 5 – ARPM M2 master AR state diagram .57
Figure 6 – ARPM slave AR state diagram .60
Table 1 – M1 device manager attribute format .21
Table 2 – M2 device manager attribute format .22
Table 3 – S1 device manager attribute format.22
Table 4 – S2 device manager attribute format.22
Table 5 – M1 connection manager attribute format.23
Table 6 – M2 connection manager attribute format.24
Table 7 – S1 connection manager attribute format .24
Table 8 – S2 connection manager attribute format .24
Table 9 – M1 cyclic transmission attribute format.25
Table 10 – M2 cyclic transmission attribute format.25
Table 11 – S1 cyclic transmission attribute format .25
Table 12 – S2 cyclic transmission attribute format .26
Table 13 – M1 device manager attribute encoding .27
Table 14 – M2 device manager attribute encoding .29
Table 15 – S1 device manager attribute encoding.30
Table 16 – S2 device manager attribute encoding.31
Table 17 – M1 connection manager attribute encoding .32
Table 18 – M2 connection manager attribute encoding .35
Table 19 – S1 connection manager attribute encoding .36
Table 20 – S2 connection manager attribute encoding .36
Table 21 – M1 cyclic transmission attribute encoding.37
Table 22 – M2 cyclic transmission attribute encoding.39
Table 23 – S1 cyclic transmission attribute encoding .40
Table 24 – S2 cyclic transmission attribute encoding .41
Table 25 – Acyclic transmission – message data encoding .42
Table 26 – Command header format .43
Table 27 – Command codes .43
– 4 – 61158-6-18 © IEC:2007(E)
Table 28 – System information command parameter field .46
Table 29 – System information command parameter field .46
Table 30 – System information command parameter field .46
Table 31 – System information command parameter field .47
Table 32 – Line test command parameter field.47
Table 33 – Memory read command parameter field.48
Table 34 – Memory write command parameter field .49
Table 35 – FSPM events.52
Table 36 – M1 master state-event table 1 – events .55
Table 37 – M1 master state-event table 2 – receipt of FSPM service primitives .55
Table 38 – M1 master state-event table 3 – receipt of DMPM service primitives.57
Table 39 – M2 master state-event table 1 – events .58
Table 40 – M2 master state-event table 2 – receipt of FSPM service primitives .
...
IEC 61158-6-18 ®
Edition 1.0 2007-12
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 – Élé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é 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 15
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 60 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
15 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 60 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.
IEC 61158-6-18 ®
Edition 1.0 2007-12
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 – Éléments
de Type 18
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.04.40; 35.100.70; 35.110 ISBN 978-2-8322-2984-2
– 2 – IEC 61158-6-18:2007 © IEC 2007
CONTENTS
FOREWORD . 5
INTRODUCTION . 7
1 Scope . 8
1.1 General . 8
1.2 Specifications . 8
1.3 Conformance . 8
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 . 19
3.4 Additional abbreviations and symbols for decentralized periphery . 19
3.5 Conventions . 21
4 Abstract syntax . 21
4.1 M1 device manager PDU abstract syntax . 21
4.2 M2 device manager PDU abstract syntax . 21
4.3 S1 device manager PDU abstract syntax . 22
4.4 S2 device manager PDU abstract syntax . 22
4.5 M1 connection manager PDU abstract syntax . 22
4.6 M2 connection manager PDU abstract syntax . 23
4.7 S1 connection manager PDU abstract syntax . 24
4.8 S2 connection manager PDU abstract syntax . 24
4.9 M1 cyclic transmission PDU abstract syntax . 24
4.10 M2 cyclic transmission PDU abstract syntax . 25
4.11 S1 cyclic transmission PDU abstract syntax . 25
4.12 S2 cyclic transmission PDU abstract syntax . 26
5 Transfer syntax . 26
5.1 M1 device manager PDU encoding . 26
5.2 M2 device manager PDU encoding . 28
5.3 S1 device manager PDU encoding . 29
5.4 S2 device manager PDU encoding . 30
5.5 M1 connection manager PDU encoding . 31
5.6 M2 connection manager PDU encoding . 35
5.7 S1 connection manager PDU encoding . 35
5.8 S2 connection manager PDU encoding . 36
5.9 M1 cyclic transmission PDU encoding . 37
5.10 M2 cyclic transmission PDU encoding . 38
5.11 S1 cyclic transmission PDU encoding . 39
5.12 S2 cyclic transmission PDU encoding . 40
5.13 Acyclic transmission PDU encoding . 41
6 Structure of FAL protocol state machines . 49
7 AP-context state machine . 50
8 FAL service protocol machine (FSPM) . 50
8.1 Overview . 50
8.2 FAL service primitives . 50
9 AR protocol machine (ARPM) . 51
9.1 Overview . 51
9.2 M1 master ARPM . 51
9.3 M2 master ARPM . 56
9.4 Slave ARPM . 59
10 DLL mapping protocol machine (DMPM) . 62
10.1 Overview . 62
10.2 Primitives received from the ARPM . 62
10.3 Indications received from the DL . 62
Bibliography . 63
Figure 1 – Parameter block 1 command parameter field . 43
Figure 2 – Parameter block 2 command parameter field . 44
Figure 3 – Relationships among protocol machines and adjacent layers . 49
Figure 4 – ARPM M1 master AR state diagram . 52
Figure 5 – ARPM M2 master AR state diagram . 56
Figure 6 – ARPM slave AR state diagram . 59
Table 1 – M1 device manager attribute format . 21
Table 2 – M2 device manager attribute format . 22
Table 3 – S1 device manager attribute format . 22
Table 4 – S2 device manager attribute format . 22
Table 5 – M1 connection manager attribute format . 23
Table 6 – M2 connection manager attribute form
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.