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

IEC 61158-5-19: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 fourth edition cancels and replaces the third edition published in 2014 and constitutes a technical revision. This edition includes the following significant technical changes with respect to the previous edition:
• improving the hotplug and redundancy features;
• improving the phase switching and the error handling;
• editorial improvements.

Réseaux de communication industriels - Spécifications des bus de terrain - Partie 5-19: Définition des services de la couche application - Éléments de type 19

L’IEC 61158-5-19: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 19. On utilise le terme "prioritaire" pour traduire la présence d’une fenêtre temporelle, à l’intérieur de laquelle il est exigé de terminer une ou plusieurs actions spécifié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.
La présente norme définit de manière abstraite le service visible de l'extérieur fourni par la couche application de bus de terrain en termes
a) d’un modèle abstrait pour la définition des ressources d’application (objets) qui peuvent être manipulées par les utilisateurs par l'intermédiaire de l’utilisation du service FAL,
b) des actions primitives et des événements du service;
c) des paramètres associés à chaque action et événement primitif, et de la forme qu’ils peuvent prendre; et
d) des interrelations entre ces actions et événements, et de leurs séquences valides.

General Information

Status
Published
Publication Date
09-Apr-2019
Technical Committee
Drafting Committee
Current Stage
PPUB - Publication issued
Start Date
26-Apr-2019
Completion Date
10-Apr-2019
Ref Project

Buy Standard

Standard
IEC 61158-5-19:2019 - Industrial communication networks - Fieldbus specifications - Part 5-19: Application layer service definition - Type 19 elements
English language
34 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 61158-5-19:2019 - Industrial communication networks - Fieldbus specifications - Part 5-19: Application layer service definition - Type 19 elements
English and French language
71 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

IEC 61158-5-19
®

Edition 4.0 2019-04
INTERNATIONAL
STANDARD



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

IEC 61158-5-19:2019-04(en)

---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2019 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 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.

---------------------- Page: 2 ----------------------
IEC 61158-5-19

®


Edition 4.0 2019-04




INTERNATIONAL



STANDARD



















Industrial communication networks – Fieldbus specifications –

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



























INTERNATIONAL

ELECTROTECHNICAL


COMMISSION





ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-6751-6




  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-19:2019 © IEC 2019
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, abbreviations and conventions . 9
3.1 ISO/IEC 7498-1 terms . 9
3.2 ISO/IEC 8822 terms . 9
3.3 ISO/IEC 9545 terms . 9
3.4 ISO/IEC 8824-1 terms . 10
3.5 Fieldbus application-layer specific definitions . 10
3.6 Abbreviations and symbols . 12
3.7 Conventions . 12
3.7.1 Overview . 12
3.7.2 General conventions . 12
3.7.3 Conventions for class definitions . 12
3.7.4 Conventions for service definitions . 14
4 Concepts . 15
5 Data type ASE . 15
5.1 Bitstring types . 15
5.1.1 BitString8 . 15
5.1.2 BitString16. 16
5.1.3 BitString32. 16
5.1.4 BitString64. 16
5.2 Unsigned types . 16
5.2.1 Unsigned16 . 16
5.2.2 Unsigned32 . 16
5.2.3 Unsigned64 . 17
5.3 Integer types . 17
5.3.1 Integer16 . 17
5.3.2 Integer32 . 17
5.3.3 Integer64 . 17
5.4 Floating Point types . 17
5.4.1 Float32 . 17
5.4.2 Float64 . 18
5.5 Structure types . 18
5.5.1 STRING2 . 18
6 Communication model specification . 18
6.1 Concepts . 18
6.1.1 Communication mechanisms . 18
6.1.2 IDN concept . 18
6.2 ASEs . 18
6.2.1 Identification number (IDN) ASE . 18
6.2.2 CYCIDN ASE . 21

