IEC 61158-5-23:2019
(Main)Industrial communication networks - Fieldbus specifications - Part 5-23: Application layer service definition - Type 23 elements
Industrial communication networks - Fieldbus specifications - Part 5-23: Application layer service definition - Type 23 elements
IEC 61158-5-23:2019 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 2014. This edition constitutes a technical revision.
This edition includes the following significant technical changes with respect to the previous edition:
•addition of an attribute for Master ID (see 3.2.10, 6.4.3, 6.4.4 and 6.4.5)
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 5-23 : Définition des services de la couche application - Éléments de type 23
L’IEC 61158-5-23:2019 fournit des éléments communs pour les communications de messagerie prioritaires et non prioritaires élémentaires entre les programmes d’application des environnements d’automatisation et le matériel spécifique au bus de terrain de type 12. On utilise le terme "prioritaire" pour traduire la présence d’une fenêtre temporelle, à l’intérieur de laquelle il est exigé qu'une ou plusieurs actions spécifiées soient terminées avec un niveau de certitude défini. Si les actions spécifiées ne sont pas réalisées dans la fenêtre temporelle, les applications demandant les actions risquent de connaître une défaillance, avec les risques que cela comporte pour les équipements, les installations et éventuellement la vie humaine.
General Information
Relations
Overview
IEC 61158-5-23:2019 - "Industrial communication networks – Fieldbus specifications – Part 5‑23: Application layer service definition – Type 23 elements" defines the application-layer services and Systems Management interface for a Type 23 fieldbus. It specifies the structure and services of the IEC fieldbus application layer (FAL) in conformance with the OSI Basic Reference Model (ISO/IEC 7498‑1) and OSI application layer structure (ISO/IEC 9545). Edition 2.0 (2019) is a technical revision of the 2014 edition and introduces, among other updates, an attribute for Master ID.
Key topics
- Application layer service definition (FAL): Services provided at the boundary between the user and application layer and between application layer and Systems Management.
- ASE and AR structures: Defines Application Service Elements (ASE) and Application Relations (AR) for Type 23, including separate type C and type F element structures.
- Communication models: Describes cyclic models (n:n and 1:n distributed shared memory, push models) and transient models (client/server and push), along with associated service behaviors.
- Cyclic and acyclic data services: Detailed service sets for cyclic transmission, acyclic (transient) transmission, read/write operations, load/set/reset and memory access services.
- Management, synchronization and measurement ASEs: Services for Systems Management, synchronization triggers and measurement reporting.
- Service parameterization: Extensive tables of service parameters (read/write, control cyclic, CT update, vendor commands, statistics, etc.) to ensure consistent implementation and conformance.
- Conformance and terminology: Aligns terms and definitions with ISO/IEC standards and provides conventions for service and class definitions.
- Notable change: Addition of a Master ID attribute to support node identification/management.
Applications / Who uses this standard
- Fieldbus protocol implementers building Type 23 fieldbus stacks (device firmware, gateway software).
- Industrial device manufacturers (PLCs, I/O modules, drives) requiring compliant application-layer behavior.
- System integrators and automation engineers designing deterministic control and real‑time communication systems.
- Test labs and certification bodies validating conformance to IEC fieldbus application services.
- Protocol designers and researchers referencing OSI‑aligned application-layer structures.
Related standards
- IEC 61158 family (other Part 5 documents for different Type elements)
- ISO/IEC 7498‑1 (OSI Basic Reference Model)
- ISO/IEC 9545 (OSI application layer structure)
Keywords: IEC 61158-5-23, fieldbus, application layer service definition, Type 23, FAL, industrial communication networks, ASE, AR, cyclic transmission, acyclic transmission, Master ID.
Standards Content (Sample)
IEC 61158-5-23 ®
Edition 2.0 2019-04
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 5-23: Application layer service definition – Type 23 elements
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form
or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from
either IEC or IEC's member National Committee in the country of the requester. If you have any questions about IEC
copyright or have an enquiry about obtaining additional rights to this publication, please contact the address below or
your local IEC member National Committee for further information.
IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé info@iec.ch
CH-1211 Geneva 20 www.iec.ch
Switzerland
About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.
About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigendum or an amendment might have been published.
IEC publications search - webstore.iec.ch/advsearchform Electropedia - www.electropedia.org
The advanced search enables to find IEC publications by a The world's leading online dictionary on electrotechnology,
variety of criteria (reference number, text, technical containing more than 22 000 terminological entries in English
committee,…). It also gives information on projects, replaced and French, with equivalent terms in 16 additional languages.
and withdrawn publications. Also known as the International Electrotechnical Vocabulary
(IEV) online.
IEC Just Published - webstore.iec.ch/justpublished
Stay up to date on all new IEC publications. Just Published IEC Glossary - std.iec.ch/glossary
details all new publications released. Available online and 67 000 electrotechnical terminology entries in English and
once a month by email. French extracted from the Terms and Definitions clause of
IEC publications issued since 2002. Some entries have been
IEC Customer Service Centre - webstore.iec.ch/csc collected from earlier publications of IEC TC 37, 77, 86 and
If you wish to give us your feedback on this publication or CISPR.
need further assistance, please contact the Customer Service
Centre: sales@iec.ch.
IEC 61158-5-23 ®
Edition 2.0 2019-04
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 5-23: Application layer service definition – Type 23 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-6766-0
– 2 – IEC 61158-5-23:2019 © IEC 2019
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, abbreviated terms and conventions . 10
3.1 Referenced terms and definitions . 10
3.1.1 ISO/IEC 7498-1 terms. 10
3.1.2 ISO/IEC 8822 terms . 10
3.1.3 ISO/IEC 9545 terms . 10
3.1.4 ISO/IEC 8824-1 terms. 11
3.1.5 IEC 61158-1 terms. 11
3.2 Additional Type 23 terms and definitions . 11
3.3 Symbols and abbreviated terms . 13
3.4 Conventions . 14
3.4.1 General conventions . 14
3.4.2 Conventions for class definitions . 15
3.4.3 Conventions for service definitions . 16
4 Concept . 17
5 Data type ASE . 17
5.1 Overview . 17
5.2 Fixed length types . 18
5.2.1 Bitstring types . 18
5.2.2 Numeric types . 19
6 Communication model specification . 23
6.1 Communication model . 23
6.1.1 General . 23
6.1.2 Cyclic model n:n . 23
6.1.3 Cyclic model 1:n . 24
6.1.4 Transient model . 24
6.2 ASE . 25
6.2.1 Overview type C . 25
6.2.2 Overview type F. 25
6.2.3 Cyclic data ASE type C . 25
6.2.4 Cyclic data ASE type F . 32
6.2.5 Acyclic data ASE type C . 37
6.2.6 Acyclic data ASE type F . 43
6.2.7 Management ASE . 56
6.2.8 Synchronization ASE . 59
6.2.9 Measurement ASE . 60
6.3 AR type C . 61
6.3.1 Overview . 61
6.3.2 Connection Control . 62
6.3.3 Cyclic transmission type C . 66
6.3.4 Acyclic transmission type C . 68
6.3.5 Common parameter dist. 70
6.4 AR type F . 75
6.4.1 Overview . 75
6.4.2 Channel control . 75
6.4.3 Cyclic transmission type F . 82
6.4.4 Acyclic transmission type F . 84
6.4.5 Parameter dist . 87
6.4.6 Synchronous trigger . 90
6.4.7 Measurement transmission . 91
Bibliography . 94
Figure 1 – Cyclic model (n:n type distributed shared memory, unconfirmed push model) . 24
Figure 2 – Cyclic model (1:n type distributed shared memory, unconfirmed push model) . 24
Figure 3 – Transient model (Client server model) . 24
Figure 4 – Transient model (Push model). 25
Figure 5 – Structure of ASE type C of FAL type 23 . 25
Figure 6 – Structure of ASE type F of FAL Type 23 . 25
Figure 7 – Structure of AR type C . 62
Figure 8 – Structure of AR type F. 75
Table 1 – Ld service parameters . 27
Table 2 – Set service parameters . 27
Table 3 – Reset service parameters . 27
Table 4 – Read service parameters. 28
Table 5 – Write service parameters . 28
Table 6 – Ld service parameters . 29
Table 7 – Set service parameters . 30
Table 8 – Reset service parameters . 30
Table 9 – Read service parameters. 31
Table 10 – Write service parameters . 31
Table 11 – Ld service parameters . 33
Table 12 – Set service parameters . 34
Table 13 – Reset service parameters . 34
Table 14 – Read service parameters . 35
Table 15 – Write service parameters . 35
Table 16 – Get memory access info service parameters . 38
Table 17 – Run service parameters. 39
Table 18 – Stop service parameters . 40
Table 19 – Read memory service parameters . 41
Table 20 – Write memory service parameters . 42
Table 21 – Get memory access info service parameters . 44
Table 22 – Run service parameters. 45
Table 23 – Stop service parameters . 46
– 4 – IEC 61158-5-23:2019 © IEC 2019
Table 24 – Read memory service parameters . 47
Table 25 – Write memory service parameters . 48
Table 26 – Vendor command service parameters . 49
Table 27 – Distribute node info service parameters . 50
Table 28 – Get statistics service parameters . 51
Table 29 – Get node info detail service parameters . 53
Table 30 – AC data service parameters . 55
Table 31 – AC data ND service parameters . 56
Table 32 – Get attribute service parameters . 57
Table 33 – Set attribute service parameters . 58
Table 34 – Synchronization trigger service parameters . 59
Table 35 – Start measurement service parameters . 60
Table 36 – Get offset service parameters . 61
Table 37 – Control cyclic service parameters . 66
Table 38 – CT Update service parameters . 67
Table 39 – AC Send service parameters . 68
Table 40 – AC Param send service parameters . 70
Table 41 – CPD Set service parameters . 74
Table 42 – Control cyclic service parameters . 82
Table 43 – CT Update service parameters . 83
Table 44 – AC Send service parameters . 84
Table 45 – AC Send ND service parameters . 86
Table 46 – Synchronous trigger internal service parameters . 90
Table 47 – Measure send service parameters . 91
Table 48 – MeasureAck send service parameters . 92
Table 49 – Offset send service parameters . 92
Table 50 – Update send service parameters . 93
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 5-23: Application layer service definition –
Type 23 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.
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‑23 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 2014. This edition
constitutes a technical revision.
– 6 – IEC 61158-5-23:2019 © IEC 2019
This edition includes the following significant technical changes with respect to the previous
edition:
• addition of an attribute for Master ID (see 3.2.10, 6.4.3, 6.4.4 and 6.4.5).
The text of this International Standard is based on the following documents:
FDIS Report on voting
65C/947/FDIS 65C/950/RVD
Full information on the voting for the approval of this International Standard can be found in
the report on voting indicated in the above table.
This publication has been drafted in accordance with ISO/IEC Directives, Part 2.
A list of all the parts of the IEC 61158 series, published under the general title Industrial
communication networks – Fieldbus specifications, can be found on the IEC website.
The committee has decided that the contents of this publication will remain unchanged until
the stability date indicated on the IEC web site under "http://webstore.iec.ch" in the data
related to the specific publication. At this date, the publication will be
• reconfirmed,
• withdrawn,
• replaced by a revised edition, or
• amended.
A bilingual version of this publication may be issued at a later date.
INTRODUCTION
This document is one of a series produced to facilitate the interconnection of automation
system components. It is related to other standards in the set as defined by the “three-layer”
fieldbus reference model described in IEC 61158-1.
The application service is provided by the application protocol making use of the services
available from the data-link or other immediately lower layer. This document defines the
application service characteristics that fieldbus applications and/or system management may
exploit.
Throughout the set of fieldbus standards, the term “service” refers to the abstract capability
provided by one layer of the OSI Basic Reference Model to the layer immediately above. Thus,
the application layer service defined in this document is a conceptual architectural service,
independent of administrative and implementation divisions.
– 8 – IEC 61158-5-23:2019 © IEC 2019
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 5-23: Application layer service definition –
Type 23 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 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 12 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 International 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 document is to define the services provided to
a) the FAL user at the boundary between the user and the Application Layer of the Fieldbus
Reference Model, and
b) Systems Management at the boundary between the Application Layer and Systems
Management of the Fieldbus Reference Model.
This document 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
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 document to provide access to the FAL to control certain aspects of its operation.
1.2 Specifications
The principal objective of this document is to specify the characteristics of conceptual
application layer services suitable for time-critical communications, and thus supplement the
OSI Basic Reference Model in guiding the development of application layer protocols for time-
critical communications.
A secondary objective is to provide migration paths from previously-existing industrial
communications protocols. 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 document 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 any given Type of application layer services as defined in this document.
2 Normative references
The following documents are referred to in the text in such a way that some or all of their
content constitutes requirements of this document. For dated references, only the edition
cited applies. For undated references, the latest edition of the referenced document (including
any amendments) applies.
NOTE All parts of the IEC 61158 series, as well as IEC 61784-1 and IEC 61784-2 are maintained simultaneously.
Cross-references to these documents within the text therefore refer to the editions as dated in this list of normative
references.
IEC 61158-1:2019, Industrial communication networks – Fieldbus specifications – Part 1:
Overview and guidance for the IEC 61158 and IEC 61784 series
IEC 61158-6 (all parts), Industrial communication networks – Fieldbus specifications – Part 6:
Application layer protocol specification
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
– 10 – IEC 61158-5-23:2019 © IEC 2019
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
3 Terms, definitions, symbols, abbreviated terms and conventions
For the purposes of this document, the following terms, definitions, symbols, abbreviations
and conventions apply.
ISO and IEC maintain terminological databases for use in standardization at the following
addresses:
• IEC Electropedia: available at http://www.electropedia.org/
• ISO Online browsing platform: available at http://www.iso.org/obp
3.1 Referenced terms and definitions
3.1.1 ISO/IEC 7498-1 terms
For the purposes of this document, the following terms given in ISO/IEC 7498-1 apply:
a) application entity
b) application process
c) application protocol data unit
d) application service element
e) application entity invocation
f) application process invocation
g) application transaction
h) real open system
i) transfer syntax
3.1.2 ISO/IEC 8822 terms
For the purposes of this document, the following terms given in ISO/IEC 8822 apply:
a) abstract syntax
b) presentation context
3.1.3 ISO/IEC 9545 terms
For the purposes of this document, the following terms given in ISO/IEC 9545 apply:
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.1.4 ISO/IEC 8824-1 terms
For the purposes of this document, the following terms given in ISO/IEC 8824-1 apply:
a) object identifier
b) type
3.1.5 IEC 61158-1 terms
For the purposes of this document, the following terms given in IEC 61158-1 apply:
a) DLL mapping protocol machine
b) fieldbus application layer
c) FAL service protocol machine
d) protocol data unit
3.2 Additional Type 23 terms and definitions
For the purposes of this document, the following terms and definitions apply.
3.2.1
cyclic transmission
transmission that is performed periodically used for the link device update
3.2.2
intelligent device station
node capable of performing 1:n bit data and word data cyclic transmission and transient
transmission with the master station, and transient transmission with slave stations, excluding
remote I/O stations and having client functions and server functions during transient
transmission
3.2.3
link bit
link relay bit data that are shared by all the nodes through the cyclic transmission and is used
as one bit unit shared memory of the n:n type
3.2.4
link device
link bit, link word, link x and link y or RX, RY, RWr, and RWw
3.2.5
link word
link register two octet unit data that are shared by all the nodes through the cyclic
transmission and is used as two octet unit shared memory of the n:n type
3.2.6
link x
link input received bit data that are transmitted from each node through the cyclic
transmission and is used as an input shared memory of the 1:n type
3.2.7
link y
link output bit data that are sent to each node through the cyclic transmission and is used as
an output shared memory of the 1:n type
– 12 – IEC 61158-5-23:2019 © IEC 2019
3.2.8
local station
node capable of performing n:n bit data and word data cyclic transmission and transient
transmission with the master station and other local stations, and transient transmission with
slave stations, excluding remote I/O stations and having server functions and client functions
during transient transmission
3.2.9
management node
node in which parameters are set
3.2.10
master ID
ID that represents the node number of the master station
3.2.11
master station
node that has control information (parameters) and manages cyclic transmission
3.2.12
node
element that forms a network and performs data transmission, reception, and transfer
3.2.13
node-to-node test
physical layer test between two nodes
3.2.14
normal node
node other than a management node
3.2.15
remote device station
node capable of performing 1:n bit data and word data cyclic transmission and transient
transmission with the master station, and transient transmission with slave stations, excluding
remote I/O stations and having server functions during transient transmission
3.2.16
remote I/O station
node capable of performing 1:n bit data cyclic transmission with the master station
3.2.17
reserve node
node that is not yet connected, but counted in the total node number of the network not
performing cyclic transmission, but always regarded as normal from applications
3.2.18
RX
remote input as viewed from the master station with bit data that are periodically updated by
cyclic transmission, salve to master, or in local station as viewed from the master station is
RY of the local station
3.2.19
RY
remote output as viewed from the master station with bit data that are periodically updated by
cyclic transmission, master to salve, or in local station as viewed from the master station is
RX of the local station
3.2.20
RWr
remote register (input) as viewed from the master station with word data that are periodically
updated by cyclic transmission, slave to master, or in local station as viewed from the master
station is RWw of the local station
3.2.21
RWw
remote register (output) as viewed from the master station with word data that are periodically
updated by cyclic transmission, master to slave, or in local station as viewed from the master
station is RWr of the local station
3.2.22
slave station
node other than the master station
3.2.23
station
node of a network
3.2.24
synchronization manager
single node in a master station role per network that manages synchronization, distributing
synchronization timing to other nodes
3.2.25
transient transmission
transmission that is performed upon each request
3.2.26
transient transmission client function
function that issues a transient request
3.2.27
transient transmission server function
function that receives a transient request and issues a response
3.2.28
transmission control manager
single node in a master station role per network that performs token passing management
3.2.29
word
unit representing data, 16 bits in length
3.3 Symbols and abbreviated terms
AE Application Entity
AL Application Layer
AP Application Process
APDU Application Protocol Data Unit
APO Application Process Object
AR Application Relationship
AREP Application Relationship Endpoint
ASE Application Service Element
ASN.1 Abstract Syntax Notation 1
– 14 – IEC 61158-5-23:2019 © IEC 2019
CRC Cyclic Redundancy Check
DLL Data-link Layer
DMPM DLL Mapping Protocol Machine
FAL Fieldbus Application Layer
FSPM FAL Service Protocol Machine
LB Link Bit
LSB Least Significant Bit
LW Link Word
LX Link X
LY Link Y
MSB Most Significant Bit
OSI Open Systems Interconnection
PDU Protocol Data Unit
3.4 Conventions
3.4.1 General conventions
This document uses the descriptive conventions given in ISO/IEC 10731.
The service model, service primitives, and time-sequence diagrams used are entirely abstract
descriptions; they do not represent a specification for implementation.
Service primitives, used to represent service user/service provider interactions (see
ISO/IEC 10731), convey parameters that indicate information available in the user/provider
interaction.
This document uses a tabular format to describe the component parameters of the service
primitives. The parameters that apply to each group of service primitives are set out in tables
throughout the remainder of this document. Each table consists of up to five columns,
containing the name of the service parameter, and a column each for those primitives and
parameter-transfer directions used by the service:
– the request primitive’s input parameters;
– the indication primitive’s output parameters;
– the response primitive’s input parameters; and
– the confirm primitive’s output parameters.
NOTE The request, indication, response and confirm primitives are also known as requestor.submit,
acceptor.deliver, acceptor.submit, and requestor.deliver primitives, respectively (see ISO/IEC 10731).
One parameter (or part of it) is listed in each row of each table. Under the appropriate service
primitive columns, a code is used to specify the type of usage of the parameter on the
primitive and parameter direction specified in the column:
M parameter is mandatory for the primitive.
U parameter is a User option, and may or may not be provided depending on
the dynamic usage of the service-user. When not provided, a default value
for the parameter is assumed.
C parameter is conditional upon other parameters or upon the environment of
the service-user.
(blank) parameter is never present.
Some entries are further qualified by items in brackets. These may be a parameter-specific
constraint:
(=) indicates that the parameter is semantically equivalent to the parameter in
the service primitive to its immediate left in the table.
In any particular interface, not all parameters need be explicitly stated. Some may be
implicitly associated with the primitive.
In the diagrams which illustrate these interfaces, dashed lines indicate cause-and-effect or
time-sequence relationships, and wavy lines indicate that events are roughly
contemporaneous.
3.4.2 Conventions for class definitions
Class definitions are defined using templates. Each template consists of a list of attributes
and services for the class. The general form of the template is shown below:
FAL ASE: ASE Name
CLASS: Class Name
CLASS ID: #
PARENT CLASS: Parent Class Name
ATTRIBUTES:
1 (o) Key Attribute: numeric identifier
2 (o) Key Attribute: name
3 (m) Attribute: attribute name (values)
4 (m) Attribute: attribute name (values)
4.1 (s) Attribute: attribute name (values)
4.2 (s) Attribute: attribute name (values)
4.3 (s) Attribute: attribute name (values)
5 (c) Constraint: constraint expression
5.1 (m) Attribute: attribute name (values)
5.2 (o) Attribute: attribute name (values)
6 (m) Attribute: attribute name (values)
6.1 (s) Attribute: attribute name (values)
6.2 (s) Attribute: attribute name (values)
SERVICES:
1 (o) OpsService: service name
2 (c) Constraint: constraint expression
2.1 (o) OpsService: service name
3 (m) MgtService: service name
a) The "FAL ASE:" entry is the name of the FAL ASE that provides the services for the class
being specified.
b) The "CLASS:" entry is the name of the class being specified. All objects defined using this
template will be an instance of this class. The class may be specified by this document, or
by a user of this document.
c) The "CLASS ID:" entry is a number that identifies the class being specified. This number is
unique within the FAL ASE that will provide the services for this class. When qualified by
the identity of its FAL ASE, it unambiguously identifies the class within the scope of the
FAL. The value "NULL" indicates that the class cannot be instantiated. Class IDs between
1 and 255 are reserved by this document to identify standardized classes. They have been
– 16 – IEC 61158-5-23:2019 © IEC 2019
assigned to maintain compatibility with existing national standards. CLASS IDs between
256 and 2048 are allocated for identifying user defined classes.
d) The "PARENT CLASS:" entry is the name of the parent class for the class being specified.
All attributes defined for the parent class and inherited by it are inherited for the class
being defined, and therefore do not have to be redefined in the template for this class.
NOTE The parent-class "TOP" indicates that the class being defined is an initial class definition. The parent
class TOP is used as a starting point from which all other classes are defined. The use of TOP is reserved for
classes defined by this document.
e) The "ATTRIBUTES" label indicate that the following entries are attributes defined for the
class.
1) Each of the attribute entries contains a line number in column 1, a mandatory (m) /
optional (o) / conditional (c) / selector (s) indicator in column 2, an attribute type label
in column 3, a name or a conditional expression in column 4, and optionally a list of
enumerated values in column 5. In the column following the list of values, the default
value for the attribute may be specified.
2) Objects are normally identified by a numeric identifier or by an object name, or by both.
In the class templates, these key attributes are defined under the key attribute.
3) The line number defines the sequence and the level of nesting of the line. Each
nesting level is identified by period. Nesting is used to specify
i) fields of a structured attribute (4.1, 4.2, 4.3),
ii) attributes conditional on a constraint statement (5). Attributes may be mandatory
(5.1) or optional (5.2) if the constraint is true. Not all optional attributes require
constraint statements as does the attribute defined in (5.2),
iii) the selection fields of a choice type attribute (6.1 and 6.2).
f) The "SERVICES" label indicates that the following entries are services defined for the
class.
1) An (m) in column 2 indicates that the service is mandatory for the class, while an (o)
indicates that it is optional. A (c) in this column indicates that the service is conditional.
When all services defined for a class are defined as optional, at least one has to be
selected when an instance of the class is defined.
2) The label "OpsService" designates an operational service (1).
3) The label "MgtService" designates a management service (2).
4) The line number defines the sequence and the level of nesting of the line. Each
nesting level is identified by a period. Nesting within the list of services is used to
specify services conditional on a constraint statement.
3.4.3 Conventions for service definitions
3.4.3.1 General
The service model, s
...
IEC 61158-5-23 ®
Edition 2.0 2019-04
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 5-23: Application layer service definition – Type 23 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 5-23: Définition des services de la couche application – Eléments de
type 23
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form
or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from
either IEC or IEC's member National Committee in the country of the requester. If you have any questions about IEC
copyright or have an enquiry about obtaining additional rights to this publication, please contact the address below or
your local IEC member National Committee for further information.
Droits de reproduction réservés. Sauf indication contraire, aucune partie de cette publication ne peut être reproduite
ni utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie
et les microfilms, sans l'accord écrit de l'IEC ou du Comité national de l'IEC du pays du demandeur. Si vous avez des
questions sur le copyright de l'IEC ou si vous désirez obtenir des droits supplémentaires sur cette publication, utilisez
les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pays de résidence.
IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé info@iec.ch
CH-1211 Geneva 20 www.iec.ch
Switzerland
About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.
About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigendum or an amendment might have been published.
IEC publications search - webstore.iec.ch/advsearchform IEC online collection - oc.iec.ch
The advanced search enables to find IEC publications by a Discover our powerful search engine and read freely all the
variety of criteria (reference number, text, technical publications previews. With a subscription you will always
committee, …). It also gives information on projects, replaced have access to up to date content tailored to your needs.
and withdrawn publications.
Electropedia - www.electropedia.org
IEC Just Published - webstore.iec.ch/justpublished
The world's leading online dictionary on electrotechnology,
Stay up to date on all new IEC publications. Just Published
containing more than 22 000 terminological entries in English
details all new publications released. Available online and
and French, with equivalent terms in 18 additional languages.
once a month by email.
Also known as the International Electrotechnical Vocabulary
(IEV) online.
IEC Customer Service Centre - webstore.iec.ch/csc
If you wish to give us your feedback on this publication or
need further assistance, please contact the Customer Service
Centre: sales@iec.ch.
A propos de l'IEC
La Commission Electrotechnique Internationale (IEC) est la première organisation mondiale qui élabore et publie des
Normes internationales pour tout ce qui a trait à l'électricité, à l'électronique et aux technologies apparentées.
A propos des publications IEC
Le contenu technique des publications IEC est constamment revu. Veuillez vous assurer que vous possédez l’édition la
plus récente, un corrigendum ou amendement peut avoir été publié.
Recherche de publications IEC - IEC online collection - oc.iec.ch
webstore.iec.ch/advsearchform Découvrez notre puissant moteur de recherche et consultez
La recherche avancée permet de trouver des publications IEC gratuitement tous les aperçus des publications. Avec un
en utilisant différents critères (numéro de référence, texte, abonnement, vous aurez toujours accès à un contenu à jour
comité d’études, …). Elle donne aussi des informations sur adapté à vos besoins.
les projets et les publications remplacées ou retirées.
Electropedia - www.electropedia.org
IEC Just Published - webstore.iec.ch/justpublished
Le premier dictionnaire d'électrotechnologie en ligne au
Restez informé sur les nouvelles publications IEC. Just
monde, avec plus de 22 000 articles terminologiques en
Published détaille les nouvelles publications parues.
anglais et en français, ainsi que les termes équivalents dans
Disponible en ligne et une fois par mois par email.
16 langues additionnelles. Egalement appelé Vocabulaire
Electrotechnique International (IEV) en ligne.
Service Clients - webstore.iec.ch/csc
Si vous désirez nous donner des commentaires sur cette
publication ou si vous avez des questions contactez-nous:
sales@iec.ch.
IEC 61158-5-23 ®
Edition 2.0 2019-04
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 5-23: Application layer service definition – Type 23 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 5-23: Définition des services de la couche application – Eléments de
type 23
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-9269-3
– 2 – IEC 61158-5-23:2019 © IEC 2019
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, abbreviated terms and conventions . 10
3.1 Referenced terms and definitions . 10
3.1.1 ISO/IEC 7498-1 terms. 10
3.1.2 ISO/IEC 8822 terms . 10
3.1.3 ISO/IEC 9545 terms . 10
3.1.4 ISO/IEC 8824-1 terms. 11
3.1.5 IEC 61158-1 terms. 11
3.2 Additional Type 23 terms and definitions . 11
3.3 Symbols and abbreviated terms . 13
3.4 Conventions . 14
3.4.1 General conventions . 14
3.4.2 Conventions for class definitions . 15
3.4.3 Conventions for service definitions . 16
4 Concept . 17
5 Data type ASE . 17
5.1 Overview . 17
5.2 Fixed length types . 18
5.2.1 Bitstring types . 18
5.2.2 Numeric types . 19
6 Communication model specification . 23
6.1 Communication model . 23
6.1.1 General . 23
6.1.2 Cyclic model n:n . 23
6.1.3 Cyclic model 1:n . 24
6.1.4 Transient model . 24
6.2 ASE . 25
6.2.1 Overview type C . 25
6.2.2 Overview type F. 25
6.2.3 Cyclic data ASE type C . 25
6.2.4 Cyclic data ASE type F . 32
6.2.5 Acyclic data ASE type C . 37
6.2.6 Acyclic data ASE type F . 43
6.2.7 Management ASE . 56
6.2.8 Synchronization ASE . 59
6.2.9 Measurement ASE . 60
6.3 AR type C . 61
6.3.1 Overview . 61
6.3.2 Connection Control . 62
6.3.3 Cyclic transmission type C . 66
6.3.4 Acyclic transmission type C . 68
6.3.5 Common parameter dist. 70
6.4 AR type F . 75
6.4.1 Overview . 75
6.4.2 Channel control . 75
6.4.3 Cyclic transmission type F . 82
6.4.4 Acyclic transmission type F . 84
6.4.5 Parameter dist . 87
6.4.6 Synchronous trigger . 90
6.4.7 Measurement transmission . 91
Bibliography . 94
Figure 1 – Cyclic model (n:n type distributed shared memory, unconfirmed push model) . 24
Figure 2 – Cyclic model (1:n type distributed shared memory, unconfirmed push model) . 24
Figure 3 – Transient model (Client server model) . 24
Figure 4 – Transient model (Push model). 25
Figure 5 – Structure of ASE type C of FAL type 23 . 25
Figure 6 – Structure of ASE type F of FAL Type 23 . 25
Figure 7 – Structure of AR type C . 62
Figure 8 – Structure of AR type F. 75
Table 1 – Ld service parameters . 27
Table 2 – Set service parameters . 27
Table 3 – Reset service parameters . 27
Table 4 – Read service parameters. 28
Table 5 – Write service parameters . 28
Table 6 – Ld service parameters . 29
Table 7 – Set service parameters . 30
Table 8 – Reset service parameters . 30
Table 9 – Read service parameters. 31
Table 10 – Write service parameters . 31
Table 11 – Ld service parameters . 33
Table 12 – Set service parameters . 34
Table 13 – Reset service parameters . 34
Table 14 – Read service parameters . 35
Table 15 – Write service parameters . 35
Table 16 – Get memory access info service parameters . 38
Table 17 – Run service parameters. 39
Table 18 – Stop service parameters . 40
Table 19 – Read memory service parameters . 41
Table 20 – Write memory service parameters . 42
Table 21 – Get memory access info service parameters . 44
Table 22 – Run service parameters. 45
Table 23 – Stop service parameters . 46
– 4 – IEC 61158-5-23:2019 © IEC 2019
Table 24 – Read memory service parameters . 47
Table 25 – Write memory service parameters . 48
Table 26 – Vendor command service parameters . 49
Table 27 – Distribute node info service parameters . 50
Table 28 – Get statistics service parameters . 51
Table 29 – Get node info detail service parameters . 53
Table 30 – AC data service parameters . 55
Table 31 – AC data ND service parameters . 56
Table 32 – Get attribute service parameters . 57
Table 33 – Set attribute service parameters . 58
Table 34 – Synchronization trigger service parameters . 59
Table 35 – Start measurement service parameters . 60
Table 36 – Get offset service parameters . 61
Table 37 – Control cyclic service parameters . 66
Table 38 – CT Update service parameters . 67
Table 39 – AC Send service parameters . 68
Table 40 – AC Param send service parameters . 70
Table 41 – CPD Set service parameters . 74
Table 42 – Control cyclic service parameters . 82
Table 43 – CT Update service parameters . 83
Table 44 – AC Send service parameters . 84
Table 45 – AC Send ND service parameters . 86
Table 46 – Synchronous trigger internal service parameters . 90
Table 47 – Measure send service parameters . 91
Table 48 – MeasureAck send service parameters . 92
Table 49 – Offset send service parameters . 92
Table 50 – Update send service parameters . 93
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 5-23: Application layer service definition –
Type 23 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.
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‑23 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 2014. This edition
constitutes a technical revision.
– 6 – IEC 61158-5-23:2019 © IEC 2019
This edition includes the following significant technical changes with respect to the previous
edition:
• addition of an attribute for Master ID (see 3.2.10, 6.4.3, 6.4.4 and 6.4.5).
The text of this International Standard is based on the following documents:
FDIS Report on voting
65C/947/FDIS 65C/950/RVD
Full information on the voting for the approval of this International Standard can be found in
the report on voting indicated in the above table.
This publication has been drafted in accordance with ISO/IEC Directives, Part 2.
A list of all the parts of the IEC 61158 series, published under the general title Industrial
communication networks – Fieldbus specifications, can be found on the IEC website.
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.
INTRODUCTION
This document is one of a series produced to facilitate the interconnection of automation
system components. It is related to other standards in the set as defined by the “three-layer”
fieldbus reference model described in IEC 61158-1.
The application service is provided by the application protocol making use of the services
available from the data-link or other immediately lower layer. This document defines the
application service characteristics that fieldbus applications and/or system management may
exploit.
Throughout the set of fieldbus standards, the term “service” refers to the abstract capability
provided by one layer of the OSI Basic Reference Model to the layer immediately above. Thus,
the application layer service defined in this document is a conceptual architectural service,
independent of administrative and implementation divisions.
– 8 – IEC 61158-5-23:2019 © IEC 2019
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 5-23: Application layer service definition –
Type 23 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 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 12 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 International 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 document is to define the services provided to
a) the FAL user at the boundary between the user and the Application Layer of the Fieldbus
Reference Model, and
b) Systems Management at the boundary between the Application Layer and Systems
Management of the Fieldbus Reference Model.
This document 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
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 document to provide access to the FAL to control certain aspects of its operation.
1.2 Specifications
The principal objective of this document is to specify the characteristics of conceptual
application layer services suitable for time-critical communications, and thus supplement the
OSI Basic Reference Model in guiding the development of application layer protocols for time-
critical communications.
A secondary objective is to provide migration paths from previously-existing industrial
communications protocols. 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 document 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 any given Type of application layer services as defined in this document.
2 Normative references
The following documents are referred to in the text in such a way that some or all of their
content constitutes requirements of this document. For dated references, only the edition
cited applies. For undated references, the latest edition of the referenced document (including
any amendments) applies.
NOTE All parts of the IEC 61158 series, as well as IEC 61784-1 and IEC 61784-2 are maintained simultaneously.
Cross-references to these documents within the text therefore refer to the editions as dated in this list of normative
references.
IEC 61158-1:2019, Industrial communication networks – Fieldbus specifications – Part 1:
Overview and guidance for the IEC 61158 and IEC 61784 series
IEC 61158-6 (all parts), Industrial communication networks – Fieldbus specifications – Part 6:
Application layer protocol specification
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
– 10 – IEC 61158-5-23:2019 © IEC 2019
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
3 Terms, definitions, symbols, abbreviated terms and conventions
For the purposes of this document, the following terms, definitions, symbols, abbreviations
and conventions apply.
ISO and IEC maintain terminological databases for use in standardization at the following
addresses:
• IEC Electropedia: available at http://www.electropedia.org/
• ISO Online browsing platform: available at http://www.iso.org/obp
3.1 Referenced terms and definitions
3.1.1 ISO/IEC 7498-1 terms
For the purposes of this document, the following terms given in ISO/IEC 7498-1 apply:
a) application entity
b) application process
c) application protocol data unit
d) application service element
e) application entity invocation
f) application process invocation
g) application transaction
h) real open system
i) transfer syntax
3.1.2 ISO/IEC 8822 terms
For the purposes of this document, the following terms given in ISO/IEC 8822 apply:
a) abstract syntax
b) presentation context
3.1.3 ISO/IEC 9545 terms
For the purposes of this document, the following terms given in ISO/IEC 9545 apply:
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.1.4 ISO/IEC 8824-1 terms
For the purposes of this document, the following terms given in ISO/IEC 8824-1 apply:
a) object identifier
b) type
3.1.5 IEC 61158-1 terms
For the purposes of this document, the following terms given in IEC 61158-1 apply:
a) DLL mapping protocol machine
b) fieldbus application layer
c) FAL service protocol machine
d) protocol data unit
3.2 Additional Type 23 terms and definitions
For the purposes of this document, the following terms and definitions apply.
3.2.1
cyclic transmission
transmission that is performed periodically used for the link device update
3.2.2
intelligent device station
node capable of performing 1:n bit data and word data cyclic transmission and transient
transmission with the master station, and transient transmission with slave stations, excluding
remote I/O stations and having client functions and server functions during transient
transmission
3.2.3
link bit
link relay bit data that are shared by all the nodes through the cyclic transmission and is used
as one bit unit shared memory of the n:n type
3.2.4
link device
link bit, link word, link x and link y or RX, RY, RWr, and RWw
3.2.5
link word
link register two octet unit data that are shared by all the nodes through the cyclic
transmission and is used as two octet unit shared memory of the n:n type
3.2.6
link x
link input received bit data that are transmitted from each node through the cyclic
transmission and is used as an input shared memory of the 1:n type
3.2.7
link y
link output bit data that are sent to each node through the cyclic transmission and is used as
an output shared memory of the 1:n type
– 12 – IEC 61158-5-23:2019 © IEC 2019
3.2.8
local station
node capable of performing n:n bit data and word data cyclic transmission and transient
transmission with the master station and other local stations, and transient transmission with
slave stations, excluding remote I/O stations and having server functions and client functions
during transient transmission
3.2.9
management node
node in which parameters are set
3.2.10
master ID
ID that represents the node number of the master station
3.2.11
master station
node that has control information (parameters) and manages cyclic transmission
3.2.12
node
element that forms a network and performs data transmission, reception, and transfer
3.2.13
node-to-node test
physical layer test between two nodes
3.2.14
normal node
node other than a management node
3.2.15
remote device station
node capable of performing 1:n bit data and word data cyclic transmission and transient
transmission with the master station, and transient transmission with slave stations, excluding
remote I/O stations and having server functions during transient transmission
3.2.16
remote I/O station
node capable of performing 1:n bit data cyclic transmission with the master station
3.2.17
reserve node
node that is not yet connected, but counted in the total node number of the network not
performing cyclic transmission, but always regarded as normal from applications
3.2.18
RX
remote input as viewed from the master station with bit data that are periodically updated by
cyclic transmission, salve to master, or in local station as viewed from the master station is
RY of the local station
3.2.19
RY
remote output as viewed from the master station with bit data that are periodically updated by
cyclic transmission, master to salve, or in local station as viewed from the master station is
RX of the local station
3.2.20
RWr
remote register (input) as viewed from the master station with word data that are periodically
updated by cyclic transmission, slave to master, or in local station as viewed from the master
station is RWw of the local station
3.2.21
RWw
remote register (output) as viewed from the master station with word data that are periodically
updated by cyclic transmission, master to slave, or in local station as viewed from the master
station is RWr of the local station
3.2.22
slave station
node other than the master station
3.2.23
station
node of a network
3.2.24
synchronization manager
single node in a master station role per network that manages synchronization, distributing
synchronization timing to other nodes
3.2.25
transient transmission
transmission that is performed upon each request
3.2.26
transient transmission client function
function that issues a transient request
3.2.27
transient transmission server function
function that receives a transient request and issues a response
3.2.28
transmission control manager
single node in a master station role per network that performs token passing management
3.2.29
word
unit representing data, 16 bits in length
3.3 Symbols and abbreviated terms
AE Application Entity
AL Application Layer
AP Application Process
APDU Application Protocol Data Unit
APO Application Process Object
AR Application Relationship
AREP Application Relationship Endpoint
ASE Application Service Element
ASN.1 Abstract Syntax Notation 1
– 14 – IEC 61158-5-23:2019 © IEC 2019
CRC Cyclic Redundancy Check
DLL Data-link Layer
DMPM DLL Mapping Protocol Machine
FAL Fieldbus Application Layer
FSPM FAL Service Protocol Machine
LB Link Bit
LSB Least Significant Bit
LW Link Word
LX Link X
LY Link Y
MSB Most Significant Bit
OSI Open Systems Interconnection
PDU Protocol Data Unit
3.4 Conventions
3.4.1 General conventions
This document uses the descriptive conventions given in ISO/IEC 10731.
The service model, service primitives, and time-sequence diagrams used are entirely abstract
descriptions; they do not represent a specification for implementation.
Service primitives, used to represent service user/service provider interactions (see
ISO/IEC 10731), convey parameters that indicate information available in the user/provider
interaction.
This document uses a tabular format to describe the component parameters of the service
primitives. The parameters that apply to each group of service primitives are set out in tables
throughout the remainder of this document. Each table consists of up to five columns,
containing the name of the service parameter, and a column each for those primitives and
parameter-transfer directions used by the service:
– the request primitive’s input parameters;
– the indication primitive’s output parameters;
– the response primitive’s input parameters; and
– the confirm primitive’s output parameters.
NOTE The request, indication, response and confirm primitives are also known as requestor.submit,
acceptor.deliver, acceptor.submit, and requestor.deliver primitives, respectively (see ISO/IEC 10731).
One parameter (or part of it) is listed in each row of each table. Under the appropriate service
primitive columns, a code is used to specify the type of usage of the parameter on the
primitive and parameter direction specified in the column:
M parameter is mandatory for the primitive.
U parameter is a User option, and may or may not be provided depending on
the dynamic usage of the service-user. When not provided, a default value
for the parameter is assumed.
C parameter is conditional upon other parameters or upon the environment of
the service-user.
(blank) parameter is never present.
Some entries are further qualified by items in brackets. These may be a parameter-specific
constraint:
(=) indicates that the parameter is semantically equivalent to the parameter in
the service primitive to its immediate left in the table.
In any particular interface, not all parameters need be explicitly stated. Some may be
implicitly associated with the primitive.
In the diagrams which illustrate these interfaces, dashed lines indicate cause-and-effect or
time-sequence relationships, and wavy lines indicate that events are roughly
contemporaneous.
3.4.2 Conventions for class definitions
Class definitions are defined using templates. Each template consists of a list of attributes
and services for the class. The general form of the template is shown below:
FAL ASE: ASE Name
CLASS: Class Name
CLASS ID: #
PARENT CLASS: Parent Class Name
ATTRIBUTES:
1 (o) Key Attribute: numeric identifier
2 (o) Key Attribute: name
3 (m) Attribute: attribute name (values)
4 (m) Attribute: attribute name (values)
4.1 (s) Attribute: attribute name (values)
4.2 (s) Attribute: attribute name (values)
4.3 (s) Attribute: attribute name (values)
5 (c) Constraint: constraint expression
5.1 (m) Attribute: attribute name (values)
5.2 (o) Attribute: attribute name (values)
6 (m) Attribute: attribute name (values)
6.1 (s) Attribute: attribute name (values)
6.2 (s) Attribute: attribute name (values)
SERVICES:
1 (o) OpsService: service name
2 (c) Constraint: constraint expression
2.1 (o) OpsService: service name
3 (m) MgtService: service name
a) The "FAL ASE:" entry is the name of the FAL ASE that provides the services for the class
being specified.
b) The "CLASS:" entry is the name of the class being specified. All objects defined using this
template will be an instance of this class. The class may be specified by this document, or
by a user of this document.
c) The "CLASS ID:" entry is a number that identifies the class being specified. This number is
unique within the FAL ASE that will provide the services for this class. When qualified by
the identity of its FAL ASE, it unambiguously identifies the class within the scope of the
FAL. The value "NULL" indicates that the class cannot be instantiated. Class IDs between
1 and 255 are reserved by this document to identify standardized classes. They have been
– 16 – IEC 61158-5-23:2019 © IEC 2019
assigned
...
Frequently Asked Questions
IEC 61158-5-23:2019 is a standard published by the International Electrotechnical Commission (IEC). Its full title is "Industrial communication networks - Fieldbus specifications - Part 5-23: Application layer service definition - Type 23 elements". This standard covers: IEC 61158-5-23:2019 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 2014. This edition constitutes a technical revision. This edition includes the following significant technical changes with respect to the previous edition: •addition of an attribute for Master ID (see 3.2.10, 6.4.3, 6.4.4 and 6.4.5)
IEC 61158-5-23:2019 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 2014. This edition constitutes a technical revision. This edition includes the following significant technical changes with respect to the previous edition: •addition of an attribute for Master ID (see 3.2.10, 6.4.3, 6.4.4 and 6.4.5)
IEC 61158-5-23:2019 is classified under the following ICS (International Classification for Standards) categories: 25.040.40 - Industrial process measurement and control; 35.100.70 - Application layer; 35.110 - Networking. The ICS classification helps identify the subject area and facilitates finding related standards.
IEC 61158-5-23:2019 has the following relationships with other standards: It is inter standard links to IEC 61158-5-23:2014, IEC 61158-5-23:2023. Understanding these relationships helps ensure you are using the most current and applicable version of the standard.
You can purchase IEC 61158-5-23:2019 directly from iTeh Standards. The document is available in PDF format and is delivered instantly after payment. Add the standard to your cart and complete the secure checkout process. iTeh Standards is an authorized distributor of IEC 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...