IEC 61158-4-21:2019

Industrial communication networks - Fieldbus specifications - Part 4-21: Data-link layer protocol specification - Type 21 elements

IEC 61158-4-21:2019

Name:IEC 61158-4-21:2019   Standard name:Industrial communication networks - Fieldbus specifications - Part 4-21: Data-link layer protocol specification - Type 21 elements
Standard number:IEC 61158-4-21:2019   language:English language
Release Date:09-Apr-2019   technical committee:SC 65C - Industrial networks
Drafting committee:WG 9 - TC 65/SC 65C/WG 9   ICS number:25.040.40 - Industrial process measurement and control

IEC 61158-4-21
Edition 2.0 2019-04
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 4-21: Data-link layer protocol specification – Type 21 elements





your local IEC member National Committee for further information.

IEC Central Office Tel.: +41 22 919 02 11
3, rue de
CH-1211 Geneva 20
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

.
IEC 61158-4-21
Edition 2.0 2019-04
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –

Part 4-21: Data-link layer protocol specification – Type 21 elements

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 25.040.40; 35.100.20; 35.110 ISBN 978-2-8322-6777-6

– 2 – IEC 61158-4-21: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 . 10
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 21 definitions . 17
3.5 Common symbols and abbreviations . 17
3.6 Additional Type 21 symbols and abbreviations . 18
4 Overview of the data-link protocol . 19
4.1 General . 19
4.2 Overview of medium access control . 19
4.3 Service assumed from the physical layer . 19
4.4 DLL architecture . 20
4.4.1 General . 20
4.4.2 DLL management (DLM) interface support function . 21
4.5 Data type . 22
4.5.1 General . 22
4.5.2 Boolean . 22
4.5.3 Unsigned integer . 22
4.5.4 Signed integer . 23
4.5.5 Octet String . 23
4.5.6 Visible String . 23
4.5.7 Time of day . 24
4.6 Local parameters and variables . 24
4.6.1 General . 24
4.6.2 DLE configuration parameters . 24
4.6.3 Queues to support data transfer . 25
4.6.4 Variables to support SAP management . 26
4.6.5 Variables to support local device information management . 27
4.6.6 Variables and counter to support network information management . 31
4.6.7 Variables and counter to support a device path information
management . 35
4.6.8 Variables, counters, timers, and queues to support path table
management . 39
5 General structure and encoding . 39
5.1 Overview . 39
5.2 MAPDU structure and encoding . 39
5.3 Common MAC frame structure, encoding and elements of procedure . 40
5.3.1 MAC frame structure . 40

5.3.2 Elements of the MAC frame . 40
5.3.3 Elements of the Type 21 DLPDU . 41
5.4 Order of bit transmission . 49
5.5 Invalid DLPDU . 49
6 DLPDU structure and procedure . 49
6.1 General . 49
6.2 Common DLPDU Field . 49
6.2.1 General . 49
6.2.2 Version . 50
6.2.3 Length . 50
6.3 DL-DATA Transfer . 50
6.3.1 DT DLPDU . 50
6.4 DL-SPDATA Transfer . 53
6.4.1 SPDT DLPDU . 53
6.5 Network control messages . 54
6.5.1 General . 54
6.5.2 NCM_LA DLPDU . 54
6.5.3 NCM_AT DLPDU . 56
6.5.4 NCM_LS DLPDU . 57
6.5.5 NCM_RS DLPDU . 58
6.5.6 NCM_AR_DLPDU . 59
6.5.7 NCM_AR DLPDU structure . 59
7 DLE elements of procedure . 60
7.1 Overall structure . 60
7.2 DL-protocol machine (DLPM) . 61
7.2.1 Overview . 61
7.2.2 Primitive definitions . 61
7.2.3 DLPM state table . 64
7.2.4 DLPM functions . 68
7.3 DLL management Protocol . 69
7.3.1 Overview . 69
7.3.2 Primitive definitions . 69
7.3.3 DLM state table . 72
7.3.4 DLM functions . 96
8 Constants and error codes . 105
8.1 General . 105
8.2 Constants . 106
8.3 Data-link layer error codes . 107
Bibliography . 108

Figure 1 – Interaction of PhS primitives with DLE . 20
Figure 2 – Data-link layer architecture . 21
Figure 3 – Relationships of DLSAPs, DLSAP-addresses, and group DL-addresses . 26
Figure 4 – Common MAC frame format for Type 21 DLPDU . 40
Figure 5 – MAC frame format for other protocols . 40
Figure 6 – Version and Length field . 41
Figure 7 – DST_addr field . 42

– 4 – IEC 61158-4-21:2019 © IEC 2019
Figure 8 – SRC_addr field. 43
Figure 9 – Frame Control Field . 43
Figure 10 – Extension field .
...

  • Relates Information
  • ISO 8130-9:1992

    ISO 8130-9:1992 - Coating powders
    09-28
  • EN 352-2:2020/FprA1

    EN 352-2:2021/oprA1:2023
    09-28
  • IEC TS 61158-4:1999

    IEC TS 61158-4:1999 - Digital data communications for measurement and control - Fieldbus for use in industrial control systems - Part 4: Data Link protocol specification Released:3/24/1999 Isbn:2831847656
    09-28
  • HD 566 S1:1990

    HD 566 S1:1998
    09-28
  • ISO 5131:1982/Amd 1:1992

    ISO 5131:1982/Amd 1:1992
    09-28
  • EN 60598-2-22:1990

    EN 60598-2-22:1996
    09-27
  • ISO 8504-2:1992

    ISO 8504-2:1992 - Preparation of steel substrates before application of paints and related products -- Surface preparation methods
    09-27
  • EN 12165:2024

    prEN 12165:2022
    09-27
  • IEC TS 61158-6:1999

    IEC TS 61158-6:1999 - Digital data communications for measurement and control - Fieldbus for use in industrial control systems - Part 6: Application Layer protocol specification Released:3/24/1999 Isbn:2831847613
    09-27
  • ISO 4252:1992

    ISO 4252:1992 - Agricultural tractors -- Operator's workplace, access and exit -- Dimensions
    09-27