Industrial communication networks - Fieldbus Specifications Part 6-27: Application layer protocol specification - Type 27 elements

IEC 61158-6-27:2023 provides common elements for basic time-critical and non-time-critical messaging communications between application programs in an automation environment and material specific to Type 27 fieldbus. The term "time-critical" is used to represent the presence of a time-window, within which one or more specified actions are required to be completed with some defined level of certainty. Failure to complete specified actions within the time window risks failure of the applications requesting the actions, with attendant risk to equipment, plant and possibly human life.
This document defines in an abstract way the externally visible behavior provided by the Type 27 fieldbus application layer in terms of
the abstract syntax defining the application layer protocol data units conveyed between communicating application entities,
the transfer syntax defining the application layer protocol data units conveyed between communicating application entities,
the application context state machines defining the application service behavior visibly between communicating application entities, and
the application relationship state machines defining the communication behavior visibly between communicating application entities.

Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-27 : Spécification du protocole de la couche application - Éléments de type 27

L’IEC 61158-6-27:2023 donne les éléments communs visant à assurer les communications de messagerie de base à temps critique et à temps non critique entre les programmes d’application d’un environnement d’automatisation et d’un matériel spécifique au bus de terrain de type 27. Le terme "à temps critique" est utilisé pour indiquer la présence d’une fenêtre temporelle, dans laquelle il est exigé de réaliser une ou plusieurs actions spécifiées selon un niveau défini de certitude. Tout manquement à réaliser ces actions dans la fenêtre de temps prévue risque de provoquer la défaillance des applications qui les demandent, avec le risque de mettre en danger l’équipement, l’usine, voire les personnes.
Le présent document définit de manière abstraite les caractéristiques visibles de l’extérieur fournies par la couche application de bus de terrain de type 27 en ce qui concerne:
la syntaxe abstraite définissant les unités de données du protocole de la couche application transmises entre les entités d’application de communication;
la syntaxe de transfert définissant les unités de données du protocole de la couche application transmises entre les entités d’application de communication;
les diagrammes d’états de contexte d’application définissant le comportement de service d’application observable entre les entités d’application en communication; et
les diagrammes d’états de relations entre applications définissant le comportement de communication visible entre les entités d’application en communication.

General Information

Status
Published
Publication Date
15-Mar-2023
Technical Committee
Drafting Committee
Current Stage
PPUB - Publication issued
Start Date
31-Mar-2023
Completion Date
16-Mar-2023
Ref Project

Buy Standard

Standard
IEC 61158-6-27:2023 - Industrial communication networks - Fieldbus Specifications Part 6-27: Application layer protocol specification - Type 27 elements Released:3/16/2023
English and French language
441 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

IEC 61158-6-27
®

Edition 1.0 2023-03
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE


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

Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 6-27: Spécification du protocole de la couche application – Éléments de
type 27

IEC 61158-6-27:2023-03(en-fr)

---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2023 IEC, Geneva, Switzerland

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 Secretariat 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 Products & Services Portal - products.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 have
committee, …). It also gives information on projects, replaced 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 300 terminological entries in English
details all new publications released. Available online and once
and French, with equivalent terms in 19 additional languages.
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 - Découvrez notre puissant moteur de recherche et consultez
webstore.iec.ch/advsearchform gratuitement tous les aperçus des publications. Avec un
La recherche avancée permet de trouver des publications IEC abonnement, vous aurez toujours accès à un contenu à jour
en utilisant différents critères (numéro de référence, texte, adapté à vos besoins.
comité d’études, …). Elle donne aussi des informations sur les
projets et les publications remplacées ou retirées. Electropedia - www.electropedia.org

Le premier dictionnaire d'électrotechnologie en ligne au monde,
IEC Just Published - webstore.iec.ch/justpublished
avec plus de 22 300 articles terminologiques en anglais et en
Restez informé sur les nouvelles publications IEC. Just
français, ainsi que les termes équivalents dans 19 langues
Published détaille les nouvelles publications parues.
additionnelles. Egalement appelé Vocabulaire
Disponible en ligne et une fois par mois par email.
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 Products & Services Portal - products.iec.ch

