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

IEC 61158-6-4:2019 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 2 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 International Standard specifies interactions between remote applications and defines the externally visible behavior provided by the Type 2 fieldbus application layer. The purpose of this document is to define the protocol provided to
a) define the wire-representation of the service primitives defined in this document, and
b) define the externally visible behavior associated with their transfer. This document specifies the protocol of the Type 2 fieldbus application layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498-1) and the OSI application layer structure (ISO/IEC 9545).
This third edition includes the following significant technical changes with respect to the previous edition:
a) additional user parameters to services;
b) additional services to support distributed objects;
c) additional secure services.

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

l’IEC 61158-6-4:2019 fournit des éléments communs pour les communications à temps critique ou non entre des programmes d’application dans un environnement et avec un matériel d’automation spécifiques aux bus de terrain de type 4. Le terme "en temps critique" signale l'existence d'une fenêtre temporelle dans laquelle des actions spécifiées doivent être exécuté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 demandent ces actions, avec les risques relatifs à l'équipement, les installations et éventuellement la vie humaine.
La présente norme internationale spécifie les interactions entre les applications distantes et définit le comportement, visible par un observateur externe, assuré par la couche Application de bus de terrain de type 4, 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 diagramme d'états de contexte d'application définissant le comportement de service d'application observable entre les entités d'application en communication;
d) de diagrammes d'états 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
19-Jun-2019
Technical Committee
Drafting Committee
Current Stage
DELPUB - Deleted Publication
Completion Date
24-Mar-2023
Ref Project

Relations

Buy Standard

Standard
IEC 61158-6-4:2019 - Industrial communication networks - Fieldbus specifications - Part 6-4: Application layer protocol specification - Type 4 elements
English language
40 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 61158-6-4:2019 - Industrial communication networks - Fieldbus specifications - Part 6-4: Application layer protocol specification - Type 4 elements
English and French language
83 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


IEC 61158-6-4 ®
Edition 3.0 2019-06
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-4: Application layer protocol specification – Type 4 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 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 Electropedia - www.electropedia.org
The advanced search enables to find IEC publications by a The world's leading online dictionary on electrotechnology,
variety of criteria (reference number, text, technical containing more than 22 000 terminological entries in English
committee,…). It also gives information on projects, replaced and French, with equivalent terms in 16 additional languages.
and withdrawn publications. Also known as the International Electrotechnical Vocabulary

(IEV) online.
IEC Just Published - webstore.iec.ch/justpublished
Stay up to date on all new IEC publications. Just Published IEC Glossary - std.iec.ch/glossary
details all new publications released. Available online and 67 000 electrotechnical terminology entries in English and
once a month by email. French extracted from the Terms and Definitions clause of
IEC publications issued since 2002. Some entries have been
IEC Customer Service Centre - webstore.iec.ch/csc collected from earlier publications of IEC TC 37, 77, 86 and
If you wish to give us your feedback on this publication or CISPR.

need further assistance, please contact the Customer Service

Centre: sales@iec.ch.
IEC 61158-6-4 ®
Edition 3.0 2019-06
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –

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

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-7009-7

– 2 – IEC 61158-6-4:2019 © IEC 2019
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, definitions, symbols, abbreviations and conventions . 9
3.1 Referenced terms and definitions . 10
3.1.1 ISO/IEC 7498-1 terms . 10
3.1.2 ISO/IEC 8822 terms . 10
3.1.3 ISO/IEC 9545 terms . 10
3.1.4 ISO/IEC 8824-1 terms . 10
3.1.5 Fieldbus data-link layer terms . 10
3.2 Abbreviations and symbols . 11
3.3 Conventions . 11
3.3.1 General concept . 11
3.3.2 Conventions for state machines for Type 4 . 12
4 FAL syntax description . 13
4.1 FAL-AR PDU abstract syntax . 13
4.1.1 General . 13
4.1.2 Abstract syntax of APDU header . 13
4.1.3 Abstract syntax of APDU body . 14
4.2 Data types . 16
5 Transfer syntaxes . 16
5.1 APDU encoding . 16
5.1.1 APDU Header encoding . 16
5.1.2 APDU body encoding . 18
5.2 Variable object encoding and packing . 20
5.2.1 Encoding of simple variables . 20
5.2.2 Encoding of constructed variables . 21
5.2.3 Alignment . 22
5.2.4 Variable object attributes . 23
5.3 Error codes . 24
6 FAL protocol state machines . 25
7 AP-context state machine . 26
8 FAL service protocol machine (FSPM) . 27
8.1 Primitives exchanged between FAL User and FSPM . 27
8.2 FSPM states . 27
8.2.1 General . 27
8.2.2 FSPM proxy object states . 27
8.2.3 FSPM real object state machine description . 32
9 Application relationship protocol machine (ARPM) . 34
9.1 Primitives exchanged between ARPM and FSPM . 34
9.2 ARPM States . 34
9.2.1 General . 34

9.2.2 Sender state transitions . 34
9.2.3 Receiver state transitions . 35
10 DLL mapping protocol machine (DMPM) . 36
10.1 Data-link Layer service selection. 36
10.1.1 General . 36
10.1.2 DL-UNITDATA request . 36
10.1.3 DL-UNITDATA indication . 36
10.1.4 DL-UNITDATA response . 36
10.1.5 DLM-Set primitive and parameters . 36
10.1.6 DLM-Get primitive and parameters . 36
10.2 Primitives exchanged between ARPM and DLPM . 36
10.3 Primitives exchanged between DLPM and data-link layer . 37
10.4 DLPM states . 37
10.4.1 States . 37
10.4.2 Sender state transitions . 38
10.4.3 Receiver state transitions . 39
11 Protocol options. 39
Bibliography . 40

