IEC 61158-6-25:2019
(Main)Industrial communication networks - Fieldbus specifications - Part 6-25: Application layer protocol specification - Type 25 elements
Industrial communication networks - Fieldbus specifications - Part 6-25: Application layer protocol specification - Type 25 elements
IEC 61158-6-25: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).
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-25: Spécification du protocole de la couche application - Éléments de type 25
L'IEC 61158-6-25:2019 La couche application de bus de terrain (FAL, Fieldbus Application Layer) fournit aux programmes d’utilisateur un moyen d’accéder à l’environnement de communication du bus de terrain. A cet égard, la FAL peut être vue comme une "fenêtre entre des programmes d'application correspondants".
L'IEC 61158-6-25:2019 fournit les éléments communs pour les communications de messagerie de base prioritaires et non prioritaires entre des programmes d'application dans un environnement d'automation et le matériau spécifique au bus de terrain de type 25. On utilise le terme "prioritaire" pour traduire la présence d’une fenêtre temporelle, à l’intérieur de laquelle une ou plusieurs actions spécifiées doivent être terminées avec un niveau de certitude défini. Si les actions spécifiées ne sont pas réalisées dans la fenêtre temporelle, les applications demandant les actions risquent de connaître une défaillance, avec les risques que cela comporte pour les équipements, les installations et éventuellement la vie humaine.
Le présent document définit de manière abstraite le comportement, visible par un observateur externe, assuré par les différents types de la couche application de bus de terrain, en termes
a) de syntaxe abstraite définissant les unités de données de protocole de la couche application, transmises entre les entités d'application en communication;
b) de syntaxe de transfert définissant les unités de données de protocole de la couche application, transmises entre les entités d'application en communication;
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; et
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
Buy Standard
Standards Content (Sample)
IEC 61158-6-25
®
Edition 1.0 2019-06
INTERNATIONAL
STANDARD
colour
inside
Industrial communication networks – Fieldbus specifications –
Part 6-25: Application layer protocol specification – Type 25 elements
IEC 61158-6-25:2019-06(en)
---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2019 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.
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.
---------------------- Page: 2 ----------------------
IEC 61158-6-25
®
Edition 1.0 2019-06
INTERNATIONAL
STANDARD
colour
inside
Industrial communication networks – Fieldbus specifications –
Part 6-25: Application layer protocol specification – Type 25 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-7015-8
Warning! Make sure that you obtained this publication from an authorized distributor.
® Registered trademark of the International Electrotechnical Commission
---------------------- Page: 3 ----------------------
– 2 – IEC 61158-6-25:2019 © IEC 2019
CONTENTS
FOREWORD . 7
INTRODUCTION . 9
1 Scope . 10
1.1 General . 10
1.2 Specification . 11
1.3 Conformance . 11
2 Normative references . 11
3 Terms, definitions, symbols, abbreviations and conventions . 12
3.1 Reference model terms and definitions . 12
3.1.1 ISO/IEC 7498-1 terms . 12
3.1.2 ISO/IEC 8822 terms . 12
3.1.3 ISO/IEC 9545 terms . 12
3.1.4 ISO/IEC 8824-1 terms . 13
3.2 Additional Type 25 terms and definitions . 13
3.3 Symbols and abbreviations . 15
3.4 Conventions . 16
3.4.1 General conventions . 16
3.4.2 Conventions for class definitions . 16
3.4.3 Conventions for bit description in octets . 16
3.4.4 Conventions for state machine descriptions . 17
4 FAL syntax description . 18
4.1 FAL PDU type S abstract syntax . 18
4.1.1 Basic abstract syntax . 18
4.2 FAL PDU type N abstract syntax . 22
4.2.1 Basic abstract syntax . 22
4.2.2 CyclicData-PDU . 22
4.2.3 MulticastData-PDU . 23
4.2.4 PtoPData-PDU . 23
4.2.5 Aliveinfo-PDU . 23
4.2.6 Aliveinfo6-PDU . 23
4.2.7 Inq-PDU . 24
4.2.8 Ninq-PDU . 24
4.2.9 Reply-PDU . 24
4.2.10 RetransEnq-PDU . 24
4.2.11 RetransConfirm-PDU . 24
4.2.12 RetransNak-PDU . 25
4.3 Data type assignments for type S . 25
4.4 Data type assignments for type N . 25
5 FAL transfer syntax . 26
5.1 Encoding rules . 26
5.1.1 Unsigned encoding . 26
5.1.2 Octet string encoding . 27
5.1.3 SEQUENCE encoding . 27
5.2 FALPDU type S elements encoding. 27
5.2.1 RCL_header . 27
5.2.2 RHE-PDU . 28
---------------------- Page: 4 ----------------------
IEC 61158-6-25:2019 © IEC 2019 – 3 –
5.2.3 LCC-PDU . 30
5.2.4 LCA-PDU . 30
5.2.5 LCN-PDU . 31
5.2.6 LNA-PDU . 32
5.2.7 SCR-PDU . 32
5.2.8 Cyclic_S-PDU . 32
5.2.9 Cyclic_header . 33
5.2.10 Control-PDU . 33
5.2.11 RMTCTL-PDU. 33
5.2.12 INFO-PDU . 34
5.3 FALPDU type N elements encoding . 35
5.3.1 General . 35
5.3.2 FALAR-N Header . 35
5.3.3 CyclicData-PDU . 49
5.3.4 MulticastData-PDU . 50
5.3.5 PtoP Data-PDU. 50
5.3.6 Aliveinfo-PDU . 50
5.3.7 Aliveinfo6-PDU . 53
5.3.8 Inq-PDU . 54
5.3.9 Ninq-PDU . 55
5.3.10 Reply-PDU . 55
5.3.11 RetransEnq-PDU . 56
5.3.12 RetransConfirm-PDU . 56
5.3.13 RetransNak-PDU . 57
6 Structure of the FAL protocol state machine . 58
7 FAL service protocol machine (FSPM) . 58
7.1 Overview. 58
7.2 FSPM type S . 58
7.2.1 Overview . 58
7.2.2 Interface of cyclic communication to FAL users . 59
7.2.3 State machine of FSPM . 61
7.3 FSPM type N . 62
7.3.1 Overview . 62
7.3.2 FSPM . 63
8 Application relationship protocol machine (ARPM) . 65
8.1 ARPM type S . 65
8.1.1 Overview . 65
8.1.2 Cyclic control . 66
8.1.3 Remote control . 70
8.1.4 RCL communication control . 75
8.1.5 RT communication control . 79
8.2 ARPM type N . 83
8.2.1 Overview . 83
8.2.2 General control . 83
8.2.3 Cyclic transmission control . 85
8.2.4 Acyclic transmission control . 90
8.2.5 RT communication control . 105
9 DLL mapping protocol machine (DMPM) . 121
---------------------- Page: 5 ----------------------
– 4 – IEC 61158-6-25:2019 © IEC 2019
9.1 DMPM type S . 121
9.2 DMPM type N . 122
9.2.1 General . 122
9.2.2 Communication port in transport layer . 122
9.2.3 Quality of Service . 122
Bibliography . 124
Figure 1 – Bit description in octets . 16
Figure 2 – hd_sa . 35
Figure 3 – hd_da . 36
Figure 4 – Valid sequence number for reception message . 40
Figure 5 – hd_m_ctl . 40
Figure 6 – Valid reception packet sequence number . 44
Figure 7 – Node-list . 55
Figure 8 – Relationships between protocol machines . 58
Figure 9 – Structure of FSPM type S . 59
Figure 10 – Shared memory allocation in type S network . 61
Figure 11 – Structure of FSPM type N . 63
Figure 12 – Structure of ARPM type S . 66
Figure 13 – Sequence of cyclic communication . 67
Figure 14 – The primitives for cyclic control . 67
Figure 15 – The primitives for Remote control . 70
Figure 16 – The primitives for RCL communication control . 75
Figure 17 – The primitives for RT communication control . 80
Figure 18 – Structure of ARPM type N . 83
Figure 19 – Primitives of Cyclic transmission control . 85
Figure 20 – Primitives of acyclic transmission control . 91
Figure 21 – DSCP format . 123
Figure 22 – IEEE 802.1Q tag frame format . 123
Table 1 – State transition descriptions . 17
Table 2 – Descriptions of state machine elements . 17
Table 3 – Conventions used in state machine . 17
Table 4 – Frame Class . 27
Table 5 – DA_STaddress – DA_STaddress . 27
Table 6 – DA_MACaddress . 27
Table 7 – CMD field format . 28
Table 8 – Send Direction . 28
Table 9 – RHE ReceiveStatus . 29
Table 10 – Physical Linkdown . 29
Table 11 – RHE_pattern 1~4 . 30
Table 12 – LCC-Kind . 30
Table 13 – RCL Status . 31
Table 14 – hd_h_type . 35
---------------------- Page: 6 ----------------------
IEC 61158-6-25:2019 © IEC 2019 – 5 –
Table 15 – Usage of Mgn or Lnn . 37
Table 16 – Detailed conditions for sequence number check of reception message . 39
Table 17 – Valid bits of hd_m_ctl . 40
Table 18 – Specified TCD . 41
Table 19 – hd_pkind . 42
Table 20 – PDU with an effective hd_pseq . 42
Table 21 – Detailed conditions for sequence number check of reception packet
(Multicast communication with retransmission). 44
Table 22 – Detailed conditions for packet sequence number check . 45
Table 23 – Relation between message transmission/reception . 46
Table 24 – hd_mode . 46
Table 25 – Message priority level . 46
Table 26 – Value of α . 47
Table 27 – Example of header information for a UDP message fragmentation . 47
Table 28 – Example of header information for a TCP message fragmentation . 47
Table 29 – inqid_inq_sa value. 48
Table 30 – inqid_tr_adr value . 48
Table 31 – inqid_inq_seq value . 49
Table 32 – Relationship between inqid_id_seq and inqid_tr_adr . 49
Table 33 – Type of an alive-message . 51
Table 34 – Type of an alive-message protocol . 51
Table 35 – Time of each al_mode . 52
Table 36 – Status change of tasks . 52
Table 37 – Change of tasks content . 52
Table 38 – The threshold of transmission factor . 60
Table 39 – Example of the traffic control configuration menu . 60
Table 40 – Cyclic data state table . 61
Table 41 – Acyclic data state table. 62
Table 42 – Cyclic data state table . 64
Table 43 – Acyclic data state table. 64
Table 44 – Cyclic control state table . 68
Table 45 – Cyclic control functions. 69
Table 46 – Cyclic control variables. 70
Table 47 – Remote control state table . 71
Table 48 – Remote control functions . 74
Table 49 – Remote control variables . 75
Table 50 – RCL communication control state table . 76
Table 51 – RCL communication control functions . 77
Table 52 – RCL communication control variables . 79
Table 53 – RT communication control state table . 80
Table 54 – RT communication control functions . 82
Table 55 – RT communication control variables . 82
Table 56 – Cyclic transmission control state table . 86
---------------------- Page: 7 ----------------------
– 6 – IEC 61158-6-25:2019 © IEC 2019
Table 57 – Cyclic transmission control functions . 88
Table 58 – Cyclic transmission control variables . 90
Table 59 – Acyclic transmission control state table . 91
Table 60 – Acyclic transmission control functions . 101
Table 61 – Acyclic transmission control variables . 104
Table 62 – RT communication control state table . 105
Table 63 – RT communication control functions . 116
Table 64 – RT communication control variables . 120
Table 65 – ARPM to DL mapping . 122
Table 66 – Assignment policy of communication ports . 122
Table 67 – Default DSCP, IEEE 802.1D and IEEE 802.1Q priority mapping . 123
---------------------- Page: 8 ----------------------
IEC 61158-6-25:2019 © IEC 2019 – 7 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 6-25: Application layer protocol specification –
Type 25 elements
FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of IEC is to promote
international co-operation on all questions concerning standardization in the electrical and electronic fields. To
this end and in addition to other activities, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC
Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested
in the subject dealt with may participate in this preparatory work. International, governmental and non-
governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely
with the International Organization for Standardization (ISO) in accordance with conditions determined by
agreement between the two organizations.
2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
consensus of opinion on the relevant subjects since each technical committee has representation from all
interested IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
services carried out by independent certification bodies.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any ot
...
IEC 61158-6-25
®
Edition 1.0 2019-06
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Industrial communication networks – Fieldbus specifications –
Part 6-25: Application layer protocol specification – Type 25 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 6-25: Spécification du protocole de la couche application – Éléments
de type 25
IEC 61158-6-25:2019-06(en-fr)
---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2019 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 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.
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 - Electropedia - www.electropedia.org
webstore.iec.ch/advsearchform Le premier dictionnaire d'électrotechnologie en ligne au
La recherche avancée permet de trouver des publications IEC monde, avec plus de 22 000 articles terminologiques en
en utilisant différents critères (numéro de référence, texte, anglais et en français, ainsi que les termes équivalents dans
comité d’études,…). Elle donne aussi des informations sur les 16 langues additionnelles. Egalement appelé Vocabulaire
projets et les publications remplacées ou retirées. Electrotechnique International (IEV) en ligne.
IEC Just Published - webstore.iec.ch/justpublished Glossaire IEC - std.iec.ch/glossary
Restez informé sur les nouvelles publications IEC. Just 67 000 entrées terminologiques électrotechniques, en anglais
Published détaille les nouvelles publications parues. et en français, extraites des articles Termes et Définitions des
Disponible en ligne et une fois par mois par email. publications IEC parues depuis 2002. Plus certaines entrées
antérieures extraites des publications des CE 37, 77, 86 et
Service Clients - webstore.iec.ch/csc CISPR de l'IEC.
Si vous désirez nous donner des commentaires sur cette
publication ou si vous avez des questions contactez-nous:
sales@iec.ch.
---------------------- Page: 2 ----------------------
IEC 61158-6-25
®
Edition 1.0 2019-06
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Industrial communication networks – Fieldbus specifications –
Part 6-25: Application layer protocol specification – Type 25 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 6-25: Spécification du protocole de la couche application – Éléments
de type 25
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-9173-3
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-25:2019 © IEC 2019
CONTENTS
FOREWORD . 7
INTRODUCTION . 9
1 Scope . 10
1.1 General . 10
1.2 Specification . 11
1.3 Conformance . 11
2 Normative references . 11
3 Terms, definitions, symbols, abbreviations and conventions . 12
3.1 Reference model terms and definitions . 12
3.1.1 ISO/IEC 7498-1 terms . 12
3.1.2 ISO/IEC 8822 terms . 12
3.1.3 ISO/IEC 9545 terms . 12
3.1.4 ISO/IEC 8824-1 terms . 13
3.2 Additional Type 25 terms and definitions . 13
3.3 Symbols and abbreviations . 15
3.4 Conventions . 16
3.4.1 General conventions . 16
3.4.2 Conventions for class definitions . 16
3.4.3 Conventions for bit description in octets . 16
3.4.4 Conventions for state machine descriptions . 17
4 FAL syntax description . 18
4.1 FAL PDU type S abstract syntax . 18
4.1.1 Basic abstract syntax . 18
4.2 FAL PDU type N abstract syntax . 22
4.2.1 Basic abstract syntax . 22
4.2.2 CyclicData-PDU . 22
4.2.3 MulticastData-PDU . 23
4.2.4 PtoPData-PDU . 23
4.2.5 Aliveinfo-PDU . 23
4.2.6 Aliveinfo6-PDU . 23
4.2.7 Inq-PDU . 24
4.2.8 Ninq-PDU . 24
4.2.9 Reply-PDU . 24
4.2.10 RetransEnq-PDU . 24
4.2.11 RetransConfirm-PDU . 24
4.2.12 RetransNak-PDU . 25
4.3 Data type assignments for type S . 25
4.4 Data type assignments for type N . 25
5 FAL transfer syntax . 26
5.1 Encoding rules . 26
5.1.1 Unsigned encoding . 26
5.1.2 Octet string encoding . 27
5.1.3 SEQUENCE encoding . 27
5.2 FALPDU type S elements encoding. 27
5.2.1 RCL_header . 27
5.2.2 RHE-PDU . 28
---------------------- Page: 4 ----------------------
IEC 61158-6-25:2019 © IEC 2019 – 3 –
5.2.3 LCC-PDU . 30
5.2.4 LCA-PDU . 30
5.2.5 LCN-PDU . 31
5.2.6 LNA-PDU . 32
5.2.7 SCR-PDU . 32
5.2.8 Cyclic_S-PDU . 32
5.2.9 Cyclic_header . 33
5.2.10 Control-PDU . 33
5.2.11 RMTCTL-PDU. 33
5.2.12 INFO-PDU . 34
5.3 FALPDU type N elements encoding . 35
5.3.1 General . 35
5.3.2 FALAR-N Header . 35
5.3.3 CyclicData-PDU . 49
5.3.4 MulticastData-PDU . 50
5.3.5 PtoP Data-PDU. 50
5.3.6 Aliveinfo-PDU . 50
5.3.7 Aliveinfo6-PDU . 53
5.3.8 Inq-PDU . 54
5.3.9 Ninq-PDU . 55
5.3.10 Reply-PDU . 55
5.3.11 RetransEnq-PDU . 56
5.3.12 RetransConfirm-PDU . 56
5.3.13 RetransNak-PDU . 57
6 Structure of the FAL protocol state machine . 58
7 FAL service protocol machine (FSPM) . 58
7.1 Overview. 58
7.2 FSPM type S . 58
7.2.1 Overview . 58
7.2.2 Interface of cyclic communication to FAL users . 59
7.2.3 State machine of FSPM . 61
7.3 FSPM type N . 62
7.3.1 Overview . 62
7.3.2 FSPM . 63
8 Application relationship protocol machine (ARPM) . 65
8.1 ARPM type S . 65
8.1.1 Overview . 65
8.1.2 Cyclic control . 66
8.1.3 Remote control . 70
8.1.4 RCL communication control . 75
8.1.5 RT communication control . 79
8.2 ARPM type N . 83
8.2.1 Overview . 83
8.2.2 General control . 83
8.2.3 Cyclic transmission control . 85
8.2.4 Acyclic transmission control . 90
8.2.5 RT communication control . 105
9 DLL mapping protocol machine (DMPM) . 121
---------------------- Page: 5 ----------------------
– 4 – IEC 61158-6-25:2019 © IEC 2019
9.1 DMPM type S . 121
9.2 DMPM type N . 122
9.2.1 General . 122
9.2.2 Communication port in transport layer . 122
9.2.3 Quality of Service . 122
Bibliography . 124
Figure 1 – Bit description in octets . 16
Figure 2 – hd_sa . 35
Figure 3 – hd_da . 36
Figure 4 – Valid sequence number for reception message . 40
Figure 5 – hd_m_ctl . 40
Figure 6 – Valid reception packet sequence number . 44
Figure 7 – Node-list . 55
Figure 8 – Relationships between protocol machines . 58
Figure 9 – Structure of FSPM type S . 59
Figure 10 – Shared memory allocation in type S network . 61
Figure 11 – Structure of FSPM type N . 63
Figure 12 – Structure of ARPM type S . 66
Figure 13 – Sequence of cyclic communication . 67
Figure 14 – The primitives for cyclic control . 67
Figure 15 – The primitives for Remote control . 70
Figure 16 – The primitives for RCL communication control . 75
Figure 17 – The primitives for RT communication control . 80
Figure 18 – Structure of ARPM type N . 83
Figure 19 – Primitives of Cyclic transmission control . 85
Figure 20 – Primitives of acyclic transmission control . 91
Figure 21 – DSCP format . 123
Figure 22 – IEEE 802.1Q tag frame format . 123
Table 1 – State transition descriptions . 17
Table 2 – Descriptions of state machine elements . 17
Table 3 – Conventions used in state machine . 17
Table 4 – Frame Class . 27
Table 5 – DA_STaddress – DA_STaddress . 27
Table 6 – DA_MACaddress . 27
Table 7 – CMD field format . 28
Table 8 – Send Direction . 28
Table 9 – RHE ReceiveStatus . 29
Table 10 – Physical Linkdown . 29
Table 11 – RHE_pattern 1~4 . 30
Table 12 – LCC-Kind . 30
Table 13 – RCL Status . 31
Table 14 – hd_h_type . 35
---------------------- Page: 6 ----------------------
IEC 61158-6-25:2019 © IEC 2019 – 5 –
Table 15 – Usage of Mgn or Lnn . 37
Table 16 – Detailed conditions for sequence number check of reception message . 39
Table 17 – Valid bits of hd_m_ctl . 40
Table 18 – Specified TCD . 41
Table 19 – hd_pkind . 42
Table 20 – PDU with an effective hd_pseq . 42
Table 21 – Detailed conditions for sequence number check of reception packet
(Multicast communication with retransmission). 44
Table 22 – Detailed conditions for packet sequence number check . 45
Table 23 – Relation between message transmission/reception . 46
Table 24 – hd_mode . 46
Table 25 – Message priority level . 46
Table 26 – Value of α . 47
Table 27 – Example of header information for a UDP message fragmentation . 47
Table 28 – Example of header information for a TCP message fragmentation . 47
Table 29 – inqid_inq_sa value. 48
Table 30 – inqid_tr_adr value . 48
Table 31 – inqid_inq_seq value . 49
Table 32 – Relationship between inqid_id_seq and inqid_tr_adr . 49
Table 33 – Type of an alive-message . 51
Table 34 – Type of an alive-message protocol . 51
Table 35 – Time of each al_mode . 52
Table 36 – Status change of tasks . 52
Table 37 – Change of tasks content . 52
Table 38 – The threshold of transmission factor . 60
Table 39 – Example of the traffic control configuration menu . 60
Table 40 – Cyclic data state table . 61
Table 41 – Acyclic data state table. 62
Table 42 – Cyclic data state table . 64
Table 43 – Acyclic data state table. 64
Table 44 – Cyclic control state table . 68
Table 45 – Cyclic control functions. 69
Table 46 – Cyclic control variables. 70
Table 47 – Remote control state table . 71
Table 48 – Remote control functions . 74
Table 49 – Remote control variables . 75
Table 50 – RCL communication control state table . 76
Table 51 – RCL communication control functions . 77
Table 52 – RCL communication control variables . 79
Table 53 – RT communication control state table . 80
Table 54 – RT communication control functions . 82
Table 55 – RT communication control variables . 82
Table 56 – Cyclic transmission control state table . 86
---------------------- Page: 7 ----------------------
– 6 – IEC 61158-6-25:2019 © IEC 2019
Table 57 – Cyclic transmission control functions . 88
Table 58 – Cyclic transmission control variables . 90
Table 59 – Acyclic transmission control state table . 91
Table 60 – Acyclic transmission control functions . 101
Table 61 – Acyclic transmission control variables . 104
Table 62 – RT communication control state table . 105
Table 63 – RT communication control functions . 116
Table 64 – RT communication control variables . 120
Table 65 – ARPM to DL mapping . 122
Table 66 – Assignment policy of communication ports . 122
Table 67 – Default DSCP, IEEE 802.1D and IEEE 802.1Q priority mapping . 123
---------------------- Page: 8 ----------------------
IEC 61158-6-25:2019 © IEC 2019 – 7 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
________
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.