EN 61158-5-2:2012
(Main)Industrial communication networks - Fieldbus specifications - Part 5-2: Application layer service definition - Type 2 elements
Industrial communication networks - Fieldbus specifications - Part 5-2: Application layer service definition - Type 2 elements
IEC 61158-5-2:2010(E) defines in an abstract way the externally visible service provided by the Type 2 fieldbus application layer in terms of an abstract model for defining application resources (objects) capable of being manipulated by users via the use of the FAL service, the primitive actions and events of the service; the parameters associated with each primitive action and event, and the form which they take; and the interrelationship between these actions and events, and their valid sequences. This second edition cancels and replaces the first edition published in 2007 and constitutes a technical revision. The main changes with respect to the previous edition are: - Clause 2 and Bibliography: update of normative and bibliographic references; - subclause 6.1.3: update lists with new objects; - subclause 6.2.1.2.6: update of the Time Sync ASE/object (to match new IEC 61558); - new subclause 6.2.1.2.7: new Parameter ASE/object; - subclause 6.2.1.3: update/add services for Time Sync and Parameter ASEs; - subclause 6.2.2.3: minor updates to the Connection Manager ASE services; - subclause 6.4: add Parameter ASE to the object table; - subclause 6.5: update contents of service table for Time Sync and Parameter ASEs.
Industrielle Kommunikationsnetze - Feldbusse - Teil 5-2: Dienstfestlegungen des Application Layer (Anwendungsschicht) - Typ 2-Elemente
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 5-2: Définition des services des couches d'application - Eléments de type 2
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 500. del: Definicija opravil aplikacijskega nivoja (IEC 61158-5-2: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 procesna vodila tipa 2. 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 standard na abstrakten način določa zunanje vidno opravilo, ki ga zagotavlja aplikacijski nivo procesnih vodil tipa 2 v zvezi 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, in obliko, ki jo prevzamejo; ter d) medsebojno povezavo med temi dejanji in dogodki ter njihovimi veljavnimi zaporedji. Namen tega standarda 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 ter b) upravljanje sistemov na meji med aplikacijskim nivojem in upravljanje sistemov referenčnega modela procesnih vodil. Ta standard določa strukturo in opravila aplikacijskega nivoja procesnih vodil tipa 2 v skladu z osnovnim referenčnim modelom OSI (ISO/IEC 7498-1) in strukturo aplikacijskega nivoja OSI (ISO/IEC 9545). Opravila in protokole aplikacijskega nivoja procesnih vodil zagotavljajo aplikacijski osebki (AE) aplikacijskega nivoja procesnih vodil znotraj aplikacijskih procesov. 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.
General Information
- Status
- Withdrawn
- Publication Date
- 07-Jun-2012
- Withdrawal Date
- 27-Mar-2015
- Technical Committee
- CLC/TC 65X - Industrial-process measurement, control and automation
- Drafting Committee
- IEC/SC 65C - IEC_SC_65C
- Parallel Committee
- IEC/SC 65C - IEC_SC_65C
- Current Stage
- 9960 - Withdrawal effective - Withdrawal
- Start Date
- 22-Sep-2017
- Completion Date
- 22-Sep-2017
Relations
- Effective Date
- 29-Jan-2023
- Effective Date
- 28-Jan-2023
Get Certified
Connect with accredited certification bodies for this standard

