Industrial communication networks - Fieldbus specifications - Part 5-21: Application layer service definition - Type 21 elements (IEC 61158-5-21:2010)

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 standard 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.

Industrielle Kommunikationsnetze - Feldbusse - Teil 5-21: Dienstfestlegungen des Application Layer (Anwendungsschicht) - Typ 21-Elemente (IEC 61158-5-21:2010)

Réseaux de communication industriels - Spécifications des bus de terrain - Partie 5-21: Définition des services des couches d'application - Eléments de type 21 (CEI 61158-5-21:2010)

La CEI 61158-5-21:2010 spécifie la structure et les services de la couche application des bus de terrain de Type 21, en conformité avec le Modèle de référence de base de l'OSI (ISO/CEI 7498-1) et la structure de la couche application de l'OSI (ISO/CEI 9545). La présente norme annule et remplace IEC/PAS 62573 publiée en 2008 et constitue une révision technique. La présente version bilingue publiée en 2012-01 correspond à la version anglaise monolingue publiée en 2010-08.

Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 5-21. del: Definicija opravil na aplikacijskem nivoju - Elementi tipa 21 (IEC 61158-5-21:2010)

Aplikacijski nivo procesnih vodil (FAL) omogoča uporabniškim programom dostop do komunikacijskega okolja procesnih vodil. Glede na to je mogoče aplikacijski nivo procesnih vodil šteti za »okno med ustreznimi aplikacijami«. Ta standard določa skupne elemente za osnovne časovno kritične in časovno nekritične sporočilne komunikacije med aplikacijami v avtomatizacijskem okolju in 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.

General Information

Status
Withdrawn
Publication Date
09-Jul-2012
Withdrawal Date
07-Mar-2022
Current Stage
9900 - Withdrawal (Adopted Project)
Start Date
07-Mar-2022
Due Date
30-Mar-2022
Completion Date
08-Mar-2022

Relations

Buy Standard

Standard
EN 61158-5-21:2012
English language
76 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (Sample)

SLOVENSKI STANDARD
SIST EN 61158-5-21:2012
01-september-2012
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 5-21. del:
Definicija opravil na aplikacijskem nivoju - Elementi tipa 21 (IEC 61158-5-21:2010)
Industrial communication networks - Fieldbus specifications - Part 5-21: Application layer
service definition - Type 21 elements (IEC 61158-5-21:2010)
Industrielle Kommunikationsnetze - Feldbusse - Teil 5-21: Dienstfestlegungen des
Application Layer (Anwendungsschicht) - Typ 21-Elemente (IEC 61158-5-21:2010)
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 5-21:
Définition des services des couches d'application - Eléments de type 21 (CEI 61158-5-
21:2010)
Ta slovenski standard je istoveten z: EN 61158-5-21:2012
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
SIST EN 61158-5-21:2012 en
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

---------------------- Page: 1 ----------------------

SIST EN 61158-5-21:2012

---------------------- Page: 2 ----------------------

SIST EN 61158-5-21:2012

EUROPEAN STANDARD
EN 61158-5-21

NORME EUROPÉENNE
June 2012
EUROPÄISCHE NORM

ICS 25.040.40; 35.100.70; 35.110


English version


Industrial communication networks -
Fieldbus specifications -
Part 5-21: Application layer service definition -
Type 21 elements
(IEC 61158-5-21:2010)


Réseaux de communication industriels -  Industrielle Kommunikationsnetze -
Spécifications des bus de terrain - Feldbusse -
Partie 5-21: Définition des services des Teil 5-21: Dienstfestlegungen des
couches d'application - Application Layer (Anwendungsschicht) -
Eléments de type 21 Typ 21-Elemente
(CEI 61158-5-21:2010) (IEC 61158-5-21:2010)





This European Standard was approved by CENELEC on 2012-03-28. 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, Romania, Slovakia, Slovenia,
Spain, Sweden, Switzerland, Turkey and the United Kingdom.

CENELEC
European Committee for Electrotechnical Standardization
Comité Européen de Normalisation Electrotechnique
Europäisches Komitee für Elektrotechnische Normung

Management Centre: Avenue Marnix 17, B - 1000 Brussels


© 2012 CENELEC - All rights of exploitation in any form and by any means reserved worldwide for CENELEC members.
Ref. No. EN 61158-5-21:2012 E

---------------------- Page: 3 ----------------------

SIST EN 61158-5-21:2012
EN 61158-5-21:2012 - 2 -

Foreword
The text of document 65C/606/FDIS, future edition 1 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 EN 61158-5-21:2012.

