IEC 61158-3-21:2019
(Main)Industrial communication networks - Fieldbus specifications - Part 3-21: Data-link layer service definition - Type 21 elements
Industrial communication networks - Fieldbus specifications - Part 3-21: Data-link layer service definition - Type 21 elements
IEC 61158-3-21:2019 defines in an abstract way the externally visible service provided by the Type 21 fieldbus data-link layer in terms of the primitive actions and events of the service; the parameters associated with each primitive action and event, and the form which they take and the interrelationship between these actions and events, and their valid sequences. It cancels and replaces the first edition published in 2010 and constitutes a technical revision. The main changes are listed below:
•Added Network Control Message Type;
•Miscellaneous editorial corrections.
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 3-21 : Définition des services de couche liaison de données - Éléments de type 21
L’IEC 61158-3-21:2019 fournit les éléments communs pour les communications de messagerie de base à temps critique entre des dispositifs dans un environnement d'automation. Le terme "à temps critique" dans ce contexte signifie la communication hiérarchisée par priorité et déterministe dans le temps sans collision en duplex intégral, dont l'une ou plusieurs actions spécifiées sont tenues d'être parachevées avec un certain niveau défini de certitude. Le manquement à parachever les actions spécifiées dans les limites du délai requis risque d'entraîner la défaillance des applications qui demandent ces actions, avec le risque concomitant pour l'équipement, la centrale et éventuellement pour la vie humaine.
La présente norme définit de manière abstraite le service visible de l'extérieur fourni par la couche liaison de données de type 21 en termes:
a) des actions et événements primitifs du service;
b) des paramètres associés à chaque action primitive et événement primitif, et la forme qu'ils prennent; et
c) des interrelations entre ces actions et événements, et leurs séquences valides.
General Information
Relations
Buy Standard
Standards Content (Sample)
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
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 Tel.: +41 22 919 02 11
3, rue de Varembé info@iec.ch
CH-1211 Geneva 20 www.iec.ch
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
Centre: sales@iec.ch.
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
...
IEC 61158-3-21 ®
Edition 2.0 2019-04
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 3-21: Data-link layer service definition – Type 21 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 3-21: Définition des services de couche liaison de données – Éléments
de type 21
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.
Droits de reproduction réservés. Sauf indication contraire, aucune partie de cette publication ne peut être reproduite
ni utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie
et les microfilms, sans l'accord écrit de l'IEC ou du Comité national de l'IEC du pays du demandeur. Si vous avez des
questions sur le copyright de l'IEC ou si vous désirez obtenir des droits supplémentaires sur cette publication, utilisez
les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pays de résidence.
IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé info@iec.ch
CH-1211 Geneva 20 www.iec.ch
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
Centre: sales@iec.ch.
A propos de l'IEC
La Commission Electrotechnique Internationale (IEC) est la première organisation mondiale qui élabore et publie des
Normes internationales pour tout ce qui a trait à l'électricité, à l'électronique et aux technologies apparentées.
A propos des publications IEC
Le contenu technique des publications IEC est constamment revu. Veuillez vous assurer que vous possédez l’édition la
plus récente, un corrigendum ou amendement peut avoir été publié.
Recherche de publications IEC - Electropedia - www.electropedia.org
webstore.iec.ch/advsearchform Le premier dictionnaire d'électrotechnologie en ligne au
La recherche avancée permet de trouver des publications IEC monde, avec plus de 22 000 articles terminologiques en
en utilisant différents critères (numéro de référence, texte, anglais et en français, ainsi que les termes équivalents dans
comité d’études,…). Elle donne aussi des informations sur les 16 langues additionnelles. Egalement appelé Vocabulaire
projets et les publications remplacées ou retirées. Electrotechnique International (IEV) en ligne.
IEC Just Published - webstore.iec.ch/justpublished Glossaire IEC - std.iec.ch/glossary
Restez informé sur les nouvelles publications IEC. Just 67 000 entrées terminologiques électrotechniques, en anglais
Published détaille les nouvelles publications parues. et en français, extraites des articles Termes et Définitions des
Disponible en ligne et une fois par mois par email. publications IEC parues depuis 2002. Plus certaines entrées
antérieures extraites des publications des CE 37, 77, 86 et
Service Clients - webstore.iec.ch/csc CISPR de l'IEC.
Si vous désirez nous donner des commentaires sur cette
publication ou si vous avez des questions contactez-nous:
sales@iec.ch.
IEC 61158-3-21 ®
Edition 2.0 2019-04
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 3-21: Data-link layer service definition – Type 21 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 3-21: Définition des services de couche liaison de données – Éléments
de type 21
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.040.40; 35.100.20; 35.110 ISBN 978-2-8322-9116-0
– 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 .
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.