IEC 61158-6-21:2010
(Main)Industrial communication networks - Fieldbus specifications - Part 6-21: Application layer protocol specification - Type 21 elements
Industrial communication networks - Fieldbus specifications - Part 6-21: Application layer protocol specification - Type 21 elements
IEC 61158-6-21:2010(E) specifies the protocol of the Type 21 fieldbus application layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498-1) and the OSI application layer structure (ISO/IEC 9545). It defines the protocol provided to define the wire-representation of the service primitives defined in IEC 61158-5-21:2010, and the externally visible behavior associated with their transfer. This standard cancels and replaces IEC/PAS 62573 published in 2008.
General Information
Relations
Standards Content (Sample)
IEC 61158-6-21 ®
Edition 1.0 2010-08
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-21: Application layer protocol specification – Type 21 elements
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 61158-6-21 ®
Edition 1.0 2010-08
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-21: Application layer protocol specification – Type 21 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XA
ICS 25.04.40; 35.100.70; 35.110 ISBN 978-2-88912-135-9
– 2 – 61158-6-21 © IEC:2010(E)
CONTENTS
FOREWORD.5
INTRODUCTION.7
1 Scope.8
1.1 General .8
1.2 Overview .8
1.3 Specifications.9
1.4 Conformance.9
2 Normative references .9
3 Terms, definitions, symbols, abbreviations, and conventions .10
3.1 Terms and definitions from other ISO/IEC standards .10
3.2 Other terms and definitions .10
3.3 Abbreviations and symbols.16
3.4 Conventions .17
4 FAL syntax description .19
4.1 General .19
4.2 FAL-AR PDU abstract syntax .19
4.3 Abstract syntax of PDU body.20
4.4 Protocol data units (PDUs) for application service elements (ASEs) .21
5 Transfer Syntax .24
5.1 Overview of encoding .24
5.2 APDU header encoding .25
5.3 APDU body encoding .26
5.4 Encoding of Data types .26
6 FAL protocol state machines .30
7 AP context state machine .32
8 FAL service protocol machine.32
8.1 General .32
8.2 Common parameters of the primitives .32
8.3 AP ASE protocol machine .32
8.4 Service data object ASE protocol machine (SDOM).36
8.5 Process data object ASE protocol machine (PDOM) .40
9 AR protocol machine .41
9.1 General .41
9.2 Point-to-point user-triggered confirmed client/server AREP (PTC-AR) ARPM .42
9.3 Multipoint network-scheduled unconfirmed publisher/subscriber AREP
(MSU-AR) ARPM.44
9.4 Multipoint user-triggered unconfirmed publisher/subscriber AREP (MTU-AR)
ARPM.47
10 DLL mapping protocol machine .49
10.1 Primitive definitions .49
10.2 DMPM state machine .50
Bibliography.51
Figure 1 – Common structure of specific fields.17
Figure 2 – APDU overview .25
61158-6-21 © IEC:2010(E) – 3 –
Figure 3 – Type field.25
Figure 4 – Encoding of Time of Day value.29
Figure 5 – Encoding of Time Difference value.30
Figure 6 – Primitives exchanged between protocol machines.31
Figure 7 – State transition diagram of APAM.34
Figure 8 – State transition diagram of SDOM .37
Figure 9 – State transition diagram of PDOM .40
Figure 10 – State transition diagram of PTC-ARPM .43
Figure 11 – State transition diagram of MSU-ARPM.46
Figure 12 – State transition diagram of MTU-ARPM .48
Figure 13 – State transition diagram of DMPM .50
Table 1 – Conventions used for AE state machine definitions .18
Table 2 – Status code for the confirmed response primitive .21
Table 3 – Encoding of FalArHeader field.25
Table 4 – Transfer Syntax for bit sequences .26
Table 5 – Transfer syntax for data type UNSIGNEDn.27
Table 6 – Transfer syntax for data type INTEGERn.28
Table 7 – Primitives exchanged between FAL-user and APAM.33
Table 8 – Parameters used with primitives exchanged FAL-user and APAM .34
Table 9 – APAM state table – Sender transitions .34
Table 10 – APAM state table – Receiver transitions .35
Table 11 – Functions used by the APAM.35
Table 12 – Primitives exchanged between FAL-user and SDOM .36
Table 13 – Parameters used with primitives exchanged FAL-user and SDOM .37
Table 14 – SDOM state table – Sender transitions .38
Table 15 – SDOM state table – Receiver transitions .39
Table 16 – Functions used by the SDOM .39
Table 17 – Primitives exchanged between FAL-user and PDOM .40
Table 18 – Parameters used with primitives exchanged between FAL-user and PDOM .40
Table 19 – PDOM state table – Sender transitions .41
Table 20 – PDOM state table – Receiver transitions .41
Table 21 – Functions used by the SDOM .41
Table 22 – Primitives issued by user to PTC-ARPM .42
Table 23 – Primitives issued by PTC-ARPM to user .42
Table 24 – PTC-ARPM state table – sender transactions .43
Table 25 – PTC-ARPM state table – receiver transactions .44
Table 26 – Function BuildFAL-PDU.44
Table 27 – Primitives issued by user to ARPM .44
Table 28 – Primitives issued by ARPM to user .44
Table 29 – MSU-ARPM state table – sender transactions .46
Table 30 – MSU-ARPM state table – receiver transactions .46
Table 31 – Function BuildFAL-PDU.46
– 4 – 61158-6-21 © IEC:2010(E)
Table 32 – Primitives issued by user to ARPM .47
Table 33 – Primitives issued by ARPM to user .47
Table 34 – MTU-ARPM state table – sender transactions .48
Table 35 – MTU-ARPM state table – receiver transactions.48
Table 36 – Function BuildFAL-PDU.49
Table 37 – Primitives issued by ARPM to DMPM .49
Table 38 – Primitives issued by DMPM to ARPM .49
Table 39 – Primitives issued by DMPM to DLL .49
Table 40 – Primitives issued by DLL to DMPM .49
Table 41 – DMPM state table – sender transactions .50
Table 42 – DMPM state table – receiver transactions.50
61158-6-21 © IEC:2010(E) – 5 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 6-21: Application layer prot
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.