Industrial communication networks - Fielbus specifications - Part 4-22: Data-link layer protocol specification - Type 22 elements

IEC 61158-4-22:2010 describes 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; 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 standard cancels and replaces IEC/PAS 61158-4-22 published in 2009. This bilingual version published in 2012-01 corresponds to the English version published in 2010-08.

Réseaux de communication industriels - Spécifications des bus de terrain - Partie 4-22: Spécification du protocole de la couche de liaison de données - Eléments de Type 22

La CEI 61158-4-22:2010 spécifie les procédures de transfert en temps opportun des données et des informations de commande entre une entité utilisateur de liaison de données et une entité utilisateur homologue, et parmi les entités de liaison de données formant le fournisseur de services distribués de liaison de données; la structure des DLPDU de bus de terrain utilisées par le protocole de la présente norme pour le transfert des données et des informations de commande, et leur représentation sous forme d'unités de données d'interface physique. La présente norme annule et remplace la CEI/PAS 61158-4-22 publiée en 2009. La présente version bilingue publiée en 2012-01 correspond à la version anglaise monolingue publiée en 2010-08.

General Information

Status
Published
Publication Date
04-Aug-2010
Technical Committee
Drafting Committee
Current Stage
DELPUB - Deleted Publication
Completion Date
15-Aug-2014
Ref Project

Relations

Buy Standard

Standard
IEC 61158-4-22:2010 - Industrial communication networks - Fielbus specifications - Part 4-22: Data-link layer protocol specification - Type 22 elements Released:8/5/2010
English language
63 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 61158-4-22:2010 - Industrial communication networks - Fielbus specifications - Part 4-22: Data-link layer protocol specification - Type 22 elements Released:8/5/2010
English and French language
127 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

IEC 61158-4-22
®
Edition 1.0 2010-08
INTERNATIONAL
STANDARD


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



IEC 61158-4-22:2010(E)

---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2010 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
3, rue de Varembé
CH-1211 Geneva 20
Switzerland
Email: inmail@iec.ch
Web: www.iec.ch

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 corrigenda or an amendment might have been published.
ƒ Catalogue of IEC publications: www.iec.ch/searchpub
The IEC on-line Catalogue enables you to search by a variety of criteria (reference number, text, technical committee,…).
It also gives information on projects, withdrawn and replaced publications.
ƒ IEC Just Published: www.iec.ch/online_news/justpub
Stay up to date on all new IEC publications. Just Published details twice a month all new publications released. Available
on-line and also by email.
ƒ Electropedia: www.electropedia.org
The world's leading online dictionary of electronic and electrical terms containing more than 20 000 terms and definitions
in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical
Vocabulary online.
ƒ Customer Service Centre: www.iec.ch/webstore/custserv
If you wish to give us your feedback on this publication or need further assistance, please visit the Customer Service
Centre FAQ or contact us:
Email: csc@iec.ch
Tel.: +41 22 919 02 11
Fax: +41 22 919 03 00

---------------------- Page: 2 ----------------------
IEC 61158-4-22
®
Edition 1.0 2010-08
INTERNATIONAL
STANDARD


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


INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XB
ICS 25.04.40; 35.100.20; 35.110 ISBN 978-2-88912-093-2
® Registered trademark of the International Electrotechnical Commission

---------------------- Page: 3 ----------------------
– 2 – 61158-4-22 © IEC:2010(E)
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.10
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 .34
5.7 Cyclic data channel (CDC) DLPDU data .35
5.8 Message channel (MSC) DLPDUs .36
5.9 Message channel DLPDU data - MSC message transfer protocol (MSC-MTP).37
5.10 Time synchronization .41
6 Telegram timing and DLPDU handling .42
6.1 Communication mechanism.42
6.2 Device synchronization.44
7 Type 22 protocol machines.45
7.1 RTFL device protocol machines.45
7.2 RTFN device protocol machines .57
7.3 Message channel - message transfer protocol (MSC-MTP) .59
Bibliography.63

