Industrial communication networks - Fieldbus specifications - Part 3-22: Data-link layer service definition - Type SNpTYPE elements

IEC/PAS 61158-3-22:2009(E) 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. It contains an additional profile - SNpTYPE - which may be integrated into a future new edition of the IEC 61158-3 series.

General Information

Status
Replaced
Publication Date
10-Aug-2009
Technical Committee
Current Stage
DELPUB - Deleted Publication
Completion Date
05-Aug-2010
Ref Project

Relations

Buy Standard

Technical specification
IEC PAS 61158-3-22:2009 - Industrial communication networks - Fieldbus specifications - Part 3-22: Data-link layer service definition - Type SNpTYPE elements Released:8/11/2009
English language
33 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

IEC/PAS 61158-3-22


®

Edition 1.0 2009-08



PUBLICLY AVAILABLE



SPECIFICATION



PRE-STANDARD

Industrial communication networks – Fieldbus specifications –
Part 3-22: Data-link layer service definition – Type SNpTYPE elements




IEC/PAS 61158-3-22:2009(E)

---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED

Copyright © 2009 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/PAS 61158-3-22


®

Edition 1.0 2009-08



PUBLICLY AVAILABLE



SPECIFICATION



PRE-STANDARD

Industrial communication networks – Fieldbus specifications –
Part 3-22: Data-link layer service definition – Type SNpTYPE elements

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
V
ICS 25.040.40; 35.100.20 ISBN 978-2-88910-794-0
® Registered trademark of the International Electrotechnical Commission

---------------------- Page: 3 ----------------------
– 2 – PAS 61158-3-22 © IEC:2009(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 .10
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.2.1 Overview .16
4.2.2 RTFL device reference model.16
4.2.3 RTFN device reference model .17
4.3 Topology .18
4.3.1 RTFL topology.18
4.3.2 RTFN topology .18
4.4 Addressing .19
4.4.1 Overview .19
4.4.2 RTFL device addressing .19
4.4.3 RTFN device addressing .19
4.5 Gateway.19
4.6 Interaction models.19
4.6.1 Overview .19
4.6.2 Producer-consumer .19
4.6.3 Publisher-subscriber.20
4.7 Synchronization concept .20

5 Communication services.21
5.1 Overview .21
5.2 Communication management services.22
5.2.1 Overview .22
5.2.2 Network verification .22
5.2.3 Communication management.23
5.3 CDC service .27
5.3.1 Overview .27
5.3.2 CDC send service (CDCS).27
5.4 MSC services .28
5.4.1 Overview .28
5.4.2 MSC send service (MSCS) .28
5.4.3 MSC send broadcast service (MSCSB).28
5.4.4 MSC data notification (MSCDN).29

---------------------- Page: 4 ----------------------
PAS 61158-3-22 © IEC:2009(E) – 3 –


5.4.5 MSC read service (MSCR).29

5.5 Time synchronization .29

5.5.1 DL-DelayMeasurement start service (DMS) .29

 5.5.2 DL-DelayMeasurement read service (DMR) .30

5.5.3 DL-PCS configuration service (PCSC) .30

5.5.4 DL-Sync master configuration service (SYNC_MC).30

5.5.5 DL-Sync start service (SYNC_START) .31

5.5.6 DL-Sync stop service (SYNC_STOP).31

5.6 Media independent interface (MII) management services .32

5.6.1 Overview .32

5.6.2 DL-MII read service (MIIR) .32
5.6.3 DL-MII write service (MIIW) .32
Bibliography.33

Figure 1 – RTFL device reference model .17
Figure 2 – RTFN device reference model.17
Figure 3 – Logical double line in a physical tree topology.18
Figure 4 – Logical double line in a physical line topology .18
Figure 5 – Addressing modes .19
Figure 6 – Time sequence diagram for time SYNC_START service.20
Figure 7 – Synchronized timing signals without offset .21
Figure 8 – Synchronized timing signals with offset .21

Table 1 – Summary of DL-services and primitives.21
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
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).28
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) .30
Table 17 – DL-Sync start service (SYNC_START) .31
Table 18 – DL-Sync stop service (SYNC_STOP).31
Table 19 – DL-MII read service (MIIR) .32
Table 20 – DL-MII write service (MIIW) .32

---------------------- Page: 5 ----------------------
– 4 – PAS 61158-3-22 © IEC:2009(E)


INTERNATIONAL ELECTROTECHNICAL COMMISSION