The following dates are fixed:
(dop) 2012-12-28
• latest date by which the document has
to be implemented at national level by
publication of an identical national
standard or by endorsement
• latest date by which the national (dow) 2015-03-28

standards conflicting with the
document have to be withdrawn

Attention is drawn to the possibility that some of the elements of this document may be the subject of
patent rights. CENELEC [and/or CEN] 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:2010 was approved by CENELEC as a European
Standard without any modification.
In the official version, for Bibliography, the following note has to be added for the standard indicated:
IEC/TR 61158-1:2010 NOTE  Harmonized as CLC/TR 61158-1:2010 (not modified).

---------------------- Page: 4 ----------------------

SIST EN 61158-5-21:2012
- 3 - EN 61158-5-21:2012

Annex ZA
(normative)

Normative references to international publications
with their corresponding European publications

The following documents, in whole or in part, are normatively referenced in this document and are
indispensable for its application. For dated references, only the edition cited applies. For undated
references, the latest edition of the referenced document (including any amendments) applies.

NOTE  When an international publication has been modified by common modifications, indicated by (mod), the relevant EN/HD
applies.

Publication Year Title EN/HD Year

IEC 60559 - Binary floating-point arithmetic for HD 592 S1 -
microprocessor systems


IEC 61158-2 2010 Industrial communication networks - EN 61158-2 2010
Fieldbus specifications -
Part 2: Physical layer specification and service
definition


IEC 61158-3-21 2010 Industrial communication networks - EN 61158-3-21 2012
Fieldbus specifications -
Part 3-21: Data-link layer service definition -
Type 21 elements


IEC 61158-4-21 2010 Industrial communication networks - EN 61158-4-21 2012
Fieldbus specifications -
Part 4-21: Data-link layer protocol
specification - Type 21 elements


IEC 61158-6-21 2010 Industrial communication networks - EN 61158-6-21 2012
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 9545 - Information technology - Open Systems - -
Interconnection - Application Layer structure


ISO/IEC 10731 1994 Information technology - Open Systems - -
Interconnection - Basic reference model -
Conventions for the definition of OSI services

---------------------- Page: 5 ----------------------

SIST EN 61158-5-21:2012

---------------------- Page: 6 ----------------------

SIST EN 61158-5-21:2012
IEC 61158-5-21
®
Edition 1.0 2010-08
INTERNATIONAL
STANDARD


Industrial communication networks – Fieldbus specifications –
Part 5-21: Application layer service definition – Type 21 elements


INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XB
ICS 25.04.40; 35.100.70; 35.110 ISBN 978-2-88912-114-4
® Registered trademark of the International Electrotechnical Commission

---------------------- Page: 7 ----------------------

SIST EN 61158-5-21:2012
– 2 – 61158-5-21 © IEC:2010(E)
CONTENTS
FOREWORD.4
INTRODUCTION.6
1 Scope.7
1.1 Overview .7
1.2 Specifications.8
1.3 Conformance.8
2 Normative references .8
3 Terms, definitions, symbols, abbreviations, and conventions .9
3.1 Terms and definitions from other ISO/IEC standards .9
3.2 Fieldbus data link layer terms.9
3.3 Fieldbus application layer specific definitions .10
3.4 Abbreviations and symbols.16
3.5 Conventions .16
4 Concepts .19
4.1 Common concepts.19
4.2 Type specific concepts .36
5 Data type ASE.39
5.1 General .39
5.2 Formal definition of data type objects .42
5.3 FAL defined data types.43
5.4 Data type ASE service specification .47
6 Communication model specification.47
6.1 ASEs.47
6.2 ARs .68
6.3 Summary of FAL classes .71
6.4 Permitted FAL services by AREP role.71
Bibliography.73

Figure 1 – Relationship to the OSI Basic Reference Model .20
Figure 2 – Architectural positioning of the fieldbus application layer.20
Figure 3 – Client/server interactions .23
Figure 4 – Pull model interactions.24
Figure 5 – Push model interactions .24
Figure 6 – APOs services conveyed by the FAL.26
Figure 7 – Application entity structure.28
Figure 8 – FAL management of objects.29
Figure 9 – ASE service conveyance.30
Figure 10 – Defined and established AREPs.32
Figure 11 – FAL architectural components .34
Figure 12 – Interaction between FAL and DLL .37
Figure 13 – Publisher-subscriber communication model.37
Figure 14 – Client-server communication model.38
Figure 15 – Object model.38
Figure 16 – ASEs of a Type 21 application .39