BSI Group
BSI (British Standards Institution) is the business standards company that helps organizations make excellence a habit.
National Aerospace and Defense Contractors Accreditation Program (NADCAP)
Global cooperative program for special process quality in aerospace.
CARES (UK Certification Authority for Reinforcing Steels)
UK certification for reinforcing steels and construction.
Sponsored listings
Frequently Asked Questions
EN 61158-5-2:2012 is a standard published by CLC. Its full title is "Industrial communication networks - Fieldbus specifications - Part 5-2: Application layer service definition - Type 2 elements". This standard covers: IEC 61158-5-2:2010(E) defines in an abstract way the externally visible service provided by the Type 2 fieldbus application layer in terms of an abstract model for defining application resources (objects) capable of being manipulated by users via the use of the FAL service, the primitive actions and events of the service; the parameters associated with each primitive action and event, and the form which they take; and the interrelationship between these actions and events, and their valid sequences. This second edition cancels and replaces the first edition published in 2007 and constitutes a technical revision. The main changes with respect to the previous edition are: - Clause 2 and Bibliography: update of normative and bibliographic references; - subclause 6.1.3: update lists with new objects; - subclause 6.2.1.2.6: update of the Time Sync ASE/object (to match new IEC 61558); - new subclause 6.2.1.2.7: new Parameter ASE/object; - subclause 6.2.1.3: update/add services for Time Sync and Parameter ASEs; - subclause 6.2.2.3: minor updates to the Connection Manager ASE services; - subclause 6.4: add Parameter ASE to the object table; - subclause 6.5: update contents of service table for Time Sync and Parameter ASEs.
IEC 61158-5-2:2010(E) defines in an abstract way the externally visible service provided by the Type 2 fieldbus application layer in terms of an abstract model for defining application resources (objects) capable of being manipulated by users via the use of the FAL service, the primitive actions and events of the service; the parameters associated with each primitive action and event, and the form which they take; and the interrelationship between these actions and events, and their valid sequences. This second edition cancels and replaces the first edition published in 2007 and constitutes a technical revision. The main changes with respect to the previous edition are: - Clause 2 and Bibliography: update of normative and bibliographic references; - subclause 6.1.3: update lists with new objects; - subclause 6.2.1.2.6: update of the Time Sync ASE/object (to match new IEC 61558); - new subclause 6.2.1.2.7: new Parameter ASE/object; - subclause 6.2.1.3: update/add services for Time Sync and Parameter ASEs; - subclause 6.2.2.3: minor updates to the Connection Manager ASE services; - subclause 6.4: add Parameter ASE to the object table; - subclause 6.5: update contents of service table for Time Sync and Parameter ASEs.
EN 61158-5-2:2012 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.
EN 61158-5-2:2012 has the following relationships with other standards: It is inter standard links to EN 61158-5-2:2008, EN 61158-5-2:2014. Understanding these relationships helps ensure you are using the most current and applicable version of the standard.
EN 61158-5-2:2012 is associated with the following European legislation: Standardization Mandates: M/490. When a standard is cited in the Official Journal of the European Union, products manufactured in conformity with it benefit from a presumption of conformity with the essential requirements of the corresponding EU directive or regulation.
EN 61158-5-2:2012 is available in PDF format for immediate download after purchase. The document can be added to your cart and obtained through the secure checkout process. Digital delivery ensures instant access to the complete standard document.
Standards Content (Sample)
SLOVENSKI STANDARD
01-september-2012
1DGRPHãþD
SIST EN 61158-5-2:2008
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 500. del:
Definicija opravil aplikacijskega nivoja (IEC 61158-5-2:2010)
Industrial communication networks - Fieldbus specifications - Part 500: Application layer
service definition (IEC 61158-5-2:2010)
Industrielle Kommunikationsnetze - Feldbusse - Teil 500: Dienstfestlegungen des
Application Layer (Anwendungsschicht) (IEC 61158-5-2:2010)
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 5-2:
Définition des services des couches d'application - Eléments de type 2 (CEI 61158-5-
2:2010)
Ta slovenski standard je istoveten z: EN 61158-5-2: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
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
EUROPEAN STANDARD
EN 61158-5-2
NORME EUROPÉENNE
June 2012
EUROPÄISCHE NORM
ICS 25.040.40; 35.100.70; 35.110 Supersedes EN 61158-5-2:2008
English version
Industrial communication networks -
Fieldbus specifications -
Part 5-2: Application layer service definition -
Type 2 elements
(IEC 61158-5-2:2010)
Réseaux de communication industriels - Industrielle Kommunikationsnetze -
Spécifications des bus de terrain - Feldbusse -
Partie 5-2: Définition des services des Teil 5-2: Dienstfestlegungen des
couches d'application - Application Layer (Anwendungsschicht) -
Eléments de type 2 Typ 2-Elemente
(CEI 61158-5-2:2010) (IEC 61158-5-2: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-2:2012 E
Foreword
The text of document 65C/606/FDIS, future edition 2 of IEC 61158-5-2, 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-2: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
This document supersedes EN 61158-5-2:2008.
2:2008:
— Clause 2 and Bibliography: update of normative and bibliographic references;
— subclause 6.1.3: update lists with new objects
— subclause 6.2.1.2.6: update of the Time Sync ASE/object (to match new EN 61558)
— new subclause 6.2.1.2.7: new Parameter ASE/object
— subclause 6.2.1.3: update/add services for Time Sync and Parameter ASEs
— subclause 6.2.2.3: minor updates to the Connection Manager ASE services
— subclause 6.4: add Parameter ASE to the object table
— subclause 6.5: update contents of service table for Time Sync and Parameter ASEs
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-2:2010 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 61131-1 NOTE Harmonized as EN 61131-1.
IEC 61158-2:2010 NOTE Harmonized as EN 61158-2:2010 (not modified).
IEC 62026-3 NOTE Harmonized as EN 62026-3.
- 3 - EN 61158-5-2: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 61131-3 2003 Programmable controllers - EN 61131-3 2003
Part 3: Programming languages
IEC/TR 61158-1 2010 Industrial communication networks - Fieldbus CLC/TR 61158-1 2010
specifications -
Part 1: Overview and guidance for the IEC
61158 and IEC 61784 series
IEC 61158-3-2 2007 Industrial communication networks - Fieldbus EN 61158-3-2 2008
specifications -
Part 3-2: Data-link layer service definition -
Type 2 elements
IEC 61158-4-2 2010 Industrial communication networks - Fieldbus EN 61158-4-2 2012
specifications -
Part 4-2: Data-link layer protocol specification
- Type 2 elements
IEC 61158-6-2 2010 Industrial communication networks - Fieldbus EN 61158-6-2 2012
specifications -
Part 6-2: Application layer protocol
specification - Type 2 elements
IEC 61588 2009 Precision clock synchronization protocol for - -
networked measurement and control systems
IEC 61784-3-2 - Industrial communication networks - Profiles - EN 61784-3-2 -
Part 3-2: Functional safety fieldbuses -
Additional specifications for CPF 2
ISO/IEC 646 - Information technology - ISO 7-bit coded - -
character set for information interchange
ISO/IEC 7498-1 - Information technology - Open Systems - -
Interconnection - Basic Reference Model:
The Basic Model
ISO/IEC 8859 Series Information technology - 8-bit single-byte - -
coded graphic character sets
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 10646 - Information technology - Universal multiple-- -
octet coded character set (UCS)
Publication Year Title EN/HD Year
ISO/IEC 10731 - Information technology - Open Systems - -
Interconnection - Basic reference model -
Conventions for the definition of OSI services
ISO 639-2 - Codes for the representation of names of - -
languages -
Part 2: Alpha-3 code
ISO 11898 1993 Road vehicles - Interchange of digital - -
information - Controller area network (CAN)
for high-speed communication
IETF RFC 1759 - Printer MIB - -
IEC 61158-5-2 ®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD
colour
inside
Industrial communication networks – Fieldbus specifications –
Part 5-2: Application layer service definition – Type 2 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XJ
ICS 25.04.40; 35.100.70; 35.110 ISBN 978-2-88912-105-2
– 2 – 61158-5-2 © IEC:2010(E)
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 ISO/IEC 7498-1 terms .10
3.2 ISO/IEC 8822 terms .11
3.3 ISO/IEC 9545 terms .11
3.4 ISO/IEC 8824 terms .11
3.5 Type 2 fieldbus data-link layer terms .11
3.6 Type 2 fieldbus application-layer specific definitions.11
3.7 Type 2 abbreviations and symbols.18
3.8 Conventions .19
4 Common concepts.22
5 Data type ASE.22
5.1 General .22
5.2 Formal definition of data type objects .22
5.3 FAL defined data types.22
5.4 Data type ASE service specification .32
6 Communication model specification.32
6.1 Concepts.32
6.2 ASEs.40
6.3 ARs .155
6.4 Summary of FAL classes .192
6.5 Permitted FAL services by AR type .193
Bibliography.195
Figure 1 – Overview of ASEs and object classes .34
Figure 2 – Addressing format using MAC, class, instance and attribute IDs .35
Figure 3 – Identity object state transition diagram .52
Figure 4 – Static Assembly state transition diagram .57
Figure 5 – Dynamic Assembly state transition diagram .58
Figure 6 – Typical timing relationships for acknowledged data production.67
Figure 7 – Example of a COS system with two acking devices .67
Figure 8 – Message flow in COS connection – one Connection object, one consumer.67
Figure 9 – Message flow in COS connection – multiple consumers .68
Figure 10 – CPF2 time synchronization offset clock model.80
Figure 11 – CPF2 time synchronization system with offset clock model .80
Figure 12 – CPF2 time synchronization group startup sequence .83
Figure 13 – Parameter object state transition diagram .89
61158-5-2 © IEC:2010(E) – 3 –
Figure 14 – Example of Find_Next_Object_Instance service . 114
Figure 15 – Transmission trigger timer.149
Figure 16 – Inactivity watchdog timer.150
Figure 17 – Using tools for configuration.151
Figure 18 – Production inhibit timer .152
Figure 19 – Context of transport services within the connection model. 158
Figure 20 – Application–to–application view of data transfer . 158
Figure 21 – Data flow diagram for a link producer .159
Figure 22 – Data flow diagram for a link consumer.160
Figure 23 – Triggers .161
Figure 24 – Binding transport instances to the producer and consumer of a transport
connection that does not have a reverse data path .162
Figure 25 – Binding transport instances to the producers and consumers of a transport
connection that does have a reverse data path . 162
Figure 26 – Binding transport instances to the producer and consumers of a multipoint
connection when the transport connection does not have a reverse data path . 163
Figure 27 – Binding transport instances to the producers and consumers of a
multipoint connection when the transport connection does have reverse data paths .163
Table 1 – Valid IANA MIB printer codes for character set selection .31
Table 2 – Common elements .37
Table 3 – ST language elements.38
Table 4 – Type conversion operations.38
Table 5 – Values of implementation-dependent parameters .39
Table 6 – Extensions to IEC 61131-3:2003 .40
Table 7 – Identity object state event matrix .53
Table 8 – Static Assembly state event matrix .57
Table 9 – Dynamic Assembly state event matrix .58
Table 10 – Message Router object Forward_Open parameters .61
Table 11 – Acknowledge Handler object state event matrix.64
Table 12 – Producing I/O application object state event matrix .65
Table 13 – Profile identification.77
Table 14 – Profile default settings and ranges .77
Table 15 – Default PTP clock settings.78
Table 16 – Hand_Set clock quality management .79
Table 17 – Parameter object state event matrix .89
Table 18 – Status codes .92
Table 19 – Get_Attribute_All service parameters .94
Table 20 – Set_Attribute_All service parameters.95
Table 21 – Get_Attribute_List service parameters.97
Table 22 – Set_Attribute_List service parameters .99
Table 23 – Reset service parameters.101
Table 24 – Start service parameters .103
Table 25 – Stop service parameters.105
– 4 – 61158-5-2 © IEC:2010(E)
Table 26 – Create service parameters .106
Table 27 – Delete service parameters.108
Table 28 – Get_Attribute_Single service parameters. 109
Table 29 – Set_Attribute_Single service parameters . 111
Table 30 – Find_Next_Object_Instance service parameters . 112
Table 31 – NOP service parameters .115
Table 32 – Apply_Attributes service parameters . 116
Table 33 – Save service parameters .118
Table 34 – Restore service parameters.119
Table 35 – Group_Sync service parameters.121
Table 36 – Add_AckData_Path service parameters.123
Table 37 – Remove_AckData_Path service parameters . 124
Table 38 – Get-Enum_String service parameters .125
Table 39 – CM_Open service parameters .133
Table 40 – CM_Close service parameters.135
Table 41 – CM_ Unconnected_Send service parameters . 137
Table 42 – CM_Get_Connection_Data service parameters . 139
Table 43 – CM_Search_Connection_Data service parameters . 140
Table 44 – CM_Get_Connection_Data service parameters . 141
Table 45 – I/O Connection object attribute access .146
Table 46 – Bridged Connection object attribute access .147
Table 47 – Explicit messaging object attribute access. 148
Table 48 – Connection_Bind service parameters . 153
Table 49 – Service_Name service parameters .154
Table 50 – How production trigger, transport class, and CM_RPI determine when data
is produced.157
Table 51 – Transport classes .168
Table 52 – UCMM_Create service parameters .185
Table 53 – UCMM_Delete service parameters .186
Table 54 – UCMM_Write service parameters .187
Table 55 – UCMM_Abort service parameters .188
Table 56 – TR_Write service parameters .189
Table 57 – TR_Trigger service parameters .190
Table 58 – TR_Packet_arrived service parameters .190
Table 59 – TR_Ack_received service parameters. 191
Table 60 – TR_Verify service parameters .191
Table 61 – TR_Status_updated service parameters .192
Table 62 – FAL class summary .193
Table 63 – FAL services by AR type .194
61158-5-2 © IEC:2010(E) – 5 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 5-2: Application layer service definition –
Type 2 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 1 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-2 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 2007. This edition
constitutes a technical revision.
The main changes with respect to the previous edition are listed below:
• Clause 2 and Bibliography: update of normative and bibliographic references
– 6 – 61158-5-2 © IEC:2010(E)
• subclause 6.1.3: update lists with new objects
• subclause 6.2.1.2.6: update of the Time Sync ASE/object (to match new IEC 61558)
• new subclause 6.2.1.2.7: new Parameter ASE/object
• subclause 6.2.1.3: update/add services for Time Sync and Parameter ASEs
• subclause 6.2.2.3: minor updates to the Connection Manager ASE services
• subclause 6.4: add Parameter ASE to the object table
• subclause 6.5: update contents of service table for Time Sync and Parameter ASEs
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 2 The revision of this standard will be synchronized with the other parts of the IEC 61158 series.
IMPORTANT – The 'colour inside' logo on the cover page of this publication indicates
that it contains colours which are considered to be useful for the correct
understanding of its contents. Users should therefore print this document using a
colour printer.
61158-5-2 © IEC:2010(E) – 7 –
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.
– 8 – 61158-5-2 © IEC:2010(E)
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 5-2: Application layer service definition –
Type 2 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 standard 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 2 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 Type 2
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
a) the FAL user at the boundary between the user and the application layer of the fieldbus
reference model, and
b) 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 Type 2 fieldbus application layer, in
conformance with the OSI Basic Reference Model (ISO/IEC 7498-1) 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
61158-5-2 © IEC:2010(E) – 9 –
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 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, and the corresponding protocols
standardized in subparts of IEC 61158-6.
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 does it 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 2 application layer services as defined in this standard.
2 Normative references
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.
IEC 60559, Binary floating-point arithmetic for microprocessor systems
IEC 61131-3:2003, Programmable controllers – Part 3: Programming languages
IEC/TR 61158-1:2010 , Industrial communication networks – Fieldbus specifications – Part 1:
Overview and guidance for the IEC 61158 and IEC 61784 series
IEC 61158-3-2:2007, Industrial communication networks – Fieldbus specifications - Part 3-2:
Data-link layer service definition – Type 2 elements
IEC 61158-4-2:2010 , Industrial communication networks – Fieldbus specifications – Part 4-2:
Data-link layer protocol specification – Type 2 elements
IEC 61158-6-2:2010 , Industrial communication networks – Fieldbus specifications – Part 6-2:
Application layer protocol specification – Type 2 elements
___________
To be published.
– 10 – 61158-5-2 © IEC:2010(E)
IEC 61588:2009, Precision clock synchronization protocol for networked measurement and
control systems
IEC 61784-3-2, Industrial communications networks – Profiles – Part 3-2: Functional safety
fieldbuses – Additional specifications for CPF 2
ISO/IEC 646, Information technology – ISO 7–bit coded character set for information
interchange
ISO/IEC 7498-1, Information technology – Open Systems Interconnection – Basic Reference
Model: The Basic Model
ISO/IEC 8859 (all parts), Information technology – 8-bit single-byte coded graphic character
sets
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 10646, Information technology – Universal Multiple-Octet Coded Character Set
(UCS)
ISO/IEC 10731, Information technology – Open Systems Interconnection – Basic Reference
Model – Conventions for the definition of OSI services
ISO 639-2, Codes for the representation of names of languages – Part 2: Alpha-3 code
ISO 11898:1993 , Road vehicles – Interchange of digital information – Controller area
network (CAN) for high-speed communication
IETF RFC 1759, Printer MIB, available at
3 Terms, definitions, symbols, abbreviations and conventions
For the purposes of this document, the following terms, definitions, symbols, abbreviations
and conventions 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
___________
A newer edition of this standard has been published, but only the cited edition applies.
61158-5-2 © IEC:2010(E) – 11 –
3.2 ISO/IEC 8822 terms
a) abstract syntax
b) presentation context
3.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.4 ISO/IEC 8824 terms
a) object identifier
b) type
3.5 Type 2 fieldbus data-link layer terms
The following terms, defined in IEC 61158-3-2:2007 and IEC 61158-4-2:2010, apply.
a) DL-time
b) DL-scheduling-policy
c) DLCEP
d) DLC
e) DL-connection-oriented mode
f) DLPDU
g) DLSDU
h) DLSAP
i) fixed tag
j) generic tag
k) link
l) MAC ID
m) network address
n) node address
o) node
p) tag
q) scheduled
r) unscheduled
3.6 Type 2 fieldbus application-layer specific definitions
3.6.1
allocate
take a resource from a common area and assign that resource for the exclusive use of a
specific entity
– 12 – 61158-5-2 © IEC:2010(E)
3.6.2
application
function or data structure for which data is consumed or produced
3.6.3
application objects
multiple object classes that manage and provide a run time exchange of messages across the
network and within the network device
3.6.4
application process
part of a distributed application on a network, which is located on one device and
unambiguously addressed
3.6.5
application process object
component of an application process that is identifiable and accessible through an FAL
application relationship
3.6.6
application process object class
a class of application process objects defined in terms of the set of their network-accessible
attributes and services
3.6.7
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 preconfiguration
activities
3.6.8
application relationship application service element
application-service-element that provides the exclusive means for establishing and
terminating all application relationships
3.6.9
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 Each application process involved in the application relationship maintains its own application relationship
endpoint.
3.6.10
attribute
description of an externally visible characteristic or feature of an object
NOTE 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.6.11
behavior
indication of how an object responds to particular events
3.6.12
boundary clock
clock with more than a single PTP port, with each PTP port providing access to a separate
PTP communication path
61158-5-2 © IEC:2010(E) – 13 –
NOTE Boundary clocks are used to eliminate fluctuations produced by routers and similar network elements.
3.6.13
class
a set of objects, all of which represent the same kind of system component
NOTE 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.6.14
class attributes
attribute that is shared by all objects within the same class
3.6.15
class code
unique identifier assigned to each object class
3.6.16
class specific service
service defined by a particular object class to perform a required function which is not
performed by a common service
NOTE A class specific object is unique to the object class which defines it.
3.6.17
client
a) object which uses the services of another (server) object to perform a task
b) initiator of a message to which a server reacts
3.6.18
clock
device providing a measurement of the passage of time since a defined epoch
NOTE There are two types of clocks in IEC 61588:2009, boundary clocks and ordinary clocks.
3.6.19
communication objects
components that manage and provide a run time exchange of messages across the network
EXAMPLES Connection Manager object, Unconnected Message Manager (UCMM) object, and Message Router
object
3.6.20
connection
logical binding between application objects that may be within the same or different devices
NOTE 1 Connections may be either point-to-point or multipoint.
NOTE 2 The logical link between sink and source of attributes and services at different custom interfaces of RT-
Auto ASEs is referred to as interconnection. There is a distinction between data and event interconnections. The
logical link and the data flow between sink and source of automation data items is referred to as data
interconnection. The logical link and the data flow between sink (method) and source (event) of operational
services is referred to as event interconnection.
3.6.21
connection ID (CID)
identifier assigned to a transmission that is associated with a particular connection between
p
...




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