---------------------- Page: 2 ----------------------
IEC 61158-6-27

®


Edition 1.0 2023-03




INTERNATIONAL



STANDARD




NORME


INTERNATIONALE











Industrial communication networks – Fieldbus specifications –

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



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

Partie 6-27: Spécification du protocole de la couche application – Éléments de

type 27















INTERNATIONAL

ELECTROTECHNICAL

COMMISSION


COMMISSION

ELECTROTECHNIQUE


INTERNATIONALE




ICS 25.040 ISBN 978-2-8322-6620-5




Warning! Make sure that you obtained this publication from an authorized distributor.

Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agréé.

® Registered trademark of the International Electrotechnical Commission
Marque déposée de la Commission Electrotechnique Internationale

---------------------- Page: 3 ----------------------
– 2 – IEC 61158-6-27:2023 © IEC 2023
CONTENTS
FOREWORD . 7
INTRODUCTION . 9
1 Scope . 10
1.1 General . 10
1.2 Specifications . 10
1.3 Conformance . 11
2 Normative references . 11
3 Terms, definitions, abbreviated terms, symbols and conventions . 12
3.1 Referenced terms and definitions . 12
3.1.1 Terms and definitions from ISO/IEC 7498-1 . 12
3.1.2 Terms and definitions from ISO/IEC 9545 . 12
3.1.3 Terms and definitions from ISO/IEC 8824-1 . 13
3.1.4 Terms and definitions from ISO/IEC 10731 . 13
3.1.5 Terms and definitions from ISO/IEC 19501 . 13
3.2 Additional terms and definitions . 13
3.3 Abbreviations and symbols . 22
3.4 Conventions . 24
3.4.1 General conventions . 24
3.4.2 PDU data type conventions . 24
3.4.3 State machine conventions . 24
4 Abstract syntax . 26
4.1 General . 26
4.2 Basic Data types . 27
4.3 FAL PDU types . 28
4.3.1 General . 28
4.3.2 Top of APDU types: _APDU . 31
4.3.3 PDUs for field system management service . 31
4.3.4 Detailed definitions of _FID-PDUs . 34
4.3.5 PDUs for field device control service . 48
4.3.6 PDUs for message service . 57
4.4 Detailed definitions of _FDCService-PDUs . 58
4.4.1 Enhanced PDU type . 58
4.5 Device profile . 72
5 Transfer syntax . 72
5.1 Concepts . 72
5.2 Encode rules . 73
5.2.1 INTEGER and its subtypes . 73
5.2.2 REAL type and its subtypes . 74
5.2.3 BIT STRING type . 76
5.2.4 OCTET STRING type and IA5String type . 77
5.2.5 NULL type . 77
5.2.6 Structure type and Array type . 77
6 Structure of FAL protocol state machine . 78
7 AP-context state machine (APC SM) . 80
7.1 Overview. 80
7.2 State descriptions . 81

