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.

Industrielle Kommunikationsnetze - Feldbusse - Teil 4-3: Protokollspezifikation des Data-Link Layer (Sicherungsschicht) - Typ 3-Elemente

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.

Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 4-3. del: Specifikacija protokola na ravni podatkovnih povezav - Elementi tipa 3 (IEC 61158-4-3:2019)

Nivo podatkovnih povezav omogoča osnovne časovno kritične sporočilne komunikacije med napravami v avtomatizacijskem okolju. Ta protokol omogoča komunikacijske priložnosti za predhodno izbrano »glavno« podmnožico entitet podatkovnih povezav na cikličen asinhroni način, zaporedno za vsako izmed teh entitet podatkovnih povezav. Druge entitete komunicirajo samo na način, ki ga dovolijo in določijo glavne entitete podatkovnih povezav. Za določeno glavno entiteto je lahko njena komunikacija z drugimi entitetami podatkovnih povezav ciklična ali aciklična s prednostnim dostopom ali kombinacija obeh. Ta protokol omogoča sredstvo za razdeljevanje razpoložljivih komunikacijskih virov na pošten način. V njem so določila za časovno sinhronizacijo in za izohrono delovanje.

General Information

Status
Published
Publication Date
20-Jun-2019
Technical Committee
Drafting Committee
Current Stage
6060 - Document made available
Due Date
10-Mar-2022

RELATIONS

Buy Standard

Standard
EN IEC 61158-4-3:2019
English language
173 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (sample)

SLOVENSKI STANDARD
SIST EN IEC 61158-4-3:2019
01-november-2019
Nadomešča:
SIST EN 61158-4-3:2015

Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 4-3. del:

Specifikacija protokola na ravni podatkovnih povezav - Elementi tipa 3 (IEC 61158-

4-3:2019)

Industrial communication networks - Fieldbus specifications - Part 4-3: Data-link layer

protocol specification - Type 3 elements (IEC 61158-4-3:2019)

Industrielle Kommunikationsnetze - Feldbusse - Teil 4-3: Protokollspezifikation des Data

Link Layer (Sicherungsschicht) - Typ 3-Elemente (IEC 61158-4-3:2019)

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)
Ta slovenski standard je istoveten z: EN IEC 61158-4-3:2019
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 IEC 61158-4-3:2019 en,fr,de

2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

---------------------- Page: 1 ----------------------
SIST EN IEC 61158-4-3:2019
---------------------- Page: 2 ----------------------
SIST EN IEC 61158-4-3:2019
EUROPEAN STANDARD EN IEC 61158-4-3
NORME EUROPÉENNE
EUROPÄISCHE NORM
June 2019
Supersedes EN 61158-4-3:2014
ICS 25.040.40; 35.100.20; 35.110
English Version
Industrial communication networks - Fieldbus specifications -
Part 4-3: Data-link layer protocol specification - Type 3 elements
(IEC 61158-4-3:2019)

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

(IEC 61158-4-3:2019) (IEC 61158-4-3:2019)

This European Standard was approved by CENELEC on 2019-05-23. 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, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the

Netherlands, Norway, Poland, Portugal, Republic of North Macedonia, Romania, Serbia, 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: Rue de la Science 23, B-1040 Brussels

© 2019 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members.

Ref. No. EN IEC 61158-4-3:2019 E
---------------------- Page: 3 ----------------------
SIST EN IEC 61158-4-3:2019
EN IEC 61158-4-3:2019 (E)
European foreword

The text of document 65C/946/FDIS, future edition 4 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 IEC 61158-4-3:2019.

The following dates are fixed:

• latest date by which the document has to be implemented at national (dop) 2020-02-23

level by publication of an identical national standard or by endorsement

• latest date by which the national standards conflicting with the (dow) 2022-05-23

document have to be withdrawn
This document supersedes EN 61158-4-3:2014.

Attention is drawn to the possibility that some of the elements of this document may be the subject of

patent rights. CENELEC shall not be held responsible for identifying any or all such patent rights.

Endorsement notice

The text of the International Standard IEC 61158-4-3:2019 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 Harmonized as EN 60870-5-1
IEC 61158-1 NOTE Harmonized as EN 61158-1
IEC 61158-5-3 NOTE Harmonized as EN 61158-5-3
IEC 61158-6-3 NOTE Harmonized as EN 61158-6-3
IEC 61784-1 NOTE Harmonized as EN 61784-1
IEC 61784-2 NOTE Harmonized as EN 61784-2
---------------------- Page: 4 ----------------------
SIST EN IEC 61158-4-3:2019
EN IEC 61158-4-3:2019 (E)
Annex ZA
(normative)
Normative references to international publications
with their corresponding European publications

The following documents are referred to in the text in such a way that some or all of their content

constitutes requirements of this document. For dated references, only the edition cited applies. For

undated references, the latest edition of the referenced document (including any amendments)

applies.

NOTE 1 Where 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 - Part 3: EN 61131-3 -
Programming languages
IEC 61158-2 2014 Industrial communication networks - EN 61158-2 2014
Fieldbus specifications - Part 2: Physical
layer specification and service definition
IEC 61158-3-3 2014 Industrial communication networks - EN 61158-3-3 2014
Fieldbus specifications - Part 3-3: Data-link
layer service definition - Type 3 elements
ISO 1177 - Information processing - Character - -
structure for start/stop and synchronous
character oriented transmission
ISO/IEC 646 - Information technology - ISO 7-bit coded - -
character set for information interchange
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
---------------------- Page: 5 ----------------------
SIST EN IEC 61158-4-3:2019
---------------------- Page: 6 ----------------------
SIST EN IEC 61158-4-3:2019
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: 7 ----------------------
SIST EN IEC 61158-4-3:2019
– 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: 8 ----------------------
SIST EN IEC 61158-4-3:2019
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: 9 ----------------------
SIST EN IEC 61158-4-3:2019
– 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: 10 ----------------------
SIST EN IEC 61158-4-3:2019
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

Figure C.2 – No usage of token holding time (T ) ............................................................. 164

Figure C.3 – Usage of token holding time (T ) for message transfer (equivalence

between T of each Master station) .................................................................................. 165

Figure C.4 – Usage of token holding time (T ) in different working load situations ........... 167

Table 1 – FCS length, polynomials and constants by Type 3 synchronous ............................ 24

Table 2 – Characteristic features of the fieldbus data-link protocol ........................................ 26

---------------------- Page: 11 ----------------------
SIST EN IEC 61158-4-3:2019
– 6 – IEC 61158-4-3:2019 © IEC 2019
Tab
...

Questions, Comments and Discussion

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