---------------------- Page: 4 ----------------------
IEC 61158-5-19:2019 © IEC 2019 – 3 –
6.2.3 Management (MGT) ASE . 24
6.3 ARs . 31
6.3.1 General . 31
6.3.2 Point-to-point user-triggered confirmed client/server AREP (SVC) . 31
6.3.3 Point-to-point network-scheduled unconfirmed publisher/subscriber

AREP (RTC-MS) . 31
6.3.4 Point-to-multipoint network-scheduled unconfirmed publisher/subscriber
AREP (RTC-CC) . 32
6.4 Summary of AR classes . 32
6.5 Permitted FAL services by AREP role . 33
Bibliography . 34

Table 1 – Read service parameters. 20
Table 2 – Write service parameters . 21
Table 3 – Read service parameters. 22
Table 4 – Write service parameters . 23
Table 5 – Notify service parameters . 24
Table 6 – Get network status service parameters . 25
Table 7 – Get device status service parameters . 26
Table 8 – Network status change report service parameters . 26
Table 9 – Station status change report service parameters . 27
Table 10 – Set device status service parameters . 27
Table 11 – Enable RTC service parameters . 28
Table 12 – Enable hotplug service parameters . 29
Table 13 – Notify RTC service parameters . 30
Table 14 – Disable RTC service parameters . 30
Table 15 – AREP (SVC) class summary . 32
Table 16 – AREP (RTC-MS) class summary . 32
Table 17 – AREP (RTC-CC) class summary . 33
Table 18 – FAL services by AR type . 33

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

INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –

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

FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of IEC is to promote
international co-operation on all questions concerning standardization in the electrical and electronic fields. To
this end and in addition to other activities, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC
Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested
in the subject dealt with may participate in this preparatory work. International, governmental and non-
governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely
with the International Organization for Standardization (ISO) in accordance with conditions determined by
agreement between the two organizations.
2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
consensus of opinion on the relevant subjects since each technical committee has representation from all
interested IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
services carried out by independent certification bodies.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
Attention is drawn to the fact that the use of the associated protocol type is restricted by its
intellectual-property-right holders. In all cases, the commitment to limited release of
intellectual-property-rights made by the holders of those rights permits a layer protocol type to
be used with other layer protocols of the same type, or in other type combinations explicitly
authorized by its intellectual-property-right holders.
NOTE Combinations of protocol types are specified in IEC 61784-1 and IEC 61784-2.
International Standard IEC 61158-5-19 has been prepared by subcommittee 65C: Industrial
networks, of IEC technical committee 65: Industrial-process measurement, control and
automation.
This fourth edition cancels and replaces the third edition published in 2014. This edition
constitutes a technical revision.

---------------------- Page: 6 ----------------------
IEC 61158-5-19:2019 © IEC 2019 – 5 –
This edition includes the following significant technical changes with respect to the previous
edition:
• improving the hotplug and redundancy features;
• improving the phase switching and the error handling;
• editorial improvements.
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 parts of the IEC 61158 series, published under the general title Industrial
communication networks – Fieldbus specifications, can be found on the IEC web site.
The committee has decided that the contents of this publication will remain unchanged until
the stability date indicated on the IEC web site under "http://webstore.iec.ch" in the data
related to the specific publication. At this date, the publication will be
• reconfirmed,
• withdrawn,
• replaced by a revised edition, or
• amended.
A bilingual version of this publication may be issued at a later date.

---------------------- Page: 7 ----------------------
– 6 – IEC 61158-5-19:2019 © IEC 2019
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.

---------------------- Page: 8 ----------------------
IEC 61158-5-19:2019 © IEC 2019 – 7 –
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –

Part 5-19: Application layer service definition –
Type 19 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 19 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 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 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