---------------------- Page: 4 ----------------------
IEC 61158-6-27:2023 © IEC 2023 – 3 –
7.3 Triggering events . 81
7.4 Action descriptions at state transitions . 82
8 FAL service protocol machines (FSPM) . 84
8.1 Overview. 84
8.2 RT Protocol Machine (RT PM). 84
8.2.1 Link layer discovery . 84
8.2.2 MAC bridges . 84
8.2.3 Virtual bridges . 105
8.2.4 IP suite . 105
8.2.5 DLL mapping protocol machine (DMPM) . 105
8.3 Field System Management Protocol Machine (FSM PM) . 110
8.3.1 Overview . 110
8.3.2 Discovery and basic configuration . 112
8.3.3 Starting up of system . 115
8.3.4 Sync methods . 144
8.3.5 Plug-and-play entry . 153
8.4 Field Deice Control Protocol Machine (FDC PM) . 154
8.4.1 Protocol overview . 154
8.4.2 Cyclic communication mode . 156
8.4.3 Event driven communication mode . 160
8.4.4 Master Protocol Machine (FDCPM-M) . 161
8.4.5 Slave Protocol Machine (FDCPM-S) . 169
8.4.6 Error procedure summary . 179
8.5 Message Protocol Machine (MSG PM) . 181
8.5.1 Protocol overview . 181
8.5.2 Requester Protocol Machine (MSGPM-RQ) . 183
8.5.3 Responder Protocol Machine (MSGPM-RS) . 186
9 Application relationship protocol machine (ARPM) . 188
9.1 General . 188
9.2 ARPM for FDC ASE . 188
9.2.1 Overview . 188
9.2.2 ARPM for FDC Master (ARPM-FDCM) . 189
9.2.3 ARPM for FDC Slave (ARPM-FDCS) . 196
9.3 ARPM for MSG ASE (ARPM-MSG) . 203
9.3.1 State descriptions . 203
9.3.2 Triggering events . 203
9.3.3 Action descriptions at state transitions . 204
10 DLL mapping protocol machines (DMPMs) . 204
Annex A (informative) Device profile and FDC command sets . 205
Annex B (normative) Virtual memory space and Device Information . 207
B.1 Overview. 207
B.2 Communication Data Object . 207
B.3 Device Information . 208
B.3.1 Device identifier area structure . 208
B.3.2 Detail specifications of device IDs . 209
Annex C (informative) Basic message function . 217
Bibliography . 218

