IEC 61158-6-17:2007
(Main)Industrial communication networks - Fieldbus specifications - Part 6-17: Application layer protocol specification - Type 17 elements
Industrial communication networks - Fieldbus specifications - Part 6-17: Application layer protocol specification - Type 17 elements
IEC 61158-6-17:2007 describes the fieldbus application layer (FAL) which provides user programs with a means to access the fieldbus communication environment. In this respect, the FAL can be viewed as a "window between corresponding application programs." It specifies the protocol of the Type 17 fieldbus application layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498) and the OSI application layer structure (ISO/IEC 9545). This first edition and its companion parts of the IEC 61158-6 subseries cancel and replace IEC 61158-6:2003. This part and its Type 17 companion parts also cancel and replace IEC/PAS 62405, published in 2005. It includes the following changes:
- deletion of the former Type 6 fieldbus for lack of market relevance;
- addition of new types of fieldbuses;
- partition of part 6 of the third edition into multiple parts numbered -6 2, -6 3, .... This bilingual version (2013-09) corresponds to the monolingual English version, published in 2007-12.
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-17: Spécification de protocole de la couche d'application - Éléments de Type 17
La CEI 61158-6-17:2007 décrit la couche d'application de bus de terrain (FAL, "Fieldbus Application Layer") qui fournit aux programmes utilisateur un moyen d'accès à l'environnement de communication des bus de terrain. À cet égard, la FAL peut être considérée comme une "fenêtre entre les programmes d'application correspondants." Elle spécifie le protocole de la couche application de bus de terrain de Type 17, conformément au modèle de référence de base OSI (ISO/CEI 7498) et à la structure de la couche application OSI (ISO/CEI 9545). Cette première édition et ses parties d'accompagnement de la série CEI 61158-6 annulent et remplacent la CEI 61158-6:2003. La présente partie et les parties associées au Type 17 annulent et remplacent également la CEI/PAS 62405 publiée en 2005. Elle inclut les modifications suivantes:
- suppression de l'ancien bus de terrain de Type 6 du fait d'un manque de pertinence pour le marché;
- addition de nouveaux types de bus de terrain;
- répartition de la partie 6 de la troisième édition en plusieurs parties numérotées -6 2, -6 3,.... La présente version bilingue (2013-09) correspond à la version anglaise monolingue publiée en 2007-12.
General Information
Relations
Buy Standard
Standards Content (Sample)
IEC 61158-6-17
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-17: Application layer protocol specification – Type 17 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-17
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-17: Application layer protocol specification – Type 17 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XB
ICS 35.100.70; 25.040.40 ISBN 2-8318-9495-6
– 2 – 61158-6-17 © 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 reference .9
3 Definitions .9
3.1 Terms and definitions .9
3.2 Abbreviations and symbols.15
3.3 Conventions .16
4 Abstract syntax description.18
4.1 FAL PDU abstract syntax .18
4.2 Abstract syntax of PDU body.18
4.3 PDUs for ASEs.20
4.4 Type definitions.23
4.5 Data types.26
5 Transfer syntax .28
5.1 Overview of encoding .28
5.2 APDU header encoding .28
5.3 APDU body encoding .29
5.4 Data type encoding rules.30
6 FAL protocol state machines structure.34
7 AP-context state machine.35
8 FAL service protocol machines (FSPMs) .35
8.1 General .35
8.2 Common parameters of the primitives .35
8.3 Variable ASE protocol machine (VARM) .36
8.4 Event ASE protocol machine (EVTM) .39
8.5 Load region ASE protocol machine (LDRM).41
8.6 Function invocation ASE protocol machine (FNIM) .43
8.7 Time ASE protocol machine (TIMM) .47
8.8 Network management ASE protocol machine (NWMM).51
9 Application relationship protocol machines (ARPMs) .55
9.1 General .55
9.2 Primitive definitions .55
9.3 State machine .56
9.4 Functions .64
10 DLL mapping protocol machine (DMPM).65
10.1 General .65
10.2 Primitive definitions .66
10.3 DMPM state machine .67
Bibliography.70
Figure 1 – APDU overview .28
61158-6-17 © IEC:2007(E) – 3 –
Figure 2 – Type field.29
Figure 3 – Identifier octet.29
Figure 4 – Length octet (one-octet format) .30
Figure 5 – Length octets (three-octet format) .30
Figure 6 – Relationships among protocol machines and adjacent layers .34
Figure 7 – State transition diagram of VARM .37
Figure 8 – State transition diagram of EVTM.40
Figure 9 – State transition diagram of LDRM.42
Figure 10 – State transition diagram of FNIM .44
Figure 11 – State transition diagram of TIMM.48
Figure 12 – State transition diagram of NWMM .52
Figure 13 – State transition diagram of the PTC-ARPM.57
Figure 14 – State transition diagram of the PTU-ARPM.59
Figure 15 – State transition diagram of the PSU-ARPM .60
Figure 16 – State transition diagram of the MTU-ARPM .62
Figure 17 – State transition diagram of the MSU-ARPM .63
Figure 18 – State transition diagram of DMPM .67
Table 1 – Conventions used for AE state machine definitions .17
Table 2 – Encoding of FalArHeader field.28
Table 3 – Primitives exchanged between FAL user and VARM.36
Table 4 – Parameters used with primitives exchanged FAL user and VARM .36
Table 5 – VARM state table – Sender transitions .37
Table 6 – VARM state table – Receiver transitions.38
Table 7 – Functions used by the VARM .39
Table 8 – Primitives exchanged between FAL user and EVTM .39
Table 9 – Parameters used with primitives exchanged FAL user and EVTM.39
Table 10 – EVTM state table – Sender transitions.40
Table 11 – EVTM state table – Receiver transitions .40
Table 12 – Functions used by the EVTM.40
Table 13 – Primitives exchanged between FAL user and LDRM.41
Table 14 – Parameters used with primitives exchanged FAL user and LDRM.41
Table 15 – LDRM state table – Sender transitions .42
Table 16 – LDRM state table – Receiver transitions .43
Table 17 – Functions used by the LDRM.43
Table 18 – Primitives exchanged between FAL user and FNIM .44
Table 19 – Parameters used with primitives exchanged FAL user and FNIM .44
Table 20 – FNIM state table – Sender transitions.45
Table 21 – FNIM state table – Receiver transitions .45
Table 22 – Functions used by the FNIM .47
Table 23 – Primitives exchanged between FAL user and TIMM.47
Table 24 – Parameters used with primitives exchanged FAL user and TIMM.47
Table 25 – TIMM states .48
– 4 – 61158-6-17 © IEC:2007(E)
Table 26 – TIMM state table – Sender transitions .49
Table 27 – TIMM state table – Receiver transitions.50
Table 28 – Functions used by the TIMM.51
Table 29 – Primitives exchanged between FAL user and NWMM .51
Table 30 – Parameters used with primitives exchanged FAL user and NWMM .52
Table 31 – NWMM states.52
Table 32 – NWMM state table – Sender transitions .53
Table 33 – NWMM state table – Receiver transitions .54
Table 34 – Functions used by the NWMM .55
Table 35 – Primitives exchanged between FSPM and ARPM .56
Table 36 – Parameters used with primitives exchanged FSPM user and ARPM .56
Table 37 – PTC-ARPM states .56
Table 38 – PTC-ARPM state table – Sender transitions .57
Table 39 – PTC-ARPM state table – Receiver transitions.58
Table 40 – PTU-ARPM states .
...
IEC 61158-6-17 ®
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 6-17: Application layer protocol specification – Type 17 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 6-17: Spécification de protocole de la couche d’application – Éléments
de Type 17
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-17 ®
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 6-17: Application layer protocol specification – Type 17 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 6-17: Spécification de protocole de la couche d’application – Éléments
de Type 17
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
CODE PRIX XB
ICS 25.040.40; 35.100.70 ISBN 978-2-8322-1025-3
– 2 – 61158-6-17 © IEC:2007
CONTENTS
FOREWORD . 5
INTRODUCTION . 7
1 Scope . 8
1.1 General . 8
1.2 Specifications . 8
1.3 Conformance . 8
2 Normative reference . 9
3 Definitions . 9
3.1 Terms and definitions . 9
3.2 Abbreviations and symbols . 15
3.3 Conventions . 16
4 Abstract syntax description . 18
4.1 FAL PDU abstract syntax . 18
4.2 Abstract syntax of PDU body . 18
4.3 PDUs for ASEs . 20
4.4 Type definitions . 23
4.5 Data types . 26
5 Transfer syntax . 28
5.1 Overview of encoding . 28
5.2 APDU header encoding . 28
5.3 APDU body encoding . 29
5.4 Data type encoding rules . 30
6 FAL protocol state machines structure . 34
7 AP-context state machine . 35
8 FAL service protocol machines (FSPMs) . 35
8.1 General . 35
8.2 Common parameters of the primitives . 35
8.3 Variable ASE protocol machine (VARM) . 36
8.4 Event ASE protocol machine (EVTM) . 39
8.5 Load region ASE protocol machine (LDRM) . 41
8.6 Function invocation ASE protocol machine (FNIM) . 43
8.7 Time ASE protocol machine (TIMM) . 47
8.8 Network management ASE protocol machine (NWMM) . 51
9 Application relationship protocol machines (ARPMs) . 55
9.1 General . 55
9.2 Primitive definitions . 55
9.3 State machine . 56
9.4 Functions . 64
10 DLL mapping protocol machine (DMPM) . 65
10.1 General . 65
10.2 Primitive definitions . 66
10.3 DMPM state machine . 67
Bibliography . 70
Figure 1 – APDU overview . 28
61158-6-17 © IEC:2007 – 3 –
Figure 2 – Type field . 29
Figure 3 – Identifier octet . 29
Figure 4 – Length octet (one-octet format) . 30
Figure 5 – Length octets (three-octet format) . 30
Figure 6 – Relationships among protocol machines and adjacent layers . 34
Figure 7 – State transition diagram of VARM . 37
Figure 8 – State transition diagram of EVTM . 40
Figure 9 – State transition diagram of LDRM . 42
Figure 10 – State transition diagram of FNIM . 44
Figure 11 – State transition diagram of TIMM. 48
Figure 12 – State transition diagram of NWMM . 52
Figure 13 – State transition diagram of the PTC-ARPM . 57
Figure 14 – State transition diagram of the PTU-ARPM . 59
Figure 15 – State transition diagram of the PSU-ARPM . 60
Figure 16 – State transition diagram of the MTU-ARPM . 62
Figure 17 – State transition diagram of the MSU-ARPM . 63
Figure 18 – State transition diagram of DMPM . 67
Table 1 – Conventions used for AE state machine definitions . 17
Table 2 – Encoding of FalArHeader field . 28
Table 3 – Primitives exchanged between FAL user and VARM . 36
Table 4 – Parameters used with primitives exchanged FAL user and VARM . 36
Table 5 – VARM state table – Sender transitions . 37
Table 6 – VARM state table – Receiver transitions . 38
Table 7 – Functions used by the VARM . 39
Table 8 – Primitives exchanged between FAL user and EVTM . 39
Table 9 – Parameters used with primitives exchanged FAL user and EVTM . 39
Table 10 – EVTM state table – Sender transitions . 40
Table 11 – EVTM state table – Receiver transitions . 40
Table 12 – Functions used by the EVTM . 40
Table 13 – Primitives exchanged between FAL user and LDRM . 41
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.