---------------------- Page: 4 ----------------------
61158-4-22 © IEC:2010(E) – 3 –
Figure 1 – DLPDU sequence.43
Figure 2 – Communication relationship RTFN device .44
Figure 3 – Overview RTFL device protocol machines.45
Figure 4 – Protocol machine send DLPDU procedure.46
Figure 5 – Protocol machine receive DLPDU procedure.47
Figure 6 – CDCL send cyclic data sequence .48
Figure 7 – CDCL receive cyclic data sequence .49
Figure 8 – MSCL send sequence .50
Figure 9 – MSCL receive sequence .51
Figure 10 – Network management protocol machine .52
Figure 11 – Net management sequence at system boot up .53
Figure 12 – Initialization sequence ordinary device .54
Figure 13 – PCS configuration sequence .55
Figure 14 – Delay measurement principle .56
Figure 15 – Overview RTFN device protocol machines .57
Figure 16 – CDCN connection setup and release .58
Figure 17 – CDCN unpulish data.59
Figure 18 – Segmentation sequence .60
Figure 19 – Expedited transfer sequence.60
Figure 20 – Toggling from expedited transfer to segmented transfer .61
Figure 21 – Segmentation sequence for broad- or multicast message without
Acknowledgement.62

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 read request DLPDU.30
Table 16 – RTFN scan network read response DLPDU .30
Table 17 – Identification data.30
Table 18 – PhyLinkPortX .31
Table 19 – RTF support .31
Table 20 – UseDHCP.32

---------------------- Page: 5 ----------------------
– 4 – 61158-4-22 © IEC:2010(E)
Table 21 – DeviceRole.32
Table 22 – RTFN connection management DLPDU .33
Table 23 – CDCN connection still alive DLPDU.33
Table 24 – ID data .33
Table 25 – RTFL control DLPDU.33
Table 26 – RTFL configuration DLPDU .34
Table 27 – RTFL configuration acknowledgement DLPDU .34
Table 28 – CDCL DLPDU.35
Table 29 – CDCN DLPDU .35
Table 30 – CDC DLPDU data arrangement .35
Table 31 – CDC DLPDU data.36
Table 32 – MSCL DLPDU .36
Table 33 – MSCL control .37
Table 34 – MSCN DLPDU .37
Table 35 – MSC-MTP frame structure .38
Table 36 – Address type .38
Table 37 – MSC-MTP Init structure .39
Table 38 – MSC-MTP Init_Fast structure .39
Table 39 – MSC-MTP Send structure.39
Table 40 – MSC-MTP Acknowledgement structure.40
Table 41 – MSC-MTP Abort structure.40
Table 42 – Data structure of a message.40
Table 43 – DelayMeasurement start encoding.41
Table 44 – DelayMeasurement read encoding.41
Table 45 – PCS configuration encoding .41
Table 46 – Time synchronization service request.41
Table 47 – Time synchronization service response .42

---------------------- Page: 6 ----------------------
61158-4-22 © IEC:2010(E) – 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.
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 standard cancels and replaces IEC/PAS 61158-4-22 published in 2009. This first edition
constitutes a technical revision.
The text of this standard is based on the following documents:
FDIS Report on voting
65C/605/FDIS 65C/619/RVD
Full information on the voting for the approval of this International 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.

---------------------- Page: 7 ----------------------
– 6 – 61158-4-22 © IEC:2010(E)
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.
NOTE The revision of this standard will be synchronized with the other parts of the IEC 61158 series.

---------------------- Page: 8 ----------------------
61158-4-22 © IEC:2010(E) – 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/TR 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-rights made by the holders of those rights permits
a particular data-link layer protocol type to be used with physical layer and application layer protocols in Type
combinations as specified explicitly in the profile parts. Use of the various protocol types in other combinations
may require permission from their respective intellectual-property-right holders.
The International Electrotechnical Commission (IEC) draws attention to the fact that it is
claimed that compliance with this document may involve the use of patents concerning
Type 22 elements and possibly other types:
WO-2006/069691-A1 [PI] Control system with a plurality of spatially distributed stations
and method for transmitting data in said control system
DE - 10 2004 063 213 [PI] Steuerungssystem mit einer Vielzahl von räumlich verteilten
- B4 Stationen sowie Verfahren zum Übertragen von Daten in einem
solchen Steuerungssystem
IEC takes no position concerning the evidence, validity and scope of these patent rights.
The holder of these patent rights has assured the IEC that he/she is willing to negotiate
licences either free of charge or under reasonable and non-discriminatory terms and
conditions with applicants throughout the world. In this respect, the statement of the holder of
these patent rights is registered with IEC. Information may be obtained from:
Information may be obtained from:
[PI] Pilz GmbH & Co. KG
Felix-Wankel-Str. 2
73760 Ostfildern
Germany
Attention is drawn to the possibility that some of the elements of this document may be the
subject of patent rights other than those identified above. IEC shall not be held responsible for
identifying any or all such patent rights.

