SIST EN 61158-5-20:2008
Industrial communication networks - Fieldbus specifications - Part 5-20: Application layer service definition - Type 20 elements
Industrial communication networks - Fieldbus specifications - Part 5-20: Application layer service definition - Type 20 elements
The fieldbus Application Layer (FAL) provides user programs with a means to access the fieldbus communication environment. In this respect, the FAL can be viewed as a "window between corresponding application programs." This part of IEC 61158 provides common elements for basic time-critical and non-time-critical messaging communications between application programs in an automation environment and material specific to Type 20 fieldbus. 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 different Types of the fieldbus Application Layer in terms of a) an abstract model for defining application resources (objects) capable of being manipulated by users via the use of 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 which they take; and d) the interrelationship between these actions and events, and their valid sequences. The purpose of this standard is to define the services provided to 1) the FAL user at the boundary between the user and the Application Layer of the Fieldbus Reference Model, and 2) Systems Management at the boundary between the Application Layer and Systems Management of the Fieldbus Reference Model. This standard specifies the structure and services of the IEC fieldbus Application Layer, 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 (AE) contained within 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 the management of the instances of FAL classes. Although these services specify, from the perspective of applications, how request and responses are issued and delivered, they do not include a specification of what the requesting and responding applications are to do with them. That is, the behavioral aspects of the applications are not specified; only a definition of what requests and responses they can send/receive is specified. 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 standard to provide access to the FAL to control certain aspects o f its operation.
Industrielle Kommunikationsnetze - Feldbusse - Teil 5-20: Dienstfestlegungen des Application Layer (Anwendungsschicht) - Typ 20-Elemente
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 5-20: Définition des services des couches d'application - Eléments de type 20
Industrijska komunikacijska omrežja - Specifikacije za procesno vodilo - 5-20. del: Definicija opravil na aplikacijskem nivoju - Elementi tipa 20 (IEC 61158-5-20:2007)
General Information
Relations
Standards Content (Sample)
SLOVENSKI STANDARD
SIST EN 61158-5-20:2008
01-julij-2008
1DGRPHãþD
SIST EN 61158-5:2004
Industrijska komunikacijska omrežja - Specifikacije za procesno vodilo - 5-20. del:
Definicija opravil na aplikacijskem nivoju - Elementi tipa 20 (IEC 61158-5-20:2007)
Industrial communication networks - Fieldbus specifications - Part 5-20: Application layer
service definition - Type 20 elements
Industrielle Kommunikationsnetze - Feldbusse - Teil 5-20: Dienstfestlegungen des
Application Layer (Anwendungsschicht) - Typ 20-Elemente
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 5-20:
Définition des services des couches d'application - Eléments de type 20
Ta slovenski standard je istoveten z: EN 61158-5-20:2008
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-20:2008 en,de
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
---------------------- Page: 1 ----------------------
SIST EN 61158-5-20:2008
---------------------- Page: 2 ----------------------
SIST EN 61158-5-20:2008
EUROPEAN STANDARD
EN 61158-5-20
NORME EUROPÉENNE
March 2008
EUROPÄISCHE NORM
ICS 35.100.70; 25.040.40 Partially supersedes EN 61158-5:2004
English version
Industrial communication networks -
Fieldbus specifications -
Part 5-20: Application layer service definition -
Type 20 elements
(IEC 61158-5-20:2007)
Réseaux de communication industriels - Industrielle Kommunikationsnetze -
Spécifications des bus de terrain - Feldbusse -
Partie 5-20: Définition des services Teil 5-20: Dienstfestlegungen
des couches d'application - des Application Layer
Eléments de type 20 (Anwendungsschicht) -
(CEI 61158-5-20:2007) Typ 20-Elemente
(IEC 61158-5-20:2007)
This European Standard was approved by CENELEC on 2008-02-01. 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 Central Secretariat 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 Central Secretariat has the same status as the official versions.
CENELEC members are the national electrotechnical committees of Austria, Belgium, Bulgaria, 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 and the United Kingdom.
CENELEC
European Committee for Electrotechnical Standardization
Comité Européen de Normalisation Electrotechnique
Europäisches Komitee für Elektrotechnische Normung
Central Secretariat: rue de Stassart 35, B - 1050 Brussels
© 2008 CENELEC - All rights of exploitation in any form and by any means reserved worldwide for CENELEC members.
Ref. No. EN 61158-5-20:2008 E
---------------------- Page: 3 ----------------------
SIST EN 61158-5-20:2008
EN 61158-5-20:2008 - 2 -
Foreword
The text of document 65C/475/FDIS, future edition 1 of IEC 61158-5-20, 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 was approved by CENELEC as EN 61158-5-20 on 2008-02-01.
This and the other parts of the EN 61158-5 series supersede EN 61158-5:2004.
With respect to EN 61158-5:2004 the following changes were made:
– deletion of Type 6 fieldbus for lack of market relevance;
– addition of new fieldbus types;
– partition into multiple parts numbered 5-2, 5-3, …, 5-20.
The following dates were fixed:
– latest date by which the EN has to be implemented
at national level by publication of an identical
(dop) 2008-11-01
national standard or by endorsement
– latest date by which the national standards conflicting
(dow) 2011-02-01
with the EN have to be withdrawn
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
EN 61784 series. Use of the various protocol types in other combinations may require permission from their respective
intellectual-property-right holders.
Annex ZA has been added by CENELEC.
__________
Endorsement notice
The text of the International Standard IEC 61158-5-20:2007 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-6-20 NOTE Harmonized as EN 61158-6-20:2008 (not modified).
IEC 61784-1 NOTE Harmonized as EN 61784-1:2008 (not modified).
IEC 61784-2 NOTE Harmonized as EN 61784-2:2008 (not modified).
__________
---------------------- Page: 4 ----------------------
SIST EN 61158-5-20:2008
- 3 - EN 61158-5-20:2008
Annex ZA
(normative)
Normative references to international publications
with their corresponding European publications
The following referenced 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.
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/TR 61158-1 2007 Industrial communication networks - - -
Fieldbus specifications -
Part 1: Overview and guidance for the
IEC 61158 and IEC 61784 series
1) 2)
ISO/IEC 7498-1 - Information technology - Open Systems EN ISO/IEC 7498-1 1995
Interconnection - Basic Reference Model:
The Basic Model
1)
ISO/IEC 8822 - Information technology - Open Systems - -
Interconnection - Presentation service
definition
1)
ISO/IEC 8824 - Information technology - Open Systems - -
Interconnection - Specification of Abstract
Syntax Notation One (ASN.1)
1)
ISO/IEC 8859-1 - Information technology - 8-bit single-byte - -
coded graphic character sets -
Part 1: Latin alphabet No.1
1)
ISO/IEC 9545 - Information technology - Open Systems - -
Interconnection - Application Layer structure
1)
ISO/IEC 10731 - Information technology - Open Systems - -
Interconnection - Basic reference model -
Conventions for the definition of OSI services
1)
Undated ereference.
2)
Valid edition at date of issue.
---------------------- Page: 5 ----------------------
SIST EN 61158-5-20:2008
---------------------- Page: 6 ----------------------
SIST EN 61158-5-20:2008
IEC 61158-5-20
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 5-20: Application layer service definition – Type 20 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
X
ICS 35.100.70; 25.040.40 ISBN 2-8318-9473-5
---------------------- Page: 7 ----------------------
SIST EN 61158-5-20:2008
– 2 – 61158-5-20 © IEC:2007(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 ISO/IEC 7498-1 terms .9
3.2 ISO/IEC 8822 terms .9
3.3 ISO/IEC 9545 terms .9
3.4 ISO/IEC 8824 terms .9
3.5 IEC/TR 61158-1 terms.9
3.6 Fieldbus application-layer specific definitions .12
3.7 Abbreviations and symbols .14
3.8 Conventions .14
4 Concepts .18
5 Data type ASE.18
5.1 Overview .18
5.2 Formal definition of data type objects .19
5.3 FAL defined data types.21
5.4 Data type ASE service specification .24
5.5 Summary of data types.24
6 Communication model specification .25
6.1 Common parameters .25
6.2 ASEs .26
6.3 ARs .41
6.4 Summary of classes .44
6.5 Permitted services by AREP role .44
Bibliography.46
Figure 1 – Data type class hierarchy .18
Figure 2 – VFD model .26
23
Table 1 – Packed ASCII character set.
Table 2 – ISO Latin-1 characters .24
Table 3 – Data type summary .24
Table 4 – Comm status values .25
Table 5 – Response code values .25
Table 6 – Device status values .26
Table 7 – Identify service parameters .29
Table 8 – Read service parameters.32
Table 9 – Write service parameters.33
Table 10 – AR get attributes service parameters.43
Table 11 – AR set attributes service parameters .44
---------------------- Page: 8 ----------------------
SIST EN 61158-5-20:2008
61158-5-20 © IEC:2007(E) – 3 –
Table 12 – Class summary.44
Table 13 – Services by AREP class .45
---------------------- Page: 9 ----------------------
SIST EN 61158-5-20:2008
– 4 – 61158-5-20 © IEC:2007(E)
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 5-20: Application layer service definition – Type 20 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 provides no marking procedure to indicate its approval and cannot be rendered responsible for any
equipment declared to be in conformity with an IEC Publication.
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 IEC 61784 series. Use of the various protocol types in other
combinations may require permission from their respective intellectual-property-right holders.
International Standard IEC 61158-5-20 has been prepared by subcommittee 65C: Industrial
networks, of IEC technical committee 65: Industrial-process measurement, control and
automation.
This edition and its companion parts of IEC 61158-5 cancel and replace IEC 61158-5:2003.
This edition of this part constitutes a technical addition.
This edition of IEC 61158-5 includes the following significant changes from the prior edition:
a) deletion of the former Type 6 fieldbus for lack of market relevance;
b) addition of new types of fieldbuses;
---------------------- Page: 10 ----------------------
SIST EN 61158-5-20:2008
61158-5-20 © IEC:2007(E) – 5 –
c) partition of part 5 of the third edition into multiple parts numbered -5-2, -5-3, …
The text of this standard is based on the following documents:
FDIS Report on voting
65C/475/FDIS 65C/486/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.
The committee has decided that the contents of this publication will remain unchanged until
the maintenance result 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.
The list of all the parts of the IEC 61158 series, under the general title Industrial
communication networks – Fieldbus specifications, can be found on the IEC web site.
---------------------- Page: 11 ----------------------
SIST EN 61158-5-20:2008
– 6 – 61158-5-20 © IEC:2007(E)
INTRODUCTION
This standard 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-20:2008
61158-5-20 © IEC:2007(E) – 7 –
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 5-20: Application layer service definition – Type 20 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 viewed as a “window
between corresponding application programs.”
This part of IEC 61158 provides common elements for basic time-critical and non-time-critical
messaging communications between application programs in an automation environment and
material specific to Type 20 fieldbus. 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
different Types of the fieldbus Application Layer in terms of
a) an abstract model for defining application resources (objects) capable of being
manipulated by users via the use of 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 which they
take; and
d) the interrelationship between these actions and events, and their valid sequences.
The purpose of this standard is to define the services provided to
1) the FAL user at the boundary between the user and the Application Layer of the Fieldbus
Reference Model, and
2) Systems Management at the boundary between the Application Layer and Systems
Management of the Fieldbus Reference Model.
This standard specifies the structure and services of the IEC fieldbus Application Layer, 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 (AE) contained within 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 the management of the instances of FAL classes.
Although these services specify, from the perspective of applications, how request and
responses are issued and delivered, they do not include a specification of what the requesting
and responding applications are to do with them. That is, the behavioral aspects of the
applications are not specified; only a definition of what requests and responses they can
send/receive is specified. This permits greater flexibility to the FAL users in standardizing
---------------------- Page: 13 ----------------------
SIST EN 61158-5-20:2008
– 8 – 61158-5-20 © IEC:2007(E)
such object 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. It is this latter objective which gives rise to the diversity of services
standardized as the various types of IEC 61158.
This specification may be used as the basis for formal Application Programming-Interfaces.
Nevertheless, it is not a formal programming interface, and any such interface will need to
address implementation issues not covered by this specification, including
a) the sizes and octet ordering of various multi-octet service parameters, and
b) the correlation of paired request and confirm, or indication and response, primitives.
1.3 Conformance
This standard does not specify individual implementations or products, nor do they constrain
the implementations of application layer entities within industrial automation systems.
There is no conformance of equipment to this application layer service definition standard.
Instead, conformance is achieved through implementation of conforming application layer
protocols that fulfill the Type 20 application layer services as defined in this standard.
2 Normative references
The following referenced standards 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 standard (including any amendments) applies.
IEC/TR 61158-1 (Ed.2.0), Industrial communication networks – Fieldbus specifications –
Part 1: Overview and guidance for the IEC 61158 and IEC 61784 series
ISO/IEC 7498-1, Information technology – Open Systems Interconnection – Basic Reference
Model – Part 1: The Basic Model
ISO/IEC 8822, Information technology – Open Systems Interconnection – Presentation service
definition
ISO/IEC 8824, Information Technology – Abstract Syntax notation One (ASN-1): Specification
of basic notation
ISO/IEC 8859-1, Information technology – 8-bit single-byte coded graphic character sets –
Part 1: Latin alphabet No. 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
---------------------- Page: 14 ----------------------
SIST EN 61158-5-20:2008
61158-5-20 © IEC:2007(E) – 9 –
3 Terms, definitions, symbols, abbreviations and conventions
For the purposes of this document, the following terms as defined in these publications apply:
3.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.2 ISO/IEC 8822 terms
a) abstract syntax
b) presentation context
3.3 ISO/IEC 9545 terms
a) application-entity-invocation
b) application-entity-type
c) application-process-invocation
d) application-process-type
e) application-service-elementt
3.4 ISO/IEC 8824 terms
a) object identifier
b) type
3.5 IEC/TR 61158-1 terms
The following IEC/TR 61158-1 terms apply.
3.5.1 application
function or data structure for which data is consumed or produced
3.5.2 application layer interoperability
capability of application entities to perform coordinated and cooperative operations using the
services of the FAL
3.5.3 application object
object class that manages and provides the run time exchange of messages across the
network and within the network device
NOTE Multiple types of application object classes may be defined.
---------------------- Page: 15 ----------------------
SIST EN 61158-5-20:2008
– 10 – 61158-5-20 © IEC:2007(E)
3.5.4 application process
part of a distributed application on a network, which is located on one device and
unambiguously addressed
3.5.5 application process identifier
distinguishes multiple application processes used in a device
3.5.6 application process object
component of an application process that is identifiable and accessible through an FAL
application relationship. 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
Definition). Application process object definitions may be accessed remotely using the
services of the FAL Object Management ASE. FAL Object Management services can be used
to load or update object definitions, to read object definitions, and to dynamically create and
delete application objects and their corresponding definitions
3.5.7 application process object class
a class of application process objects defined in terms of the set of their network-accessible
attributes and services
3.5.8 application relationship
cooperative association between two or more application-entity-invocations for the purpose of
exchange of information and coordination of their joint operation. This relationship is activated
either by the exchange of application-protocol-data-units or as a result of pre-configuration
activities
3.5.9 application relationship application service element
application-service-element that provides the exclusive means for establishing and
terminating all application relationships
3.5.10 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. Each application process
involved in the application relationship maintains its own application relationship endpoint
3.5.11 attribute
description of an externally visible characteristic or feature of an object. 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.
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.