Figure 1 – State transition diagram . 12
Figure 2 – APDU header structure . 16
Figure 3 –Subfields of ControlStatus for Request . 17
Figure 4 – Subfields of ControlStatus for Response with error . 17
Figure 5 – Subfields of ControlStatus for Response with no error . 18
Figure 6 – DataFieldFormat encoding . 18
Figure 7 – Structure of request APDU body . 19
Figure 8 – Structure of response APDU body . 19
Figure 9 – Variable identifier . 19
Figure 10 – Code subfield of variable identifier . 19
Figure 11 – Sequence of data in the APDU body subfield . 21
Figure 12 – MSG consists of APDU header and APDU body . 22
Figure 13 – Summary of FAL architecture . 26
Figure 14 – FSPM proxy object state machine . 28
Figure 15 – FSPM real object state machine . 33
Figure 16 – ARPM state machine . 34
Figure 17 – DLPM state machine . 37

Table 1 – State machine description elements . 12
Table 2 – APDU header . 13
Table 3 – APDU body . 15
Table 4 – Transfer syntax for Array . 23
Table 5 – Transfer syntax for Structure . 23
Table 6 – Common variable object attributes . 23
Table 7 – Variable type identifiers . 24
Table 8 – FIFO variable object attributes . 24

– 4 – IEC 61158-6-4:2019 © IEC 2019
Table 9 – Error codes . 25
Table 10 – Primitives exchanged between FAL-User and FSPM . 27
Table 11 – REQUEST.req FSPM constraints . 28
Table 12 – REQUEST.req FSPM actions . 29
Table 13 – RESPONSE.cnf FSPM constraints . 30
Table 14 – RESPONSE.cnf FSPM ac
...


IEC 61158-6-4 ®
Edition 3.0 2019-06
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 6-4: Application layer protocol specification – Type 4 elements

Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 6-4: Spécification du protocole de la couche application – Eléments
de type 4
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-4 ®
Edition 3.0 2019-06
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –

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

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

Partie 6-4: Spécification du protocole de la couche application – Eléments

de type 4
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-9702-5

– 2 – IEC 61158-6-4:2019 © IEC 2019
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, definitions, symbols, abbreviations and conventions . 9
3.1 Referenced terms and definitions . 10
3.1.1 ISO/IEC 7498-1 terms . 10
3.1.2 ISO/IEC 8822 terms . 10
3.1.3 ISO/IEC 9545 terms . 10
3.1.4 ISO/IEC 8824-1 terms . 10
3.1.5 Fieldbus data-link layer terms . 10
3.2 Abbreviations and symbols . 11
3.3 Conventions . 11
3.3.1 General concept . 11
3.3.2 Conventions for state machines for Type 4 . 12
4 FAL syntax description . 13
4.1 FAL-AR PDU abstract syntax . 13
4.1.1 General . 13
4.1.2 Abstract syntax of APDU header . 13
4.1.3 Abstract syntax of APDU body . 14
4.2 Data types . 16
5 Transfer syntaxes . 16
5.1 APDU encoding . 16
5.1.1 APDU Header encoding . 16
5.1.2 APDU body encoding . 18
5.2 Variable object encoding and packing . 20
5.2.1 Encoding of simple variables . 20
5.2.2 Encoding of constructed variables . 21
5.2.3 Alignment . 22
5.2.4 Variable object attributes . 23
5.3 Error codes . 24
6 FAL protocol state machines . 25
7 AP-context state machine . 26
8 FAL service protocol machine (FSPM) . 27
8.1 Primitives exchanged between FAL User and FSPM . 27
8.2 FSPM states . 27
8.2.1 General . 27
8.2.2 FSPM proxy object states . 27
8.2.3 FSPM real object state machine description . 32
9 Application relationship protocol machine (ARPM) . 34
9.1 Primitives exchanged between ARPM and FSPM . 34
9.2 ARPM States . 34
9.2.1 General . 34

9.2.2 Sender state transitions . 34
9.2.3 Receiver state transitions . 35
10 DLL mapping protocol machine (DMPM) . 36
10.1 Data-link Layer service selection. 36
10.1.1 General . 36
10.1.2 DL-UNITDATA request . 36
10.1.3 DL-UNITDATA indication . 36
10.1.4 DL-UNITDATA response . 36
10.1.5 DLM-Set primitive and parameters . 36
10.1.6 DLM-Get primitive and parameters . 36
10.2 Primitives exchanged between ARPM and DLPM . 36
10.3 Primitives exchanged between DLPM and data-link layer . 37
10.4 DLPM states . 37
10.4.1 States . 37
10.4.2 Sender state transitions . 38
10.4.3 Receiver state transitions . 39
11 Protocol options. 39
Bibliography . 40

Figure 1 – State transition diagram . 12
Figure 2 – APDU header structure . 16
Figure 3 – Subfields of ControlStatus for Request . 17
Figure 4 – Subfields of ControlStatus for Response with error . 17
Figure 5 – Subfields of ControlStatus for Response with no error . 18
Figure 6 – DataFieldFormat encoding . 18
Figure 7 – Structure of request APDU body . 19
Figure 8 – Structure of response APDU body . 19
Figure 9 –
...

Questions, Comments and Discussion

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