SIST EN 61158-4-22:2015
(Main)Industrial communication networks - Fieldbus specifications - Part 4-22: Data-link layer protocol specification - Type 22 elements (IEC 61158-4-22:2014)
Industrial communication networks - Fieldbus specifications - Part 4-22: Data-link layer protocol specification - Type 22 elements (IEC 61158-4-22:2014)
IEC 61158-4-22: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 second edition cancels and replaces the first edition published in 2010 and constitutes a technical revision. The main changes are:
- Introduction of new topology scan PDUs;
- Bug fix of missing version field in some PDUs;
- Introduction of new Physical Link descriptors.
Industrielle Kommunikationsnetze - Feldbusse - Teil 4-22: Protokollspezifikation des Data Link Layer (Sicherungsschicht) - Typ 22-Elemente (IEC 61158-4-22:2014)
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 4-22: Spécification du protocole de la couche liaison de données - Éléments de type 22 (CEI 61158-4-22:2014)
L'IEC 61158-4-22: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 deuxième édition annule et remplace la première édition, parue en 2010. Elle constitue une révision technique. Les modifications sont:
- Introduction de nouvelles PDU d'analyse topologique;
- Réparation d'erreurs, à savoir ajout du champ Version dans certaines PDU;
- Introduction de nouveaux descripteurs de liaison physique.
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 4-22. del: Specifikacija protokola na ravni podatkovnih povezav - Elementi tipa 22 (IEC 61158-4-22:2014
IEC 61158-4-22: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 druga izdaja razveljavlja in nadomešča prvo izdajo, objavljeno leta 2010, in predstavlja tehnično popravljeno izdajo. Glavne spremembe so:
– Uvedba novih podatkovnih enot protokolov (PDU) skeniranja topologije;
– Odprava napake manjkajoče različice polja v nekaterih podatkovnih enotah protokolov;
– Uvedba novih deskriptorjev fizične povezave.
General Information
Relations
Standards Content (Sample)
SLOVENSKI STANDARD
SIST EN 61158-4-22:2015
01-marec-2015
1DGRPHãþD
SIST EN 61158-4-22:2012
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 4-22. del:
Specifikacija protokola na ravni podatkovnih povezav - Elementi tipa 22 (IEC 61158
-4-22:2014
Industrial communication networks - Fieldbus specifications - Part 4-22: Data-link layer
protocol specification - Type 22 elements (IEC 61158-4-22:2014)
Industrielle Kommunikationsnetze - Feldbusse - Teil 4-22: Protokollspezifikation des
Data Link Layer (Sicherungsschicht) - Typ 22-Elemente (IEC 61158-4-22:2014)
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 4-22:
Spécification du protocole de la couche liaison de données - Éléments de type 22 (CEI
61158-4-22:2014)
Ta slovenski standard je istoveten z: EN 61158-4-22: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-22: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-22:2015
---------------------- Page: 2 ----------------------
SIST EN 61158-4-22:2015
EUROPEAN STANDARD EN 61158-4-22
NORME EUROPÉENNE
EUROPÄISCHE NORM
October 2014
ICS 25.040.40; 35.100.20; 35.110 Supersedes EN 61158-4-22:2012
English Version
Industrial communication networks - Fieldbus specifications -
Part 4-22: Data-link layer protocol specification - Type 22
elements
(IEC 61158-4-22:2014)
Réseaux de communication industriels - Spécifications des Industrielle Kommunikationsnetze - Feldbusse - Teil 4-22:
bus de terrain - Partie 4-22: Spécification du protocole de la Protokollspezifikation des Data Link Layer
couche liaison de données - Éléments de type 22 (Sicherungsschicht) - Typ 22-Elemente
(CEI 61158-4-22:2014) (IEC 61158-4-22: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-22:2014 E
---------------------- Page: 3 ----------------------
SIST EN 61158-4-22:2015
EN 61158-4-22:2014 - 2 -
Foreword
The text of document 65C/762/FDIS, future edition 2 of IEC 61158-4-22, 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-22: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-22: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-22: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 61158-1 NOTE Harmonised as EN 61158-1
IEC 61784-1 NOTE Harmonised as EN 61784-1
IEC 61784-2 NOTE Harmonised as EN 61784-2
---------------------- Page: 4 ----------------------
SIST EN 61158-4-22:2015
- 3 - EN 61158-4-22: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 61158-3-22 2014 Industrial communication networks - EN 61158-3-22 2014
Fieldbus specifications
Part 3-22: Data-link layer service definition -
Type 22 elements
IEC 61588 - Precision clock synchronization protocol for - -
networked measurement and control
systems
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 8802-3 2000 Information technology - - -
Telecommunications and information
exchange between systems - Local and
metropolitan area networks - Specific
requirements
Part 3: Carrier sense multiple access with
collision detection (CSMA/CD) access
method and physical layer specifications
ISO/IEC 10731 - Information technology - Open Systems - -
Interconnection - Basic Reference Model -
Conventions for the definition of OSI
services
IEEE 802.1D - IEEE Standard for local and metropolitan - -
area networks - Media Access Control
(MAC) Bridges
IEEE 802.1Q - IEEE Standard for Local and metropolitan - -
area networks - Media Access Control
(MAC) Bridges and Virtual Bridges
IETF RFC 768 - User Datagram Protocol - -
IETF RFC 791 - Internet Protocol - DARPA Internet Program - -
Protocol Specification
---------------------- Page: 5 ----------------------
SIST EN 61158-4-22:2015
---------------------- Page: 6 ----------------------
SIST EN 61158-4-22:2015
IEC 61158-4-22
®
Edition 2.0 2014-08
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 4-22: Data-link layer protocol specification – Type 22 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 4-22: Spécification du protocole de la couche liaison de données –
Éléments de type 22
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
CODE PRIX XB
ICS 25.040.40; 35.100.20; 35.110 ISBN 978-2-8322-1729-0
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-22:2015
– 2 – IEC 61158-4-22:2014 © IEC 2014
CONTENTS
FOREWORD . 5
INTRODUCTION . 7
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, abbreviations and conventions . 10
3.1 Reference model terms and definitions . 11
3.2 Service convention terms and definitions . 12
3.3 Common terms and definitions . 13
3.4 Additional Type 22 definitions . 14
3.5 Common symbols and abbreviations . 17
3.6 Additional Type 22 symbols and abbreviations . 18
3.7 Conventions . 20
4 Overview of the DL-protocol . 21
4.1 Operating principle . 21
4.2 Communication model . 21
4.3 Topology . 22
4.4 DLPDU processing . 22
4.5 General communication mechanisms . 23
4.6 Gateway . 24
4.7 Interaction models . 24
5 DLPDU structure . 24
5.1 Overview . 24
5.2 Data types and encoding rules . 25
5.3 DLPDU identification . 26
5.4 General DLPDU structure . 27
5.5 Communication management DLPDUs . 29
5.6 Cyclic data channel (CDC) DLPDUs . 37
5.7 Cyclic data channel (CDC) DLPDU data . 38
5.8 Message channel (MSC) DLPDUs . 38
5.9 Message channel DLPDU data - MSC message transfer protocol (MSC-MTP) . 40
5.10 Time synchronization . 43
6 Telegram timing and DLPDU handling . 45
6.1 Communication mechanism . 45
6.2 Device synchronization . 47
7 Type 22 protocol machines . 47
7.1 RTFL device protocol machines. 47
7.2 RTFN device protocol machines . 59
7.3 Message channel – Message transfer protocol (MSC-MTP) . 61
Bibliography . 65
---------------------- Page: 8 ----------------------
SIST EN 61158-4-22:2015
IEC 61158-4-22:2014 © IEC 2014 – 3 –
Figure 1 – DLPDU sequence . 46
Figure 2 – Communication relationship RTFN device . 46
Figure 3 – Overview RTFL device protocol machines . 48
Figure 4 – Protocol machine send DLPDU procedure . 49
Figure 5 – Protocol machine receive DLPDU procedure . 49
Figure 6 – CDCL send cyclic data sequence . 50
Figure 7 – CDCL receive cyclic data sequence . 51
Figure 8 – MSCL send sequence . 52
Figure 9 – MSCL receive sequence . 53
Figure 10 – Network management protocol machine . 54
Figure 11 – Net management sequence at system boot up . 55
Figure 12 – Initialization sequence ordinary device . 56
Figure 13 – PCS configuration sequence . 57
Figure 14 – Delay measurement principle . 58
Figure 15 – Overview RTFN device protocol machines . 59
Figure 16 – CDCN connection setup and release . 60
Figure 17 – CDCN unpulish data . 61
Figure 18 – Segmentation sequence . 62
Figure 19 – Expedited transfer sequence . 62
Figure 20 – Toggling from expedited transfer to segmented transfer . 63
Figure 21 – Segmentation sequence for broad- or multicast message without
Acknowledgement . 64
Table 1 – DLPDU element definition . 20
Table 2 – Conventions for protocol machine description . 21
Table 3 – Transfer syntax for bit sequences . 25
Table 4 – Transfer syntax for data type Unsignedn . 26
Table 5 – Transfer syntax for data type Signedn . 26
Table 6 – Type 22 DLPDU inside an ISO/IEC 8802-3 . 27
Table 7 – Type 22 DLPDU inside a VLAN tagged ISO/IEC 8802-3 DLPDU . 27
Table 8 – Type 22 DLPDU inside an UDP DLPDU. 28
Table 9 – General structure of a Type 22 DLPDU . 28
Table 10 – DLPDU header structure . 29
Table 11 – Network verification prepare DLPDU . 29
Table 12 – Network verification environment DLPDU . 29
Table 13 – Network verification information DLPDU . 29
Table 14 – Network verification acknowledgement DLPDU. 30
Table 15 – RTFN scan network request DLPDU . 30
Table 16 – RTFN scan network response DLPDU . 30
Table 17 – Identification data . 30
Table 18 – Identification data v2 . 31
Table 19 – PhyLinkPortX . 32
Table 20 – RTF support . 33
---------------------- Page: 9 ----------------------
SIST EN 61158-4-22:2015
– 4 – IEC 61158-4-22:2014 © IEC 2014
Table 21 – RTF2 support . 33
Table 22 – UseDHCP . 34
Table 23 – DeviceRole . 34
Table 24 – RTFN connection management DLPDU . 35
Table 25 – CDCN connection still alive DLPDU . 35
Table 26 – ID data . 35
Table 27 – RTFL control DLPDU . 35
Table 28 – RTFL configuration DLPDU . 36
Table 29 – RTFL configuration acknowledgement DLPDU . 36
Table 30 – RTFL configuration 2 DLPDU . 37
Table 31 – RTFL configuration acknowledgement 2 DLPDU . 37
Table 32 – CDCL DLPDU . 37
Table 33 – CDCN DLPDU . 38
Table 34 – CDC DLPDU data arrangement . 38
Table 35 – CDC DLPDU data . 38
Table 36 – MSCL DLPDU . 39
Table 37 – MSCL control . 39
Table 38 – MSCN DLPDU . 40
Table 39 – MSC-MTP frame structure . 40
Table 40 – Address type . 41
Table 41 – MSC-MTP Init structure . 41
Table 42 – MSC-MTP Init_Fast structure . 42
Table 43 – MSC-MTP Send structure . 42
Table 44 – MSC-MTP Acknowledgement structure . 42
Table 45 – MSC-MTP Abort structure. 43
Table 46 – Data structure of a message . 43
Table 47 – DelayMeasurement start encoding . 43
Table 48 – DelayMeasurement read encoding. 44
Table 49 – PCS configuration encoding . 44
Table 50 – Time synchronization service request . 44
Table 51 – Time synchronization service response . 44
---------------------- Page: 10 ----------------------
SIST EN 61158-4-22:2015
IEC 61158-4-22:2014 © IEC 2014 – 5 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 4-22: Data-link layer protocol specification –
Type 22 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.
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-22 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 2010. This edition
constitutes a technical revision.
This edition includes the following technical changes with respect to the previous edition.
• Introduction of new topology scan PDUs.
---------------------- Page: 11 ----------------------
SIST EN 61158-4-22:2015
– 6 – IEC 61158-4-22:2014 © IEC 2014
• Bug fix of missing version field in some PDUs.
• Introduction of new Physical Link descriptors.
The text of this standard is based on the following documents:
FDIS Report on voting
65C/762/FDIS 65C/772/RVD
Full information on the voting for the approval of this 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://webstore.iec.ch" in the data
related to the specific publication. At this date, the publication will be
• reconfirmed,
• withdrawn,
• replaced by a revised edition, or
• amended.
---------------------- Page: 12 ----------------------
SIST EN 61158-4-22:2015
IEC 61158-4-22:2014 © IEC 2014 – 7 –
INTRODUCTION
This part of IEC 61158 is one of a series produced to facilitate the interconnection of
automation system components. It is related to other standards in the set as defined by the
“three-layer” fieldbus reference model described in IEC 61158-1.
The data-link protocol provides the data-link service by making use of the services available
from the physical layer. The primary aim of this standard is to provide a set of rules for
communication expressed in terms of the procedures to be carried out by peer data-link
entities (DLEs) at the time of communication. These rules for communication are intended to
provide a sound basis for development in order to serve a variety of purposes:
a) as a guide for implementers and designers;
b) for use in the testing and procurement of equipment;
c) as part of an agreement for the admittance of systems into the open systems environment;
d) as a refinement to the understanding of time-critical communications within OSI.
This standard is concerned, in particular, with the communication and interworking of sensors,
effectors and other automation devices. By using this standard together with other standards
positioned within the OSI or fieldbus reference models, otherwise incompatible systems may
work together in any combination.
NOTE Use of some of the associated protocol types is restricted by their intellectual-property-right holders. In all
cases, the commitment to limited release of intellectual-property-r
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.