---------------------- Page: 8 ----------------------

SIST EN 61158-5-21:2012
61158-5-21 © IEC:2010(E) – 3 –
Figure 17 – Data type class hierarchy example .40
Figure 18 – The AR ASE conveys APDUs between APs.61

Table 1 – Types of timeliness .25
Table 2 – Overall structure of the OD.38
Table 3 – Identify service.50
Table 4 – Status service .52
Table 5 – Access rights for object .54
Table 6 – Read service .55
Table 7 – Write service .57
Table 8 – TB-transfer.60
Table 9 – COS-transfer.60
Table 10 – Conveyance of service primitives by AREP role.62
Table 11 – Valid combinations of AREP roles involved in an AR .62
Table 12 – AR-unconfirmed send .66
Table 13 – AR-confirmed send.67
Table 14 – FAL class summary .71
Table 15 – Services by AREP role .72

---------------------- Page: 9 ----------------------

SIST EN 61158-5-21:2012
– 4 – 61158-5-21 © IEC:2010(E)
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.
NOTE Use of some of the associated protocol types is restricted by their 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 particular data-link layer protocol type to be used with physical layer and application layer protocols in type
combinations as specified explicitly in the profile parts. Use of the various protocol types in other combinations
may require permission of their respective intellectual-property-right holders.
International Standard IEC 61158-5-21:2010 has been prepared by subcommittee 65C:
Industrial networks, of IEC technical committee 65: Industrial-process measurement, control
and automation.
This standard cancels and replaces IEC/PAS 62573 published in 2008. This first edition
constitutes a technical revision.

---------------------- Page: 10 ----------------------

SIST EN 61158-5-21:2012
61158-5-21 © IEC:2010(E) – 5 –
The text of this standard is based on the following documents:
FDIS Report on voting
65C/606/FDIS 65C/620/RVD

Full information on the voting for the approval of this 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.
NOTE The revision of this standard will be synchronized with the other parts of the IEC 61158 series.

---------------------- Page: 11 ----------------------

SIST EN 61158-5-21:2012
– 6 – 61158-5-21 © IEC:2010(E)
INTRODUCTION
This part of IEC 61158 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/TR 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 standard 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 standard is a conceptual architectural service,
independent of administrative and implementation divisions.

---------------------- Page: 12 ----------------------

SIST EN 61158-5-21:2012
61158-5-21 © IEC:2010(E) – 7 –
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 standard 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 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 standard 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 standard 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
themselves. This permits greater flexibility to the FAL-users in standardizing such object

---------------------- Page: 13 ----------------------

SIST EN 61158-5-21:2012
– 8 – 61158-5-21 © IEC:2010(E)
behavior. In addition to these services, some supporting services are also defined in this
standard to provide access to the FAL to control certain aspects of its operation.
1.2 Specifications
The principal objective of this standard 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 standard 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 standard, 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 standard 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 standard.
2 Normative references
The following documents are indispensable for the application 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,.
IEC 60559, Binary floating-point arithmetic for microprocessor systems
1
IEC 61158-2:2010 , Industrial communication networks – Fieldbus specifications – Part 2:
Physical layer specification and service definition
1
IEC 61158-3-21:2010 , Industrial communication networks – Fieldbus specifications –
Part 3-21: Data-link layer service definition – Type 21 elements
1
IEC 61158-4-21:2010 , Industrial communication networks – Fieldbus specifications –
Part 4-21: Data-link layer protocol specification – Type 21 elements
1
IEC 61158-6-21:2010 , 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
—————————
1
 To be published.

---------------------- Page: 14 ----------------------

SIST EN 61158-5-21:2012
61158-5-21 © IEC:2010(E) – 9 –
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 9545, Information technology – Open Systems Interconnection – Application layer
structure
ISO/IEC 10731:1994, Information technology – Open Systems Interconnection – Basic
Reference Model – Conventions for the definition of OSI services
3 Terms, definitions, symbols, abbreviations, and conventions
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 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:2010
and IEC 61158-4-21:2010 apply.
a) DL-Time
b) DL-Scheduling-policy
c) DLCEP

---------------------- Page: 15 ----------------------

SIST EN 61158-5-21:2012
– 10 – 61158-5-21 © IEC:2010(E)
d) DLC
e) DL-connection-oriented mode
f) DLPDU
g) DLSDU
h) DLSAP
k) link
l) ISO/IEC 8802-3:2000 MAC address
m) 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 identifier
distinguishes multiple application processes used in a device
3.3.5
application process object
component of an application process that is identifiable and accessible through an
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.