SIST EN IEC 61158-5-21:2019
(Main)Industrial communication networks - Fieldbus specifications - Part 5-21: Application layer service definition - Type 21 elements (IEC 61158-5-21:2019)
Industrial communication networks - Fieldbus specifications - Part 5-21: Application layer service definition - Type 21 elements (IEC 61158-5-21:2019)
This edition includes the following significant technical changes with respect to the previous edition:
•added Write and Read service;
•miscellaneous editorial corrections.
Industrielle Kommunikationsnetze - Feldbusse - Teil 5-21: Dienstfestlegungen des Application Layer (Anwendungsschicht) - Typ 21-Elemente (IEC 61158-5-21:2019)
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 (IEC 61158-5-21:2019)
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.
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 5-21. del: Definicija opravil na aplikacijski ravni - Elementi tipa 21 (IEC 61158-5-21:2019)
Aplikacijski nivo procesnih vodil (FAL) uporabniškim programom omogoča dostop do komunikacijskega okolja procesnih vodil. Glede na to je mogoče aplikacijski nivo procesnih vodil šteti za »okno med ustreznimi aplikacijami«. Ta del standarda IEC 61158 določa skupne elemente za osnovne časovno kritične in časovno nekritične sporočilne komunikacije med aplikacijami v avtomatizacijskem okolju ter material, specifičen za protokol tipa 21. Izraz »časovno kritičen« se uporablja za predstavitev prisotnosti časovnega okna, v okviru katerega se zahteva dokončanje enega ali več opredeljenih dejanj z določeno stopnjo gotovosti. Zaradi neuspešnega dokončanja opredeljenih dejanj v časovnem oknu je možna odpoved aplikacij, ki zahtevajo dejanja, pri čemer so ogroženi oprema, obrat in morda človeška življenja. Ta mednarodni standard na abstrakten način določa zunanje vidno opravilo, ki ga zagotavlja aplikacijski nivo procesnih vodil v zvezi s/z: a) abstraktnim modelom za določanje aplikacijskih virov (objektov), ki jih uporabniki lahko spreminjajo prek opravila aplikacijskega nivoja procesnih vodil; b) primitivnimi dejanji in dogodki opravila; c) parametri, povezanimi z vsakim primitivnim dejanjem in dogodkom, kot tudi obliko, ki jo prevzamejo; d) medsebojno povezavo med temi dejanji in dogodki ter njihovimi veljavnimi zaporedji. Namen tega dokumenta je opredeliti opravila, ki se zagotavljajo za: a) uporabnika aplikacijskega nivoja procesnih vodil na meji med uporabnikom in aplikacijskim nivojem referenčnega modela procesnih vodil; b) upravljanje sistemov na meji med aplikacijskim nivojem in upravljanje sistemov referenčnega modela procesnih vodil. Ta dokument opisuje strukturo in opravila aplikacijskega nivoja procesnih vodil IEC v skladu z osnovnim referenčnim modelom OSI (ISO/IEC 7498) ter strukturo aplikacijskega nivoja OSI (ISO/IEC 9545). Opravila in protokole aplikacijskega nivoja procesnih vodil zagotavljajo aplikacijski osebki (AE) aplikacijskega nivoja procesnih vodil v aplikacijskih procesih. Aplikacijski osebek aplikacijskega nivoja procesnih vodil sestavljata sklop objektno usmerjenih aplikacijskih opravilnih elementov (ASE) in osebek za upravljanje nivojev (LME), ki upravlja aplikacijski osebek. Aplikacijski opravilni elementi zagotavljajo komunikacijska opravila, ki delujejo na sklopu povezanih razredov objektov aplikacijskega procesa (APO). Med aplikacijske opravilne elemente aplikacijskega nivoja procesnih vodil spada aplikacijski opravilni element za upravljanje, ki zagotavlja skupen sklop opravil za upravljanje primerkov razredov aplikacijskega nivoja procesnih vodil. Čeprav ta opravila z vidika aplikacij določajo način izdajanja ter dostavljanja zahtev in odzivov, ne zajemajo specifikacije v zvezi s tem, kako naj se nanje odzovejo aplikacije, ki te zahteve in odzive oddajajo. To pomeni, da ta opravila opredeljujejo samo zahteve in odzive, ki jih lahko aplikacije pošiljajo ali prejemajo, in ne funkcije samih aplikacij. Tako se uporabnikom aplikacijskega nivoja procesnih vodil omogoči večja prilagodljivost pri standardizaciji takega vedenja objektov. Poleg teh opravil so v tem dokumentu opredeljena tudi nekatera podporna opravila, da se omogoči dostop do aplikacijskega nivoja procesnih vodil za nadzorovanje nekaterih vidikov njegovega delovanja.
General Information
- Status
- Published
- Publication Date
- 08-Oct-2019
- Technical Committee
- MOV - Measuring equipment for electromagnetic quantities
- Current Stage
- 6060 - National Implementation/Publication (Adopted Project)
- Start Date
- 01-Jul-2019
- Due Date
- 05-Sep-2019
- Completion Date
- 09-Oct-2019
Relations
- Effective Date
- 25-Jun-2019
Overview
EN IEC 61158-5-21:2019 - titled "Industrial communication networks - Fieldbus specifications - Part 5-21: Application layer service definition - Type 21 elements" - defines the structure and services of the Type 21 fieldbus Application Layer (FAL). Aligned with the OSI Basic Reference Model (ISO/IEC 7498) and OSI Application Layer Structure (ISO/IEC 9545), this edition (2nd, 2019) replaces the 2010 version and introduces Write and Read services plus editorial improvements. The standard is published by CLC/CENELEC as a harmonized European implementation of IEC 61158-5-21:2019.
Key Topics
- Application layer architecture: positioning of the fieldbus Application Layer relative to OSI layers and Data Link Layer (DLL).
- Service definitions: formal specification of FAL services including Identify, Status, Read, Write, Write and Read, Write and Read Multiple, and transfer services (e.g., TB-transfer, COS-transfer).
- Communication models: supported paradigms such as client–server, pull (request/response), and push (publisher–subscriber), with AREP (Application Relationship Entity/AREP roles) mappings.
- ASE and AR specifications: definition of Application Service Elements (ASEs) and Application Relationships (ARs) that convey APDUs and manage interactions between Application Processes (APs).
- Data types and object model: FAL-defined fixed and constructed data types, Object Dictionary (OD) structure, naming/addressing conventions and APDU sizing considerations.
- Conformance and interoperability: guidance for implementing and testing FAL services to achieve consistent behavior across Type 21 devices.
Applications
This standard is essential for professionals implementing or integrating fieldbus-based industrial automation systems:
- Device manufacturers (PLCs, I/O modules, sensors, actuators) use it to implement Type 21 application-layer services and ensure interoperability.
- System integrators and control engineers apply the specification when designing networked process control and measurement systems.
- Network architects and test laboratories rely on the document for conformance testing, certification and troubleshooting of fieldbus applications.
- Typical industries: process automation, manufacturing, utilities and any environments using fieldbus networks for deterministic communication and device interoperability.
Related standards
- IEC 61158 series (Parts 1, 2, 3, 4, 6) - complementary fieldbus protocol and DLL specifications for Type 21
- ISO/IEC 7498, 9545, 8822 - OSI model and application layer structure references
- ISO/IEC 8824 (ASN.1) - data notation relevant to object/data type definitions
EN IEC 61158-5-21:2019 is a practical, normative resource for anyone building or integrating Type 21 fieldbus application layer implementations and seeking OSI-compliant, interoperable industrial communication solutions.
Frequently Asked Questions
SIST EN IEC 61158-5-21:2019 is a standard published by the Slovenian Institute for Standardization (SIST). Its full title is "Industrial communication networks - Fieldbus specifications - Part 5-21: Application layer service definition - Type 21 elements (IEC 61158-5-21:2019)". This standard covers: <div>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.</div>
<div>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.</div>
SIST EN IEC 61158-5-21:2019 is classified under the following ICS (International Classification for Standards) categories: 25.040.40 - Industrial process measurement and control; 35.100.70 - Application layer; 35.110 - Networking. The ICS classification helps identify the subject area and facilitates finding related standards.
SIST EN IEC 61158-5-21:2019 has the following relationships with other standards: It is inter standard links to SIST EN 61158-5-21:2012. Understanding these relationships helps ensure you are using the most current and applicable version of the standard.
You can purchase SIST EN IEC 61158-5-21:2019 directly from iTeh Standards. The document is available in PDF format and is delivered instantly after payment. Add the standard to your cart and complete the secure checkout process. iTeh Standards is an authorized distributor of SIST standards.
Standards Content (Sample)
SLOVENSKI STANDARD
01-november-2019
Nadomešča:
SIST EN 61158-5-21:2012
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 5-21. del:
Definicija opravil na aplikacijski ravni - Elementi tipa 21 (IEC 61158-5-21:2019)
Industrial communication networks - Fieldbus specifications - Part 5-21: Application layer
service definition - Type 21 elements (IEC 61158-5-21:2019)
Industrielle Kommunikationsnetze - Feldbusse - Teil 5-21: Dienstfestlegungen des
Application Layer (Anwendungsschicht) - Typ 21-Elemente (IEC 61158-5-21:2019)
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 (IEC 61158-5-
21:2019)
Ta slovenski standard je istoveten z: EN IEC 61158-5-21:2019
ICS:
25.040.40 Merjenje in krmiljenje Industrial process
industrijskih postopkov measurement and control
35.100.70 Uporabniški sloj Application layer
35.110 Omreževanje Networking
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
EUROPEAN STANDARD EN IEC 61158-5-21
NORME EUROPÉENNE
EUROPÄISCHE NORM
June 2019
ICS 25.040.40; 35.100.70; 35.110 Supersedes EN 61158-5-21:2012
English Version
Industrial communication networks - Fieldbus specifications -
Part 5-21: Application layer service definition - Type 21 elements
(IEC 61158-5-21:2019)
Réseaux de communication industriels- Spécifications des Industrielle Kommunikationsnetze - Feldbusse - Teil 5-21:
bus de terrain - Partie 5-21 : Définition des services de la Dienstfestlegungen des Application Layer
couche application - Éléments de type 21 (Anwendungsschicht) - Typ 21-Elemente
(IEC 61158-5-21:2019) (IEC 61158-5-21:2019)
This European Standard was approved by CENELEC on 2019-05-15. CENELEC members are bound to comply with the CEN/CENELEC
Internal Regulations which stipulate the conditions for giving this European Standard the status of a national standard without any alteration.
Up-to-date lists and bibliographical references concerning such national standards may be obtained on application to the CEN-CENELEC
Management Centre or to any CENELEC member.
This European Standard exists in three official versions (English, French, German). A version in any other language made by translation
under the responsibility of a CENELEC member into its own language and notified to the CEN-CENELEC Management Centre has the
same status as the official versions.
CENELEC members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Croatia, Cyprus, the Czech Republic,
Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the
Netherlands, Norway, Poland, Portugal, Republic of North Macedonia, Romania, Serbia, Slovakia, Slovenia, Spain, Sweden, Switzerland,
Turkey and the United Kingdom.
European Committee for Electrotechnical Standardization
Comité Européen de Normalisation Electrotechnique
Europäisches Komitee für Elektrotechnische Normung
CEN-CENELEC Management Centre: Rue de la Science 23, B-1040 Brussels
© 2019 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members.
Ref. No. EN IEC 61158-5-21:2019 E
European foreword
The text of document 65C/947/FDIS, future edition 2 of IEC 61158-5-21, prepared by SC 65C
"Industrial networks" of IEC/TC 65 "Industrial-process measurement, control and automation" was
submitted to the IEC-CENELEC parallel vote and approved by CENELEC as
The following dates are fixed:
• latest date by which the document has to be implemented at national (dop) 2020-02-15
level by publication of an identical national standard or by endorsement
• latest date by which the national standards conflicting with the (dow) 2022-05-15
document have to be withdrawn
This document supersedes EN 61158-5-21:2012.
Attention is drawn to the possibility that some of the elements of this document may be the subject of
patent rights. CENELEC shall not be held responsible for identifying any or all such patent rights.
Endorsement notice
The text of the International Standard IEC 61158-5-21:2019 was approved by CENELEC as a
European Standard without any modification.
In the official version, for Bibliography, the following notes have to be added for the standards
indicated:
IEC 61158-1:2019 NOTE Harmonized as EN IEC 61158-1:2019 (not modified)
IEC 61158-2 NOTE Harmonized as EN 61158-2
Annex ZA
(normative)
Normative references to international publications
with their corresponding European publications
The following documents are referred to in the text in such a way that some or all of their content
constitutes requirements of this document. For dated references, only the edition cited applies. For
undated references, the latest edition of the referenced document (including any amendments)
applies.
NOTE 1 Where an International Publication has been modified by common modifications, indicated by (mod), the relevant
EN/HD applies.
NOTE 2 Up-to-date information on the latest versions of the European Standards listed in this annex is available here:
www.cenelec.eu.
Publication Year Title EN/HD Year
ISO/IEC/IEEE 2011 Information technology - Microprocessor - -
60559 Systems - Floating-Point arithmetic
IEC 61158-3-21 2019 Industrial communication networks - - -
Fieldbus specifications - Part 3-21: Data-
link layer service definition - Type 21
elements
IEC 61158-4-21 2019 Industrial communication networks - EN IEC 61158-4-21 2019
Fieldbus specifications - Part 4-21: Data-
link layer protocol specification - Type 21
elements
IEC 61158-6-21 2019 Industrial communication networks - EN 61158-6-21 2019
Fieldbus specifications - Part 6-21:
Application layer protocol specification -
Type 21 elements
ISO/IEC 7498-1 - Information technology - Open Systems - -
Interconnection - Basic reference model:
The basic model
ISO/IEC 7498-3 - Information technology - Open Systems - -
Interconnection - Basic reference model:
Naming and addressing
ISO/IEC 8822 - Information technology - Open Systems - -
Interconnection - Presentation service
definition
ISO/IEC 8824 series Information technology - Abstract Syntax - -
Notation One (ASN.1): Specification of
basic notation
ISO/IEC 9545 - Information technology - Open Systems - -
Interconnection - Application layer
structure
ISO/IEC 10731 - Information technology - Open Systems - -
Interconnection - Basic Reference Model
- Conventions for the definition of OSI
services
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
IEC 61158-5-21:2019 © IEC 2019 – 3 –
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 an AR . 69
Table 14 – AR-unconfirmed send . 73
Table 15 – AR-confirmed send . 74
Table 16 – FAL class summary . 79
Table 17 – Services by AREP role . 79
IEC 61158-5-21:2019 © IEC 2019 – 5 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 5-21: Application layer service definition –
Type 21 elements
FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of IEC is to promote
international co-operation on all questions concerning standardization in the electrical and electronic fields. To
this end and in addition to other activities, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC
Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested
in the subject dealt with may participate in this preparatory work. International, governmental and non-
governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely
with the International Organization for Standardization (ISO) in accordance with conditions determined by
agreement between the two organizations.
2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
consensus of opinion on the relevant subjects since each technical committee has representation from all
interested IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
services carried out by independent certification bodies.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
Attention is drawn to the fact that the use of the associated protocol type is restricted by its
intellectual-property-right holders. In all cases, the commitment to limited release of
intellectual-property-rights made by the holders of those rights permits a layer protocol type to
be used with other layer protocols of the same type, or in other type combinations explicitly
authorized by its intellectual-property-right holders.
NOTE Combinations of protocol types are specified in IEC 61784-1 and IEC 61784-2.
International Standard IEC 61158-5-21 has been prepared by subcommittee 65C: Industrial
networks, of IEC technical committee 65: Industrial process measurement, control and
automation.
This second edition cancels and replaces the first edition published in 2010. This edition
constitutes a technical revision.
– 6 – IEC 61158-5-21:2019 © IEC 2019
This edition includes the following significant technical changes with respect to the previous
edition:
• added Write and Read service;
• miscellaneous editorial corrections.
The text of this International Standard is based on the following documents:
FDIS Report on voting
65C/947/FDIS 65C/950/RVD
Full information on the voting for the approval of this International Standard can be found in
the report on voting indicated in the above table.
This publication has been drafted in accordance with ISO/IEC Directives, Part 2.
A list of all parts of the IEC 61158 series, published under the general title Industrial
communication networks – Fieldbus specifications, can be found on the IEC web site.
The committee has decided that the contents of this publication will remain unchanged until
the stability date indicated on the IEC web site under "http://webstore.iec.ch" in the data
related to the specific publication. At this date, the publication will be:
• reconfirmed;
• withdrawn;
• replaced by a revised edition, or
• amended.
A bilingual version of this publication may be issued at a later date.
IEC 61158-5-21:2019 © IEC 2019 – 7 –
INTRODUCTION
This document is one of a series produced to facilitate the interconnection of automation
system components. It is related to other standards in the set as defined by the “three-layer”
fieldbus reference model described in IEC 61158-1.
The application service is provided by the application protocol making use of the services
available from the data-link or other immediately lower layer. This document defines the
application service characteristics that fieldbus applications and/or system management may
exploit.
Throughout the set of fieldbus standards, the term “service” refers to the abstract capability
provided by one layer of the OSI Basic Reference Model to the layer immediately above. Thus,
the application layer service defined in this document is a conceptual architectural service,
independent of administrative and implementation divisions.
– 8 – IEC 61158-5-21:2019 © IEC 2019
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 5-21: Application layer service definition –
Type 21 elements
1 Scope
1.1 Overview
The Fieldbus Application Layer (FAL) provides user programs with a means to access the
fieldbus communication environment. In this respect, the FAL can be considered a window
between corresponding application programs.
This part of IEC 61158 provides the common elements for basic time-critical and non-time-
critical messaging communications between application programs in an automation
environment as well as material specific to the Type 21 protocol. The term “time-critical” is
used to represent the presence of a time-window within which one or more specified actions
are required to be completed with some defined level of certainty. Failure to complete
specified actions within the time window risks failure of the applications requesting the actions,
with attendant risk to equipment, plant, and possibly human life.
This International Standard defines, in an abstract way, the externally visible service provided
by the FAL in terms of:
a) an abstract model for defining application resources (objects) capable of being
manipulated by users via the FAL service;
b) the primitive actions and events of the service;
c) the parameters associated with each primitive action and event, and the form that they
take;
d) the interrelationship between these actions and events, and their valid sequences.
The purpose of this document is to define the services provided to:
a) the FAL-user at the boundary between the user and the application layer of the fieldbus
Reference Model;
b) systems management at the boundary between the application layer and systems
management of the fieldbus Reference Model.
This document describes the structure and services of the IEC FAL, in conformance with the
OSI Basic Reference Model (ISO/IEC 7498) and the OSI Application layer Structure
(ISO/IEC 9545).
FAL services and protocols are provided by FAL application entities (AEs) contained in the
application processes. The FAL AE is composed of a set of object-oriented Application
Service Elements (ASEs) and a Layer Management Entity (LME) that manages the AE. The
ASEs provide communication services that operate on a set of related application process
object (APO) classes. One of the FAL ASEs is a management ASE that provides a common
set of services for management of the instances of FAL classes.
Although these services specify how requests and responses are issued and delivered from
the perspective of applications, they do not include a specification of what the requesting and
responding applications are to do with them. That is, these services only define what requests
and responses applications can send or receive, not the functions of the applications
IEC 61158-5-21:2019 © IEC 2019 – 9 –
themselves. This permits greater flexibility to the FAL-users in standardizing such object
behavior. In addition to these services, some supporting services are also defined in this
document to provide access to the FAL to control certain aspects of its operation.
1.2 Specifications
The principal objective of this document is to specify the characteristics of conceptual
application layer services suitable for time-critical communications, and thus supplement the
OSI Basic Reference Model in guiding the development of application layer protocols for time-
critical communications.
A secondary objective is to provide migration paths from previously existing industrial
communications protocols. This latter objective gives rise to the diversity of services
standardized as the various types of IEC 61158, and the corresponding protocols
standardized in subparts of IEC 61158-6.
This document may be used as the basis for formal application programming interfaces.
Nevertheless, it is not a formal programming interface, and any such interface must address
implementation issues not covered by this document, including:
a) sizes and octet ordering of various multi-octet service parameters;
b) correlation of paired primitives for request and confirmation, or indication and response.
1.3 Conformance
This document does not specify individual implementations or products, nor does it constrain
the implementations of application layer entities in industrial automation systems.
There is no conformance of equipment to this application layer service definition standard.
Instead, conformance is achieved through the implementation of conforming application layer
protocols that fulfill any given type of application layer services as defined in this document.
2 Normative references
The following documents are referred to in the text in such a way that some or all of their
content constitutes requirements of this document. For dated references, only the edition
cited applies. For undated references, the latest edition of the referenced document (including
any amendments) applies.
NOTE All parts of the IEC 61158 series, as well as IEC 61784 1 and IEC 61784 2 are maintained simultaneously.
Cross-references to these documents within the text therefore refer to the editions as dated in this list of normative
references.
ISO/IEC/IEEE 60559:2011, Information technology – Microprocessor Systems – Floating-
Point arithmetic
IEC 61158-3-21:2019, Industrial communication networks – Fieldbus specifications –
Part 3-21: Data-link layer service definition – Type 21 elements
IEC 61158-4-21:2019, Industrial communication networks – Fieldbus specifications –
Part 4-21: Data-link layer protocol specification – Type 21 elements
IEC 61158-6-21:2019, Industrial communication networks – Fieldbus specifications –
Part 6-21: Application layer protocol specification – Type 21 elements
ISO/IEC 7498-1, Information technology – Open Systems Interconnection – Basic Reference
Model: The Basic Model
– 10 – IEC 61158-5-21:2019 © IEC 2019
ISO/IEC 7498-3, Information technology – Open Systems Interconnection – Basic Reference
Model: Naming and addressing
ISO/IEC 8822, Information technology – Open Systems Interconnection – Presentation
service definition
ISO/IEC 8824 (all parts), Information Technology – Abstract Syntax Notation One (ASN-1)
ISO/IEC 9545, Information technology – Open Systems Interconnection – Application layer
structure
ISO/IEC 10731, Information technology – Open Systems Interconnection – Basic Reference
Model – Conventions for the definition of OSI services
3 Terms, definitions, symbols, abbreviations, and conventions
For the purposes of this document, the following terms, definitions, symbols, abbreviations
and conventions apply.
ISO and IEC maintain terminological databases for use in standardization at the following
addresses:
• IEC Electropedia: available at http://www.electropedia.org/
• ISO Online browsing platform: available at http://www.iso.org/obp
3.1 Terms and definitions from other ISO/IEC standards
3.1.1 ISO/IEC 7498-1 terms
a) application entity
b) application process
c) application protocol data unit
d) application service element
e) application entity invocation
f) application process invocation
g) application transaction
h) real open system
i) transfer syntax
3.1.2 ISO/IEC 8822 terms
a) abstract syntax
b) presentation context
3.1.3 ISO/IEC 8824-1 terms
For the purposes of this document, the following terms as defined in ISO/IEC 8824-1 apply:
a) object identifier
b) type
IEC 61158-5-21:2019 © IEC 2019 – 11 –
3.1.4 ISO/IEC 9545 terms
a) application-association
b) application-context
c) application context name
d) application-entity-invocation
e) application-entity-type
f) application-process-invocation
g) application-process-type
h) application-service-element
i) application control service element
3.2 Fieldbus data link layer terms
For the purposes of this document, the following terms as defined in IEC 61158-3-21 and
IEC 61158-4-21 apply.
a) DL-Time
b) DL-Scheduling-policy
c) DLCEP
d) DLC
e) DL-connection-oriented mode
f) DLPDU
g) DLSDU
h) DLSAP
i) link
j) ISO/IEC/IEEE 8802-3 MAC address
k) DL–entity identifier
3.3 Fieldbus application layer specific definitions
3.3.1
application
function or data structure for which data are consumed or produced
3.3.2
application objects
multiple object classes that manage and provide a runtime exchange of messages across the
network and within the network device
3.3.3
application process
part of a distributed application on a network, which is located on one device and addressed
unambiguously
3.3.4
application process object
component of an application process that is identifiable and accessible through an FAL
application relationship
Note 1 to entry: Application process object definitions are composed of a set of values for the attributes of their
class (see the definition for “application process object class”). Application process object definitions may be
accessed remotely using the services of the FAL Object Management ASE. FAL Object Management services can
– 12 – IEC 61158-5-21:2019 © IEC 2019
be used to load or update object definitions, to read object definitions, and to create and delete application objects
and their corresponding definitions dynamically.
3.3.5
application process object class
class of application process objects defined in terms of the set of their network-accessible
attributes and services
3.3.6
application relationship
cooperative association between two or more application-entity-invocations for the purpose of
exchange of information and coordination of their joint operation
Note 1 to entry: This relationship is activated either by the exchange of application-protocol-data-units or as a
result of preconfiguration activities.
3.3.7
application relationship application service element
application-service-element that provides the exclusive means for establishing and
terminating all application relationships
3.3.8
application relationship endpoint
context and behavior of an application relationship as seen and maintained by one of the
application processes involved in the application relationship
Note 1 to entry: Each application process involved in the application relationship maintains its own application
relationship endpoint.
3.3.9
attribute
description of an externally visible characteristic or feature of an object
Note 1 to entry: The attributes of an object contain information about variable portions of an object. Typically,
they provide status information or govern the operation of an object. Attributes may also affect the behavior of an
object. Attributes are divided into class attributes and instance attributes.
3.3.10
behavior
indication of how an object responds to particular events
3.3.11
channel
single physical or logical link of an input or output application object of a server to the process
3.3.12
class
set of objects, all of which represent the same type of system component
Note 1 to entry: A class is a generalization of an object, a template for defining variables and methods. All objects
in a class are identical in form and behavior, but usually contain different data in their attributes.
3.3.13
class attributes
attribute shared by all objects within the same class
3.3.14
class code
unique identifier assigned to each object class
IEC 61158-5-21:2019 © IEC 2019 – 13 –
3.3.15
class-specific service
service defined by a particular object class to perform a required function that is not
performed by a common service
Note 1 to entry: A class-specific object is unique to the object class that defines it.
3.3.16
client
a) object that uses the services of another (server) object to perform a task
b) initiator of a message to which a server reacts
3.3.17
consume
act of receiving data from a producer
3.3.18
consumer
node or sink that receives data from a producer
3.3.19
consuming application
application that consumes data
3.3.20
conveyance path
unidirectional flow of APDUs across an application relationship
3.3.21
cyclic
repetitive in a regular manner
3.3.22
data consistency
means for coherent transmission and access of the input- or output-data object between and
within client and server
3.3.23
device
physical hardware connected to the link
Note 1 to entry: A device may contain more than one node.
3.3.24
device profile
collection of device-dependent information and functionality providing consistency between
similar devices of the same device type
3.3.25
diagnostic information
all data available at the server for maintenance purposes
3.3.26
end node
producing or consuming node
– 14 – IEC 61158-5-21:2019 © IEC 2019
3.3.27
endpoint
one of the communicating entities involved in a connection
3.3.28
error
discrepancy between a computed, observed, or measured value or condition and the specified
or theoretically correct value or condition
3.3.29
error class
general grouping for related error definitions and corresponding error codes
3.3.30
error code
identification of a specific type of error within an error class
3.3.31
event
instance of a change of conditions
3.3.32
FIFO variable
variable object class composed of a set of homogeneously typed elements, where the first
written element is the first element that can be read
Note 1 to entry: In a fieldbus system, only one complete element can be transferred as a result of one service
invocation.
3.3.33
frame
simplified synonym for data link protocol data unit (DLPDU)
3.3.34
group
general term for a collection of objects
3.3.35
group
when describing an address, an address that identifies more than one entity
3.3.36
invocation
act of using a service or other resource of an application process
Note 1 to entry: Each invocation represents a separate thread of control that may be described by its context.
Once the service completes, or use of the resource is released, the invocation ceases to exist. For service
invocations, a service that has been initiated but not yet completed is referred to as an outstanding service
invocation. For service invocations, an Invoke ID may be used to identify the service invocation unambiguously and
differentiate it from other outstanding service invocations.
3.3.37
index
address of an object within an application process
3.3.38
instance
actual physical occurrence of an object within a class that identifies one of many objects in
the same object class
IEC 61158-5-21:2019 © IEC 2019 – 15 –
EXAMPLE California is an instance of the object class US-state.
Note 1 to entry: The terms object, instance, and object instance are used to refer to a specific instance.
3.3.39
instance attributes
attribute that is unique to an object instance and not shared by the object class
3.3.40
instantiated
object that has been created in a device
3.3.41
logical device
specific FAL class that abstracts a software component or a firmware component as an
autonomous self-contained facility of an automation device
3.3.42
manufacturer ID
identification of each product manufacturer by a unique number
3.3.43
management information
network-accessible information that supports management of the operation of the fieldbus
system, including the application layer
Note 1 to entry: Managing includes functions, such as controlling, monitoring, and diagnosis.
3.3.44
network
set of nodes connected by some type of communication medium, including any intervening
repeaters, bridges, routers, and lower-layer gateways
3.3.45
object
abstract representation of a particular component within a device, usually a collection of
related data in the form of variables, and methods (procedures) for operating on that data that
have clearly defined interface and behavior
3.3.46
object dictionary
collection of definitions, communication-specific attributes and parameters, and application-
dependent data
3.3.47
object-specific service
service unique to the object class that defines it
3.3.48
physical device
automation or other network device
3.3.49
point-to-point connection
connection that exists between exactly two application objects
– 16 – IEC 61158-5-21:2019 © IEC 2019
3.3.50
pre-established AR endpoint
AR endpoint placed in an established state during configuration of the AEs that control its
endpoints
3.3.51
process data
object(s) that are already pre-processed and transferred cyclically for the purpose of
information or further processing
3.3.52
produce
act of sending data to be received by a consumer
3.3.53
producer
node that is responsible for sending data
3.3.54
property
general term for descriptive information about an object
3.3.55
provider
source of a data connection
3.3.56
publisher
role of an AR endpoint that transmits APDUs onto the fieldbus for consumption by one or
more subscribers
Note 1 to entry: A publisher may not be aware of the identity or number of subscribers.
3.3.57
publishing manager
role of an AR endpoint in which it issues one or more confirmed service request application
protocol data units (APDUs) to a publisher to request that a specified object be published.
Two type
...
記事のタイトル:SIST EN IEC 61158-5-21:2019 - 産業通信ネットワーク - フィールドバス仕様 - 第5-21部:アプリケーション層サービスの定義 - タイプ21要素(IEC 61158-5-21:2019) 記事の内容:フィールドバスアプリケーション層(FAL)は、ユーザープログラムがフィールドバス通信環境にアクセスする手段を提供します。この意味では、FALは対応するアプリケーションプログラム間の窓口と考えることができます。IEC 61158のこの部分では、自動化環境においてアプリケーションプログラム間の基本的なタイムクリティカルおよび非タイムクリティカルなメッセージング通信の共通要素を提供し、タイプ21プロトコルに特有のマテリアルも提供しています。 "タイムクリティカル"という用語は、1つ以上の指定されたアクションを一定の確実性レベルで完了するための時間ウィンドウの存在を表すために使用されます。時間ウィンドウ内で指定されたアクションを完了しないと、アクションを要求しているアプリケーションの失敗、機器やプラントへのリスク、および人命に関わる危険が発生します。この国際規格は、FALが提供する外部に可視なサービスを次のような抽象的な方法で定義します:a)ユーザーがFALサービスを通じて操作可能なアプリケーションリソース(オブジェクト)を定義するための抽象モデル、b)サービスの原始アクションとイベント、c)各原始アクションとイベントに関連するパラメーターとその形式、d)これらのアクションとイベントの相互関係および有効なシーケンス。この文書の目的は、a)FALユーザーとフィールドバスリファレンスモデルのアプリケーション層の境界でのサービスを定義し、b)アプリケーション層とフィールドバスリファレンスモデルのシステム管理の境界でシステム管理を提供することです。この文書は、FALの構造とサービスをOSI基本参照モデル(ISO/IEC 7498)およびOSIアプリケーション層構造(ISO/IEC 9545)に準拠して説明します。FALのサービスおよびプロトコルは、アプリケーションプロセスに含まれるFALアプリケーションエンティティ(AE)によって提供されます。FAL AEは、関連するアプリケーションプロセスオブジェクト(APO)クラス上で動作する通信サービスを提供するオブジェクト指向のApplication Service Elements(ASE)とAEを管理するLayer Management Entity(LME)から構成されます。ASEは、FALクラスのインスタンス管理のための共通サービスを提供する管理ASEの1つです。これらのサービスは、要求と応答の発行および配信の観点からアプリケーションが行うべきことを具体化していません。つまり、これらのサービスはアプリケーションが送受信できる要求と応答を定義するだけであり、アプリケーション自体の機能は指定されていません。これにより、FALユーザーはオブジェクトの振る舞いを標準化する際に大きな柔軟性を持つことができます。また、この文書では、FALの動作の特定の側面を制御するためのサポートサービスも定義されています。
기사 제목: SIST EN IEC 61158-5-21:2019 - 산업 통신 네트워크 - 필드버스 사양 - 부분 5-21: 애플리케이션 레이어 서비스 정의 - 유형 21 요소 (IEC 61158-5-21:2019) 기사 내용: 필드버스 애플리케이션 레이어(FAL)는 사용자 프로그램이 필드버스 통신 환경에 액세스할 수 있는 수단을 제공합니다. 이에 따라 FAL은 해당 애플리케이션 프로그램 사이의 창문으로 간주될 수 있습니다. 이 IEC 61158의 일부는 자동화 환경에서 애플리케이션 프로그램 간의 기본적인 시간 중요 및 비시간 중요한 메시징 통신에 대한 공통 요소와 유형 21 프로토콜에 대한 특정한 자료를 제공합니다. "시간 중요"라는 용어는 하나 이상의 지정된 작업이 일정한 수준의 확실성으로 완료되어야하는 시간 창에 존재함을 나타내는 데 사용됩니다. 시간 창 내에서 지정된 작업을 완료하지 못하면 작업을 요청하는 애플리케이션의 실패와 함께 장비, 공장 및 가능한 인명 피해의 위험이 발생할 수 있습니다. 이 국제 표준은 FAL이 외부에 제공하는 서비스를 다음과 같은 추상적인 방식으로 정의합니다: a) 사용자가 FAL 서비스를 통해 조작할 수 있는 애플리케이션 리소스(객체)를 정의하는 추상 모델; b) 서비스의 원시 작업과 이벤트; c) 각 원시 작업과 이벤트와 관련된 매개 변수 및 형식; d) 이러한 작업 및 이벤트 간의 상호 관계와 유효한 순서. 이 문서의 목적은 다음에 대한 서비스를 정의하는 것입니다: a) FAL 사용자와 필드버스 참조 모델의 애플리케이션 레이어 사이의 경계에서; b) 애플리케이션 레이어와 필드버스 참조 모델의 시스템 관리자 사이의 경계에서. 이 문서는 IEC FAL의 구조와 서비스를 OSI 기본 참조 모델(ISO/IEC 7498)과 OSI 애플리케이션 레이어 구조(ISO/IEC 9545)에 따라 설명합니다. FAL 서비스 및 프로토콜은 애플리케이션 프로세스에 포함된 FAL 애플리케이션 엔티티(AE)에 의해 제공됩니다. FAL AE는 관련된 애플리케이션 프로세스 객체(APO) 클래스의 집합에서 작동하는 통신 서비스를 제공하는 개체 지향적인 Application Service Elements(ASE)와 AE를 관리하는 Layer Management Entity(LME)로 구성됩니다. ASE는 FAL 클래스의 인스턴스 관리를 위한 공통 서비스를 제공하는 관리 ASE 중 하나입니다. 이러한 서비스는 요청과 응답이 어떻게 애플리케이션 관점에서 발행되고 전달되는지를 지정하지만, 요청 및 응답 애플리케이션 자체의 기능은 지정하지 않습니다. 즉, 이러한 서비스는 애플리케이션이 보낼 수 있는 요청과 응답을 정의하지만, 애플리케이션 자체의 기능은 포함되지 않습니다. 이로써 FAL 사용자가 해당 객체 동작을 표준화하는 데 보다 큰 유연성을 갖게 됩니다. 이 문서에서는 FAL에 대한 액세스를 제어하기 위해 FAL의 일부 작동 측면을 제어하는 지원 서비스도 정의되어 있습니다.
The article discusses the Fieldbus Application Layer (FAL) and its role in providing communication between application programs in an automation environment. It explains that the FAL acts as a window between these programs and defines the common elements for time-critical and non-timecritical messaging communications. The article explains that time-critical actions must be completed within a specific time window to avoid failures and risks to equipment and human life. It also describes the abstract model, primitive actions and events, parameters, and valid sequences associated with the FAL service. The purpose of the document is to define the services provided to FAL-users and systems management. The article further explains the structure and services of the FAL, which are provided by application entities (AEs) and Application Service Elements (ASEs). It mentions that while the services specify how requests and responses are issued and delivered, they do not specify what the applications are supposed to do with them. Finally, the article mentions that supporting services are also defined to control certain aspects of FAL's operation.










Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.
Loading comments...