---------------------- Page: 9 ----------------------
– 8 – IEC 61158-5-19:2019 © IEC 2019
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 the 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 61131-3, Programmable controllers – Part 3: Programming languages
IEC 61158-1:2019, Industrial communication networks – Fieldbus specifications – Part 1:
Overview and guidance for the IEC 61158 and IEC 61784 series
IEC 61158-4-19:2019, Industrial communication networks – Fieldbus specifications –
Part 4-19: Data-link layer protocol specification – Type 19 elements
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

---------------------- Page: 10 ----------------------
IEC 61158-5-19:2019 © IEC 2019 – 9 –
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 10646, Information technology – Universal Coded Character Set (UCS)
ISO/IEC 10731, Information technology – Open Systems Interconnection – Basic Reference
Model – Conventions for the definition of OSI services
ISO/IEC/IEEE 60559, Information technology – Microprocessor Systems – Floating-Point
arithmetic
3 Terms, definitions, symbols, abbreviations and conventions
For the purposes of this document, the following terms, definitions, symbols, abbreviations
and conventions 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 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
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

---------------------- Page: 11 ----------------------
– 10 – IEC 61158-5-19:2019 © IEC 2019
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 application-layer specific definitions
3.5.1
coded character set
code
set of unambiguous rules that establish a character set and one-to-one relationship between
the characters of the set and their representation by one or more bit combinations
3.5.2
cross communication
direct data transfer between slave devices (without active involvement of master)
3.5.3
cycle time
duration of a communication cycle
3.5.4
cyclic data
part of a telegram, which does not change its meaning during cyclic operation of the network
3.5.5
device
slave in the communication network
Note 1 to entry: Examples are a power drive system as defined in the IEC 61800-7 (all parts), I/O stations as
defined in IEC 61131 (all parts), etc.
3.5.6
device status
four adjacent octets inside the acknowledge telegram containing status information for each
device
3.5.7
element
part of IDNs
Note 1 to entry: Each IDN has 7 elements, whereas each one has a specific meaning (e.g., number, name, data).
3.5.8
hot plug
possibility to open the communication network and insert or remove slaves while the network
is still in real-time operation

---------------------- Page: 12 ----------------------
IEC 61158-5-19:2019 © IEC 2019 – 11 –
3.5.9
identification number
designation of operating data under which a data block is preserved with its attribute, name,
unit, minimum and maximum input values, and the data
3.5.10
loopback
mode by which a device passes on a received telegram to the same port and to the other port,
either changed or unchanged
3.5.11
master
node which assigns the other nodes (i.e., slaves) the right to transmit
3.5.12
physical layer
first layer of the ISO-OSI reference model
3.5.13
protocol
convention about the data formats, time sequences, and error correction in the data exchange
of communication systems
3.5.14
service channel
SVC
non real-time transmission of information upon master request during RT channel
3.5.15
slave
node which is assigned the right to transmit by the master
3.5.16
station
node
3.5.17
topology
physical network architecture with respect to the connection between the stations of the
communication system

---------------------- Page: 13 ----------------------
– 12 – IEC 61158-5-19:2019 © IEC 2019
3.6 Abbreviations and symbols
AHS Service transport handshake of the device (acknowledge HS)
AP Application Process
APO
...

IEC 61158-5-19
®

Edition 4.0 2019-04
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE


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

Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 5-19: Définition des services de la couche application – Éléments
de type 19

IEC 61158-5-19:2019-04(en-fr)

---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2019 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.


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


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 - Electropedia - www.electropedia.org
webstore.iec.ch/advsearchform Le premier dictionnaire d'électrotechnologie en ligne au
La recherche avancée permet de trouver des publications IEC monde, avec plus de 22 000 articles terminologiques en
en utilisant différents critères (numéro de référence, texte, anglais et en français, ainsi que les termes équivalents dans
comité d’études,…). Elle donne aussi des informations sur les 16 langues additionnelles. Egalement appelé Vocabulaire
projets et les publications remplacées ou retirées. Electrotechnique International (IEV) en ligne.

