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

IEC 61158-5-4:2023 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 4 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.

General Information

Status
Published
Publication Date
23-Mar-2023
Technical Committee
Drafting Committee
Current Stage
PPUB - Publication issued
Start Date
31-Mar-2023
Completion Date
24-Mar-2023
Ref Project

Relations

Buy Standard

Standard
IEC 61158-5-4:2023 - Industrial communication networks - Fieldbus specifications - Part 5-4: Application layer service definition - Type 4 elements Released:3/24/2023
English language
71 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

IEC 61158-5-4
®

Edition 4.0 2023-03
INTERNATIONAL
STANDARD



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

IEC 61158-5-4:2023-03(en)

---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2023 IEC, Geneva, Switzerland

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 Secretariat 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 Products & Services Portal - products.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 have
committee, …). It also gives information on projects, replaced 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 300 terminological entries in English
details all new publications released. Available online and once
and French, with equivalent terms in 19 additional languages.
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.

---------------------- Page: 2 ----------------------
IEC 61158-5-4

®


Edition 4.0 2023-03




INTERNATIONAL



STANDARD



















Industrial communication networks – Fieldbus specifications –

Part 5-4: Application layer service definition – Type 4 elements


























INTERNATIONAL

ELECTROTECHNICAL


COMMISSION





ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-6572-7




  Warning! Make sure that you obtained this publication from an authorized distributor.


® Registered trademark of the International Electrotechnical Commission

---------------------- Page: 3 ----------------------
– 2 – IEC 61158-5-4:2023 © IEC 2023
CONTENTS
FOREWORD . 4
INTRODUCTION . 6
1 Scope . 7
1.1 General . 7
1.2 Specifications . 8
1.3 Conformance . 8
2 Normative references . 8
3 Terms, definitions, symbols, abbreviated terms and conventions . 9
3.1 ISO/IEC 7498-1 terms . 9
3.2 ISO/IEC 8822 terms . 9
3.3 ISO/IEC 9545 terms . 10
3.4 ISO/IEC 8824-1 terms . 10
3.5 Fieldbus data-link layer terms . 10
3.6 Fieldbus application layer specific definitions . 10
3.7 Abbreviations and symbols . 16
3.8 Conventions . 17
3.8.1 Overview . 17
3.8.2 General conventions . 18
3.8.3 Conventions for class definitions . 18
3.8.4 Conventions for service definitions . 19
4 Concepts . 20
4.1 Overview. 20
4.2 Architectural relationships . 21
4.2.1 Relationship to the Application Layer of the OSI basic reference model . 21
4.2.2 Relationships to other fieldbus entities. 21
4.3 Fieldbus Application Layer structure . 23
4.3.1 Overview . 23
4.3.2 Fundamental concepts . 23
4.3.3 Fieldbus application processes . 23
4.3.4 Application process objects . 27
4.3.5 Application entities . 29
4.3.6 Fieldbus application service elements . 30
4.3.7 Application relationships . 33
4.4 Fieldbus Application Layer naming and addressing . 35
4.4.1 General . 35
4.4.2 Identifying objects accessed through the FAL . 35
4.4.3 Addressing APs accessed through the FAL. 36
4.5 Architecture summary . 36
4.6 FAL service procedures . 36
4.6.1 FAL confirmed service procedures . 36
4.6.2 FAL unconfirmed service procedures . 37
4.7 Common FAL attributes . 37
4.8 Common FAL service parameters . 38
4.9 APDU size . 39
5 Type 4 communication model specification . 39
5.1 Concepts . 39

---------------------- Page: 4 ----------------------
IEC 61158-5-4:2023 © IEC 2023 – 3 –
5.1.1 Overview . 39
5.1.2 Application entities . 39
5.1.3 Gateway and routing . 41
5.1.4 Architecture summary . 42
5.1.5 FAL service procedures and time sequence diagrams . 43
5.2 Variable ASE . 45
5.2.1 Variable types. 45
5.2.2 Variable model class specification . 47
5.2.3 Basic variable type specifications . 48
5.2.4 Constructed variable type specifications . 53
5.2.5 Route endpoint ASE . 57
5.2.6 Route endpoint ASE service specification . 60
5.3 Application relationship ASE . 64
5.3.1 Overview . 64
5.3.2 Application relationship class specification . 64
5.3.3 Application relationship ASE service specifications . 66
Bibliography . 71

Figure 1 – Relationship to the OSI basic reference model . 21
Figure 2 – Architectural positioning of the fieldbus Application Layer . 22
Figure 3 – Client/server interactions. 24
Figure 4 – Pull model interactions . 25
Figure 5 – Push model interactions . 26
Figure 6 – APOs services conveyed by the FAL . 28
Figure 7 – Application entity structure . 29
Figure 8 – Example FAL ASEs . 31
Figure 9 – FAL management of objects . 31
Figure 10 – ASE service conveyance . 32
Figure 11 – Defined and established AREPs . 35
Figure 12 – FAL architectural components . 36
Figure 13 – FAL AE . 40
Figure 14 – Summary of the FAL architecture . 42
Figure 15 – FAL service procedure overview . 43
Figure 16 – Time sequence diagram for the confirmed services . 44
Figure 17 – Time sequence diagram for unconfirmed services . 45

