IEC 61158-4-24:2019
(Main)Industrial communication networks - Fieldbus specifications - Part 4-24: Data-link layer protocol specification - Type 24 elements
Industrial communication networks - Fieldbus specifications - Part 4-24: Data-link layer protocol specification - Type 24 elements
IEC 61158-4-24:2019 specifies procedures for the timely transfer of data and control information from one data-link user entity to a peer user entity, and among the data-link entities forming the distributed data-link service provider and the structure of the fieldbus DLPDUs used for the transfer of data and control information by the protocol of this standard, and their representation as physical interface data units. This second edition cancels and replaces the first edition published in 2014. This edition constitutes a technical revision with the following technical changes:
• patent declaration in the Introduction;
• corrections on transmission sequence of fixed-width time slot type in 4.3.2;
• technical extension for band sharing between I/O data exchange and message communication;
• spelling and grammar
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 4-24: Spécification du protocole de la couche liaison de données - Eléments de type 24
L'IEC-61158-4-24:2019 spécifie
a) les procédures de transfert en temps opportun des données et des informations de commande entre une entité utilisateur de liaison de données et une entité utilisateur homologue et, parmi les entités de liaison de données formant le fournisseur de services distribués de liaison de données;
b) les procédures pour donner des opportunités de communication à toutes les entités DL participantes, séquentiellement et de manière cyclique pour le transfert déterministe et synchronisé à intervalles cycliques pouvant aller jusqu'à 64 ms;
c) les procédures pour donner les opportunités de communication disponibles pour la transmission de données prioritaires ainsi que pour la transmission de données non prioritaires, sans nuire à la transmission de données prioritaire;
d) les procédures pour donner des opportunités de communication cyclique et acyclique pour la transmission de données prioritaires avec accès hiérarchisés;
e) les procédures pour donner des opportunités de communication selon le contrôle d'accès au support physique normalisé par l'ISO/IEC/IEEE 8802 3, avec des dispositions pour les nœuds à ajouter ou à retirer lors du fonctionnement normal;
f) la structure des DLPDU de bus de terrain utilisées par le protocole du présent document pour le transfert des données et des informations de commande, et leur représentation sous forme d'unités de données d'interface physique.
General Information
Relations
Buy Standard
Standards Content (Sample)
IEC 61158-4-24
®
Edition 2.0 2019-04
INTERNATIONAL
STANDARD
colour
inside
Industrial communication networks – Fieldbus specifications –
Part 4-24: Data-link layer protocol specification – Type 24 elements
IEC 61158-4-24:2019-04(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-4-24
®
Edition 2.0 2019-04
INTERNATIONAL
STANDARD
colour
inside
Industrial communication networks – Fieldbus specifications –
Part 4-24: Data-link layer protocol specification – Type 24 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 25.040.40; 35.100.20; 35.110 ISBN 978-2-8322-6779-0
Warning! Make sure that you obtained this publication from an authorized distributor.
® Registered trademark of the International Electrotechnical Commission
---------------------- Page: 3 ----------------------
– 2 – IEC 61158-4-24:2019 © IEC 2019
CONTENTS
FOREWORD . 6
INTRODUCTION . 8
1 Scope . 10
1.1 General . 10
1.2 Specifications . 10
1.3 Procedures . 10
1.4 Applicability . 11
1.5 Conformance . 11
2 Normative references . 11
3 Terms, definitions, symbols, abbreviations and conventions . 12
3.1 Reference model terms and definitions . 12
3.2 Service convention terms and definitions . 13
3.3 Common terms and definitions . 13
3.4 Symbols and abbreviations . 16
3.5 Additional Type 24 symbols and abbreviations . 17
3.6 Common Conventions . 17
3.7 Additional Type 24 conventions . 18
3.7.1 Primitive conventions . 18
3.7.2 State machine conventions . 18
4 Overview of DL-protocol . 19
4.1 Characteristic feature of the DL-protocol . 19
4.2 DL layer component . 20
4.2.1 Cyclic transmission control (CTC) . 21
4.2.2 Send Receive Control (SRC) . 21
4.2.3 DL-management . 21
4.3 Timing sequence. 21
4.3.1 Overview . 21
4.3.2 Cyclic transmission mode . 21
4.3.3 Acyclic transmission mode . 29
4.4 Service assumed from the PhL . 30
4.4.1 General requirement . 30
4.4.2 DL_Symbols . 30
4.4.3 Assumed primitives of the PhS . 30
4.5 Local parameters, variables, counters, timers . 30
4.5.1 Overview . 30
4.5.2 Variables, parameters, counters and timers to support DLE function . 31
5 DLPDU structure . 35
5.1 Overview . 35
5.1.1 Transfer syntax for bit sequences . 35
5.1.2 Data type encodings . 36
5.1.3 Frame format . 36
5.2 Basic format DLPDU structure . 36
5.2.1 General . 36
5.2.2 Synchronous frame . 40
5.2.3 Output data or Input data frame . 40
5.2.4 Delay measurement start frame . 41
---------------------- Page: 4 ----------------------
IEC 61158-4-24:2019 © IEC 2019 – 3 –
5.2.5 Delay measurement frame . 41
5.2.6 Message token frame . 42
5.2.7 Status frame . 42
5.2.8 Cycle Information frame . 43
5.2.9 Message frame . 44
5.3 Short format DLPDU structure. 45
5.3.1 General . 45
5.3.2 Synchronous frame . 47
5.3.3 Output data or Input data frame . 48
5.3.4 Message frame . 49
6 DLE element procedure . 49
6.1 Overview . 49
6.2 Cyclic transmission control sublayer . 49
6.2.1 General . 49
6.2.2 DLS-user interface . 49
6.2.3 Protocol machines in CTC . 50
6.2.4 CTC-DLM interface . 101
6.3 Send Receive Control . 102
6.3.1 General . 102
6.3.2 SRC-CTC interface . 103
6.3.3 Detailed specification of SRC . 104
6.3.4 SRC-DLM interface . 108
7 DL-management layer (DLM) . 109
7.1 Overview . 109
7.2 Primitive definitions . 109
7.2.1 Primitives exchanged between DLMS-user and DLM . 109
7.2.2 Parameters used with DLM primitives . 110
7.3 DLM protocol machine . 110
7.3.1 C1 master . 110
7.3.2 Slave and C2 master . 115
7.4 Functions . 119
Bibliography . 122
Figure 1 – Data-link layer component . 21
Figure 2 – Timing chart of fixed-width time slot type cyclic communication . 22
Figure 3 – Timing chart of configurable time slot type cyclic communication . 24
Figure 4 – Schematic diagram of cyclic event occurrence . 26
Figure 5 – Timing relationship between cyclic transmission and data processing . 29
Figure 6 – Timing chart example of acyclic communication . 29
Figure 7 – Basic format DLPDU structure. 37
Figure 8 – Short format DLPDU structure . 45
Figure 9 – The state diagram of the C1 master for fixed-width time slot . 51
Figure 10 – The state diagram of the C2 master for fixed-width time slot . 58
Figure 11 – The state diagram of the slave for fixed-width time slot . 62
Figure 12 – The state diagram of the C1 master for configurable time slot . 65
Figure 13 – The state diagram of the C2 master for configurable time slot . 74
Figure 14 – The state diagram of slave for configurable time slot . 77
---------------------- Page: 5 ----------------------
– 4 – IEC 61158-4-24:2019 © IEC 2019
Figure 15 – The state diagram of message initiator for basic format . 82
Figure 16 – The state diagram of message responder for basic format . 86
Figure 17 – The state diagram of message initiator for short format . 90
Figure 18 – The state diagram of message responder for short format . 94
Figure 19 – The state diagram of the acyclic transmission protocol machine . 100
Figure 20 – Internal architecture of one-port SRC . 104
Figure 21 – Internal architecture of multi-port SRC . 104
Figure 22 – Internal architecture of serializer . 105
Figure 23 – Internal architecture of deserializer . 106
Figure 24 – State diagram of the C1 master DLM . 111
Figure 25 – State diagram of the Slave and the C2 master DLM . 116
Table 1 – State transition descriptions . 18
Table 2 – Description of state machine elements . 19
Table 3 – Conventions used in state machines . 19
Table 4 – Characteristic features of the fieldbus data-link protocol . 20
Table 5 – List of the values of the variable Cyc_sel . 31
Table 6 – List of the values of the variable Tunit . 32
Table 7 – List of the values of the variable PDUType . 33
Table 8 – List of the values of the variable SlotType . 34
Table 9 – Transfer syntax for bit sequences . 36
Table 10 – Bit order . 36
Table 11 – Destination and Source address format . 37
Table 12 – Station address . 37
Table 13 – Extended address . 38
Table 14 – Message control field format (Information transfer format) . 38
Table 15 – Message control field format (Supervisory format) . 38
Table 16 – The list of Supervisory function bits . 39
Table 17 – Frame type and data length format . 39
Table 18 – The list of Frame type. 39
Table 19 – Data format of the Synchronous frame . 40
Table 20 – The field list of the Synchronous frame . 40
Table 21 – Data format of the Output data or the Input data frame . 40
Table 22 – The field list of the Output data or the Input data frame . 41
Table 23 – Data format of Delay measurement start frame . 41
Table 24 – The field list of Delay measurement start frame . 41
Table 25 – Data format of Delay measurement frame. 42
Table 26 – The field list of Delay measurement frame . 42
Table 27 – Data format of Status frame. 42
Table 28 – The field list of Status frame . 43
Table 29 – The list of the DLE status . 43
Table 30 – The list of Repeater status . 43
Table 31 – Data format of Delay measurement frame. 44
---------------------- Page: 6 ----------------------
IEC 61158-4-24:2019 © IEC 2019 – 5 –
Table 32 – The field list of Cycle Information frame. 44
Table 33 – Data format of Message frame . 44
Table 34 – The field list of Message frame . 45
Table 35 – Range of Station address field. 46
Table 36 – Control field format (I/O data exchange format) . 46
Table 37 – Control field format (Message format) . 46
Table 38 – The field list of Message format . 47
Table 39 – Data format of the Synchronous frame . 47
Table 40 – The field list of the Synchronous frame . 48
Table 41 – Data format of the Output data frame . 48
Table 42 – The field list of the Output data frame . 48
Table 43 – Data format of the Input data frame . 48
Table 44 – The field list of the Input data frame . 48
Table 45 – Primitives and parameters for the DLS-user interface issued by the DLS-
user . 49
Table 46 – Primitives and parameters for the DLS-user interface issued by the CTC . 50
Table 47 – The state table of the C1 master for fixed-width time slot . 52
Table 48 – The state table of the C2 master for fixed-width time slot . 59
Table 49 – The state table of the slave for fixed-width time slot . 63
Table 50 – The state table of the C1 master for configurable time slot . 66
Table 51 – The state table of the C2 master for configurable time slot . 75
Table 52 – The state table of slave for configurable time slot . 78
Table 53 – The list of functions used by cyclic transmission machine . 79
Table 54 – The state table of message initiator for basic format . 82
Table 55 – The state table of message responder for basic format . 86
Table 56 – The state table of message initiator for short format . 90
Table 57 – The state table of message responder for short format . 95
Table 58 – List of functions used by the message segmentation machine . 99
Table 59 – The state table of the acyclic transmission protocol machine . 101
Table 60 – The list of functions used acyclic transmission protocol machine . 101
Table 61 – Primitives and parameters exchanged between CTC and DLM . 102
Table 62 – Error event primitive and parameters . 102
Table 63 – primitives and parameters for SRC-CTC interface . 103
Table 64 – Send frame primitive and parameters . 103
Table 65 – Receive frame primitives and parameters . 104
Table 66 – Primitives and parameters exchanged between SRC and DLM . 108
Table 67 – Get value primitive and parameters . 109
Table 68 – Error event primitive and parameters . 109
Table 69 – The list of primitives and parameters (DLMS-user source) . 110
Table 70 – The list of primitives and parameters (DLM source) . 110
Table 71 – State table of the C1 Master DLM . 112
Table 72 – State table of the Slave and the C2 master DLM . 117
Table 73 – The list of the functions used by DLM protocol machine . 120
---------------------- Page: 7 ----------------------
– 6 – IEC 61158-4-24:2019 © IEC 2019
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 4-24: Data-link layer protocol specification –
Type 24 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 other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
Attention is drawn to the fact that the use of the associated protocol type is restricted by its
intellectual-property-right holders. In all cases, the commitment to limited release of
intellectual-property-rights made by the holders of those rights permits a layer protocol type to
be used with other layer protocols of the same type, or in other type combinations explicitly
authorized by its intellectual-property-right holders.
NOTE Combinations of protocol types are specified in IEC 61784-1 and IEC 61784-2.
International Standard IEC 61158-4-24 has been prepared by subcommittee 65C: Industrial
networks, of IEC technical committee 65: Industrial-process measurement, control and
automation.
This second edition cancels and replaces the first edition published in 2014. This edition
constitutes a technical revision.
---------------------- Page: 8 ----------------------
IEC 61158-4-24:2019 © IEC 2019 – 7 –
This edition includes the following significant technical changes with respect to the previous
edition:
• patent declaration in the Introduction;
• corrections on transmission sequence of fixed-width time slot type in 4.3.2;
• technical extension for band sharing between I/O data exchange and message
communication; and
• spelling and grammar.
The text of this International Standard is based on the following documents:
FDIS Report on voting
65C/946/FDIS 65C/955/RVD
Full information on the voting for the approval of this International Standard can be found in
the report on voting indicated in the above table.
This publication has been drafted in accordance with the ISO/IEC Directives, Part 2.
A list of all parts of the IEC 61158 series, published under the general title Industrial
communication networks – Fieldbus specifications, can be found on the IEC web site.
The committee has decided that the contents of this publication will remain unchanged until
the stability date indicated on the IEC web site under "http:
...
IEC 61158-4-24
®
Edition 2.0 2019-04
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Industrial communication networks – Fieldbus specifications –
Part 4-24: Data-link layer protocol specification – Type 24 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 4-24: Spécification du protocole de la couche liaison de données –
Eléments de type 24
IEC 61158-4-24:2019-04(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-4-24
®
Edition 2.0 2019-04
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Industrial communication networks – Fieldbus specifications –
Part 4-24: Data-link layer protocol specification – Type 24 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 4-24: Spécification du protocole de la couche liaison de données –
Eléments de type 24
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.040.40; 35.100.20; 35.110 ISBN 978-2-8322-9159-7
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-4-24:2019 © IEC 2019
CONTENTS
FOREWORD . 6
INTRODUCTION . 8
1 Scope . 10
1.1 General . 10
1.2 Specifications . 10
1.3 Procedures . 10
1.4 Applicability . 11
1.5 Conformance . 11
2 Normative references . 11
3 Terms, definitions, symbols, abbreviations and conventions . 12
3.1 Reference model terms and definitions . 12
3.2 Service convention terms and definitions . 13
3.3 Common terms and definitions . 13
3.4 Symbols and abbreviations . 16
3.5 Additional Type 24 symbols and abbreviations . 17
3.6 Common Conventions . 17
3.7 Additional Type 24 conventions . 18
3.7.1 Primitive conventions . 18
3.7.2 State machine conventions . 18
4 Overview of DL-protocol . 19
4.1 Characteristic feature of the DL-protocol . 19
4.2 DL layer component . 20
4.2.1 Cyclic transmission control (CTC) . 21
4.2.2 Send Receive Control (SRC) . 21
4.2.3 DL-management . 21
4.3 Timing sequence. 21
4.3.1 Overview . 21
4.3.2 Cyclic transmission mode . 21
4.3.3 Acyclic transmission mode . 29
4.4 Service assumed from the PhL . 30
4.4.1 General requirement . 30
4.4.2 DL_Symbols . 30
4.4.3 Assumed primitives of the PhS . 30
4.5 Local parameters, variables, counters, timers . 30
4.5.1 Overview . 30
4.5.2 Variables, parameters, counters and timers to support DLE function . 31
5 DLPDU structure . 35
5.1 Overview . 35
5.1.1 Transfer syntax for bit sequences . 35
5.1.2 Data type encodings . 36
5.1.3 Frame format . 36
5.2 Basic format DLPDU structure . 36
5.2.1 General . 36
5.2.2 Synchronous frame . 40
5.2.3 Output data or Input data frame . 40
5.2.4 Delay measurement start frame . 41
---------------------- Page: 4 ----------------------
IEC 61158-4-24:2019 © IEC 2019 – 3 –
5.2.5 Delay measurement frame . 41
5.2.6 Message token frame . 42
5.2.7 Status frame . 42
5.2.8 Cycle Information frame . 43
5.2.9 Message frame . 44
5.3 Short format DLPDU structure. 45
5.3.1 General . 45
5.3.2 Synchronous frame . 47
5.3.3 Output data or Input data frame . 48
5.3.4 Message frame . 49
6 DLE element procedure . 49
6.1 Overview . 49
6.2 Cyclic transmission control sublayer . 49
6.2.1 General . 49
6.2.2 DLS-user interface . 49
6.2.3 Protocol machines in CTC . 50
6.2.4 CTC-DLM interface . 101
6.3 Send Receive Control . 102
6.3.1 General . 102
6.3.2 SRC-CTC interface . 103
6.3.3 Detailed specification of SRC . 104
6.3.4 SRC-DLM interface . 108
7 DL-management layer (DLM) . 109
7.1 Overview . 109
7.2 Primitive definitions . 109
7.2.1 Primitives exchanged between DLMS-user and DLM . 109
7.2.2 Parameters used with DLM primitives . 110
7.3 DLM protocol machine . 110
7.3.1 C1 master . 110
7.3.2 Slave and C2 master . 115
7.4 Functions . 119
Bibliography . 122
Figure 1 – Data-link layer component . 21
Figure 2 – Timing chart of fixed-width time slot type cyclic communication . 22
Figure 3 – Timing chart of configurable time slot type cyclic communication . 24
Figure 4 – Schematic diagram of cyclic event occurrence . 26
Figure 5 – Timing relationship between cyclic transmission and data processing . 29
Figure 6 – Timing chart example of acyclic communication . 29
Figure 7 – Basic format DLPDU structure. 37
Figure 8 – Short format DLPDU structure . 45
Figure 9 – The state diagram of the C1 master for fixed-width time slot . 51
Figure 10 – The state diagram of the C2 master for fixed-width time slot . 58
Figure 11 – The state diagram of the slave for fixed-width time slot . 62
Figure 12 – The state diagram of the C1 master for configurable time slot . 65
Figure 13 – The state diagram of the C2 master for configurable time slot . 74
Figure 14 – The state diagram of slave for configurable time slot . 77
---------------------- Page: 5 ----------------------
– 4 – IEC 61158-4-24:2019 © IEC 2019
Figure 15 – The state diagram of message initiator for basic format . 82
Figure 16 – The state diagram of message responder for basic format . 86
Figure 17 – The state diagram of message initiator for short format . 90
Figure 18 – The state diagram of message responder for short format . 94
Figure 19 – The state diagram of the acyclic transmission protocol machine . 100
Figure 20 – Internal architecture of one-port SRC . 104
Figure 21 – Internal architecture of multi-port SRC . 104
Figure 22 – Internal architecture of serializer . 105
Figure 23 – Internal architecture of deserializer . 106
Figure 24 – State diagram of the C1 master DLM . 111
Figure 25 – State diagram of the Slave and the C2 master DLM . 116
Table 1 – State transition descriptions . 18
Table 2 – Description of state machine elements . 19
Table 3 – Conventions used in state machines . 19
Table 4 – Characteristic features of the fieldbus data-link protocol . 20
Table 5 – List of the values of the variable Cyc_sel . 31
Table 6 – List of the values of the variable Tunit . 32
Table 7 – List of the values of the variable PDUType . 33
Table 8 – List of the values of the variable SlotType . 34
Table 9 – Transfer syntax for bit sequences . 36
Table 10 – Bit order . 36
Table 11 – Destination and Source address format . 37
Table 12 – Station address . 37
Table 13 – Extended address . 38
Table 14 – Message control field format (Information transfer format) . 38
Table 15 – Message control field format (Supervisory format) . 38
Table 16 – The list of Supervisory function bits . 39
Table 17 – Frame type and data length format . 39
Table 18 – The list of Frame type. 39
Table 19 – Data format of the Synchronous frame . 40
Table 20 – The field list of the Synchronous frame . 40
Table 21 – Data format of the Output data or the Input data frame . 40
Table 22 – The field list of the Output data or the Input data frame . 41
Table 23 – Data format of Delay measurement start frame . 41
Table 24 – The field list of Delay measurement start frame . 41
Table 25 – Data format of Delay measurement frame. 42
Table 26 – The field list of Delay measurement frame . 42
Table 27 – Data format of Status frame. 42
Table 28 – The field list of Status frame . 43
Table 29 – The list of the DLE status . 43
Table 30 – The list of Repeater status . 43
Table 31 – Data format of Delay measurement frame. 44
---------------------- Page: 6 ----------------------
IEC 61158-4-24:2019 © IEC 2019 – 5 –
Table 32 – The field list of Cycle Information frame. 44
Table 33 – Data format of Message frame . 44
Table 34 – The field list of Message frame . 45
Table 35 – Range of Station address field. 46
Table 36 – Control field format (I/O data exchange format) . 46
Table 37 – Control field format (Message format) . 46
Table 38 – The field list of Message format . 47
Table 39 – Data format of the Synchronous frame . 47
Table 40 – The field list of the Synchronous frame . 48
Table 41 – Data format of the Output data frame . 48
Table 42 – The field list of the Output data frame . 48
Table 43 – Data format of the Input data frame . 48
Table 44 – The field list of the Input data frame . 48
Table 45 – Primitives and parameters for the DLS-user interface issued by the DLS-
user . 49
Table 46 – Primitives and parameters for the DLS-user interface issued by the CTC . 50
Table 47 – The state table of the C1 master for fixed-width time slot . 52
Table 48 – The state table of the C2 master for fixed-width time slot . 59
Table 49 – The state table of the slave for fixed-width time slot . 63
Table 50 – The state table of the C1 master for configurable time slot . 66
Table 51 – The state table of the C2 master for configurable time slot . 75
Table 52 – The state table of slave for configurable time slot . 78
Table 53 – The list of functions used by cyclic transmission machine . 79
Table 54 – The state table of message initiator for basic format . 82
Table 55 – The state table of message responder for basic format . 86
Table 56 – The state table of message initiator for short format . 90
Table 57 – The state table of message responder for short format . 95
Table 58 – List of functions used by the message segmentation machine . 99
Table 59 – The state table of the acyclic transmission protocol machine . 101
Table 60 – The list of functions used acyclic transmission protocol machine . 101
Table 61 – Primitives and parameters exchanged between CTC and DLM . 102
Table 62 – Error event primitive and parameters . 102
Table 63 – primitives and parameters for SRC-CTC interface . 103
Table 64 – Send frame primitive and parameters . 103
Table 65 – Receive frame primitives and parameters . 104
Table 66 – Primitives and parameters exchanged between SRC and DLM . 108
Table 67 – Get value primitive and parameters . 109
Table 68 – Error event primitive and parameters . 109
Table 69 – The list of primitives and parameters (DLMS-user source) . 110
Table 70 – The list of primitives and parameters (DLM source) . 110
Table 71 – State table of the C1 Master DLM . 112
Table 72 – State table of the Slave and the C2 master DLM . 117
Table 73 – The list of the functions used by DLM protocol machine . 120
---------------------- Page: 7 ----------------------
– 6 – IEC 61158-4-24:2019 © IEC 2019
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 4-24: Data-link layer protocol specification –
Type 24 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
servi
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.