IEC 61158-6-5:2007
(Main)Industrial communication networks - Fieldbus specifications - Part 6-5: Application layer protocol specification - Type 5 elements
Industrial communication networks - Fieldbus specifications - Part 6-5: Application layer protocol specification - Type 5 elements
IEC 61158-6-5:2007 defines the protocol provided to define the wire-representation of the service primitives defined in IEC 61158-5-5, and define the externally visible behaviour associated with their transfer. This standard specifies the protocol of the Type 5 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 edition of IEC 61158-6 includes the following significant changes from the previous edition:
- 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 (2014-12) corresponds to the monolingual English version, published in 2007-12.
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-5: Spécification des protocoles des couches d'application - Eléments de type 5
L'IEC 61158-6-5:2007 vise à définir le protocole mis en place pour définir la représentation filaire des primitives de service définies dans la norme CEI 61158-5-5, 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 5, 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). Cette première édition et les parties qui l'accompagnent de la sous-série CEI 61158-6 annulent et remplacent la CEI 61158-6:2003. L'édition de la présente partie constitue un ajout technique. Cette édition de la CEI 61158-6 inclut les modifications majeures suivantes par rapport à l'édition précédente:
- suppression du bus de terrain de type 6 précédent pour défaut de pertinence de commercialisation;
- ajout de nouveaux types de bus de terrain;
- fractionnement de la partie 6 de la troisième édition en plusieurs parties numérotées -6-2, -6-3,.. La présente version bilingue (2014-12) correspond à la version anglaise monolingue publiée en 2007-12.
General Information
Relations
Buy Standard
Standards Content (Sample)
IEC 61158-6-5
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-5: Application layer protocol specification – Type 5 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-5
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-5: Application layer protocol specification – Type 5 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XE
ICS 35.100.70; 25.040.40 ISBN 2-8318-9477-8
– 2 – 61158-6-5 © IEC:2007(E)
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 .11
3.1 Terms and definitions from other ISO/IEC standards .11
3.2 IEC/TR 61158-1 terms.12
3.3 Abbreviations and symbols.16
3.4 Conventions .17
3.5 Conventions used in state machines .17
4 Protocol.19
4.1 Overview .19
4.2 FAL syntax description .19
4.3 Transfer syntax .19
4.4 FAL protocol state machine structure .75
4.5 SMK state machine .75
4.6 VCR state machine.92
4.7 FAL service protocol machine (FSPM).93
4.8 Application relationship protocol machines (ARPMs) .93
4.9 DLL mapping protocol machine (DMPM).108
Bibliography.114
Figure 1 – State transition diagram for SMK.77
Figure 2 – State transition diagram of client / server ARPM .97
Figure 3 – State transition diagram of the publisher / subscriber ARPM . 104
Figure 4 – State transition diagram of DMPM.110
Table 1 – Conventions used for state machines .17
Table 2 – Data types.20
Table 3 – Data types.20
Table 4 – APDU header format .21
Table 5 – FDA address use.22
Table 6 – FDA address header field APDUs sent by a client VCR endpoint.23
Table 7 – FDA address header field APDUs sent by a server VCR endpoint .24
Table 8 – FDA address header field APDUs sent by a publisher VCR endpoint.24
Table 9 – FDA address header field APDUs sent by a report source VCR endpoint .25
Table 10 – APDU trailer fields.25
Table 11 – Request APDU parameters.27
Table 12 – SMK FDA address values.29
Table 13 – SMK FDA address values.30
61158-6-5 © IEC:2007(E) – 3 –
Table 14 – Request APDU parameters.31
Table 15 – SMK FDA address values for SM identify .32
Table 16 – SMK FDA address values for SMK set assignment info request APDUs .32
Table 17 – SMK clear address request APDU parameters.33
Table 18 – SMK FDA address values for SMK set assignment info request APDUs .33
Table 19 – SMK set assignment info request APDU parameters .34
Table 20 – SMK set assignment info response APDU parameters.35
Table 21 – SMK FDA address values for SMK device clear assignment Info APDUs .36
Table 22 – SMK clear assignment info request APDU parameters .36
Table 23 – SMK FDA address values for SMK device annunciation request APDUs.36
Table 24 – SMK device annunciation request APDU parameters.37
Table 25 – Initiate request APDU parameters .40
Table 26 – Initiate response APDU parameters.40
Table 27 – Abort request APDU parameters .40
Table 28 – Get response APDU parameters.41
Table 29 – Identify response APDU parameters.41
Table 30 – Get OD request APDU parameters .41
Table 31 – Get OD response APDU parameters.42
Table 32 – Initiate put OD request APDU parameters .42
Table 33 – Put OD request APDU parameters.42
Table 34 – Generic initiate download sequence request APDU parameters.43
Table 35 – Generic download segment request APDU parameters.44
Table 36 – Generic terminate download sequence request APDU parameters .44
Table 37 – Response APDU parameters .44
Table 38 – Initiate download sequence request APDU parameters.45
Table 39 – Download segment request APDU parameters .45
Table 40 – Download segment response APDU parameters.45
Table 41 – Terminate download sequence request APDU parameters .46
Table 42 – Initiate upload sequence request APDU parameters .46
Table 43 – Upload segment request APDU parameters.47
Table 44 – Upload segment response APDU parameters .47
Table 45 – Terminate upload sequence request APDU parameters .47
Table 46 – Request domain download request APDU parameters .48
Table 47 – Request domain upload request APDU parameters .48
Table 48 – Create program invocation request APDU parameters.49
Table 49 – Create program invocation response APDU parameters .49
Table 50 – Delete program invocation request APDU parameters .49
Table 51 – Start request APDU parameters .50
Table 52 – Stop request APDU parameters.50
Table 53 – Resume request APDU parameters .50
Table 54 – Reset request APDU parameters.51
Table 55 – Kill request APDU parameters .51
Table 56 – Read request APDU parameters.51
– 4 – 61158-6-5 © IEC:2007(E)
Table 57 – Read response APDU parameters .52
Table 58 – Read with subindex request APDU parameters.52
Table 59 – Read with subindex response APDU parameters .52
Table 60 – Write request APDU parameters.52
Table 61 – Write with subindex request APDU parameters.53
Table 62 – Define variable list request APDU parameters .53
Table 63 – Define variable list response APDU parameters .53
Table 64 – Delete variable list request APDU parameters .54
Table 65 – Information report request APDU parameters .54
Table 66 – Information report with subindex request APDU parameters .54
Table 67 – Information report on change request APDU parameters .55
Table 68 – Information report on change with subindex request APDU parameters .55
Table 69 – Event notification request APDU parameters .55
Table 70 – Alter event condition monitoring request APDU parameters.56
Table 71 – Acknowledge event notification request APDU parameters .56
Table 72 – LAN redundancy diagnostic message request APDU parameters .57
Table 73 – LAN redundancy get information response APDU parameters .59
Table 74 – LAN redundancy get statistics request APDU parameters.61
Table 75 – Object description header.63
Table 76 – Null object .63
Table 77 – Structure of the list of object descriptions .
...
IEC 61158-6-5 ®
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 6–5: Application layer protocol specification – Type 5 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 6-5: Spécification des protocoles des couches d'application –
Éléments de Type 5
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.
IEC 61158-6-5 ®
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 6–5: Application layer protocol specification – Type 5 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 6-5: Spécification des protocoles des couches d'application –
Éléments de Type 5
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
CODE PRIX XE
ICS 25.040.40; 35.100.70 ISBN 978-2-8322-1948-5
– 2 – IEC 61158-6-5:2007 © IEC 2007
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 . 11
3.1 Terms and definitions from other ISO/IEC standards . 11
3.2 IEC/TR 61158-1 terms . 12
3.3 Abbreviations and symbols . 16
3.4 Conventions . 17
3.5 Conventions used in state machines . 17
4 Protocol . 19
4.1 Overview . 19
4.2 FAL syntax description . 19
4.3 Transfer syntax . 19
4.4 FAL protocol state machine structure . 75
4.5 SMK state machine . 75
4.6 VCR state machine. 92
4.7 FAL service protocol machine (FSPM) . 93
4.8 Application relationship protocol machines (ARPMs) . 93
4.9 DLL mapping protocol machine (DMPM) . 108
Bibliography . 114
Figure 1 – State transition diagram for SMK . 77
Figure 2 – State transition diagram of client / server ARPM . 97
Figure 3 – State transition diagram of the publisher / subscriber ARPM . 104
Figure 4 – State transition diagram of DMPM . 110
Table 1 – Conventions used for state machines . 17
Table 2 – Data types . 20
Table 3 – Data types . 20
Table 4 – APDU header format . 21
Table 5 – FDA address use . 22
Table 6 – FDA address header field APDUs sent by a client VCR endpoint . 23
Table 7 – FDA address header field APDUs sent by a server VCR endpoint . 24
Table 8 – FDA address header field APDUs sent by a publisher VCR endpoint . 24
Table 9 – FDA address header field APDUs sent by a report source VCR endpoint . 25
Table 10 – APDU trailer fields . 25
Table 11 – Request APDU parameters . 27
Table 12 – SMK FDA address values . 29
Table 13 – SMK FDA address values . 30
Table 14 – Request APDU parameters . 31
Table 15 – SMK FDA address values for SM identify . 32
Table 16 – SMK FDA address values for SMK set assignment info request APDUs . 32
Table 17 – SMK clear address request APDU parameters. 33
Table 18 – SMK FDA address values for SMK set assignment info request APDUs . 33
Table 19 – SMK set assignment info request APDU parameters . 34
Table 20 – SMK set assignment info response APDU parameters . 35
Table 21 – SMK FDA address values for SMK device clear assignment Info APDUs . 36
Table 22 – SMK clear assignment info request APDU parameters . 36
Table 23 – SMK FDA address values for SMK device annunciation request APDUs . 36
Table 24 – SMK device annunciation request APDU parameters . 37
Table 25 – Initiate request APDU parameters . 40
Table 26 – Initiate response APDU parameters . 40
Table 27 – Abort request APDU parameters . 40
Table 28 – Get response APDU parameters . 41
Table 29 – Identify response APDU parameters . 41
Table 30 – Get OD request APDU parameters . 41
Table 31 – Get OD response APDU parameters. 42
Table 32 – Initiate put OD request APDU parameters . 42
Table 33 – Put OD request APDU parameters. 42
Table 34 – Generic initiate download sequence request APDU parameters . 43
Table 35 – Generic download segment request APDU parameters . 44
Table 36 – Generic terminate download sequence request APDU parameters . 44
Table 37 – Response APDU parameters . 44
Table 38 – Initiate download sequence request APDU parameters . 45
Table 39 – Download segment request APDU parameters . 45
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.