Table 1 – REQUEST service parameters . 60
Table 2 – RESPONSE service parameters . 61
Table 3 – Error codes by source . 62
Table 4 – Reserve REP service parameters . 62
Table 5 – Free AREP service parameters . 63
Table 6 – Get REP attribute service parameters . 63
Table 7 – Set REP attribute service parameters . 64
Table 8 – AR send service parameters. 68
Table 9 – AR acknowledge service parameters . 68
Table 10 – AR get attributes service parameters . 69
Table 11 – AR set attributes service parameters . 69

---------------------- Page: 5 ----------------------
– 4 – IEC 61158-5-4:2023 © IEC 2023
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________

INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –

Part 5-4: Application layer service definition –
Type 4 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 series and IEC 61784-2 series.
IEC 61158-5-4 has been prepared by subcommittee 65C: Industrial networks, of IEC technical
committee 65: Industrial-process measurement, control and automation. It is an International
Standard.
This fourth edition cancels and replaces the third edition published in 2019. This edition
constitutes a technical revision.

---------------------- Page: 6 ----------------------
IEC 61158-5-4:2023 © IEC 2023 – 5 –
This edition includes the following significant technical change with respect to the previous
edition:
a) Use of extended data size in an APDU body. This extension is restricted to nodes operating
on a P-NET IP network. There are no technical changes to this sub-part of the standard.
The text of this International Standard is based on the following documents:
Draft Report on voting
65C/1203/FDIS 65C/1244/RVD

Full information on the voting for its approval can be found in the report on voting indicated in
the above table.
The language used for the development of this International Standard is English.
This document was drafted in accordance with ISO/IEC Directives, Part 2, and developed in
accordance with ISO/IEC Directives, Part 1 and ISO/IEC Directives, IEC Supplement, available
at www.iec.ch/members_experts/refdocs. The main document types developed by IEC are
described in greater detail at www.iec.ch/publications.
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 document will remain unchanged until the
stability date indicated on the IEC website under webstore.iec.ch in the data related to the
specific document. At this date, the document will be
• reconfirmed,
• withdrawn,
• replaced by a revised edition, or
• amended.

---------------------- Page: 7 ----------------------
– 6 – IEC 61158-5-4:2023 © IEC 2023
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 can
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.

---------------------- Page: 8 ----------------------
IEC 61158-5-4:2023 © IEC 2023 – 7 –
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –

Part 5-4: Application layer service definition –
Type 4 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 4 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 document defines in an abstract way the externally visible service provided by the Type 4
fieldbus application layer in terms of:
• an abstract model for defining application resources (objects) capable of being manipulated
by users via the use of the FAL service;
• the primitive actions and events of the service;
• the parameters associated with each primitive action and event, and the form which they
take; and
• the interrelationship between these actions and events, and their valid sequences.
The purpose of this document is to define 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 document specifies the structure and services of the Type 4 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.

---------------------- Page: 9 ----------------------
– 8 – IEC 61158-5-4:2023 © IEC 2023
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 in subparts of IEC 61158-6.
This document can 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 the Type 2 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 series and IEC 61784-2 series 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-3-4:2023, Industrial communication networks – Fieldbus specifications – Part 3-4:
Data-link layer service definition – Type 4 elements
IEC 61158-4-4:2023, Industrial communication networks – Fieldbus specifications – Part 4-4:
Data-link layer protocol specification – Type 4 elements
IEC 61158-6-4:2023, Industrial communication networks – Fieldbus specifications – Part 6-4:
Application layer protocol specification – Type 4 elements
ISO/IEC 7498-1, Information technology – Open Systems Interconnection – Basic Reference
Model – Part 1: The Basic Model

---------------------- Page: 10 ----------------------
IEC 61158-5-4:2023 © IEC 2023 – 9 –
ISO/IEC 7498-3, Information technology – Open Systems Interconnection – Basic Reference
Model – Part 3: Naming and addressing
ISO/IEC 8822, Information technology – Open Systems Interconnection – Presentation service
definition
ISO/IEC 8824-1, Information technology – Abstract Syntax Notation One (ASN.1) – Part 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 60559, Floating-point arithmetic
3 Terms, definitions, symbols, abbreviated terms and conventions
For the purposes of this document, the following terms, definitions, symbols, abbreviated terms
and conventions apply.
ISO and IEC maintain terminological databases for use in standardization at the following
addresses:
• IEC Electropedia: available at https://www.electropedia.org/
• ISO Online browsing platform: available at https://www.iso.org/obp
3.1 ISO/IEC 7498-1 terms
For the purposes of this document, the following terms as defined 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.2 ISO/IEC 8822 terms
For the purposes of this document, the following terms as defined in ISO/IEC 8822 apply:
a) abstract syntax
b) presentation context

---------------------- Page: 11 ----------------------
– 10 – IEC 61158-5-4:2023 © IEC 2023
3.3 ISO/IEC 9545 terms
For the purposes of this document, the following terms as defined 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.4 ISO/IEC 8824-1 terms
For the purposes of this document, the following terms as defined in ISO/IEC 8824-1 apply:
a) object identifier
b) type
3.5 Fieldbus data-link layer terms
For the purposes of this document, the following terms apply.
a) DL-Time
b) DL-Scheduling-policy
c) DLCEP
d) DLC
e) DLPDU
f) DLSDU
g) DLSAP
h) fixed tag
i) generic tag
j) link
k) network address
l) node address
m) node
n) tag
o) scheduled
p) unscheduled
3.6 Fieldbus application layer specific definitions
For the p
...

Questions, Comments and Discussion

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