|
IEC 61158-3-21
Edition 2.0 2019-04
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 3-21: Data-link layer service definition – Type 21 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-21
Edition 2.0 2019-04
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 3-21: Data-link layer service definition – Type 21 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 25.040.40; 35.100.20; 35.110 ISBN 978-2-8322-6790-5
– 2 – IEC 61158-3-21:2019 © IEC 2019
CONTENTS
FOREWORD . 5
INTRODUCTION . 7
1 Scope . 8
1.1 Overview. 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 . 11
3.3 Common data-link service terms and definitions . 12
3.4 Additional Type 21 data-link specific definitions . 15
3.5 Common symbols and abbreviations . 15
3.6 Additional Type 21 symbols and abbreviations . 16
3.7 Common conventions . 16
3.8 Additional Type 21 conventions. 17
4 Data-link layer services and concepts . 17
4.1 General . 17
4.1.1 Overview . 17
4.1.2 Overview of full duplex flow control . 17
4.1.3 Types and classes of DL-layer service . 18
4.2 Detailed description of the data service . 21
4.2.1 General . 21
4.2.2 Sequence of primitives . 21
4.2.3 Transmit/receive data . 22
4.3 Detailed description of the sporadic data service . 23
4.3.1 General . 23
4.3.2 Sequence of Primitive . 24
4.3.3 Transmit/receive sporadic data . 24
4.4 Detailed description of network control message service . 25
4.4.1 General . 25
4.4.2 Sequence of Primitives . 25
4.4.3 Transmit/receive network control message . 25
5 Data-link management services . 28
5.1 General . 28
5.2 Data link management service (DLMS) facilities . 28
5.3 Data link management service (DLMS) . 28
5.3.1 Overview . 28
5.3.2 Reset . 29
5.3.3 Set-value . 29
5.3.4 Get-value . 29
5.3.5 SAP-allocation . 29
5.3.6 SAP-deallocation . 29
5.3.7 Get-SAP information . 29
5.3.8 Get-diagnostic-information . 29
5.3.9 Event . 29
5.3.10 Get-path . 29
5.4 Overview of interactions . 29
5.5 Detailed specification of service and interactions . 31
5.5.1 Reset . 31
5.5.2 Set-value . 31
5.5.3 Get-value . 32
5.5.4 SAP-allocation . 33
5.5.5 SAP-deallocation . 34
5.5.6 Get-SAP-information . 35
5.5.7 Get-diagnostic-information . 36
5.5.8 Event . 37
5.5.9 Get-path . 38
6 MAC control service . 39
6.1 General . 39
6.2 MAC control service . 39
6.2.1 Overview . 39
6.2.2 MAC-reset . 39
6.2.3 MAC-forward-control . 39
6.3 Overview of interactions . 39
6.4 Detailed specification of service and interactions . 40
6.4.1 MAC-reset . 40
6.4.2 MAC-forward-control . 41
7 Ph-control service . 42
7.1 General . 42
7.2 Ph-control service . 42
7.2.1 Overview . 42
7.2.2 Ph-reset . 42
7.2.3 Ph-get-link-status . 42
7.2.4 Ph-link-status-change . 42
7.3 Overview of interactions . 42
7.4 Detailed specification of service and interactions . 43
7.4.1 Ph-reset . 43
7.4.2 Ph-get-link-status . 44
7.4.3 Ph-link-status-change . 45
Bibliography . 46
Figure 1 – Full-duplex flow control . 18
Figure 2 – Sequence diagram of DL-DATA service . 18
Figure 3 – Sequence diagram of DL-SPDATA service . 19
Figure 4 – Sequence diagram of NCM service primitive . 19
Figure 5 – Relationships of DLSAPs, DLSAP-addresses, and group DL-addresses . 20
Figure 6 – DL-DATA service . 21
Figure 7 – Sequence diagram of Reset, Set-value, Get-value, SAP-allocation, SAP-
deallocation, Get-SAP information and Get-diagnostic information service primitives . 30
Figure 8 – Sequence diagram of Event service primitive . 31
Figure 9 – Sequence diagram of MAC-reset and MAC-forward-control service primitive . 40
Figure 10 – Sequence diagram of Ph-reset and Ph-get-link-status service primitive . 43
– 4 – IEC 61158-3-21:2019 © IEC 2019
Figure 11 – Sequence diagram of Ph-link-status-change service primitive . 43
Table 1 – Destination DL-address . 20
Table 2 – Primitives and parameters used in DL-DATA service . 22
Table 3 – DL-DATA Primitives and Paramete
...