|
IEC 61158-6-2
Edition 4.0 2019-06
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-2: Application layer protocol specification – Type 2 elements
your local IEC member National Committee for further information.
IEC Central Office Tel.: +41 22 919 02 11
3, rue de
CH-1211 Geneva 20
Switzerland
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 corrigendum or an amendment might have been published.
IEC publications search - webstore.iec.ch/advsearchform Electropedia - www.electropedia.org
The advanced search enables to find IEC publications by a The world's leading online dictionary on electrotechnology,
variety of criteria (reference number, text, technical containing more than 22 000 terminological entries in English
committee,…). It also gives information on projects, replaced and French, with equivalent terms in 16 additional languages.
and withdrawn publications. Also known as the International Electrotechnical Vocabulary
(IEV) online.
IEC Just Published - webstore.iec.ch/justpublished
Stay up to date on all new IEC publications. Just Published IEC Glossary - std.iec.ch/glossary
details all new publications released. Available online and 67 000 electrotechnical terminology entries in English and
once a month by email. French extracted from the Terms and Definitions clause of
IEC publications issued since 2002. Some entries have been
IEC Customer Service Centre - webstore.iec.ch/csc collected from earlier publications of IEC TC 37, 77, 86 and
If you wish to give us your feedback on this publication or CISPR.
need further assistance, please contact the Customer Service
.
IEC 61158-6-2
Edition 4.0 2019-06
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-2: Application layer protocol specification – Type 2 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-7007-3
– 2 – IEC 61158-6-2:2019 © IEC 2019
CONTENTS
FOREWORD . 14
INTRODUCTION . 16
1 Scope . 17
1.1 General . 17
1.2 Specifications . 17
1.3 Conformance . 18
2 Normative references . 18
3 Terms, definitions, symbols, abbreviated terms and conventions . 20
3.1 Terms and definitions from other ISO/IEC standards . 20
3.1.1 Terms and definitions from ISO/IEC 7498-1 . 20
3.1.2 Terms and definitions from ISO/IEC 9545 . 21
3.1.3 Terms and definitions from ISO/IEC 8824-1 . 21
3.1.4 Terms and definitions from ISO/IEC 8825-1 . 22
3.2 Terms and definitions from IEC 61158-5-2 . 22
3.3 Additional terms and definitions . 22
3.4 Abbreviated terms and symbols . 29
3.5 Conventions . 29
3.5.1 General concept . 29
3.5.2 Attribute specification . 30
3.5.3 Common services . 30
3.5.4 State machine conventions . 34
4 Abstract syntax . 35
4.1 FAL PDU abstract syntax . 35
4.1.1 General . 35
4.1.2 PDU structure . 36
4.1.3 UCMM_PDUs . 38
4.1.4 Transport_Headers . 40
4.1.5 CM_PDUs . 43
4.1.6 CM PDU components . 57
4.1.7 MR headers . 66
4.1.8 OM_Service_PDU . 67
4.1.9 Message and connection paths . 122
4.1.10 Class, attribute and service codes . 137
4.1.11 Error codes . 143
4.2 Data abstract syntax specification . 157
4.2.1 Transport format specification . 157
4.2.2 Abstract syntax notation . 157
4.2.3 Control network data specification . 158
4.2.4 Data type specification / dictionaries . 160
4.3 Encapsulation abstract syntax . 162
4.3.1 Encapsulation protocol . 162
4.3.2 Command descriptions . 165
4.3.3 Common packet format . 177
5 Transfer syntax . 181
5.1 Compact encoding . 181
5.1.1 Encoding rules . 181
5.1.2 Encoding constraints . 182
5.1.3 Examples. 182
5.2 Data type reporting . 188
5.2.1 Object data representation. 188
5.2.2 Elementary data type reporting . 189
5.2.3 Constructed data type reporting . 190
6 Structure of FAL protocol state machines . 196
7 AP-Context state machine . 196
7.1 Overview. 196
7.2 Connection object state machine . 196
7.2.1 I/O Connection instance behavior . 196
7.2.2 Bridged Connection instance behavior . 200
7.2.3 Explicit Messaging Connection instance behavior . 201
8 FAL service protocol machine (FSPM) . 204
8.1 General . 204
8.2 Primitive definitions . 204
8.3 Parameters of primitives . 209
8.4 FSPM state machines . 209
9 Application relationship protocol machines (ARPMs) . 210
9.1 General . 210
9.2 Connection-less ARPM (UCMM) . 210
9.2.1 General . 210
9.2.2 Primitive definitions . 210
9.2.3 Parameters of primitives . 211
9.2.4 UCMM state machines . 212
9.2.5 Examples of UCMM sequences . 217
9.2.6 Management UCMM . 219
9.3 Connection-oriented ARPMs (transports) . 220
9.3.1 Transport PDU buffer . 220
9.3.2 Transport classes . 220
9.3.3 Common primitive definitions . 221
9.3.4 Parameters of common primitives . 222
9.3.5 Transport state machines – class 0 . 222
9.3.6 Transport state machines – class 1 . 226
9.3.7 Transport state machines – class 2 . 231
9.3.8 Transport state machines – class 3 . 239
9.3.9 Transport state machines – classes 4, 5, 6 . 249
9.3.10 Transport state machines – class 4 . 249
9.3.11 Transport state machines – class 5 . 249
9.3.12 Transport state machines – class 6 . 249
10 DLL mapping protocol machine 1 (DMPM 1) . 249
10.1 General . 249
10.2 Link producer . 250
10.3 Link consumer . 250
10.4 Primitive definitions . 250
10.4.1 Primitives exchanged between DMPM and ARPM . 250
10.4.2 Parameters of ARPM/DMPM primitives . 250
10.4.3 Primitives exchanged between data-link layer and DMPM . 251
– 4 – IEC 61158-6-2:2019 © IEC 2019
10.4.4 Parameters of DMPM/Data-link Layer primitives . 251
10.4.5 Network connection ID . 252
10.5 DMPM state machine . 253
10.5.1 DMPM states .
...