IEC 61158-3-22:2010
(Main)Industrial communication networks - Fieldbus specifications - Part 3-22: Data-link layer service definition - Type 22 elements
Industrial communication networks - Fieldbus specifications - Part 3-22: Data-link layer service definition - Type 22 elements
IEC 61158-3-22:2010 defines in an abstract way the externally visible service provided by the Type 22 fieldbus data-link layer in terms of the primitive actions and events of the service; the parameters associated with each primitive action and event, and the form which they take and the interrelationship between these actions and events, and their valid sequences. It cancels and replaces the IEC/PAS 61158-3-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 3-22: Définition des services de couche liaison de données - Éléments de Type 22
La CEI 61158-3-22:2010 définit de manière abstraite le service visible de l'extérieur fourni par la couche liaison de données de bus de terrain Type 22 en termes des actions et événements primitifs du service; des paramètres associés à chaque action primitive et événement primitif, et la forme qu'ils prennent; et de l'interrelation entre ces actions et événements, et leurs séquences valides. La présente norme annule et remplace la CEI/PAS 61158-3-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
Relations
Buy Standard
Standards Content (Sample)
IEC 61158-3-22
®
Edition 1.0 2010-08
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 3-22: Data-link layer service definition – Type 22 elements
IEC 61158-3-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-3-22
®
Edition 1.0 2010-08
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 3-22: Data-link layer service definition – Type 22 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
V
ICS 25.04.40; 35.100.20; 35.110 ISBN 978-2-88912-080-2
® Registered trademark of the International Electrotechnical Commission
---------------------- Page: 3 ----------------------
– 2 – 61158-3-22 © IEC:2010(E)
CONTENTS
FOREWORD.4
INTRODUCTION.6
1 Scope.7
1.1 Overview .7
1.2 Specifications.7
1.3 Conformance.7
2 Normative References .8
3 Terms, definitions, symbols, abbreviations and conventions .8
3.1 Reference model terms and definitions.8
3.2 Service convention terms and definitions.10
3.3 Data-link service terms and definitions .11
3.4 Symbols and abbreviations.13
3.5 Common conventions .15
4 Data-link layer services and concepts.16
4.1 Operating principle .16
4.2 Communication models .16
4.3 Topology .18
4.4 Addressing .19
4.5 Gateway.20
4.6 Interaction models.20
4.7 Synchronization concept .20
5 Communication services.21
5.1 Overview .21
5.2 Communication management services.23
5.3 Cyclic data channel service (CDC) .27
5.4 Message channel services (MSC).28
5.5 Time synchronization .29
5.6 Media independent interface (MII) management services .32
Bibliography.34
Figure 1 – RTFL device reference model .17
Figure 2 – RTFN device reference model.18
Figure 3 – Logical double line in a physical tree topology.18
Figure 4 – Logical double line in a physical line topology .19
Figure 5 – Addressing modes .19
Figure 6 – Time sequence diagram for time SYNC_START service.21
Figure 7 – Synchronized timing signals without offset .21
Figure 8 – Synchronized timing signals with offset .21
Table 1 – Summary of DL-services and primitives.22
Table 2 – DL-Network verification service (NV) .23
Table 3 – DL-RTFN scan network read service (RTFNSNR).23
Table 4 – DL-RTFN connection establishment DLL service (RTFNCE) .24
---------------------- Page: 4 ----------------------
61158-3-22 © IEC:2010(E) – 3 –
Table 5 – DL-RTFN connection release service (RTFNCR) .24
Table 6 – DL-RTFL control service (RTFLCTL) .25
Table 7 – DL-RTFL configuration service (RTFLCFG) .25
Table 8 – DL-Read configuration data service (RDCD) .26
Table 9 – CDC send service (CDCS) .27
Table 10 – MSC send service (MSCS) .28
Table 11 – MSC send broadcast service (MSCSB).29
Table 12 – MSC read service (MSCR) .29
Table 13 – DL-DelayMeasurement start service (DMS) .29
Table 14 – DL-DelayMeasurement read service (DMR).30
Table 15 – DL-PCS configuration service (PCSC) .30
Table 16 – DL-Sync master configuration service (SYNC_MC) .31
Table 17 – DL-Sync start service (SYNC_START) .31
Table 18 – DL-Sync stop service (SYNC_STOP).32
Table 19 – DL-MII read service (MIIR) .32
Table 20 – DL-MII write service (MIIW) .33
---------------------- Page: 5 ----------------------
– 4 – 61158-3-22 © IEC:2010(E)
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 3-22: Data-link layer service definition –
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.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
NOTE 1 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 of their respective intellectual-property-right holders.
International Standard IEC 61158-3-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-3-22 published in 2009. This first edition
constitutes a technical revision.
---------------------- Page: 6 ----------------------
61158-3-22 © IEC:2010(E) – 5 –
The text of this standard is based on the following documents:
FDIS Report on voting
65C/604/FDIS 65C/618/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.
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: 7 ----------------------
– 6 – 61158-3-22 © IEC:2010(E)
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.
Throughout the set of fieldbus standards, the term “service” refers to the abstract capability
provided by one layer of the OSI Basic Reference Model to the layer immediately above.
Thus, the data-link layer service defined in this standard is a conceptual architectural service,
independent of administrative and implementation divisions.
---------------------- Page: 8 ----------------------
61158-3-22 © IEC:2010(E) – 7 –
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 3-22: Data-link layer service definition –
Type 22 elements
1 Scope
1.1 Overview
This part of IEC 61158 provides common elements for basic time-critical messaging
communications between devices in an automation environment. The term “time-critical” is
used to represent the presence of a time-window, within which one or more specified actions
are required to be completed with some defined level of certainty. Failure to complete
specified actions within the time window risks failure of the applications requesting the
actions, with attendant risk to equipment, plant and possibly human life.
This standard defines in an abstract way the externally visible service provided by the Type
22 fieldbus data-link layer in terms of:
a) the primitive actions and events of the service;
b) the parameters associated with each primitive action and event, and the form which they
take; and
c) the interrelationship between these actions and events, and their valid sequences.
The purpose of this standard is to define the services provided to:
• the Type 22 fieldbus application layer at the boundary between the application and data-
link layers of the fieldbus reference model; and
• systems management at the boundary between the data-link layer and systems
management of the fieldbus reference model.
1.2 Specifications
The principal objective of this standard is to specify the characteristics of conceptual data-link
layer services suitable for time-critical communications, and thus supplement the OSI Basic
Reference Model in guiding the development of data-link protocols for time-critical
communications. A secondary objective is to provide migration paths from previously-existing
industrial communications protocols.
This specification may be used as the basis for formal DL-Programming-Interfaces.
Nevertheless, it is not a formal programming interface, and any such interface will need to
address implementation issues not covered by this specification, including:
a) the sizes and octet ordering of various multi-octet service parameters; and
b) the correlation of paired request and confirm, or indication and response, primitives.
1.3 Conformance
This standard does not specify individual implementations or products, nor do they constrain
the implementations of data-link entities within industrial automation systems.
There is no conformance of equipment to this data-link layer service definition standard.
Instead, conformance is achieved through implementation of the corresponding data-link
protocol that fulfils the Type 22 data-link layer services defined in this standard.
---------------------- Page: 9 ----------------------
– 8 – 61158-3-22 © IEC:2010(E)
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.
ISO/IEC 7498-1, Information technology – Open Systems Interconnection – Basic Reference
Model: The Basic Model
ISO/IEC 7498-3, Information technology – Open Systems Interconnection – Basic Reference
Model: Naming and addressing
ISO/IEC 10731, Information technology – Open Systems Interconnection – Basic Reference
Model – Conventions for the definition of OSI services
ISO/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.
3 Terms, definitions, symbols, abbreviations and conventions
For the purposes of this document, the following terms, definitions, symbols, abbreviations
and conventions 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:
DL-address [ISO/IEC 7498-3]
called-DL-address [ISO/IEC 7498-3]
calling-DL-address [ISO/IEC 7498-3]
DL-connection [ISO/IEC 7498-1]
DL-connection-end-point [ISO/IEC 7498-1]
DL-connection-end-point-identifier [ISO/IEC 7498-1]
DL-connection-mode transmission [ISO/IEC 7498-1]
DL-connectionless-mode transmission [ISO/IEC 7498-1]
correspondent (N)-entities [ISO/IEC 7498-1]
correspondent DL-entities (N=2)
correspondent Ph-entities (N=1)
decentralized multi-end-point-connection [ISO/IEC 7498-1]
DL-duplex-transmission [ISO/IEC 7498-1]
---------------------- Page: 10 ----------------------
61158-3-22 © IEC:2010(E) – 9 –
(N)-entity [ISO/IEC 7498-1]
DL-entity (N=2)
Ph-entity (N=1)
DL-facility [ISO/IEC 7498-1]
flow control [ISO/IEC 7498-1]
(N)-layer [ISO/IEC 7498-1]
DL-layer (N=2)
Ph-layer (N=1)
layer-management [ISO/IEC 7498-1]
DL-local-view [ISO/IEC 7498-3]
multi-endpoint-connection [ISO/IEC 7498-1]
DL-name [ISO/IEC 7498-3]
naming-(addressing)-domain [ISO/IEC 7498-3]
peer-entities [ISO/IEC 7498-1]
primitive name [ISO/IEC 7498-3]
DL-protocol [ISO/IEC 7498-1]
DL-protocol-connection-identifier [ISO/IEC 7498-1]
DL-protocol-data-unit [ISO/IEC 7498-1]
DL-relay [ISO/IEC 7498-1]
reassembling [ISO/IEC 7498-1]
reset [ISO/IEC 7498-1]
responding-DL-address [ISO/IEC 7498-3]
routing [ISO/IEC 7498-1]
segmenting [ISO/IEC 7498-1]
(N)-service [ISO/IEC 7498-1]
DL-service (N=2)
Ph-service (N=1)
(N)-service-access-point [ISO/IEC 7498-1]
DL-service-access-point (N=2)
Ph-service-access-point (N=1)
DL-service-access-point-address [ISO/IEC 7498-3]
---------------------- Page: 11 ----------------------
– 10 – 61158-3-22 © IEC:2010(E)
DL-service-connection-identifier [ISO/IEC 7498-1]
DL-service-data-unit [ISO/IEC 7498-1]
DL-simplex-transmission [ISO/IEC 7498-1]
DL-subsystem [ISO/IEC 7498-1]
systems-management [ISO/IEC 7498-1]
DL-user-data [ISO/IEC 7498-1]
3.2 Service convention terms and definitions
This standard also makes use of the following terms defined in ISO/IEC 10731 as they apply
to the data-link layer:
acceptor
asymmetrical service
confirm (primitive);
requestor.deliver (primitive)
deliver (primitive)
DL-confirmed-facility
DL-facility
DL-local-view
DL-mandatory-facility
DL-non-confirmed-facility
DL-provider-initiated-facility
DL-provider-optional-facility
DL-service-primitive;
primitive
DL-service-provider
DL-service-user
DL-user-optional-facility
indication (primitive);
acceptor.deliver (primitive)
multi-peer
request (primitive);
requestor.submit (primitive)
requestor
response (primitive);
acceptor.submit (primitive)
submit (primitive)
symmetrical service
---------------------- Page: 12 ----------------------
61158-3-22 © IEC:2010(E) – 11 –
3.3 Data-link service terms and definitions
3.3.1
acyclic data
data which is transferred from time to time for dedicated purposes
3.3.2
cell
synonym for a single DL-segment which uses RTFL communication model
3.3.3
communication cycle
fixed time period between which the root device issues empty frames for cyclic
communication initiation in which data is transmitted utilizing CDC and MSC
3.3.4
cycle time
duration of a communication cycle
3.3.5
cyclic
events which repeat in a regular and repetitive manner
3.3.6
cyclic communication
periodic exchange of frames
3.3.7
cyclic data
data which is transferred in a regular and repetitive manner for dedicated purposes
3.3.8
cyclic data channel (CDC)
one or more frames, which are reserved for cyclic data
3.3.9
data
generic term used to refer to any information carried over a fieldbus
3.3.10
device
physical entity connected to the fieldbus
3.3.11
DL-segment
single DL-subnetwork in which any of the connected DLEs may communicate directly, without
any intervening DL-relaying, whenever all of those DLEs that are participating in an instance
of communication are simultaneously attentive to the DL-subnetwork during the period(s) of
attempted communication
3.3.12
error
discrepancy between a computed, observed or measured value or condition and the specified
or theoretically correct value or condition
---------------------- Page: 13 ----------------------
– 12 – 61158-3-22 © IEC:2010(E)
3.3.13
extended link
DL-subnetwork, consisting of the maximal set of links interconnected by DL-relays, sharing a
single DL-name (DL-address) space, in which any of the connected DL-entities may
communicate, one with another, either directly or with the assistance of one or more of those
intervening DL-relay entities
NOTE An extended link may be composed of just a single link.
3.3.14
frame
denigrated synonym for DLPDU
3.3.15
gateway
device acting as a linking element between different protocols
3.3.16
interface
shared boundary between two functional units, defined by functional characteristics, signal
characteristics, or other characteristics as appropriate
3.3.17
link
synonym for DL-segment
3.3.18
logical double line
sequence of root device and all ordinary devices processing the communication frame in
forward and backward direction
3.3.19
master clock
global time base for the PCS mechanism
3.3.20
message
ordered sequence of octets intended to convey data
3.3.21
message channel
MSC
one or more DPUs (frames), which are reserved for acyclic data
3.3.22
network
set of devices connected by some type of communication medium, including any intervening
repeaters, bridges, routers and lower-layer gateways
3.3.23
open network
any network based on IEC 8802.3 with no further restrictions
3.3.24
ordinary device
OD
slave in the communication system, which utilizes RTFL for cyclic and acyclic data
interchange with other ODs in the same logical double line
---------------------- Page: 14 ----------------------
61158-3-22 © IEC:2010(E) – 13 –
3.3.25
precise clock synchronization
PCS
mechanism to synchronize clocks of RTFL devices and maintain a global time base
3.3.26
process data
data designated to be transferred cyclically or acyclically for the purpose of processing
3.3.27
protocol
convention about the data formats, time sequences, and error correction in the data exchange
of communication systems
3.3.28
root device
RD
master in the communication system, which organises, initiates and controls the RTFL cyclic
and acyclic data interchange for one logical double line
3.3.29
real time frame line
RTFL
communication model communicating in a logical double line
3.3.30
real time frame network
RTFN
communication model communicating in a switched network
3.3.31
switch
MAC bridge as defined in IEEE 802.1D
3.3.32
timing signal
time-based indication of the occurrence of an event, commonly as an interrupt signal, used for
DL-user synchronization
3.3.33
topology
physical network architecture with respect to the connection between the stations of the
communication system
3.4 Symbols and abbreviations
CDC Cyclic data channel
CDCS Cyclic data channel send
DA Device address
DL- Data-link layer (as a prefix)
DLL DL-layer
DLS DL-service
---------------------- Page: 15 ----------------------
– 14 – 61158-3-22 © IEC:2010(E)
DMR DL-DelayMeasurement read
DMS DL-DelayMeasurement send
ID Identification
IP Internet protocol
IRQ Interrupt request
MAC Medium access control
MII Media independent interface
MIIR DL-Media independent interface read
MIIW DL-Media independent interface write
MSC Message channel
MSCDN Message channel data notification
MSCR Message channel read
MSCS Message channel send
MSCSB Message channel send broadcast
NV DL-Network verification
OD Ordinary device
OSI Open systems interconnection
PID Packet ID
PCS Precise clock synchronization
PCSC DL-PCS configuration
RD Root device
RDCD DL-Read configuration data
RTF Real time frame
RTFL Real time frame line
RTFLCFG DL-RTFL configuration
RTFLCTL DL-RTFL control
---------------------- Page: 16 ----------------------
61158-3-22 © IEC:2010(E) – 15 –
RTFN Real time frame network
RTFNCE DL-RTFN connection establishment
RTFNCR DL-RTFN connection release
RTFNSNR DL-RTFN Scan network read
SYNC Synchronization
SYNC_MC DL-Sync master configuration
SYNC_START DL-Sync start
SYNC_STOP DL-Sync stop
3.5 Common conventions
This standard uses the descriptive conventions given in ISO/IEC 10731.
The service model, service primitives, and time-sequence diagrams used are entirely abstract
descriptions; they do not represent a specification for implementation.
Service primitives, used to represent service user/service provider interactions (see
ISO/IEC 10731), convey parameters that indicate information available in the user/provider
interaction.
This standard uses a tabular format to describe the component parameters of the DLS
primitives. The parameters that apply to each group of DLS primitives are set out in tables
throughout the remainder of this standard. Each table consists of up to six columns,
containing the name of the service parameter, and a column each for those primitives and
parameter-transfer directions used by the DLS:
• the request primitive’s input parameters;
• the request primitive’s output parameters;
• the indication primitive’s output parameters;
• the response primitive’s input parameters; and
• the confirm primitive’s output parameters.
NOTE The request, indication, response and confirm primitives are also known as requestor.submit,
acceptor.deliver, acceptor.submit, and requestor.deliver primitives, respectively (see ISO/IEC 10731).
One parameter (or part of it) is listed in each row of each table. Under the appropriate service
primitive columns, a cod
...
IEC 61158-3-22
®
Edition 1.0 2010-08
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 3-22: Data-link layer service definition – Type 22 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 3-22: Définition des services de couche liaison de données – Eléments
de Type 22
IEC 61158-3-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-3-22
®
Edition 1.0 2010-08
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 3-22: Data-link layer service definition – Type 22 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 3-22: Définition des services de couche liaison de données – Eléments
de Type 22
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
V
CODE PRIX
ICS 25.040.40; 35.100.20; 35.110 ISBN 978-2-88912-857-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: 3 ----------------------
– 2 – 61158-3-22 IEC:2010
CONTENTS
FOREWORD . 4
INTRODUCTION . 6
1 Scope . 7
1.1 Overview . 7
1.2 Specifications . 7
1.3 Conformance . 7
2 Normative References . 8
3 Terms, definitions, symbols, abbreviations and conventions . 8
3.1 Reference model terms and definitions . 8
3.2 Service convention terms and definitions . 10
3.3 Data-link service terms and definitions . 11
3.4 Symbols and abbreviations . 13
3.5 Common conventions . 15
4 Data-link layer services and concepts . 16
4.1 Operating principle . 16
4.2 Communication models . 16
4.3 Topology . 18
4.4 Addressing . 19
4.5 Gateway . 20
4.6 Interaction models . 20
4.7 Synchronization concept . 20
5 Communication services . 21
5.1 Overview . 21
5.2 Communication management services . 23
5.3 Cyclic data channel service (CDC) . 27
5.4 Message channel services (MSC) . 28
5.5 Time synchronization . 29
5.6 Media independent interface (MII) management services . 32
Bibliography . 34
Figure 1 – RTFL device reference model . 17
Figure 2 – RTFN device reference model . 18
Figure 3 – Logical double line in a physical tree topology. 18
Figure 4 – Logical double line in a physical line topology . 19
Figure 5 – Addressing modes . 19
Figure 6 – Time sequence diagram for time SYNC_START service . 21
Figure 7 – Synchronized timing signals without offset . 21
Figure 8 – Synchronized timing signals with offset . 21
Table 1 – Summary of DL-services and primitives . 22
Table 2 – DL-Network verification service (NV) . 23
Table 3 – DL-RTFN scan network read service (RTFNSNR) . 23
Table 4 – DL-RTFN connection establishment DLL service (RTFNCE) . 24
---------------------- Page: 4 ----------------------
61158-3-22 IEC:2010 – 3 –
Table 5 – DL-RTFN connection release service (RTFNCR) . 24
Table 6 – DL-RTFL control service (RTFLCTL) . 25
Table 7 – DL-RTFL configuration service (RTFLCFG) . 25
Table 8 – DL-Read configuration data service (RDCD) . 26
Table 9 – CDC send service (CDCS) . 28
Table 10 – MSC send service (MSCS) . 28
Table 11 – MSC send broadcast service (MSCSB) . 29
Table 12 – MSC read service (MSCR) . 29
Table 13 – DL-DelayMeasurement start service (DMS) . 30
Table 14 – DL-DelayMeasurement read service (DMR) . 30
Table 15 – DL-PCS configuration service (PCSC) . 30
Table 16 – DL-Sync master configuration service (SYNC_MC) . 31
Table 17 – DL-Sync start service (SYNC_START) . 31
Table 18 – DL-Sync stop service (SYNC_STOP). 32
Table 19 – DL-MII read service (MIIR) . 32
Table 20 – DL-MII write service (MIIW) . 33
---------------------- Page: 5 ----------------------
– 4 – 61158-3-22 IEC:2010
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 3-22: Data-link layer service definition –
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.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
NOTE 1 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 of their respective intellectual-property-right holders.
International Standard IEC 61158-3-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-3-22 published in 2009. This first edition
constitutes a technical revision.
---------------------- Page: 6 ----------------------
61158-3-22 IEC:2010 – 5 –
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/604/FDIS 65C/618/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.
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: 7 ----------------------
– 6 – 61158-3-22 IEC:2010
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.
Throughout the set of fieldbus standards, the term “service” refers to the abstract capability
provided by one layer of the OSI Basic Reference Model to the layer immediately above.
Thus, the data-link layer service defined in this standard is a conceptual architectural service,
independent of administrative and implementation divisions.
---------------------- Page: 8 ----------------------
61158-3-22 IEC:2010 – 7 –
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 3-22: Data-link layer service definition –
Type 22 elements
1 Scope
1.1 Overview
This part of IEC 61158 provides common elements for basic time-critical messaging
communications between devices in an automation environment. The term “time-critical” is
used to represent the presence of a time-window, within which one or more specified actions
are required to be completed with some defined level of certainty. Failure to complete
specified actions within the time window risks failure of the applications requesting the
actions, with attendant risk to equipment, plant and possibly human life.
This standard defines in an abstract way the externally visible service provided by the Type
22 fieldbus data-link layer in terms of:
a) the primitive actions and events of the service;
b) the parameters associated with each primitive action and event, and the form which they
take; and
c) the interrelationship between these actions and events, and their valid sequences.
The purpose of this standard is to define the services provided to:
• the Type 22 fieldbus application layer at the boundary between the application and data-
link layers of the fieldbus reference model; and
• systems management at the boundary between the data-link layer and systems
management of the fieldbus reference model.
1.2 Specifications
The principal objective of this standard is to specify the characteristics of conceptual data-link
layer services suitable for time-critical communications, and thus supplement the OSI Basic
Reference Model in guiding the development of data-link protocols for time-critical
communications. A secondary objective is to provide migration paths from previously-existing
industrial communications protocols.
This specification may be used as the basis for formal DL-Programming-Interfaces.
Nevertheless, it is not a formal programming interface, and any such interface will need to
address implementation issues not covered by this specification, including:
a) the sizes and octet ordering of various multi-octet service parameters; and
b) the correlation of paired request and confirm, or indication and response, primitives.
1.3 Conformance
This standard does not specify individual implementations or products, nor do they constrain
the implementations of data-link entities within industrial automation systems.
There is no conformance of equipment to this data-link layer service definition standard.
Instead, conformance is achieved through implementation of the corresponding data-link
protocol that fulfils the Type 22 data-link layer services defined in this standard.
---------------------- Page: 9 ----------------------
– 8 – 61158-3-22 IEC:2010
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.
ISO/IEC 7498-1, Information technology – Open Systems Interconnection – Basic Reference
Model: The Basic Model
ISO/IEC 7498-3, Information technology – Open Systems Interconnection – Basic Reference
Model: Naming and addressing
ISO/IEC 10731, Information technology – Open Systems Interconnection – Basic Reference
Model – Conventions for the definition of OSI services
ISO/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.
3 Terms, definitions, symbols, abbreviations and conventions
For the purposes of this document, the following terms, definitions, symbols, abbreviations
and conventions 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:
DL-address [ISO/IEC 7498-3]
called-DL-address [ISO/IEC 7498-3]
calling-DL-address [ISO/IEC 7498-3]
DL-connection [ISO/IEC 7498-1]
DL-connection-end-point [ISO/IEC 7498-1]
DL-connection-end-point-identifier [ISO/IEC 7498-1]
DL-connection-mode transmission [ISO/IEC 7498-1]
DL-connectionless-mode transmission [ISO/IEC 7498-1]
correspondent (N)-entities [ISO/IEC 7498-1]
correspondent DL-entities (N=2)
correspondent Ph-entities (N=1)
decentralized multi-end-point-connection [ISO/IEC 7498-1]
DL-duplex-transmission [ISO/IEC 7498-1]
---------------------- Page: 10 ----------------------
61158-3-22 IEC:2010 – 9 –
(N)-entity [ISO/IEC 7498-1]
DL-entity (N=2)
Ph-entity (N=1)
DL-facility [ISO/IEC 7498-1]
flow control [ISO/IEC 7498-1]
(N)-layer [ISO/IEC 7498-1]
DL-layer (N=2)
Ph-layer (N=1)
layer-management [ISO/IEC 7498-1]
DL-local-view [ISO/IEC 7498-3]
multi-endpoint-connection [ISO/IEC 7498-1]
DL-name [ISO/IEC 7498-3]
naming-(addressing)-domain [ISO/IEC 7498-3]
peer-entities [ISO/IEC 7498-1]
primitive name [ISO/IEC 7498-3]
DL-protocol [ISO/IEC 7498-1]
DL-protocol-connection-identifier [ISO/IEC 7498-1]
DL-protocol-data-unit [ISO/IEC 7498-1]
DL-relay [ISO/IEC 7498-1]
reassembling [ISO/IEC 7498-1]
reset [ISO/IEC 7498-1]
responding-DL-address [ISO/IEC 7498-3]
routing [ISO/IEC 7498-1]
segmenting [ISO/IEC 7498-1]
(N)-service [ISO/IEC 7498-1]
DL-service (N=2)
Ph-service (N=1)
(N)-service-access-point [ISO/IEC 7498-1]
DL-service-access-point (N=2)
Ph-service-access-point (N=1)
DL-service-access-point-address [ISO/IEC 7498-3]
---------------------- Page: 11 ----------------------
– 10 – 61158-3-22 IEC:2010
DL-service-connection-identifier [ISO/IEC 7498-1]
DL-service-data-unit [ISO/IEC 7498-1]
DL-simplex-transmission [ISO/IEC 7498-1]
DL-subsystem [ISO/IEC 7498-1]
systems-management [ISO/IEC 7498-1]
DL-user-data [ISO/IEC 7498-1]
3.2 Service convention terms and definitions
This standard also makes use of the following terms defined in ISO/IEC 10731 as they apply
to the data-link layer:
acceptor
asymmetrical service
confirm (primitive);
requestor.deliver (primitive)
deliver (primitive)
DL-confirmed-facility
DL-facility
DL-local-view
DL-mandatory-facility
DL-non-confirmed-facility
DL-provider-initiated-facility
DL-provider-optional-facility
DL-service-primitive;
primitive
DL-service-provider
DL-service-user
DL-user-optional-facility
indication (primitive);
acceptor.deliver (primitive)
multi-peer
request (primitive);
requestor.submit (primitive)
requestor
response (primitive);
acceptor.submit (primitive)
submit (primitive)
symmetrical service
---------------------- Page: 12 ----------------------
61158-3-22 IEC:2010 – 11 –
3.3 Data-link service terms and definitions
3.3.1
acyclic data
data which is transferred from time to time for dedicated purposes
3.3.2
cell
synonym for a single DL-segment which uses RTFL communication model
3.3.3
communication cycle
fixed time period between which the root device issues empty frames for cyclic
communication initiation in which data is transmitted utilizing CDC and MSC
3.3.4
cycle time
duration of a communication cycle
3.3.5
cyclic
events which repeat in a regular and repetitive manner
3.3.6
cyclic communication
periodic exchange of frames
3.3.7
cyclic data
data which is transferred in a regular and repetitive manner for dedicated purposes
3.3.8
cyclic data channel (CDC)
one or more frames, which are reserved for cyclic data
3.3.9
data
generic term used to refer to any information carried over a fieldbus
3.3.10
device
physical entity connected to the fieldbus
3.3.11
DL-segment
single DL-subnetwork in which any of the connected DLEs may communicate directly, without
any intervening DL-relaying, whenever all of those DLEs that are participating in an instance
of communication are simultaneously attentive to the DL-subnetwork during the period(s) of
attempted communication
3.3.12
error
discrepancy between a computed, observed or measured value or condition and the specified
or theoretically correct value or condition
---------------------- Page: 13 ----------------------
– 12 – 61158-3-22 IEC:2010
3.3.13
extended link
DL-subnetwork, consisting of the maximal set of links interconnected by DL-relays, sharing a
single DL-name (DL-address) space, in which any of the connected DL-entities may
communicate, one with another, either directly or with the assistance of one or more of those
intervening DL-relay entities
NOTE An extended link may be composed of just a single link.
3.3.14
frame
denigrated synonym for DLPDU
3.3.15
gateway
device acting as a linking element between different protocols
3.3.16
interface
shared boundary between two functional units, defined by functional characteristics, signal
characteristics, or other characteristics as appropriate
3.3.17
link
synonym for DL-segment
3.3.18
logical double line
sequence of root device and all ordinary devices processing the communication frame in
forward and backward direction
3.3.19
master clock
global time base for the PCS mechanism
3.3.20
message
ordered sequence of octets intended to convey data
3.3.21
message channel
MSC
one or more DPUs (frames), which are reserved for acyclic data
3.3.22
network
set of devices connected by some type of communication medium, including any intervening
repeaters, bridges, routers and lower-layer gateways
3.3.23
open network
any network based on IEC 8802.3 with no further restrictions
3.3.24
ordinary device
OD
slave in the communication system, which utilizes RTFL for cyclic and acyclic data
interchange with other ODs in the same logical double line
---------------------- Page: 14 ----------------------
61158-3-22 IEC:2010 – 13 –
3.3.25
precise clock synchronization
PCS
mechanism to synchronize clocks of RTFL devices and maintain a global time base
3.3.26
process data
data designated to be transferred cyclically or acyclically for the purpose of processing
3.3.27
protocol
convention about the data formats, time sequences, and error correction in the data exchange
of communication systems
3.3.28
root device
RD
master in the communication system, which organises, initiates and controls the RTFL cyclic
and acyclic data interchange for one logical double line
3.3.29
real time frame line
RTFL
communication model communicating in a logical double line
3.3.30
real time frame network
RTFN
communication model communicating in a switched network
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.