____________



 INDUSTRIAL COMMUNICATION NETWORKS –

FIELDBUS SPECIFICATIONS –



Part 3-22: Data-link layer service definition –

Type SNpTYPE 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 provides no marking procedure to indicate its approval and cannot be rendered responsible for any
equipment declared to be in conformity with an IEC Publication.
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.

A PAS is a technical specification not fulfilling the requirements for a standard, but made
available to the public.
IEC-PAS 61158-3-22 has been processed by subcommittee 65C: Industrial networks, of IEC
technical committee 65: Industrial-process measurement, control and automation.
The text of this PAS is based on the This PAS was approved for
following document: publication by the P-members of the
committee concerned as indicated in
the following document
Draft PAS Report on voting
65C/530/PAS 65C/534/RVD
Following publication of this PAS, which is a pre-standard publication, the technical committee
or subcommittee concerned may transform it into an International Standard.

---------------------- Page: 6 ----------------------
PAS 61158-3-22 © IEC:2009(E) – 5 –


This PAS shall remain valid for an initial maximum period of 3 years starting from the

publication date. The validity may be extended for a single 3-year period, following which it

shall be revised to become another type of normative document, or shall be withdrawn.


The list of all the parts of the IEC 61158 series, under the general title Industrial

communication networks – Fieldbus specifications, can be found on the IEC web site.

---------------------- Page: 7 ----------------------
– 6 – PAS 61158-3-22 © IEC:2009(E)


INTRODUCTION




This PAS contains an additional profile – SNpTYPE – which may be integrated into a future

new edition of the IEC 61158-3 series.

---------------------- Page: 8 ----------------------
PAS 61158-3-22 © IEC:2009(E) – 7 –


INDUSTRIAL COMMUNICATION NETWORKS –

FIELDBUS SPECIFICATIONS –



 Part 3-22: Data-link layer service definition –

Type SNpTYPE elements






1 Scope


1.1 Overview
This part of IEC 61158-3 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 part of IEC 61158-3 defines in an abstract way the externally visible service provided by
the Type SNpTYPE 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 part of IEC 61158-3 is to define the services provided to:
• the Type SNpTYPE 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 part of IEC 61158-3 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 part of IEC 61158-3 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 SNpTYPE data-link layer services defined in this part of IEC
61158-3.