---------------------- Page: 9 ----------------------
– 8 – 61158-4-22 © IEC:2010(E)
ISO (www.iso.org/patents) and IEC (http://www.iec.ch/tctools/patent_decl.htm) maintain on-
line data bases of patents relevant to their standards. Users are encouraged to consult the
data bases for the most up to date information concerning patents.

---------------------- Page: 10 ----------------------
61158-4-22 © IEC:2010(E) – 9 –
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –

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



1 Scope
1.1 General
The data-link layer provides basic time-critical messaging communications between devices in
an automation environment.
This protocol provides communication opportunities to all participating data-link entities
a) in a synchronously-starting cyclic manner, according to a pre-established schedule, and
b) in a cyclic or acyclic asynchronous manner, as requested each cycle by each of those
data-link entities.
Thus this protocol can be characterized as one which provides cyclic and acyclic access
asynchronously but with a synchronous restart of each cycle.
1.2 Specifications
This standard specifies:
a) 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;
b) 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.
1.3 Procedures
The procedures are defined in terms of:
a) the interactions between peer DL-entities (DLEs) through the exchange of fieldbus
DLPDUs;
b) the interactions between a DL-service (DLS) provider and a DLS-user in the same system
through the exchange of DLS primitives;
c) the interactions between a DLS-provider and a Ph-service provider in the same system
through the exchange of Ph-service primitives.
1.4 Applicability
These procedures are applicable to instances of communication between systems which
support time-critical communications services within the data-link layer of the OSI or fieldbus
reference models, and which require the ability to interconnect in an open systems
interconnection environment.
Profiles provide a simple multi-attribute means of summarizing an implementation’s
capabilities, and thus its applicability to various time-critical communications needs.

---------------------- Page: 11 ----------------------
– 10 – 61158-4-22 © IEC:2010(E)
1.5 Conformance
This standard also specifies conformance requirements for systems implementing these
procedures.
This part of IEC 61158 does not contain tests to demonstrate compliance with such
requirements.
2 Normative references
The following referenced documents are indispensable for the application 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.
1
IEC 61158-3-22:2010 , Industrial communication networks – Fieldbus specifications – Part 3-
22: Data-link layer service definition – Type 22 elements
IEC 61588:2009, Precision clock synchronization protocol for networked measurement and
control system
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
IETF RFC 768, User Datagram Protocol; available at
IETF RFC 791, Internet Protocol; available at
IEEE 802.1Q, IEEE Standard for Local and metropolitan area networks – Virtual Bridged
Local Area Networks; available at
3 Terms, definitions, symbols, abbreviations and conventions
For the purposes of this document, the following terms, definitions, symbols and abbreviations
apply.
3.1 Reference model terms and definitions
This standard is based in part on the concepts developed in ISO/IEC 7498-1 and
ISO/IEC 7498-3, and makes use of the following terms defined therein.
—————————
1
 To be published.

