IEC 61158-4-3:2019
(Main)Industrial communication networks - Fieldbus specifications - Part 4-3: Data-link layer protocol specification - Type 3 elements
Industrial communication networks - Fieldbus specifications - Part 4-3: Data-link layer protocol specification - Type 3 elements
IEC 61158-4-3: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 fourth edition cancels and replaces the third edition published in 2014 and constitutes a technical revision.
The main changes are:
This edition includes the following significant technical changes with respect to the previous edition:
•corrections in Table 3;
•corrections in Table A.15;
•spelling and grammar.
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 4-3: Spécification du protocole de la couche liaison de données - Éléments de type 3
L'IEC 61158-4-3:2019 la couche liaison de données permet la communication de messages de base, critiques du point de vue temporel, entre appareils dans un environnement d'automatisation.
Ce protocole donne les moyens de communiquer à un sous-ensemble “maître” présélectionné d'entités de liaison de données de manière asynchrone cyclique, séquentiellement pour chacune de ces entités de liaison de données. D'autres entités de liaison de données communiquent uniquement si elles sont autorisées et déléguées par ces entités de liaison de données "maîtres".
Les communications d'un maître avec d'autres entités de liaison de données peuvent être cycliques ou acycliques avec accès selon un ordre de priorité, ou une combinaison des deux.
Ce protocole est un moyen de partager de manière équitable les ressources de communication disponibles. Il comporte des dispositions de fonctionnement synchrone et isochrone.
General Information
Buy Standard
Standards Content (Sample)
IEC 61158-4-3
®
Edition 4.0 2019-04
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 4-3: Data-link layer protocol specification – Type 3 elements
IEC 61158-4-3: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-3
®
Edition 4.0 2019-04
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 4-3: Data-link layer protocol specification – Type 3 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 25.040.40; 35.100.20; 35.110 ISBN 978-2-8322-6773-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-4-3:2019 © IEC 2019
CONTENTS
FOREWORD . 7
INTRODUCTION . 9
1 Scope . 10
1.1 General . 10
1.2 Specifications . 10
1.3 Procedures . 10
1.4 Applicability . 10
1.5 Conformance . 11
2 Normative references . 11
3 Terms, definitions, symbols and abbreviations . 11
3.1 Reference model terms and definitions . 11
3.2 Service convention terms and definitions . 13
3.3 Common terms and definitions . 14
3.4 Additional Type 3 definitions . 16
3.5 Common symbols and abbreviations . 18
3.5.1 Data units . 18
3.5.2 Miscellaneous . 18
3.6 Type 3 symbols and abbreviations . 19
4 Common DL-protocol elements . 23
4.1 Frame check sequence . 23
4.1.1 General . 23
4.1.2 At the sending DLE . 24
4.1.3 At the receiving DLE . 25
5 Overview of the DL-protocol . 26
5.1 General . 26
5.2 Overview of the medium access control and transmission protocol . 26
5.3 Transmission modes and DL-entity . 27
5.3.1 Overview . 27
5.3.2 Token procedures . 28
5.3.3 Send or send/request mode . 32
5.4 Service assumed from the PhL . 32
5.4.1 Asynchronous transmission . 32
5.4.2 Synchronous transmission . 33
5.5 Operational elements . 36
5.5.1 Overview . 36
5.5.2 Bit time t . 36
BIT
5.5.3 Asynchronous transmission . 36
5.5.4 Synchronous transmission . 42
5.5.5 Timers and counters . 47
5.6 Cycle and system reaction times . 51
5.6.1 Asynchronous transmission . 51
5.6.2 Synchronous transmission . 53
6 General structure and encoding of DLPDUs, and related elements of procedure . 54
6.1 DLPDU granularity . 54
6.1.1 Asynchronous transmission – UART character . 54
6.1.2 Synchronous transmission . 55
---------------------- Page: 4 ----------------------
IEC 61158-4-3:2019 © IEC 2019 – 3 –
6.2 Length octet (LE, LEr) . 55
6.3 Address octet . 56
6.3.1 Destination and source station address (DA and SA) . 56
6.3.2 Address extension (EXT) . 56
6.3.3 Address check . 57
6.3.4 DL-service-access-point (DLSAP) . 58
6.4 Control octet (FC) . 58
6.4.1 General . 58
6.4.2 Frame count bit . 60
6.5 DLPDU content error detection . 62
6.5.1 Asynchronous transmission – frame checksum (FCS) . 62
6.5.2 Synchronous transmission – frame check sequence (FCS) . 62
6.6 DATA_UNIT . 63
6.6.1 General . 63
6.6.2 Ident user data . 63
6.7 Error control procedures . 64
6.7.1 Asynchronous transmission . 64
6.7.2 Synchronous transmission . 64
7 DLPDU-specific structure, encoding and elements of procedure . 64
7.1 DLPDUs of fixed length with no data field . 64
7.1.1 Asynchronous transmission . 64
7.1.2 Synchronous transmission . 66
7.2 DLPDUs of fixed length with data field . 66
7.2.1 Asynchronous transmission . 66
7.2.2 Synchronous transmission . 67
7.3 DLPDUs with variable data field length . 68
7.3.1 Asynchronous transmission . 68
7.3.2 Synchronous transmission . 68
7.4 Token DLPDU . 69
7.4.1 Asynchronous transmission . 69
7.4.2 Synchronous transmission . 70
7.5 ASP DLPDU . 70
7.6 SYNCH DLPDU . 70
7.7 Time Event (TE) DLPDU . 70
7.8 Clock Value (CV) DLPDU . 70
7.9 Transmission procedures . 71
7.9.1 Asynchronous transmission . 71
7.9.2 Synchronous transmission . 72
8 Other DLE elements of procedure . 73
8.1 DL-entity initialization. 73
8.2 States of the media access control of the DL-entity . 74
8.2.1 General . 74
8.2.2 Offline . 75
8.2.3 Passive_Idle . 76
8.2.4 Listen_Token . 76
8.2.5 Active_Idle. 76
8.2.6 Claim_Token . 77
8.2.7 Wait_TCT . 77
---------------------- Page: 5 ----------------------
– 4 – IEC 61158-4-3:2019 © IEC 2019
8.2.8 Use_Token . 78
8.2.9 Await_Data_Response . 78
8.2.10 Check_Access_Time . 78
8.2.11 Pass_Token . 79
8.2.12 Check_Token_Pass . 79
8.2.13 Await_Status_Response . 80
8.3 Clock synchronization protocol . 80
8.3.1 Overview . 80
8.3.2 State machine time master . 80
8.3.3 State machine time receiver . 82
Annex A (normative) DL-Protocol state machines . 85
A.1 Overall structure . 85
A.2 Variation of state machines in different devices . 86
A.3 DL Data Resource . 87
A.4 FLC / DLM . 91
A.4.1 Primitive definitions . 91
A.4.2 State machine description . 96
A.5 MAC . 115
A.5.1 Primitive definitions . 115
A.5.2 State machine description . 116
A.6 SRU . 142
A.6.1 Overview . 142
A.6.2 Character send SM(CTX) . 143
A.6.3 Character receive SM (CRX) . 143
A.6.4 Timer-SM (TIM) . 144
A.6.5 Primitive definition of SRC . 144
A.6.6 State machine description . 146
Annex B (informative) Type 3 (synchronous): exemplary FCS implementations . 160
Annex C (informative) Type 3: Exemplary token procedure and message transfer
periods . 162
C.1 Procedure of token passing. 162
C.2 Examples for token passing procedure . 163
C.3 Examples for message transfer periods – asynchronous transmission . 168
Bibliography . 170
Figure 1 – Relationships of DLSAPs, DLSAP-addresses and group DL-addresses . 15
Figure 2 – Logical token-passing ring . 29
Figure 3 – PhL data service for asynchronous transmission . 33
Figure 4 – Idle time T . 38
ID1
Figure 5 – Idle time T (SDN, CS) . 39
ID2
Figure 6 – Idle time T (MSRD) . 39
ID2
Figure 7 – Slot time T . 40
SL1
Figure 8 – Slot time T . 40
SL2
Figure 9 – Slot time T . 45
SL1
Figure 10 – Slot time T . 45
SL2
Figure 11 – Token transfer period . 51
Figure 12 – Message transfer period . 52
---------------------- Page: 6 ----------------------
IEC 61158-4-3:2019 © IEC 2019 – 5 –
Figure 13 – UART character . 54
Figure 14 – Octet structure . 55
Figure 15 – Length octet coding . 55
Figure 16 – Address octet coding . 56
Figure 17 – DAE/SAE octet in the DLPDU . 57
Figure 18 – Address extension octet . 57
Figure 19 – FC octet coding for send/request DLPDUs . 58
Figure 20 – FC octet coding for acknowledgement or response DLPDUs . 59
Figure 21 – FCS octet coding. 62
Figure 22 – Data field . 63
Figure 23 – Ident user data . 63
Figure 24 – DLPDUs of fixed length with no data field . 65
Figure 25 – DLPDUs of fixed length with no data field . 66
Figure 26 – DLPDUs of fixed length with data field . 67
Figure 27 – DLPDUs of fixed length with data field . 67
Figure 28 – DLPDUs with variable data field length . 68
Figure 29 – DLPDUs with variable data field length . 69
Figure 30 – Token DLPDU . 69
Figure 31 – Token DLPDU . 70
Figure 32 – Send/request DLPDU of fixed length with no data . 71
Figure 33 – Token DLPDU and send/request DLPDU of fixed length with data . 71
Figure 34 – Send/request DLPDU with variable data field length . 72
Figure 35 – Send/request DLPDU of fixed length with no data . 72
Figure 36 – Token DLPDU and send/request DLPDU of fixed length with data . 73
Figure 37 – Send/request DLPDU with variable data field length . 73
Figure 38 – DL-state-diagram . 75
Figure 39 – Overview of clock synchronization . 81
Figure 40 – Time master state machine . 82
Figure 41 – Time receiver state machine . 83
Figure 42 – Clock synchronization . 84
Figure A.1 – Structuring of the protocol machines . 86
Figure A.2 – Structure of the SRU Machine . 143
Figure B.1 – Example of FCS generation for Type 3 (synchronous) . 160
Figure B.2 – Example of FCS syndrome checking on reception for Type 3
(synchronous) . 160
Figure C.1 – Derivation of the token holding time (T ) . 163
TH
Figure C.2 – No usage of token holding time (T ) . 164
TH
Figure C.3 – Usage of token holding time (T ) for message transfer (equivalence
TH
between T of each Master station) . 165
TH
Figure C.4 – Usage of token holding time (T ) in different working load situations . 167
TH
Table 1 – FCS length, polynomials and constants by Type 3 synchronous . 24
Table 2 – Characteristic features of the fieldbus data-link protocol . 26
---------------------- Page: 7 ----------------------
– 6 – IEC 61158-4-3:2019 © IEC 2019
Table 3 – Transmission function code . 60
Table 4 – FCB, FCV in responder . 62
Table 5 – Operating parameters . 74
Table A.1 – Assignment of state machines . 87
Table A.2 – Data resource . 88
Table A.3 – Primitives issued by DL-User to FLC . 92
Table A.4 – Primitives issued by FLC to DL-User . 92
Table A.5 – Primitives issued by DL-User to DLM . 94
Table A.6 – Primitives issued by DLM to DL-User . 94
Table A.7 – Parameters used with primitives exchanged between DL-User and FLC . 95
Table A.8 – Parameters used with primitives exchanged between DL-User and DLM . 95
Table A.9 – FLC/DLM state table . 96
Table A.10 – FLC / DLM function table . 108
Table A.11 – Primitives issued by DLM to MAC. 115
Table A.12 – Primitives issued by MAC to DLM. 115
Table A.13 – Parameters used with primitives exchanged between DLM and MAC . 115
Table A.14 – Local MAC variables . 116
Table A.15 – MAC state table . 117
Table A.16 – MAC function table . 138
Table A.17 – Primitives issued by DLM to SRC . 144
Table A.18 – Primitives issued by SRC to DLM . 145
Table A.19 – Primitives issued by MAC to SRC. 145
Table A.20 – Primitives issued by SRC to MAC. 145
Table A.21 – Parameters used with primitives exchanged between MAC and SRC . 146
Table A.22 – FC structure . 146
Table A.23 – Local variables of SRC . 146
Table A.24 – SRC state table . 147
Table A.25 – SRC functions . 159
---------------------- Page: 8 ----------------------
IEC 61158-4-3:2019 © IEC 2019 – 7 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 4-3: Data-link layer protocol specification –
Type 3 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
...
IEC 61158-4-3
®
Edition 4.0 2019-04
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 4-3: Data-link layer protocol specification – Type 3 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 4-3: Spécification du protocole de la couche liaison de données –
Éléments de type 3
IEC 61158-4-3: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-3
®
Edition 4.0 2019-04
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 4-3: Data-link layer protocol specification – Type 3 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 4-3: Spécification du protocole de la couche liaison de données –
Éléments de type 3
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.040.40; 35.100.20; 35.110 ISBN 978-2-8322-9137-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-4-3:2019 © IEC 2019
CONTENTS
FOREWORD . 7
INTRODUCTION . 9
1 Scope . 10
1.1 General . 10
1.2 Specifications . 10
1.3 Procedures . 10
1.4 Applicability . 10
1.5 Conformance . 11
2 Normative references . 11
3 Terms, definitions, symbols and abbreviations . 11
3.1 Reference model terms and definitions . 11
3.2 Service convention terms and definitions . 13
3.3 Common terms and definitions . 14
3.4 Additional Type 3 definitions . 16
3.5 Common symbols and abbreviations . 18
3.5.1 Data units . 18
3.5.2 Miscellaneous . 18
3.6 Type 3 symbols and abbreviations . 19
4 Common DL-protocol elements . 23
4.1 Frame check sequence . 23
4.1.1 General . 23
4.1.2 At the sending DLE . 24
4.1.3 At the receiving DLE . 25
5 Overview of the DL-protocol . 26
5.1 General . 26
5.2 Overview of the medium access control and transmission protocol . 27
5.3 Transmission modes and DL-entity . 28
5.3.1 Overview . 28
5.3.2 Token procedures . 28
5.3.3 Send or send/request mode . 32
5.4 Service assumed from the PhL . 32
5.4.1 Asynchronous transmission . 32
5.4.2 Synchronous transmission . 33
5.5 Operational elements . 36
5.5.1 Overview . 36
5.5.2 Bit time t . 36
BIT
5.5.3 Asynchronous transmission . 36
5.5.4 Synchronous transmission . 42
5.5.5 Timers and counters . 47
5.6 Cycle and system reaction times . 51
5.6.1 Asynchronous transmission . 51
5.6.2 Synchronous transmission . 53
6 General structure and encoding of DLPDUs, and related elements of procedure . 54
6.1 DLPDU granularity . 54
6.1.1 Asynchronous transmission – UART character . 54
6.1.2 Synchronous transmission . 55
---------------------- Page: 4 ----------------------
IEC 61158-4-3:2019 © IEC 2019 – 3 –
6.2 Length octet (LE, LEr) . 55
6.3 Address octet . 56
6.3.1 Destination and source station address (DA and SA) . 56
6.3.2 Address extension (EXT) . 56
6.3.3 Address check . 57
6.3.4 DL-service-access-point (DLSAP) . 58
6.4 Control octet (FC) . 58
6.4.1 General . 58
6.4.2 Frame count bit . 60
6.5 DLPDU content error detection . 62
6.5.1 Asynchronous transmission – frame checksum (FCS) . 62
6.5.2 Synchronous transmission – frame check sequence (FCS) . 62
6.6 DATA_UNIT . 63
6.6.1 General . 63
6.6.2 Ident user data . 63
6.7 Error control procedures . 64
6.7.1 Asynchronous transmission . 64
6.7.2 Synchronous transmission . 64
7 DLPDU-specific structure, encoding and elements of procedure . 64
7.1 DLPDUs of fixed length with no data field . 64
7.1.1 Asynchronous transmission . 64
7.1.2 Synchronous transmission . 66
7.2 DLPDUs of fixed length with data field . 66
7.2.1 Asynchronous transmission . 66
7.2.2 Synchronous transmission . 67
7.3 DLPDUs with variable data field length . 68
7.3.1 Asynchronous transmission . 68
7.3.2 Synchronous transmission . 68
7.4 Token DLPDU . 69
7.4.1 Asynchronous transmission . 69
7.4.2 Synchronous transmission . 70
7.5 ASP DLPDU . 70
7.6 SYNCH DLPDU . 70
7.7 Time Event (TE) DLPDU . 70
7.8 Clock Value (CV) DLPDU . 70
7.9 Transmission procedures . 71
7.9.1 Asynchronous transmission . 71
7.9.2 Synchronous transmission . 72
8 Other DLE elements of procedure . 73
8.1 DL-entity initialization. 73
8.2 States of the media access control of the DL-entity . 74
8.2.1 General . 74
8.2.2 Offline . 75
8.2.3 Passive_Idle . 76
8.2.4 Listen_Token . 76
8.2.5 Active_Idle. 76
8.2.6 Claim_Token . 77
8.2.7 Wait_TCT . 77
---------------------- Page: 5 ----------------------
– 4 – IEC 61158-4-3:2019 © IEC 2019
8.2.8 Use_Token . 78
8.2.9 Await_Data_Response . 78
8.2.10 Check_Access_Time . 78
8.2.11 Pass_Token . 79
8.2.12 Check_Token_Pass . 79
8.2.13 Await_Status_Response . 80
8.3 Clock synchronization protocol . 80
8.3.1 Overview . 80
8.3.2 State machine time master . 80
8.3.3 State machine time receiver . 82
Annex A (normative) DL-Protocol state machines . 85
A.1 Overall structure . 85
A.2 Variation of state machines in different devices . 86
A.3 DL Data Resource . 87
A.4 FLC / DLM . 91
A.4.1 Primitive definitions . 91
A.4.2 State machine description . 96
A.5 MAC . 115
A.5.1 Primitive definitions . 115
A.5.2 State machine description . 116
A.6 SRU . 142
A.6.1 Overview . 142
A.6.2 Character send SM(CTX) . 143
A.6.3 Character receive SM (CRX) . 143
A.6.4 Timer-SM (TIM) . 144
A.6.5 Primitive definition of SRC . 144
A.6.6 State machine description . 146
Annex B (informative) Type 3 (synchronous): exemplary FCS implementations . 160
Annex C (informative) Type 3: Exemplary token procedure and message transfer
periods . 162
C.1 Procedure of token passing. 162
C.2 Examples for token passing procedure . 163
C.3 Examples for message transfer periods – asynchronous transmission . 168
Bibliography . 170
Figure 1 – Relationships of DLSAPs, DLSAP-addresses and group DL-addresses . 15
Figure 2 – Logical token-passing ring . 29
Figure 3 – PhL data service for asynchronous transmission . 33
Figure 4 – Idle time T . 38
ID1
Figure 5 – Idle time T (SDN, CS) . 39
ID2
Figure 6 – Idle time T (MSRD) . 39
ID2
Figure 7 – Slot time T . 40
SL1
Figure 8 – Slot time T . 40
SL2
Figure 9 – Slot time T . 45
SL1
Figure 10 – Slot time T . 45
SL2
Figure 11 – Token transfer period . 51
Figure 12 – Message transfer period . 52
---------------------- Page: 6 ----------------------
IEC 61158-4-3:2019 © IEC 2019 – 5 –
Figure 13 – UART character . 54
Figure 14 – Octet structure . 55
Figure 15 – Length octet coding . 55
Figure 16 – Address octet coding . 56
Figure 17 – DAE/SAE octet in the DLPDU . 57
Figure 18 – Address extension octet . 57
Figure 19 – FC octet coding for send/request DLPDUs . 58
Figure 20 – FC octet coding for acknowledgement or response DLPDUs . 59
Figure 21 – FCS octet coding. 62
Figure 22 – Data field . 63
Figure 23 – Ident user data . 63
Figure 24 – DLPDUs of fixed length with no data field . 65
Figure 25 – DLPDUs of fixed length with no data field . 66
Figure 26 – DLPDUs of fixed length with data field . 67
Figure 27 – DLPDUs of fixed length with data field . 67
Figure 28 – DLPDUs with variable data field length . 68
Figure 29 – DLPDUs with variable data field length . 69
Figure 30 – Token DLPDU . 69
Figure 31 – Token DLPDU . 70
Figure 32 – Send/request DLPDU of fixed length with no data . 71
Figure 33 – Token DLPDU and send/request DLPDU of fixed length with data . 71
Figure 34 – Send/request DLPDU with variable data field length . 72
Figure 35 – Send/request DLPDU of fixed length with no data . 72
Figure 36 – Token DLPDU and send/request DLPDU of fixed length with data . 73
Figure 37 – Send/request DLPDU with variable data field length . 73
Figure 38 – DL-state-diagram . 75
Figure 39 – Overview of clock synchronization . 81
Figure 40 – Time master state machine . 82
Figure 41 – Time receiver state machine . 83
Figure 42 – Clock synchronization . 84
Figure A.1 – Structuring of the protocol machines . 86
Figure A.2 – Structure of the SRU Machine . 143
Figure B.1 – Example of FCS generation for Type 3 (synchronous) . 160
Figure B.2 – Example of FCS syndrome checking on reception for Type 3
(synchronous) . 160
Figure C.1 – Derivation of the token holding time (T ) . 163
TH
Figure C.2 – No usage of token holding time (T ) . 164
TH
Figure C.3 – Usage of token holding time (T ) for message transfer (equivalence
TH
between T of each Master station) . 165
TH
Figure C.4 – Usage of token holding time (T ) in different working load situations . 167
TH
Table 1 – FCS length, polynomials and constants by Type 3 synchronous . 24
Table 2 – Characteristic features of the fieldbus data-link protocol . 26
---------------------- Page: 7 ----------------------
– 6 – IEC 61158-4-3:2019 © IEC 2019
Table 3 – Transmission function code . 60
Table 4 – FCB, FCV in responder . 62
Table 5 – Operating parameters . 74
Table A.1 – Assignment of state machines . 87
Table A.2 – Data resource . 88
Table A.3 – Primitives issued by DL-User to FLC . 92
Table A.4 – Primitives issued by FLC to DL-User . 92
Table A.5 – Primitives issued by DL-User to DLM . 94
Table A.6 – Primitives issued by DLM to DL-User . 94
Table A.7 – Parameters used with primitives exchanged between DL-User and FLC . 95
Table A.8 – Parameters used with primitives exchanged between DL-User and DLM . 95
Table A.9 – FLC/DLM state table . 96
Table A.10 – FLC / DLM function table . 108
Table A.11 – Primitives issued by DLM to MAC. 115
Table A.12 – Primitives issued by MAC to DLM.
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.