---------------------- Page: 9 ----------------------
– 8 – PAS 61158-3-22 © IEC:2009(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 — Basic Reference Model: The Basic Model


ISO/IEC 7498-3, Information technology – Open Systems Interconnection – Basic Reference

Model — Basic Reference Model: Naming and addressing

ISO/IEC 10731, Information technology – Open Systems Interconnection – Basic Reference
Model — Conventions for the definition of OSI services
3 Terms, definitions, symbols, abbreviations and conventions
3.1 Reference model terms and definitions
This part of IEC 61158-3 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:
3.1.1 DL-address
[7498-3]
3.1.2 called-DL-address
[7498-3]
3.1.3 calling-DL-address
[7498-3]
3.1.4 DL-connection
[7498-1]
3.1.5 DL-connection-end-point
[7498-1]
3.1.6 DL-connection-end-point-identifier
[7498-1]
3.1.7 DL-connection-mode transmission
[7498-1]
3.1.8 DL-connectionless-mode transmission
[7498-1]
3.1.9 correspondent (N)-entities [7498-1]
 correspondent DL-entities (N=2)

 correspondent Ph-entities (N=1)
3.1.10 decentralized multi-end-point-connection
[7498-1]
3.1.11 DL-duplex-transmission [7498-1]
3.1.12 (N)-entity
[7498-1]
 DL-entity (N=2)
 Ph-entity (N=1)
3.1.13 DL-facility [7498-1]
3.1.14 flow control
[7498-1]

---------------------- Page: 10 ----------------------
PAS 61158-3-22 © IEC:2009(E) – 9 –


 3.1.15 (N)-layer [7498-1]
 DL-layer (N=2)

 Ph-layer (N=1)


3.1.16 layer-management [7498-1]


3.1.17 DL-local-view [7498-3]


3.1.18 multi-endpoint-connection [7498-1]


3.1.19 DL-name [7498-3]

3.1.20 naming-(addressing)-domain [7498-3]
3.1.21 peer-entities [7498-1]
3.1.22 primitive name [7498-3]
3.1.23 DL-protocol [7498-1]
3.1.24 DL-protocol-connection-identifier [7498-1]
3.1.25 DL-protocol-data-unit [7498-1]
3.1.26 DL-relay [7498-1]
3.1.27 reassembling [7498-1]
3.1.28 reset [7498-1]
3.1.29 responding-DL-address [7498-3]
3.1.30 routing [7498-1]
3.1.31 segmenting [7498-1]
3.1.32 (N)-service [7498-1]
 DL-service (N=2)
 Ph-service (N=1)
3.1.33 (N)-service-access-point [7498-1]

 DL-service-access-point (N=2)
 Ph-service-access-point (N=1)
3.1.34 DL-service-access-point-address [7498-3]
3.1.35 DL-service-connection-identifier [7498-1]
3.1.36 DL-service-data-unit [7498-1]
3.1.37 DL-simplex-transmission [7498-1]
3.1.38 DL-subsystem [7498-1]
3.1.39 systems-management [7498-1]
3.1.40 DL-user-data [7498-1]

---------------------- Page: 11 ----------------------
– 10 – PAS 61158-3-22 © IEC:2009(E)


3.2 Service convention terms and definitions


This part of IEC 61158-3 also makes use of the following terms defined in ISO/IEC 10731 as

they apply to the data-link layer:


3.2.1 acceptor


3.2.2 asymmetrical service


3.2.3 confirm (primitive);

 requestor.deliver (primitive)

3.2.4 deliver (primitive)
3.2.5 DL-confirmed-facility
3.2.6 DL-facility
3.2.7 DL-local-view
3.2.8 DL-mandatory-facility
3.2.9 DL-non-confirmed-facility
3.2.10 DL-provider-initiated-facility
3.2.11 DL-provider-optional-facility
3.2.12 DL-service-primitive;
 primitive
3.2.13 DL-service-provider
3.2.14 DL-service-user
3.2.15 DL-user-optional-facility
3.2.16 indication (primitive);
 acceptor.deliver (primitive)
3.2.17 multi-peer

3.2.18 request (primitive);
 requestor.submit (primitive)
3.2.19 requestor
3.2.20 response (primitive);
 acceptor.submit (primitive)
3.2.21 submit (primitive)
3.2.22 symmetrical service
3.3 Data-link service terms and definitions
3.3.1
acyclic data
data which is transferred from time to time for dedicated purposes

---------------------- Page: 12 ----------------------
PAS 61158-3-22 © IEC:2009(E) – 11 –


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
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.

---------------------- Page: 13 ----------------------
– 12 – PAS 61158-3-22 © IEC:2009(E)


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
master clock
global time base for the PCS mechanism
3.3.19
message
ordered sequence of octets intended to convey data
3.3.20
message channel (MSC)
one or more frames, which are reserved for acyclic data
3.3.21
network
set of devices connected by some type of communication medium, including any intervening
repeaters, bridges, routers and lower-layer gateways
3.3.22
open network
any Ethernet-based network with no further restrictions
3.3.23
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
3.3.24
precise clock synchronization (PCS)
mechanism to synchronize clocks of RTFL devices and maintain a global time base
3.3.25
process data
data designated to be transferred cyclically or acyclically for the purpose of processing
3.3.26
protocol
convention about the data formats, time sequences, and error correction in the data exchange
of communication systems

---------------------- Page: 14 ----------------------
PAS 61158-3-22 © IEC:2009(E) – 13 –


3.3.27

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.28

real time frame line (RTFL)

communication model for communication with high real time requirements


3.3.29

real time frame network (RTFN)

communication model for communication with low real time requirements
3.3.30
switch
MAC bridge as defined in IEEE 802.1D
3.3.31
timing signal
time-based indication of the occurrence of an event, commonly as an interrupt signal, used for
DL-user synchronization
3.3.32
topology
physical network architecture with respect to the connection between the stations of the
communication system
3.4 Symbols and abbreviations
3.4.1 CDC Cyclic data channel
3.4.2 CDCS Cyclic data channel send
3.4.3 DA Device address
3.4.4 DL- Data-link layer (as a prefix)
3.4.5 DLL DL-layer
3.4.6 DLS DL-service

3.4.7 DMR DL-DelayMeasurement read
3.4.8 DMS DL-DelayMeasurement send
3.4.9 ID Identification
3.4.10 IP Internet protocol
3.4.11 IRQ Interrupt request
3.4.12 MAC Medium access control
3.4.13 M
...

Questions, Comments and Discussion

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