IEC PAS 61158-4-22:2009
(Main)Industrial communication networks - Fieldbus specifications - Part 4-22: Data-link layer protocol specification - Type SNpTYPE elements
Industrial communication networks - Fieldbus specifications - Part 4-22: Data-link layer protocol specification - Type SNpTYPE elements
IEC/PAS 61158-4-22:2009(E) provides basic time-critical messaging communications between devices in an automation environment. This protocol provides communication opportunities to all participating data-link entities in a synchronously-starting cyclic manner, according to a pre-established schedule, and in a cyclic or acyclic asynchronous manner, as requested each cycle by each of those data-link entities. It contains an additional profile - SNpTYPE - which may be integrated into a future new edition of the IEC 61158-4 series.
General Information
Relations
Standards Content (Sample)
IEC/PAS 61158-4-22 ®
Edition 1.0 2009-08
PUBLICLY AVAILABLE
SPECIFICATION
PRE-STANDARD
Industrial communication networks – Fieldbus specifications –
Part 4–22: Data-link layer protocol specification – Type SNpTYPE elements
IEC/PAS 61158-4-22:2009(E)
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
IEC/PAS 61158-4-22 ®
Edition 1.0 2009-08
PUBLICLY AVAILABLE
SPECIFICATION
PRE-STANDARD
Industrial communication networks – Fieldbus specifications –
Part 4–22: Data-link layer protocol specification – Type SNpTYPE elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XB
ICS 25.040; 35.100.20 ISBN 978-2-88910-795-7
– 2 – PAS 61158-4-22 © IEC:2009(E)
CONTENTS
FOREWORD.6
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 SNpTYPE definitions .14
3.5 Common symbols and abbreviations .16
3.6 Additional Type SNpTYPE symbols and abbreviations.17
3.7 Conventions .20
3.7.1 Abstract syntax conventions .20
3.7.2 Protocol machine description conventions .20
4 DL-protocol overview.20
4.1 Operating principle .20
4.2 Communication model .21
4.2.1 Overview .21
4.2.2 RTFL device reference model.21
4.2.3 RTFN device reference model .22
4.3 Topology .23
4.3.1 RTFL topology.23
4.3.2 RTFN topology .23
4.4 Frame processing.23
4.4.1 Communication model RTFL.23
4.4.2 Communication model RTFN .23
4.5 General communication mechanisms .24
4.5.1 Cyclic data channel (CDC).24
4.5.2 Message channel (MSC).24
4.6 Gateway.24
4.7 Interaction models.25
4.7.1 Overview .25
4.7.2 Producer-consumer .25
4.7.3 Publisher-subscriber.25
5 DLPDU structure .25
5.1 Overview .25
5.2 Data types and encoding rules .25
5.2.1 Overview .25
5.2.2 Transfer syntax for bit sequences .25
5.2.3 Unsigned Integer .26
5.2.4 Signed Integer .26
5.2.5 Octet Array.27
PAS 61158-4-22 © IEC:2009(E) – 3 –
5.3 DLPDU identification .27
5.4 General DLPDU structure.27
5.4.1 Type SNpTYPE frame inside an Ethernet frame.27
5.4.2 Type SNpTYPE frame inside a VLAN tagged Ethernet frame.28
5.4.3 Type SNpTYPE frame inside an UDP datagram.28
5.4.4 Type SNpTYPE frame structure.29
5.5 Communication management DLPDUs .30
5.5.1 Network verification DLPDUs.30
5.5.2 RTFN scan network read DLPDUs.31
5.5.3 Identification data .31
5.5.4 RTFN connection management DLPDU .34
5.5.5 ID data .34
5.5.6 RTFL control DLPDU .35
5.5.7 RTFL configuration DLPDUs.35
5.6 Cyclic data channel (CDC) DLPDUs .36
5.6.1 Cyclic data channel line (CDCL) DLPDU.36
5.6.2 Cyclic data channel network (CDCN) DLPDU .37
5.7 Cyclic data channel (CDC) DLPDU data .37
5.7.1 Cyclic data channel (CDC) DLPDU data arrangement.37
5.7.2 Cyclic data channel (CDC) DLPDU data .37
5.8 Message channel (MSC) DLPDUs .38
5.8.1 Message channel line (MSCL) DLPDU.38
5.8.2 Message channel network (MSCN) DLPDU .39
5.9 Message channel DLPDU data - MSC message transfer protocol (MSC-MTP).39
5.9.1 Overview .39
5.9.2 MSC-MTP frame.39
5.9.3 MSC-MTP frame data .40
5.9.4 MSC-MTP message data encoding .42
5.10 Time synchronization .42
5.10.1 DelayMeasurement start.42
5.10.2 DelayMeasurement read.43
5.10.3 PCS configuration.43
5.10.4 Time synchronization service.43
6 Telegram timing and DLPDU handling .44
6.1 Communication mechanism.44
6.1.1 Communication model RTFL.44
6.1.2 Communication model RTFN .45
6.2 Device synchronization.46
6.2.1 Communication model RTFL – precise clock synchronization .46
6.2.2 Communication model RTFN .47
7 Type SNpTYPE protocol machines .47
7.1 RTFL device protocol machines.47
7.1.1 Overview .47
7.1.2 PortX protocol machine (PortX PM) .48
7.1.3 Frame handling protocol machine (FHPM) .48
7.1.4 Cyclic data channel line protocol machine (CDCLPM).50
7.1.5 Message channel line protocol machine (MSCLPM).52
7.1.6 Message channel message transfer protocol protocol machine (MSC-
MTP PM) .54
– 4 – PAS 61158-4-22 © IEC:2009(E)
7.1.7 Net management protocol machine (NMPM) .55
7.1.8 Precise clock synchronization (PCS) .57
7.2 RTFN device protocol machines .60
7.2.1 Overview .60
7.2.2 Cyclic data channel network protocol machine (CDCNPM) .60
7.2.3 Message channel network protocol machine (MSCNPM) .60
7.2.4 Message channel message transfer protocol protocol machine (MSC-
MTP PM) .60
7.2.5 Net management protocol machine (NMPM) .61
7.3 Message channel - message transfer protocol (MSC-MTP) .62
7.3.1 Ove
...








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