---------------------- Page: 12 ----------------------
61158-4-22 © IEC:2010(E) – 11 –
3.1.1 acknowledgement [ISO/IEC 7498-1]
3.1.2 DL-address [ISO/IEC 7498-3]
3.1.3 DL-address-mapping [ISO/IEC 7498-1]
3.1.4 called-DL-address [ISO/IEC 7498-3]
3.1.5 calling-DL-address [ISO/IEC 7498-3]
3.1.6 DL-connection [ISO/IEC 7498-1]
3.1.7 DL-connection-end-point [ISO/IEC 7498-1]
3.1.8 DL-connection-end-point-identifier [ISO/IEC 7498-1]
3.1.9 DL-connection-mode transmission [ISO/IEC 7498-1]
3.1.10 DL-connectionless-mode transmission [ISO/IEC 7498-1]
3.1.11 decentralized multi-end-point-connection [ISO/IEC 7498-1]
3.1.12 DL-duplex-transmission [ISO/IE
...

IEC 61158-4-22
®

Edition 1.0 2010-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 de liaison de données –
Eléments de Type 22

IEC 61158-4-22:2010

---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2010 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 la CEI ou du Comité national de la CEI du pays du demandeur.
Si vous avez des questions sur le copyright de la CEI 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 la CEI de votre pays de résidence.

IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé Fax: +41 22 919 03 00
CH-1211 Geneva 20 info@iec.ch
Switzerland www.iec.ch

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 corrigenda or an amendment might have been published.

Useful links:

IEC publications search - www.iec.ch/searchpub Electropedia - www.electropedia.org
The advanced search enables you to find IEC publications The world's leading online dictionary of electronic and
by a variety of criteria (reference number, text, technical electrical terms containing more than 30 000 terms and
committee,…). definitions in English and French, with equivalent terms in
It also gives information on projects, replaced and additional languages. Also known as the International
withdrawn publications. Electrotechnical Vocabulary (IEV) on-line.

IEC Just Published - webstore.iec.ch/justpublished Customer Service Centre - webstore.iec.ch/csc
Stay up to date on all new IEC publications. Just Published If you wish to give us your feedback on this publication
details all new publications released. Available on-line and or need further assistance, please contact the
also once a month by email. Customer Service Centre: csc@iec.ch.


A propos de la CEI
La Commission Electrotechnique Internationale (CEI) 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 CEI
Le contenu technique des publications de la CEI est constamment revu. Veuillez vous assurer que vous possédez
l’édition la plus récente, un corrigendum ou amendement peut avoir été publié.

Liens utiles:

Recherche de publications CEI - www.iec.ch/searchpub Electropedia - www.electropedia.org
La recherche avancée vous permet de trouver des Le premier dictionnaire en ligne au monde de termes
publications CEI en utilisant différents critères (numéro de électroniques et électriques. Il contient plus de 30 000
référence, texte, comité d’études,…). termes et définitions en anglais et en français, ainsi que
Elle donne aussi des informations sur les projets et les les termes équivalents dans les langues additionnelles.
publications remplacées ou retirées. Egalement appelé Vocabulaire Electrotechnique
International (VEI) en ligne.
Just Published CEI - webstore.iec.ch/justpublished
Service Clients - webstore.iec.ch/csc
Restez informé sur les nouvelles publications de la CEI.
Just Published détaille les nouvelles publications parues. Si vous désirez nous donner des commentaires sur
Disponible en ligne et aussi une fois par mois par email. cette publication ou si vous avez des questions
contactez-nous: csc@iec.ch.

---------------------- Page: 2 ----------------------
IEC 61158-4-22

®


Edition 1.0 2010-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 de liaison de données –

Eléments de Type 22















INTERNATIONAL

ELECTROTECHNICAL

COMMISSION


COMMISSION

ELECTROTECHNIQUE

PRICE CODE
INTERNATIONALE

XB
CODE PRIX


ICS 25.04.40; 35.100.20; 35.110 ISBN 978-2-88912-861-7



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 – 61158-4-22  IEC:2010
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 . 10
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 . 34
5.7 Cyclic data channel (CDC) DLPDU data . 35
5.8 Message channel (MSC) DLPDUs . 36
5.9 Message channel DLPDU data - MSC message transfer protocol (MSC-MTP) . 37
5.10 Time synchronization . 41
6 Telegram timing and DLPDU handling . 42
6.1 Communication mechanism . 42
6.2 Device synchronization . 44
7 Type 22 protocol machines . 45
7.1 RTFL device protocol machines. 45
7.2 RTFN device protocol machines . 57
7.3 Message channel - message transfer protocol (MSC-MTP) . 59
Bibliography . 63

---------------------- Page: 4 ----------------------
61158-4-22  IEC:2010 – 3 –
Figure 1 – DLPDU sequence . 43
Figure 2 – Communication relationship RTFN device . 44
Figure 3 – Overview RTFL device protocol machines . 45
Figure 4 – Protocol machine send DLPDU procedure . 46
Figure 5 – Protocol machine receive DLPDU procedure . 47
Figure 6 – CDCL send cyclic data sequence . 48
Figure 7 – CDCL receive cyclic data sequence . 49
Figure 8 – MSCL send sequence . 50
Figure 9 – MSCL receive sequence . 51
Figure 10 – Network management protocol machine . 52
Figure 11 – Net management sequence at system boot up . 53
Figure 12 – Initialization sequence ordinary device . 54
Figure 13 – PCS configuration sequence . 55
Figure 14 – Delay measurement principle . 56
Figure 15 – Overview RTFN device protocol machines . 57
Figure 16 – CDCN connection setup and release . 58
Figure 17 – CDCN unpulish data . 59
Figure 18 – Segmentation sequence . 60
Figure 19 – Expedited transfer sequence . 60
Figure 20 – Toggling from expedited transfer to segmented transfer . 61
Figure 21 – Segmentation sequence for broad- or multicast message without
Acknowledgement . 62

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 read request DLPDU . 30
Table 16 – RTFN scan network read response DLPDU . 30
Table 17 – Identification data . 30
Table 18 – PhyLinkPortX . 31
Table 19 – RTF support . 31
Table 20 – UseDHCP . 32

---------------------- Page: 5 ----------------------
– 4 – 61158-4-22  IEC:2010
Table 21 – DeviceRole . 32
Table 22 – RTFN connection management DLPDU . 33
Table 23 – CDCN connection still alive DLPDU . 33
Table 24 – ID data . 33
Table 25 – RTFL control DLPDU . 33
Table 26 – RTFL configuration DLPDU . 34
Table 27 – RTFL configuration acknowledgement DLPDU . 34
Table 28 – CDCL DLPDU . 35
Table 29 – CDCN DLPDU . 35
Table 30 – CDC DLPDU data arrangement . 35
Table 31 – CDC DLPDU data . 36
Table 32 – MSCL DLPDU . 36
Table 33 – MSCL control . 37
Table 34 – MSCN DLPDU . 37
Table 35 – MSC-MTP frame structure . 38
Table 36 – Address type . 38
Table 37 – MSC-MTP Init structure . 39
Table 38 – MSC-MTP Init_Fast structure . 39
Table 39 – MSC-MTP Send structure . 39
Table 40 – MSC-MTP Acknowledgement structure . 40
Table 41 – MSC-MTP Abort structure. 40
Table 42 – Data structure of a message . 40
Table 43 – DelayMeasurement start encoding . 41
Table 44 – DelayMeasurement read encoding. 41
Table 45 – PCS configuration encoding . 41
Table 46 – Time synchronization service request . 41
Table 47 – Time synchronization service response . 42

---------------------- Page: 6 ----------------------
61158-4-22  IEC:2010 – 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.
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 standard cancels and replaces IEC/PAS 61158-4-22 published in 2009. This first edition
constitutes a technical revision.
This bilingual version published in 2012-01 corresponds to the English version published in
2010-08.
The text of this standard is based on the following documents:
FDIS Report on voting
65C/605/FDIS 65C/619/RVD
Full information on the voting for the approval of this International Standard can be found in
the report on voting indicated in the above table.

---------------------- Page: 7 ----------------------
– 6 – 61158-4-22  IEC:2010
The French version has not been voted upon.
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.
NOTE The revision of this standard will be synchronized with the other parts of the IEC 61158 series.

---------------------- Page: 8 ----------------------
61158-4-22  IEC:2010 – 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/TR 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-rights made by the holders of those rights permits
a particular data-link layer protocol type to be used with physical layer and application layer protocols in Type
combinations as specified explicitly in the profile parts. Use of the various protocol types in other combinations
may require permission from their respective intellectual-property-right holders.
The International Electrotechnical Commission (IEC) draws attention to the fact that it is
claimed that compliance with this document may involve the use of patents concerning
Type 22 elements and possibly other types:
WO-2006/069691-A1 [PI] Control system with a plurality of spatially distributed stations
and method for transmitting data in said control system
DE - 10 2004 063 213 [PI] Steuerungssystem mit einer Vielzahl von räumlich verteilten
- B4 Stationen sowie Verfahren zum Übertragen von Daten in einem
solchen Steuerungssystem
IEC takes no position concerning the evidence, validity and scope of these patent rights.
The holder of these patent rights has assured the IEC that he/she is willing to negotiate
licences either free of charge or under reasonable and non-discriminatory terms and
conditions with applicants throughout the world. In this respect, the statement of the holder of
these patent rights is registered with IEC. Information may be obtained from:
Information may be obtained from:
[PI] Pilz GmbH & Co. KG
Felix-Wankel-Str. 2
73760 Ostfildern
Germany
Attention is drawn to the possibility that some of the elements of this document may be the
subject of patent rights other than those identified above. IEC shall not be held responsible for
identifying any or all such patent rights.

---------------------- Page: 9 ----------------------
– 8 – 61158-4-22  IEC:2010
ISO (www.iso.org/patents) and IEC (http://www.iec.ch/tctools/patent_decl.htm) maintain on-
line data bases of patents relevant to their standards. Users are encouraged to consult the
data bases for the most up to date information concerning patents.

---------------------- Page: 10 ----------------------
61158-4-22  IEC:2010 – 9 –
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –

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



1 Scope
1.1 General
The data-link layer provides basic time-critical messaging communications between devices in
an automation environment.
This protocol provides communication opportunities to all participating data-link entities
a) in a synchronously-starting cyclic manner, according to a pre-established schedule, and
b) in a cyclic or acyclic asynchronous manner, as requested each cycle by each of those
data-link entities.
Thus this protocol can be characterized as one which provides cyclic and acyclic access
asynchronously but with a synchronous restart of each cycle.
1.2 Specifications
This standard specifies:
a) 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;
b) 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.
1.3 Procedures
The procedures are defined in terms of:
a) the interactions between peer DL-entities (DLEs) through the exchange of fieldbus
DLPDUs;
b) the interactions between a DL-service (DLS) provider and a DLS-user in the same system
through the exchange of DLS primitives;
c) the interactions between a DLS-provider and a Ph-service provider in the same system
through the exchange of Ph-service primitives.
1.4 Applicability
These procedures are applicable to instances of communication between systems which
support time-critical communications
...

Questions, Comments and Discussion

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