IEC Just Published - webstore.iec.ch/justpublished Glossaire IEC - std.iec.ch/glossary
Restez informé sur les nouvelles publications IEC. Just 67 000 entrées terminologiques électrotechniques, en anglais
Published détaille les nouvelles publications parues. et en français, extraites des articles Termes et Définitions des
Disponible en ligne et une fois par mois par email. publications IEC parues depuis 2002. Plus certaines entrées
antérieures extraites des publications des CE 37, 77, 86 et
Service Clients - webstore.iec.ch/csc CISPR de l'IEC.

Si vous désirez nous donner des commentaires sur cette
publication ou si vous avez des questions contactez-nous:
sales@iec.ch.

---------------------- Page: 2 ----------------------
IEC 61158-5-19

®


Edition 4.0 2019-04




INTERNATIONAL



STANDARD




NORME


INTERNATIONALE











Industrial communication networks – Fieldbus specifications –

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



Réseaux de communication industriels – Spécifications des bus de terrain –

Partie 5-19: Définition des services de la couche application – Éléments

de type 19















INTERNATIONAL

ELECTROTECHNICAL

COMMISSION


COMMISSION

ELECTROTECHNIQUE


INTERNATIONALE




ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-9145-0



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

Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agréé.

® Registered trademark of the International Electrotechnical Commission
Marque déposée de la Commission Electrotechnique Internationale

---------------------- Page: 3 ----------------------
– 2 – IEC 61158-5-19:2019 © IEC 2019
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, abbreviations and conventions . 9
3.1 ISO/IEC 7498-1 terms . 9
3.2 ISO/IEC 8822 terms . 9
3.3 ISO/IEC 9545 terms . 9
3.4 ISO/IEC 8824-1 terms . 10
3.5 Fieldbus application-layer specific definitions . 10
3.6 Abbreviations and symbols . 12
3.7 Conventions . 12
3.7.1 Overview . 12
3.7.2 General conventions . 12
3.7.3 Conventions for class definitions . 12
3.7.4 Conventions for service definitions . 14
4 Concepts . 15
5 Data type ASE . 15
5.1 Bitstring types . 15
5.1.1 BitString8 . 15
5.1.2 BitString16. 16
5.1.3 BitString32. 16
5.1.4 BitString64. 16
5.2 Unsigned types . 16
5.2.1 Unsigned16 . 16
5.2.2 Unsigned32 . 16
5.2.3 Unsigned64 . 17
5.3 Integer types . 17
5.3.1 Integer16 . 17
5.3.2 Integer32 . 17
5.3.3 Integer64 . 17
5.4 Floating Point types . 17
5.4.1 Float32 . 17
5.4.2 Float64 . 18
5.5 Structure types . 18
5.5.1 STRING2 . 18
6 Communication model specification . 18
6.1 Concepts . 18
6.1.1 Communication mechanisms . 18
6.1.2 IDN concept . 18
6.2 ASEs . 18
6.2.1 Identification number (IDN) ASE . 18
6.2.2 CYCIDN ASE . 21

---------------------- Page: 4 ----------------------
IEC 61158-5-19:2019 © IEC 2019 – 3 –
6.2.3 Management (MGT) ASE . 24
6.3 ARs . 31
6.3.1 General . 31
6.3.2 Point-to-point user-triggered confirmed client/server AREP (SVC) . 31
6.3.3 Point-to-point network-scheduled unconfirmed publisher/subscriber

AREP (RTC-MS) . 31
6.3.4 Point-to-multipoint network-scheduled unconfirmed publisher/subscriber
AREP (RTC-CC) . 32
6.4 Summary of AR classes . 32
6.5 Permitted FAL services by AREP role . 33
Bibliography . 34

