EN 61158-5-9:2014
(Main)Industrial communication networks - Fieldbus specifications - Part 5-9: Application layer service definition - Type 9 elements
Industrial communication networks - Fieldbus specifications - Part 5-9: Application layer service definition - Type 9 elements
IEC 61158-5-9:2014 defines the services provided to the FAL user at the boundary between the user and the application layer of the fieldbus reference model, and 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-1) and the OSI application layer structure (ISO/IEC 9545). This second edition cancels and replaces the first edition published in 2007 and constitutes a technical revision. The main changes are: Correct download state machine event service.
Industrielle Kommunikationsnetze - Feldbusse - Teil 5-9: Dienstfestlegungen des Application Layer (Anwendungsschicht) - Typ 9-Elemente
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 5-9: Définition des services de la couche application - Eléments de type 9
L'IEC 61158-5-9:2014 défini les services mis en place pour l'utilisateur de FAL, à la frontière entre l'utilisateur et la couche application du modèle de référence de bus de terrain; et la Gestion des systèmes, à la frontière entre la couche application et la Gestion des systèmes selon le modèle de référence de bus de terrain. La présente norme spécifie la structure et les services de la couche application de bus de terrain IEC, 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). Cette deuxième édition annule et remplace la première édition parue en 2007. Elle constitue une révision technique. Cette édition inclut les modifications suivantes: Correction des services d'événements du diagramme d'états de téléchargement descendant.
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 5-9. del: Definicija opravil na aplikacijski ravni - Elementi tipa 9 (IEC 61158-5-9:2014)
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 obravnavati kot »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 9. 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 na zunaj vidno opravilo, ki ga zagotavlja aplikacijski nivo procesnih vodil različnih tipov v smislu
a) abstraktnega modela za določanje aplikacijskih virov (objektov), ki ga lahko upravljajo uporabniki prek opravila aplikacijskega nivoja procesnih vodil,
b) primitivnih dejanj in dogodkov opravila;
c) parametrov, povezanih z vsakim primitivnim dejanjem in dogodkom, ter obliko, ki jo prevzamejo; in
d) medsebojne povezave med temi dejanji in dogodki ter njihovimi veljavnimi zaporedji.
Namen tega standarda je določiti opravila, ki se zagotavljajo za
1) uporabnika FAL na meji med uporabnikom in referenčnim modelom aplikacijskega nivoja procesnega vodila, in
2) upravljanje sistemov na meji med aplikacijskim nivojem in upravljanjem sistemov za referenčni model procesnega vodila.
Ta standard določa strukturo in opravila aplikacijskega nivoja procesnih vodil IEC 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.
Čeprav ta opravila določajo način izdajanja in dostavljanja zahtev in odzivov z vidika aplikacij, ne zajemajo specifikacije v zvezi s tem, kako naj se nanje odzovejo aplikacije, ki te zahteve in odzive oddajajo. To pomeni, da vedenjski vidiki aplikacij niso določeni; določena je le definicija zahtev in odzivov, ki jih lahko pošiljajo/prejemajo. Tako se uporabnikom aplikacijskega nivoja procesnih vodil omogoči večja prilagodljivost pri standardizaciji takega vedenja objektov. Poleg teh opravil so v tem standardu opredeljena tudi nekatera podporna opravila, da se omogoči dostop do aplikacijskega nivoja procesnih vodil za nadzorovanje nekaterih vidikov njegovega delovanja.
General Information
Relations
Overview
EN 61158-5-9:2014 (IEC 61158-5-9:2014) is a fieldbus specification for industrial communication networks that defines the application layer service for Type 9 elements. The standard specifies the structure and services provided to the Fieldbus Application Layer (FAL) user and to Systems Management at the boundary between the application layer and Systems Management, in conformance with the OSI Basic Reference Model (ISO/IEC 7498-1) and the OSI application layer structure (ISO/IEC 9545). Edition 2 (2014) is a technical revision of the 2007 edition and corrects the download state machine event service.
Key Topics
- Application layer service definitions for Type 9 fieldbus elements, including service primitives and interactions between FAL users and Systems Management.
- Data type ASE (Application Service Element) and formal definitions for fieldbus data types used by applications.
- Communication model: ASEs, ARs (Application Relationships) and the AREP roles, plus rules for permitted services and parameters.
- Object Dictionary (OD) structure and services for reading, writing and managing device/application objects.
- State machines and transaction management, including Put/Download, Upload and event state machines; correction to download state machine in this edition is notable.
- Event handling and notification, acknowledge mechanisms, event condition monitoring and event access control.
- Variable lists and access rights, read/write services, buffered messaging and error/reject handling.
Keywords included: fieldbus, application layer, industrial communication networks, IEC 61158-5-9, EN 61158-5-9, Type 9 elements, FAL.
Applications
- Use by device manufacturers to implement compliant fieldbus application-layer interfaces in sensors, actuators and controllers.
- Reference for protocol implementers and firmware developers building Type 9 fieldbus stacks and system software.
- Guidance for system integrators and control engineers to ensure interoperable application-layer communication and Systems Management interactions.
- Employed by test labs and certification bodies for conformance testing and interoperability verification of fieldbus devices.
Who Uses This Standard
- Control and automation engineers, embedded software developers, network protocol designers, product QA teams, and standards/compliance officers working in industrial automation, process control and factory networking.
Related Standards
- IEC 61158 series (Part 1 overview and other parts)
- IEC 61158-3-1, IEC 61158-4-1, IEC 61158-5-5, IEC 61158-6-9
- IEC 61784-1 / IEC 61784-2
- ISO/IEC 7498-1, ISO/IEC 9545
Practical value: EN 61158-5-9 provides the formal, OSI-aligned service model and state-machine definitions necessary to build interoperable, robust fieldbus application-layer implementations for industrial networks.
Standards Content (Sample)
SLOVENSKI STANDARD
01-marec-2015
1DGRPHãþD
SIST EN 61158-5-9:2008
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 5-9. del:
Definicija opravil na aplikacijski ravni - Elementi tipa 9 (IEC 61158-5-9:2014)
Industrial communication networks - Fieldbus specifications - Part 5-9: Application layer
service definition - Type 9 elements (IEC 61158-5-9:2014)
Industrielle Kommunikationsnetze - Feldbusse - Teil 5-9: Dienstfestlegungen des
Application Layer (Anwendungsschicht) - Typ 9-Elemente (IEC 61158-5-9:2014)
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 5-9:
Définition des services de la couche application - Eléments de type 9 (CEI 61158-5-
9:2014)
Ta slovenski standard je istoveten z: EN 61158-5-9:2014
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-9
NORME EUROPÉENNE
EUROPÄISCHE NORM
October 2014
ICS 25.040.40; 35.100.70; 35.110 Supersedes EN 61158-5-9:2008
English Version
Industrial communication networks - Fieldbus specifications -
Part 5-9: Application layer service definition - Type 9 elements
(IEC 61158-5-9:2014)
Réseaux de communication industriels - Spécifications des Industrielle Kommunikationsnetze - Feldbusse -
bus de terrain - Partie 5-9: Définition des services de la Teil 5-9: Dienstfestlegungen des Application Layer
couche application - Eléments de type 9 (Anwendungsschicht) - Typ 9-Elemente
(CEI 61158-5-9:2014) (IEC 61158-5-9:2014)
This European Standard was approved by CENELEC on 2014-09-22. 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, Former Yugoslav Republic of Macedonia, 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.
European Committee for Electrotechnical Standardization
Comité Européen de Normalisation Electrotechnique
Europäisches Komitee für Elektrotechnische Normung
CEN-CENELEC Management Centre: Avenue Marnix 17, B-1000 Brussels
© 2014 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members.
Ref. No. EN 61158-5-9:2014 E
Foreword
The text of document 65C/763/FDIS, future edition 2 of IEC 61158-5-9, 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-9:2014.
The following dates are fixed:
(dop) 2015-06-22
• 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) 2017-09-22
standards conflicting with the
document have to be withdrawn
This document supersedes EN 61158-5-9:2008.
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.
This document has been prepared under a mandate given to CENELEC by the European Commission
and the European Free Trade Association.
Endorsement notice
The text of the International Standard IEC 61158-5-9:2014 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-3-1 NOTE Harmonized as EN 61158-3-1.
IEC 61158-4-1 NOTE Harmonized as EN 61158-4-1.
IEC 61158-5-5 NOTE Harmonized as EN 61158-5-5.
IEC 61158-6-9 NOTE Harmonized as EN 61158-6-9.
IEC 61784-1 NOTE Harmonized as EN 61784-1.
IEC 61784-2 NOTE Harmonized as EN 61784-2.
- 3 - EN 61158-5-9:2014
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 1 When an International Publication has been modified by common modifications, indicated by (mod), the relevant
EN/HD applies.
NOTE 2 Up-to-date information on the latest versions of the European Standards listed in this annex is available here:
www.cenelec.eu
Publication Year Title EN/HD Year
IEC 61158-1 2014 Industrial communication networks - EN 61158-1 2014
Fieldbus specifications -
Part 1: Overview and guidance for the
IEC 61158 and IEC 61784 series
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 8822 - Information technology - Open Systems - -
Interconnection - Presentation service
definition
ISO/IEC 8824-1 - Information technology - Abstract Syntax - -
Notation One (ASN.1): Specification of
basic notation
ISO/IEC 9545 - Information technology - Open Systems - -
Interconnection - Application layer
structure
ISO/IEC 10731 - Information technology - Open Systems - -
Interconnection - Basic Reference Model -
Conventions for the definition of OSI
services
ISO/IEC/IEEE - Information technology - Microprocessor - -
60559 Systems - Floating-Point arithmetic
IEC 61158-5-9 ®
Edition 2.0 2014-08
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 5-9: Application layer service definition – Type 9 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 5-9: Définition des services de la couche application – Eléments de type 9
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
CODE PRIX XF
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-1735-1
– 2 – IEC 61158-5-9:2014 © IEC 2014
CONTENTS
FOREWORD . 5
INTRODUCTION . 7
1 Scope . 8
1.1 General . 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 . 10
3.3 ISO/IEC 9545 terms . 10
3.4 ISO/IEC 8824-1 terms . 10
3.5 IEC 61158-1 terms . 10
3.6 Type 9 fieldbus application-layer specific definitions. 14
3.7 Abbreviations and symbols . 14
3.8 Conventions . 15
4 Concepts . 18
5 Data type ASE . 18
5.1 Overview . 18
5.2 Formal definition of data type objects . 21
5.3 FAL defined data types . 22
5.4 Data type ASE service specification . 25
5.5 Summary of data types . 25
6 Communication model specification . 26
6.1 Concepts . 26
6.2 Common parameters . 26
6.3 ASEs . 26
6.4 ARs . 115
6.5 Summary of classes . 118
6.6 Permitted services by AREP role . 119
Bibliography . 121
Figure 1 – Data type class hierarchy . 19
Figure 2 – VFD model . 27
Figure 3 – Abstract model of an automation system (VFD) . 27
Figure 4 – Source OD/remote OD . 33
Figure 5 – Put OD state machine . 46
Figure 6 – Transaction object state machine . 52
Figure 7 – Context test of two features-supported with different bitstring length . 60
Figure 8 – Overview of event . 80
Figure 9 – Event state machine . 85
Figure 10 – Domain genericdownload/download state machine (server) . 100
Figure 11 – Domain upload state machine (server) . 102
Figure 12 – State diagram. 113
IEC 61158-5-9:2014 © IEC 2014 – 3 –
Table 1 – Data type summary . 26
Table 2 – Logical status . 28
Table 3 – Status . 29
Table 4 – Unsolicited status . 30
Table 5 – Identify . 31
Table 6 – Structure of the object dictionary . 34
Table 7 – Structure of the static list of types . 34
Table 8 – Structure of the static object dictionary . 34
Table 9 – Structure of the dynamic list of variable lists . 35
Table 10 – Structure of the dynamic list of program invocations . 35
Table 11 – Empty object dictionary . 39
Table 12 – Get OD service parameters . 42
Table 13 – Initiate put OD service parameters . 44
Table 14 – Put OD service parameters . 45
Table 15 – Terminate put OD service parameters . 46
Table 16 – Put OD state transitions . 48
Table 17 – Attribute FMS features supported . 50
Table 18 – Transaction object state transitions . 53
Table 19 – Initiate service parameters . 54
Table 20 – Failure reasons . 55
Table 21 – Abort service parameters . 56
Table 22 – User abort reasons . 57
Table 23 – APO ASE abort reasons . 57
Table 24 – Reject service parameters . 58
Table 25 – Reject APDU reasons . 58
Table 26 – Compatibility of the local context to the remote context . 59
Table 27 – Unconfirmed send service parameters . 62
Table 28 – Confirmed send service parameters . 63
Table 29 – AR-Abort service parameters . 64
Table 30 – Compel service parameters . 64
Table 31 – Get buffered message service parameters. 65
Table 32 – AR-Status service parameters . 66
Table 33 – Simple variable access group membership . 68
Table 34 – Simple variable access rights membership . 68
Table 35 – Array variable access group membership . 70
Table 36 – Array variable access rights membership . 70
Table 37 – Variable list access group membership . 72
Table 38 – Variable list access rights membership . 72
Table 39 – Read service parameters . 75
Table 40 – Write service parameters . 76
Table 41 – Information report service parameters . 77
Table 42 – Define variable list service parameters . 78
– 4 – IEC 61158-5-9:2014 © IEC 2014
Table 43 – Delete variable list service parameters . 79
Table 44 – Event access group membership . 81
Table 45 – Event access rights membership . 81
Table 46 – Event notification service parameters . 82
Table 47 – Acknowledge event notification service parameters . 83
Table 48 – Alter event condition monitoring service parameters . 84
Table 49 – Event state transitions . 85
Table 50 – Domain access group membership . 87
Table 51 – Domain access rights membership . 87
Table 52 – GenericInitiateDownloadSequence . 89
Table 53 – GenericDownloadSegment . 90
Table 54 – GenericTerminateDownloadSequence . 91
Table 55 – InitiateDownloadSequence . 92
Table 56 – DownloadSegment . 93
Table 57 – TerminateDownloadSequence . 94
Table 58 – RequestDomainDownload . 95
Table 59 – InitiateUploadSequence . 96
Table 60 – UploadSegment . 97
Table 61 – TerminateUploadSequence . 98
Table 62 – RequestDomainUpload . 99
Table 63 – Domain genericDownload/download state machine (server) . 100
Table 64 – Domain upload state machine (server) . 102
Table 65 – Program invocation access group membership . 104
Table 66 – Program invocation access group membership . 104
Table 67 – Create program invocation service parameters . 106
Table 68 – Delete program invocation service parameters . 107
Table 69 – Start service parameters . 108
Table 70 – Stop service parameters . 109
Table 71 – Resume service parameters . 110
Table 72 – Reset service parameters . 111
Table 73 – Kill service parameters . 112
Table 74 – Program invocation state machine . 114
Table 75 – Class summary . 119
Table 76 – Services by AREP role . 119
IEC 61158-5-9:2014 © IEC 2014 – 5 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 5-9: Application layer service definition –
Type 9 elements
FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of IEC is to promote
international co-operation on all questions concerning standardization in the electrical and electronic fields. To
this end and in addition to other activities, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC
Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested
in the subject dealt with may participate in this preparatory work. International, governmental and non-
governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely
with the International Organization for Standardization (ISO) in accordance with conditions determined by
agreement between the two organizations.
2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
consensus of opinion on the relevant subjects since each technical committee has representation from all
interested IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
services carried out by independent certification bodies.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
Attention is drawn to the fact that the use of the associated protocol type is restricted by its
intellectual-property-right holders. In all cases, the commitment to limited release of
intellectual-property-rights made by the holders of those rights permits a layer protocol type to
be used with other layer protocols of the same type, or in other type combinations explicitly
authorized by its intellectual-property-right holders.
NOTE Combinations of protocol types are specified in IEC 61784-1 and IEC 61784-2.
International Standard IEC 61158-5-9 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 change with respect to the previous edition is listed
below:
– 6 – IEC 61158-5-9:2014 © IEC 2014
• Correct download state machine event service
The text of this standard is based on the following documents:
FDIS Report on voting
65C/763/FDIS 65C/773/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 the parts of the IEC 61158 series, 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.
IEC 61158-5-9:2014 © IEC 2014 – 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 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 – IEC 61158-5-9:2014 © IEC 2014
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 5-9: Application layer service definition –
Type 9 elements
1 Scope
1.1 General
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 9 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-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
IEC 61158-5-9:2014 © IEC 2014 – 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.
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 9 application layer services as defined in this standard.
2 Normative references
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 All parts of the IEC 61158 series, as well as IEC 61784-1 and IEC 61784-2 are maintained simultaneously.
Cross-references to these documents within the text therefore refer to the editions as dated in this list of normative
references.
IEC 61158-1:2014, Industrial communication networks – Fieldbus specifications – Part 1:
Overview and guidance for the IEC 61158 and IEC 61784 series
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 – Part 1: The Basic Model
ISO/IEC 8822, Information technology – Open Systems Interconnection – Presentation
service definition
ISO/IEC 8824-1, Information Technology – Abstract Syntax Notation One (ASN-1):
Specification of basic notation
– 10 – IEC 61158-5-9:2014 © IEC 2014
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
ISO/IEC/IEEE 60559, Information technology – Microprocessor Systems – Floating-Point
arithmetic
3 Terms, definitions, symbols, abbreviations and conventions
For the purposes of this document, the following terms, definitions, symbols, abbreviations
and conventions 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-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-1 terms
a) object identifier
b) type
3.5 IEC 61158-1 terms
For the purposes of the present document, the following IEC 61158-1 terms apply.
IEC 61158-5-9:2014 © IEC 2014 – 11 –
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 1 to entry: Multiple types of application object classes may be defined.
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
component that 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
Note 1 to entry: Application process object definitions are composed of a set of values for the attributes of their
class (see the definition for Application Process Object Class 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
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
Note 1 to entry: This relationship is activated either by the exchange of application-protocol-data-units or as a
result of preconfiguration activities.
3.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
Note 1 to entry: Each application process involved in the application relationship maintains its own application
relationship endpoint.
– 12 – IEC 61158-5-9:2014 © IEC 2014
3.5.11
attribute
description of an externally visible characteristic or feature of an object
Note 1 to entry: The attributes of an object contain information about variable portions of an object. Typically,
they provide status information or govern the operation of an object. Attributes may also affect the behaviour of an
object. Attributes are divided into class attributes and instance attributes.
3.5.12
behaviour
indication of how the object responds to particular events
Note 1 to entry: Its description includes the relationship between attribute values and services.
3.5.13
class
set of objects, all of which represent the same kind of system component
Note 1 to entry: A class is a generalisation of the object; a template for defining variables and methods. All
objects in a class are identical in form and behaviour, but usually contain different data in their attributes.
3.5.14
class attributes
attribute that is shared by all objects within the same class
3.5.15
class code
unique identifier assigned to each object class
3.5.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 1 to entry: A class specific object is unique to the object class which defines it.
3.5.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, such as the role of an AR endpoint in
which it issues confirmed service request APDUs to a single AR endpoint acting as a server
3.5.18
conveyance path
unidirectional flow of APDUs across an application relationship
3.5.19
cyclic
events which repeat in a regular and repetitive manner
3.5.20
dedicated AR
AR used directly by the FAL User
Note 1 to entry: On Dedicated ARs, only the FAL Header and the user data are transferred.
3.5.21
device
physical hardware connection to the link
IEC 61158-5-9:2014 © IEC 2014 – 13 –
Note 1 to entry: A device may contain more than one node.
3.5.22
device profile
collection of device dependent information and functionality providing consistency between
similar devices of the same device type
3.5.23
dynamic AR
AR that requires the use of the AR establishment procedures to place it into an established
state
3.5.24
endpoint
one of the communicating entities involved in a connection
3.5.25
error
discrepancy between a computed, observed or measured value or condition and the specified
or theoretically correct value or condition
3.5.26
error class
general grouping for error definitions
Note 1 to entry: Error codes for specific errors are defined within an error class.
3.5.27
error code
identification of a specific type of error within an error class
3.5.28
FAL subnet
networks composed of one or more data link segments
Note 1 to entry: They are permitted to contain bridges, but not routers. FAL subnets are identified by a subset of
the network address.
3.5.29
logical device
FAL class that abstracts a software component or a firmware component as an autonomous
self-contained facility of an automation device
3.5.30
management information
network-accessible information that supports managing the operation of the fieldbus system,
including the application layer
Note 1 to entry: Managing includes functions such as controlling, monitoring, and diagnosing.
3.5.31
network
series of nodes connected by some type of communication medium
Note 1 to entry: The connection paths between any pair of nodes can include repeaters, routers and gateways.
3.5.32
peer
role of an AR endpoint in which it is capable of acting as both client and server
– 14 – IEC 61158-5-9:2014 © IEC 2014
3.5.33
pre-defined AR endpoint
AR endpoint that is defined locally within a device without use of the create service
Note 1 to entry: Pre-defined ARs that are not pre-established are established before being used.
3.5.34
pre-established AR endpoint
AR endpoint that is placed in an established state during configuration of the AEs that control
its endpoints
3.5.35
publisher
role of an AR endpoint in which it transmits APDUs onto the fieldbus for consumption by one
or more subscribers
Note 1 to entry: The publisher may not be aware of the identity or the number of subscribers and it may publish its
APDUs using a dedicated AR. Two types of publishers are defined by this standard, Pull Publishers and Push
Publishers, each of which is defined separately.
3.5.36
server
a) role of an AREP in which it returns a confirmed service response APDU to the client that
initiated the request
b) object which provides services to another (client) object
3.5.37
service
operation or function than an object and/or object class performs upon request from another
object and/or object class
Note 1 to entry: A set of common services is defined and provisions for the definition of object-specific services
are provided
...
Frequently Asked Questions
EN 61158-5-9:2014 is a standard published by CLC. Its full title is "Industrial communication networks - Fieldbus specifications - Part 5-9: Application layer service definition - Type 9 elements". This standard covers: IEC 61158-5-9:2014 defines the services provided to the FAL user at the boundary between the user and the application layer of the fieldbus reference model, and 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-1) and the OSI application layer structure (ISO/IEC 9545). This second edition cancels and replaces the first edition published in 2007 and constitutes a technical revision. The main changes are: Correct download state machine event service.
IEC 61158-5-9:2014 defines the services provided to the FAL user at the boundary between the user and the application layer of the fieldbus reference model, and 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-1) and the OSI application layer structure (ISO/IEC 9545). This second edition cancels and replaces the first edition published in 2007 and constitutes a technical revision. The main changes are: Correct download state machine event service.
EN 61158-5-9:2014 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-9:2014 has the following relationships with other standards: It is inter standard links to EN 61158-5-9:2008, EN 61158-5-2:2014, 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-9:2014 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.
You can purchase EN 61158-5-9:2014 directly from iTeh Standards. The document is available in PDF format and is delivered instantly after payment. Add the standard to your cart and complete the secure checkout process. iTeh Standards is an authorized distributor of CLC standards.








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