IEC 61158-5-21:2019
(Main)Industrial communication networks - Fieldbus specifications - Part 5-21: Application layer service definition - Type 21 elements
Industrial communication networks - Fieldbus specifications - Part 5-21: Application layer service definition - Type 21 elements
IEC 61158-5-21:2019 specifies the structure and services of the type 21 IEC fieldbus Application Layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498) and the OSI Application Layer Structure (ISO/IEC 9545). This second edition cancels and replaces the first edition published in 2010. This edition constitutes a technical revision.
This edition includes the following significant technical changes with respect to the previous edition:
•added Write and Read service;
•miscellaneous editorial corrections.
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 5-21: Définition des services de la couche application - Éléments de type 21
L’IEC 61158-5-21:2019 fournit les éléments communs pour les communications de base à temps critique et à temps non critique entre des programmes d'application dans un environnement d'automatisation ainsi que le matériau spécifique au protocole de type 21. Le terme "à temps critique" sert à représenter la présence d'une fenêtre temporelle, dans les limites de laquelle il est exigé qu'une ou plusieurs actions spécifiées soient terminées avec un certain niveau défini de certitude. Le manquement à parachever les actions spécifiées dans les limites de la fenêtre temporelle 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.
General Information
Relations
Buy Standard
Standards Content (Sample)
IEC 61158-5-21 ®
Edition 2.0 2019-04
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 5-21: Application 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-5-21 ®
Edition 2.0 2019-04
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 5-21: Application layer service definition – Type 21 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-6752-3
– 2 – IEC 61158-5-21:2019 © IEC 2019
CONTENTS
FOREWORD . 5
INTRODUCTION . 7
1 Scope . 8
1.1 Overview . 8
1.2 Specifications . 9
1.3 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.1.1 ISO/IEC 7498-1 terms. 10
3.1.2 ISO/IEC 8822 terms . 10
3.1.3 ISO/IEC 8824-1 terms. 10
3.1.4 ISO/IEC 9545 terms . 11
3.2 Fieldbus data link layer terms . 11
3.3 Fieldbus application layer specific definitions . 11
3.4 Abbreviations and symbols . 17
3.5 Conventions . 17
3.5.1 Overview . 17
3.5.2 General conventions . 18
3.5.3 Conventions for class definitions . 18
3.5.4 Conventions for service definitions . 19
4 Concepts . 20
4.1 Common concepts . 20
4.1.1 Overview . 20
4.1.2 Architectural relationships . 21
4.1.3 Fieldbus application layer structure . 23
4.1.4 Fieldbus application layer naming and addressing . 34
4.1.5 Architecture summary . 35
4.1.6 FAL service procedures . 36
4.1.7 Common FAL attributes . 37
4.1.8 Common FAL service parameters . 37
4.1.9 APDU size . 38
4.2 Type specific concepts . 38
4.2.1 Node, AP, and object dictionary . 40
4.2.2 APO ASEs . 41
5 Data type ASE . 41
5.1 General . 41
5.1.1 Overview . 41
5.1.2 Basic type overview . 42
5.1.3 Fixed-length type overview . 42
5.1.4 Constructed type overview . 43
5.1.5 Specification of user-defined data types . 43
5.1.6 Transfer of user data . 43
5.2 Formal definition of data type objects . 44
5.2.1 Data type class . 44
5.3 FAL defined data types . 45
5.3.1 Fixed-length types . 45
5.3.2 String types . 48
5.4 Data type ASE service specification . 49
6 Communication model specification . 49
6.1 ASEs . 49
6.1.1 Application process ASE . 49
6.1.2 Service data object ASE . 55
6.1.3 Process data object ASE . 65
6.1.4 Application relationship ASE . 68
6.2 ARs . 75
6.2.1 Point-to-point user-triggered confirmed client/server AREP (PTC-AR) . 75
6.2.2 Multipoint network-scheduled unconfirmed publisher-subscriber AREP
(MSU-AR) . 76
6.2.3 Multipoint user-triggered unconfirmed publisher-subscriber AREP
(MTU-AR) . 78
6.3 Summary of FAL classes . 79
6.4 Permitted FAL services by AREP role . 79
Bibliography . 80
Figure 1 – Relationship to the OSI Basic Reference Model . 21
Figure 2 – Architectural positioning of the fieldbus application layer . 22
Figure 3 – Client/server interactions . 24
Figure 4 – Pull model interactions . 25
Figure 5 – Push model interactions . 26
Figure 6 – APOs services conveyed by the FAL . 28
Figure 7 – Application entity structure . 30
Figure 8 – FAL management of objects . 31
Figure 9 – ASE service conveyance . 32
Figure 10 – Defined and established AREPs . 34
Figure 11 – FAL architectural components . 36
Figure 12 – Interaction between FAL and DLL . 39
Figure 13 – Publisher-subscriber communication model . 39
Figure 14 – Client-server communication model . 40
Figure 15 – Object model . 40
Figure 16 – ASEs of a Type 21 application . 41
Figure 17 – Data type class hierarchy example . 42
Figure 18 – The AR ASE conveys APDUs between APs . 68
Table 1 – Types of timeliness . 27
Table 2 – Overall structure of the OD . 40
Table 3 – Identify service . 52
Table 4 – Status service . 54
Table 5 – Access rights for object . 56
Table 6 – Read service . 57
Table 7 – Write service . 59
– 4 – IEC 61158-5-21:2019 © IEC 2019
Table 8 – Write and Read service . 61
Table 9 – Write and Read Multiple service . 63
Table 10 – TB-transfer . 67
Table 11 – COS-transfer . 67
Table 12 – Conveyance of service primitives by AREP role . 69
Table 13 – Valid combinations of AREP roles involved in
...
IEC 61158-5-21 ®
Edition 2.0 2019-04
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 5-21: Application layer service definition – Type 21 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 5-21: Définition des services de la couche application – Elé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 IEC online collection - oc.iec.ch
The advanced search enables to find IEC publications by a Discover our powerful search engine and read freely all the
variety of criteria (reference number, text, technical publications previews. With a subscription you will always
committee, …). It also gives information on projects, replaced have access to up to date content tailored to your needs.
and withdrawn publications.
Electropedia - www.electropedia.org
IEC Just Published - webstore.iec.ch/justpublished
The world's leading online dictionary on electrotechnology,
Stay up to date on all new IEC publications. Just Published
containing more than 22 000 terminological entries in English
details all new publications released. Available online and
and French, with equivalent terms in 18 additional languages.
once a month by email.
Also known as the International Electrotechnical Vocabulary
(IEV) online.
IEC Customer Service Centre - webstore.iec.ch/csc
If you wish to give us your feedback on this publication or
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 - IEC online collection - oc.iec.ch
webstore.iec.ch/advsearchform Découvrez notre puissant moteur de recherche et consultez
La recherche avancée permet de trouver des publications IEC gratuitement tous les aperçus des publications. Avec un
en utilisant différents critères (numéro de référence, texte, abonnement, vous aurez toujours accès à un contenu à jour
comité d’études, …). Elle donne aussi des informations sur adapté à vos besoins.
les projets et les publications remplacées ou retirées.
Electropedia - www.electropedia.org
IEC Just Published - webstore.iec.ch/justpublished
Le premier dictionnaire d'électrotechnologie en ligne au
Restez informé sur les nouvelles publications IEC. Just
monde, avec plus de 22 000 articles terminologiques en
Published détaille les nouvelles publications parues.
anglais et en français, ainsi que les termes équivalents dans
Disponible en ligne et une fois par mois par email.
16 langues additionnelles. Egalement appelé Vocabulaire
Electrotechnique International (IEV) en ligne.
Service Clients - webstore.iec.ch/csc
Si vous désirez nous donner des commentaires sur cette
publication ou si vous avez des questions contactez-nous:
sales@iec.ch.
IEC 61158-5-21 ®
Edition 2.0 2019-04
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 5-21: Application layer service definition – Type 21 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 5-21: Définition des services de la couche application – Eléments de
type 21
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-9266-2
– 2 – IEC 61158-5-21:2019 © IEC 2019
CONTENTS
FOREWORD . 5
INTRODUCTION . 7
1 Scope . 8
1.1 Overview . 8
1.2 Specifications . 9
1.3 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.1.1 ISO/IEC 7498-1 terms. 10
3.1.2 ISO/IEC 8822 terms . 10
3.1.3 ISO/IEC 8824-1 terms. 10
3.1.4 ISO/IEC 9545 terms . 11
3.2 Fieldbus data link layer terms . 11
3.3 Fieldbus application layer specific definitions . 11
3.4 Abbreviations and symbols . 17
3.5 Conventions . 17
3.5.1 Overview . 17
3.5.2 General conventions . 18
3.5.3 Conventions for class definitions . 18
3.5.4 Conventions for service definitions . 19
4 Concepts . 20
4.1 Common concepts . 20
4.1.1 Overview . 20
4.1.2 Architectural relationships . 21
4.1.3 Fieldbus application layer structure . 23
4.1.4 Fieldbus application layer naming and addressing . 34
4.1.5 Architecture summary . 35
4.1.6 FAL service procedures . 36
4.1.7 Common FAL attributes . 37
4.1.8 Common FAL service parameters . 37
4.1.9 APDU size . 38
4.2 Type specific concepts . 38
4.2.1 Node, AP, and object dictionary . 40
4.2.2 APO ASEs . 41
5 Data type ASE . 41
5.1 General . 41
5.1.1 Overview . 41
5.1.2 Basic type overview . 42
5.1.3 Fixed-length type overview . 42
5.1.4 Constructed type overview . 43
5.1.5 Specification of user-defined data types . 43
5.1.6 Transfer of user data . 43
5.2 Formal definition of data type objects . 44
5.2.1 Data type class . 44
5.3 FAL defined data types . 45
5.3.1 Fixed-length types . 45
5.3.2 String types . 48
5.4 Data type ASE service specification . 49
6 Communication model specification . 49
6.1 ASEs . 49
6.1.1 Application process ASE . 49
6.1.2 Service data object ASE . 55
6.1.3 Process data object ASE . 65
6.1.4 Application relationship ASE . 68
6.2 ARs . 75
6.2.1 Point-to-point user-triggered confirmed client/server AREP (PTC-AR) . 75
6.2.2 Multipoint network-scheduled unconfirmed publisher-subscriber AREP
(MSU-AR) . 76
6.2.3 Multipoint user-triggered unconfirmed publisher-subscriber AREP
(MTU-AR) . 78
6.3 Summary of FAL classes . 79
6.4 Permitted FAL services by AREP role . 79
Bibliography . 80
Figure 1 – Relationship to the OSI Basic Reference Model . 21
Figure 2 – Architectural positioning of the fieldbus application layer . 22
Figure 3 – Client/server interactions . 24
Figure 4 – Pull model interactions . 25
Figure 5 – Push model interactions . 26
Figure 6 – APOs services conveyed by the FAL . 28
Figure 7 – Application entity structure . 30
Figure 8 – FAL management of objects . 31
Figure 9 – ASE service conveyance .
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.