---------------------- Page: 5 ----------------------
– 4 – IEC 61158-6-27:2023 © IEC 2023
Figure 1 – Encode of Integer subtypes . 73
Figure 2 – Example of transfer of INTEGER value . 74
Figure 3 – Encode of Unsigned subtypes . 74
Figure 4 – Float32 type encode . 75
Figure 5 – Float64 type encode . 75
Figure 6 – Bit field definition example with named bits . 76
Figure 7 – Bit field definition example with field size . 77
Figure 8 – SEQUENCE type encode . 78
Figure 9 – Structure of FAL protocol state machines . 80
Figure 10 – State chart diagram of APC SM . 81
Figure 11 – Master CTC state transition chart . 86
Figure 12 – Slave CTC state transition chart . 96
Figure 13 – Structuring of the protocol machines within the DMPM (bridge) . 106
Figure 14 – SRC state transition chart . 106
Figure 15 – Example of network configuration . 111
Figure 16 – Network initialization procedures . 112
Figure 17 – Neighboring node notification sequence . 113
Figure 18 – Connected node detection sequence . 114
Figure 19 – Example of neighboring node information . 115
Figure 20 – FSMUL state transition chart for the master with SM function . 116
Figure 21 – FSMUL state transition chart for the master without SM function . 129
Figure 22 – FSMUL state transition chart for a slave . 138
Figure 23 – Sequence of SM delay time notification by CDO writing. 145
Figure 24 – Delay measurement sequence (SM: BM) . 147
Figure 25 – Master delay measurement sequence for the BM (SM: master with band
master function (BM)) . 148
Figure 26 – Delay measurement sequence for the master other than the BM (SM: BM). 149
Figure 27 – Delay measurement sequence (SM: S#1) . 151
Figure 28 – Master delay measurement sequence for the BM (SM: S#1) . 152
Figure 29 – Plug-and-play entry sequence . 154
Figure 30 – Example communication cycle of FDC master AP . 156
Figure 31 – Example communication cycle of FDC slave AP . 157
Figure 32 – Synchronous command communication in sync state . 158
Figure 33 – Asynchronous command communication in sync state . 159
Figure 34 – Asynchronous command communication in async state . 160
Figure 35 – Event-driven communication . 161
Figure 36 – State chart diagram of FDCPM-M . 162
Figure 37 – State chart diagram of FDCPM-S . 170
Figure 38 – PDU transmission flow for user message . 182
Figure 39 – PDU transmission flow for one-way message . 183
Figure 40 – State chart diagram of MSGPM-RQ . 184
Figure 41 – State chart diagram of MSGPM-RS . 186
Figure 42 – Example of single transfer process . 188

---------------------- Page: 6 ----------------------
IEC 61158-6-27:2023 © IEC 2023 – 5 –
Figure 43 – Example of dual transfer process . 189
Figure 44 – State chart diagram of ARPM-FDCM . 190
Figure 45 – Statechart diagram of ARPM-FDCS . 196
Figure 46 – Statechart diagram of ARPM-MSG . 203
Figure B.1 – Memory map of virtual memory space . 207
Figure B.2 – Memory map of device ID area . 208

Table 1 – State transition descriptions . 25
Table 2 – Description of state machine elements . 25
Table 3 – Conventions used in state machines . 26
Table 4 – Multicast address . 29
Table 5 – Length_or_type . 29
Table 6 – IPv4 Header . 30
Table 7 – IPv6 Header . 30
Table 8 – UDP Header . 30
Table 9 – Node address . 33
Table 10 – Mapping for Protocol State Machines . 79
Table 11 – State descriptions of APC SM . 81
Table 12 – Trigger event descriptions of APC SM . 82
Table 13 – Transitions of APC SM . 83
Table 14 – Master CTC state transition table . 87
Table 15 – Slave CTC state transition table . 96
Table 16 – List of CTC macros . 101
Table 17 – The primitives and parameters for FDC interface issued by FDC . 103
Table 18 – The primitives and parameters for FSM interface issued by CTC . 104
Table 19 – The list of primitives and parameters (FSM source) . 104
Table 20 – The list of primitives and parameters (FSMUL source) . 105
Table 21 – SRC state transition table . 107
Table 22 – List of SRC macros . 108
Table 23 – List of SRC functions . 109
Table 24 – Primitives and parameters for SRC-CTC interface . 110
Table 25 – Send frame primitive and parameters . 110
Table 26 – Receive frame primitives and parameters . 110
Table 27 – Primitives and parameters of repeat select service . 110
Table 28 – FSMUL state transition table for the master with SM function . 117
Table 29 – FSMUL state transition table for the master without SM function . 129
Table 30 – FSMUL state transition table for a slave . 138
Table 31 – List of FSMUL macros . 142
Table 32 – FDC protocol mode . 155
Table 33 – State descriptions of FDCPM-M . 162
Table 34 – Trigger event descriptions of FDCPM-M . 163
Table 35 – Transitions of main SM of FDCPM-M . 164
Table 36 – Transitions of submachine of FDCPM-M . 166

---------------------- Page: 7 ----------------------
– 6 – IEC 61158-6-27:2023 © IEC 2023
Table 37 – State descriptions of FDCPM-S . 170
Table 38 – Trigger event descriptions of FDCPM-S . 171
Table 39 – Transitions of main SM of FDCPM-S . 172
Table 40 – Transitions of submachine of FDCPM-S . 174
Table 41 – State descriptions of MSGPM-RQ . 184
Table 42 – Trigger event descriptions of MSGPM-RQ . 185
Table 43 – Transitions of MSGPM-RQ . 185
Table 44 – State descriptions of MSGPM-RS . 186
Table 45 – Trigger event descriptions of MSGPM-RS . 187
Table 46 – Transitions of MSGPM-RS . 187
Table 47 – State descriptions of ARPM-FDCM . 191
Table 48 – Trigger event descriptions of ARPM-FDCM . 193
Table 49 – Transitions of main SM of ARPM-FDCM . 193
Table 50 – Transitions of submachine of ARPM-FDCM . 195
Table 51 – State descriptions of ARPM-FDCS . 197
Table 52 – Trigger event descriptions of ARPM-FDCS . 199
Table 53 – Transitions of main SM of ARPM-FDCS . 200
Table 54 – Transitions of submachine of ARPM-FDCS . 201
Table 55 – State descriptions of ARPM-MSG . 203
Table 56 – Trigger event descriptions of ARPM-MSG . 203
Table 57 – Transitions of ARPM-MSG . 204
Table A.1 – Example of registered device profiles .
...

Questions, Comments and Discussion

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