|
IEC 61158-3-12
Edition 4.0 2019-04
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 3-12: Data-link layer service definition – Type 12 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-3-12
Edition 4.0 2019-04
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 3-12: Data-link layer service definition – Type 12 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 25.040.40; 35.100.20; 35.110 ISBN 978-2-8322-6788-2
– 2 – IEC 61158-3-12:2019 © IEC 2019
CONTENTS
FOREWORD . 5
INTRODUCTION . 7
1 Scope . 8
1.1 General . 8
1.2 Specifications . 8
1.3 Conformance . 8
2 Normative references . 9
3 Terms, definitions, symbols, abbreviations and conventions . 9
3.1 Reference model terms and definitions . 9
3.2 Service convention terms and definitions . 10
3.3 Data-link service terms and definitions . 11
3.4 Symbols and abbreviations . 14
3.5 Common conventions . 16
4 Data-link layer services and concepts . 17
4.1 Operating principle . 17
4.2 Topology . 17
4.3 Data-link layer overview . 18
4.4 Error detection overview . 19
4.5 Parameter and process data handling introduction . 19
4.6 Node reference model . 19
4.6.1 Mapping onto OSI Basic Reference Model . 19
4.6.2 Data-link layer features . 20
4.7 Operation overview . 20
4.7.1 Relation to ISO/IEC/IEEE 8802-3 . 20
4.7.2 Type 12 modes . 20
4.7.3 Logical topology . 21
4.8 Addressing . 22
4.8.1 Addressing overview . 22
4.8.2 Segment addressing . 22
4.8.3 Device addressing . 22
4.8.4 Logical addressing . 23
4.8.5 FMMU introduction . 23
4.8.6 Sync manager introduction . 24
4.9 Slave classification . 24
4.9.1 Full slave . 24
4.9.2 Basic slave . 24
4.10 Structure of the communication layer in the slave . 24
5 Communication services . 26
5.1 Overview. 26
5.2 Read services . 26
5.2.1 Overview . 26
5.2.2 Positional physical read (APRD) . 26
5.2.3 Configured-address physical read (FPRD) . 27
5.2.4 Broadcast read (BRD) . 28
5.2.5 Logical read (LRD) . 28
5.3 Write services . 29
5.3.1 Overview . 29
5.3.2 Positional physical write (APWR) . 29
5.3.3 Configured-address physical write (FPWR) . 30
5.3.4 Broadcast write (BWR) . 30
5.3.5 Logical write (LWR) . 31
5.4 Combined read/write services . 32
5.4.1 Overview . 32
5.4.2 Positional physical read/write (APRW) . 32
5.4.3 Configured-address physical read/write (FPRW) . 32
5.4.4 Broadcast read/write (BRW) . 33
5.4.5 Logical read/write (LRW) . 34
5.4.6 Positional physical read / multiple write (ARMW) . 34
5.4.7 Configured-address physical read / multiple write (FRMW) . 35
5.5 Network services . 35
5.5.1 Overview . 35
5.5.2 Publish network variables (PNV) . 36
5.6 Mailbox . 36
5.6.1 Overview . 36
5.6.2 Mailbox data transmission services . 38
6 Local interactions . 41
6.1 Read local . 41
6.2 Write local. 41
6.3 Event local . 42
Bibliography . 43
Figure 1 – Mapping of logical data in an Ethernet frame consisting of a single Type 12
DLPDU . 18
Figure 2 – Type 12 data-link reference model . 20
Figure 3 – Type 12 segments in open mode . 21
Figure 4 – Type 12 segment in direct mode . 21
Figure 5 – Addressing mode overview. 22
Figure 6 – Fieldbus memory management unit overview . 23
Figure 7 – Layering of communication . 25
Figure 8 – Flow of Type 12 service primitives . 26
Figure 9 – Successful mailbox write sequence . 37
Figure 10 – Successful mailbox read sequence . 38
Table 1 – Auto-increment physical read (APRD) . 27
Table 2 – Configured-address physical read (FPRD) . 27
Table 3 – Broadcast read (BRD) . 28
Table 4 – Logical read (LRD) . 29
Table 5 – Auto-increment physical write (APWR) . 29
Table 6 – Configured-address physical write (FPWR) . 30
Table 7 – Broadcast write (BWR) . 31
Table 8 – Logical write (LWR) . 31
Table 9 – Auto-increment physical read/write (APRW) . 32
– 4 – IEC 61158-3-12:2019 © IEC 2019
Table 10 – Configured-address physical read/write (FPRW) . 33
Table 11 – Broadcast read/write (BRW) . 33
Table 12 – Logical read/write (LRW) . 34
Table 13 – Auto-increment physical read / multiple write (ARMW) . 34
Table 14 – Configured-address physical read / multiple write (FRMW) .
...