SIST EN 61158-4-3:2015
(Main)Industrial communication networks - Fieldbus specifications - Part 4-3: Data-link layer protocol specification - Type 3 elements (IEC 61158-4-3:2014)
Industrial communication networks - Fieldbus specifications - Part 4-3: Data-link layer protocol specification - Type 3 elements (IEC 61158-4-3:2014)
IEC 61158-4-3:2014 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 third edition cancels and replaces the second edition published in 2010 and constitutes a technical revision. The main changes are:
- Corrections in Table A.15 and Table A.16;
- Expired patent removed and added new patents.
Industrielle Kommunikationsnetze - Feldbusse - Teil 4-3: Protokollspezifikation des Data Link Layer (Sicherungsschicht) - Typ 3-Elemente (IEC 61158-4-3:2014)
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 (CEI 61158-4-3:2014)
L'IEC 61158-4-3:2014 spécifie les procédures pour le transfert en temps utile de données et d'informations de commande d'une entité d'utilisateur de liaison de données vers une entité d'utilisateur homologue, et parmi les entités de liaison de données formant le fournisseur de service de liaison de données distribué et la structure des DLPDU du bus de terrain utilisée pour le transfert de données et d'informations de commande par le protocole de la présente norme, et leur représentation comme unités de données d'interface physique. Cette troisième édition annule et remplace la deuxième édition, parue en 2010. Elle constitue une révision technique. Les modification sont:
- Des corrections ont été apportées au Tableau A.15 et au Tableau A.16;
- Les brevets qui ont expiré ont été retirés et de nouveaux brevets ont été ajoutés.
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 4-3. del: Specifikacija protokola na ravni podatkovnih povezav - Elementi tipa 3 (IEC 61158-4-3:2014)
IEC 61158-4-3:2014 določa postopke za pravočasni prenos podatkov in informacij o nadzoru od enega uporabniškega osebka podatkovne povezave do uporabniškega osebka vrstnika in med osebki podatkovne povezave, ki tvorijo ponudnika storitev porazdeljenih podatkovnih povezav, ter strukturo DLPDU-jev za procesna vodila, ki se uporabljajo za prenos podatkov in informacij o nadzoru s protokolom tega standarda, in njihovo zastopanost kot fizični vmesnik podatkovnih enot. Ta tretja izdaja razveljavlja in nadomešča drugo izdajo, objavljeno leta 2010, in predstavlja tehnično popravljeno izdajo. Glavne spremembe so:
– Popravki v preglednici A.15 in preglednici A.16;
– Odstranjen potekli patent in dodani novi patenti.
General Information
Relations
Standards Content (Sample)
SLOVENSKI STANDARD
SIST EN 61158-4-3:2015
01-marec-2015
1DGRPHãþD
SIST EN 61158-4-3:2012
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 4-3. del:
Specifikacija protokola na ravni podatkovnih povezav - Elementi tipa 3 (IEC 61158-
4-3:2014)
Industrial communication networks - Fieldbus specifications - Part 4-3: Data-link layer
protocol specification - Type 3 elements (IEC 61158-4-3:2014)
Industrielle Kommunikationsnetze - Feldbusse - Teil 4-3: Protokollspezifikation des Data
Link Layer (Sicherungsschicht) - Typ 3-Elemente (IEC 61158-4-3:2014)
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 (CEI
61158-4-3:2014)
Ta slovenski standard je istoveten z: EN 61158-4-3:2014
ICS:
25.040.40 Merjenje in krmiljenje Industrial process
industrijskih postopkov measurement and control
35.100.20 Podatkovni povezovalni sloj Data link layer
35.110 Omreževanje Networking
SIST EN 61158-4-3:2015 en,fr,de
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
---------------------- Page: 1 ----------------------
SIST EN 61158-4-3:2015
---------------------- Page: 2 ----------------------
SIST EN 61158-4-3:2015
EUROPEAN STANDARD EN 61158-4-3
NORME EUROPÉENNE
EUROPÄISCHE NORM
October 2014
ICS 25.040.40; 35.100.20; 35.110 Supersedes EN 61158-4-3:2012
English Version
Industrial communication networks - Fieldbus specifications -
Part 4-3: Data-link layer protocol specification - Type 3 elements
(IEC 61158-4-3:2014)
Réseaux de communication industriels - Spécifications des Industrielle Kommunikationsnetze - Feldbusse - Teil 4-3:
bus de terrain - Partie 4-3: Spécification du protocole de la Protokollspezifikation des Data Link Layer
couche liaison de données - Éléments de type 3 (Sicherungsschicht) - Typ 3-Elemente
(CEI 61158-4-3:2014) (IEC 61158-4-3:2014)
This European Standard was approved by CENELEC on 2014-09-19. CENELEC members are bound to comply with the CEN/CENELEC
Internal Regulations which stipulate the conditions for giving this European Standard the status of a national standard without any alteration.
Up-to-date lists and bibliographical references concerning such national standards may be obtained on application to the CEN-CENELEC
Management Centre or to any CENELEC member.
This European Standard exists in three official versions (English, French, German). A version in any other language made by translation
under the responsibility of a CENELEC member into its own language and notified to the CEN-CENELEC Management Centre has the
same status as the official versions.
CENELEC members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Croatia, Cyprus, the Czech Republic,
Denmark, Estonia, Finland, Former Yugoslav Republic of Macedonia, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia,
Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland,
Turkey and the United Kingdom.
European Committee for Electrotechnical Standardization
Comité Européen de Normalisation Electrotechnique
Europäisches Komitee für Elektrotechnische Normung
CEN-CENELEC Management Centre: Avenue Marnix 17, B-1000 Brussels
© 2014 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members.
Ref. No. EN 61158-4-3:2014 E
---------------------- Page: 3 ----------------------
SIST EN 61158-4-3:2015
EN 61158-4-3:2014 - 2 -
Foreword
The text of document 65C/762/FDIS, future edition 3 of IEC 61158-4-3, prepared by SC 65C
“Industrial networks” of IEC/TC 65 “Industrial-process measurement, control and automation" was
submitted to the IEC-CENELEC parallel vote and approved by CENELEC as EN 61158-4-3:2014.
The following dates are fixed:
• latest date by which the document has (dop) 2015-06-19
to be implemented at national level by
publication of an identical national
standard or by endorsement
(dow) 2017-09-19
• latest date by which the national
standards conflicting with the
document have to be withdrawn
This document supersedes EN 61158-4-3:2012
Attention is drawn to the possibility that some of the elements of this document may be the subject of
patent rights. CENELEC [and/or CEN] shall not be held responsible for identifying any or all such
patent rights.
This document has been prepared under a mandate given to CENELEC by the European Commission
and the European Free Trade Association.
Endorsement notice
The text of the International Standard IEC 61158-4-3:2014 was approved by CENELEC as a
European Standard without any modification.
In the official version, for bibliography, the following notes have to be added for the standards indicated:
IEC 60870-5-1 NOTE Harmonised as EN 60870-5-1
IEC 61158-1 NOTE Harmonised as EN 61158-1
IEC 61158-5-3 NOTE Harmonised as EN 61158-5-3
IEC 61158-6-3 NOTE Harmonised as EN 61158-6-3
IEC 61784-1 NOTE Harmonised as EN 61784-1
IEC 61784-2 NOTE Harmonised as EN 61784-2
---------------------- Page: 4 ----------------------
SIST EN 61158-4-3:2015
- 3 - EN 61158-4-3:2014
Annex ZA
(normative)
Normative references to international publications
with their corresponding European publications
The following documents, in whole or in part, are normatively referenced in this document and are
indispensable for its application. For dated references, only the edition cited applies. For undated
references, the latest edition of the referenced document (including any amendments) applies.
NOTE 1 When an International Publication has been modified by common modifications, indicated by (mod), the relevant
EN/HD applies.
NOTE 2 Up-to-date information on the latest versions of the European Standards listed in this annex is available here:
www.cenelec.eu.
Publication Year Title EN/HD Year
IEC 61131-3 - Programmable controllers EN 61131-3 -
Part 3: Programming languages
IEC 61158-2 2014 Industrial communication networks - Fieldbus EN 61158-2 2014
specifications
Part 2: Physical layer specification and service
definition
IEC 61158-3-3 - Industrial communication networks - Fieldbus EN 61158-3-3 -
specifications
Part 3-3: Data-link layer service definition -
Type 3 elements
ISO/IEC 2022 - Information technology - Character code - -
structure and extension techniques
ISO/IEC 7498-1 - Information technology - Open Systems - -
Interconnection - Basic reference model: The
basic model
ISO/IEC 7498-3 - Information technology - Open Systems - -
Interconnection - Basic reference model:
Naming and addressing
ISO/IEC 10731 - Information technology - Open Systems - -
Interconnection - Basic Reference Model -
Conventions for the definition of OSI services
ISO 1177 - Information processing - Character structure - -
for start/stop and synchronous character-
oriented transmission
---------------------- Page: 5 ----------------------
SIST EN 61158-4-3:2015
---------------------- Page: 6 ----------------------
SIST EN 61158-4-3:2015
IEC 61158-4-3
®
Edition 3.0 2014-08
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
PRICE CODE
INTERNATIONALE
CODE PRIX XH
ICS 25.04.40; 35.100.20; 35.110 ISBN 978-2-8322-1721-4
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: 7 ----------------------
SIST EN 61158-4-3:2015
– 2 – IEC 61158-4-3:2014 © IEC 2014
CONTENTS
FOREWORD . 6
INTRODUCTION . 8
1 Scope . 9
1.1 General . 9
1.2 Specifications . 9
1.3 Procedures . 9
1.4 Applicability . 9
1.5 Conformance . 10
2 Normative references . 10
3 Terms, definitions, symbols and abbreviations . 10
3.1 Reference model terms and definitions . 10
3.2 Service convention terms and definitions . 12
3.3 Common terms and definitions . 13
3.4 Additional Type 3 definitions. 15
3.5 Common symbols and abbreviations . 17
3.6 Type 3 symbols and abbreviations . 18
4 Common DL-protocol elements . 22
4.1 Frame check sequence . 22
5 Overview of the DL-protocol . 25
5.1 General . 25
5.2 Overview of the medium access control and transmission protocol . 25
5.3 Transmission modes and DL-entity . 26
5.4 Service assumed from the PhL . 31
5.5 Operational elements . 35
5.6 Cycle and system reaction times . 50
6 General structure and encoding of DLPDUs, and related elements of procedure . 53
6.1 DLPDU granularity . 53
6.2 Length octet (LE, LEr) . 54
6.3 Address octet . 54
6.4 Control octet (FC) . 57
6.5 DLPDU content error detection . 61
6.6 DATA_UNIT . 61
6.7 Error control procedures . 62
7 DLPDU-specific structure, encoding and elements of procedure . 63
7.1 DLPDUs of fixed length with no data field . 63
7.2 DLPDUs of fixed length with data field . 65
7.3 DLPDUs with variable data field length . 67
7.4 Token DLPDU . 68
7.5 ASP DLPDU . 69
7.6 SYNCH DLPDU . 69
7.7 Time Event (TE) DLPDU . 69
7.8 Clock Value (CV) DLPDU . 70
7.9 Transmission procedures . 70
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
---------------------- Page: 8 ----------------------
SIST EN 61158-4-3:2015
IEC 61158-4-3:2014 © IEC 2014 – 3 –
8.3 Clock synchronization protocol . 80
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 . 115
A.6 SRU . 141
A.6.1 Overview . 141
A.6.2 Character send SM(CTX) . 142
A.6.3 Character receive SM (CRX) . 143
A.6.4 Timer-SM (TIM) . 143
A.6.5 Primitive definition of SRC . 144
A.6.6 State machine description . 145
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 . 14
Figure 2 – Logical token-passing ring . 28
Figure 3 – PhL data service for asynchronous transmission . 32
Figure 4 – Idle time T . 37
ID1
Figure 5 – Idle time T (SDN, CS) . 38
ID2
Figure 6 – Idle time T (MSRD) . 38
ID2
Figure 7 – Slot time T . 39
SL1
Figure 8 – Slot time T . 39
SL2
Figure 9 – Slot time T . 44
SL1
Figure 10 – Slot time T . 44
SL2
Figure 11 – Token transfer period . 50
Figure 12 – Message transfer period . 51
Figure 13 – UART character . 53
Figure 14 – Octet structure . 54
Figure 15 – Length octet coding . 54
Figure 16 – Address octet coding . 55
Figure 17 – DAE/SAE octet in the DLPDU . 56
Figure 18 – Address extension octet . 56
Figure 19 – FC octet coding for send/request DLPDUs . 58
Figure 20 – FC octet coding for acknowledgement or response DLPDUs . 58
---------------------- Page: 9 ----------------------
SIST EN 61158-4-3:2015
– 4 – IEC 61158-4-3:2014 © IEC 2014
Figure 21 – FCS octet coding. 61
Figure 22 – Data field . 62
Figure 23 – Ident user data . 62
Figure 24 – DLPDUs of fixed length with no data field . 64
Figure 25 – DLPDUs of fixed length with no data field . 65
Figure 26 – DLPDUs of fixed length with data field . 66
Figure 27 – DLPDUs of fixed length with data field . 66
Figure 28 – DLPDUs with variable data field length . 67
Figure 29 – DLPDUs with variable data field length . 68
Figure 30 – Token DLPDU . 68
Figure 31 – Token DLPDU . 69
Figure 32 – Send/request DLPDU of fixed length with no data . 70
Figure 33 – Token DLPDU and send/request DLPDU of fixed length with data . 71
Figure 34 – Send/request DLPDU with variable data field length . 71
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 . 72
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 . 142
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 . 23
Table 2 – Characteristic features of the fieldbus data-link protocol . 25
Table 3 – Transmission function code . 59
Table 4 – FCB, FCV in responder . 60
Table 5 – Operating parameters . 73
Table A.1 – Assignment of state machines . 87
Table A.2 – Data resource . 88
Table A.3 – Primitives issued by DL-User to FLC . 91
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
---------------------- Page: 10 ----------------------
SIST EN 61158-4-3:2015
IEC 61158-4-3:2014 © IEC 2014 – 5 –
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 . 137
Table A.17 – Primitives issued by DLM to SRC . 144
Table A.18 – Primitives issued by SRC to DLM . 144
Table A.19 – Primitives issued by MAC to SRC. 144
Table A.20 – Primitives issued by SRC to MAC. 145
Table A.21 – Parameters used with primitives exchanged between MAC and SRC . 145
Table A.22 – FC structure . 145
Table A.23 – Local variables of SRC . 146
Table A.24 – SRC state table . 147
Table A.25 – SRC functions . 159
---------------------- Page: 11 ----------------------
SIST EN 61158-4-3:2015
– 6 – IEC 61158-4-3:2014 © IEC 2014
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 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
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.