Table 1 – Read service parameters. 20
Table 2 – Write service parameters . 21
Table 3 – Read service parameters. 22
Table 4 – Write service parameters . 23
Table 5 – Notify service parameters . 24
Table 6 – Get network status service parameters . 25
Table 7 – Get device status service parameters . 26
Table 8 – Network status change report service parameters . 26
Table 9 – Station status change report service parameters . 27
Table 10 – Set device status service parameters . 27
Table 11 – Enable RTC service parameters . 28
Table 12 – Enable hotplug service parameters . 29
Table 13 – Notify RTC service parameters . 30
Table 14 – Disable RTC service parameters . 30
Table 15 – AREP (SVC) class summary . 32
Table 16 – AREP (RTC-MS) class summary . 32
Table 17 – AREP (RTC-CC) class summary . 33
Table 18 – FAL services by AR type . 33

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

INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –

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

FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of IEC is to promote
international co-operation on all questions concerning standardization in the electrical and electronic fields. To
this end and in addition to other activities, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC
Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested
in the subject dealt with may participate in this preparatory work. International, governmental and non-
governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely
with the International Organization for Standardization (ISO) in accordance with conditions determined by
agreement between the two organizations.
2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
consensus of opinion on the relevant subjects since each technical committee has representation from all
interested IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
services carried out by independent certification bodies.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
Attention is drawn to the fact that the use of the associated protocol type is restricted by its
intellectual-property-right holders. In all cases, the commitment to limited release of
intellectual-property-rights made by the holders of those rights permits a layer protocol type to
be used with other layer protocols of the same type, or in other type combinations explicitly
authorized by its intellectual-property-right holders.
NOTE Combinations of protocol types are specified in IEC 61784-1 and IEC 61784-2.
International Standard IEC 61158-5-19 has been prepared by subcommittee 65C: Industrial
networks, of IEC technical committee 65: Industrial-process measurement, control and
automation.
This fourth edition cancels and replaces the third edition published in 2014. This edition
constitutes a technical revision.

---------------------- Page: 6 ----------------------
IEC 61158-5-19:2019 © IEC 2019 – 5 –
This edition includes the following significant technical changes with respect to the previous
edition:
• improving the hotplug and redundancy features;
• improving the phase switching and the error handling;
• editorial improvements.
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 parts of the IEC 61158 series, published under the general title Industrial
communication networks – Fieldbus specifications, can be found on the IEC web site.
The committee has decided that the contents of this publication will remain unchanged until
the stability date indicated on the IEC web site under "http://webstore.iec.ch" in the data
related to the specific publication. At this date, the publication will be
• reconfirmed,
• withdrawn,
• replaced by a revised edition, or
• amended.

---------------------- Page: 7 ----------------------
– 6 – IEC 61158-5-19:2019 © IEC 2019
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.

---------------------- Page: 8 ----------------------
IEC 61158-5-19:2019 © IEC 2019 – 7 –
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –

Part 5-19: Application layer service definition –
Type 19 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 19 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 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 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

---------------------- Page: 9 ----------------------
– 8 – IEC 61158-5-19:2019 © IEC 2019
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 the 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 61131-3, Programmable controllers – Part 3: Programming languages
IEC 61158-1:2019, Industrial communication networks – Fieldbus specifications – Part 1:
Overview and guidance for the IEC 61158 and IEC 61784 series
IEC 61158-4-19:2019, Industrial communication networks – Fieldbus specifications –
Part 4-19: Data-link layer protocol specification – Type 19 elements
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

---------------------- Page: 10 ----------------------
IEC 61158-5-19:2019 © IEC 2019 – 9 –
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 10646, Information technology – Universal Coded Character Set (UCS)
ISO/IEC 10731, Information technology – Open Systems Interconnection – Basic Reference
Model – Conventions for the definition of OSI services
ISO/IEC/IEEE 60559, Information technology – Microprocessor Systems – Floating-Point
arithmetic
3 Terms, definitions, symbols, abbreviations and conventions
For the purposes of this document, the following terms, definitions, symbols, abbreviations
and conventions 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 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
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
...

Questions, Comments and Discussion

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