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

IEC 61158-5-12:2014 defines the services provided to the FAL user at the boundary between the user and the application layer of the fieldbus reference model, and Systems Management at the boundary between the application layer and Systems Management of the fieldbus reference model. This standard specifies the structure and services of the IEC fieldbus application layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498-1) and the OSI application layer structure (ISO/IEC 9545). This third edition cancels and replaces the second edition published in 2010 and constitutes a technical revision. The main changes are:
- bug fixes;
- editorial improvements;
- support of Explicit Device Identification added in ESM.

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

L'IEC 61158-5-12:2014 défini les services mis en place pour l'utilisateur de FAL, à la frontière entre l'utilisateur et la couche application du modèle de référence de bus de terrain; et la Gestion des systèmes, à la frontière entre la couche application et la Gestion des systèmes selon le modèle de référence de bus de terrain. La présente norme spécifie la structure et les services de la couche application de bus de terrain IEC, en conformité avec le modèle de référence de base de l'OSI (ISO/CEI 7498-1) et la structure de la couche application de l'OSI (ISO/CEI 9545). Cette troisième édition annule et remplace la deuxième édition parue en 2010. Elle constitue une révision technique. Cette édition inclut les modifications majeures suivantes:
- réparations des erreurs;
- améliorations éditoriales;
- prise en charge de l'Identification Explicite d'Appareils ajoutée dans l'ESM.

General Information

Status
Published
Publication Date
17-Aug-2014
Technical Committee
Current Stage
DELPUB - Deleted Publication
Completion Date
10-Apr-2019
Ref Project

Relations

Buy Standard

Standard
IEC 61158-5-12:2014 - Industrial communication networks - Fieldbus specifications - Part 5-12: Application layer service definition - Type 12 elements Released:8/18/2014
English and French language
267 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

IEC 61158-5-12


®


Edition 3.0 2014-08



INTERNATIONAL



STANDARD



NORME
INTERNATIONALE
colour
inside


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

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


IEC 61158-5-12:2014-08(en-fr)

---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED


Copyright © 2014 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é Fax: +41 22 919 03 00
CH-1211 Geneva 20 info@iec.ch
Switzerland www.iec.ch

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 corrigenda or an amendment might have been published.

IEC Catalogue - webstore.iec.ch/catalogue Electropedia - www.electropedia.org
The stand-alone application for consulting the entire The world's leading online dictionary of electronic and
bibliographical information on IEC International Standards, electrical terms containing more than 30 000 terms and
Technical Specifications, Technical Reports and other definitions in English and French, with equivalent terms in 14
documents. Available for PC, Mac OS, Android Tablets and additional languages. Also known as the International
iPad. Electrotechnical Vocabulary (IEV) online.

IEC publications search - www.iec.ch/searchpub IEC Glossary - std.iec.ch/glossary
The advanced search enables to find IEC publications by a More than 55 000 electrotechnical terminology entries in
variety of criteria (reference number, text, technical English and French extracted from the Terms and Definitions
committee,…). It also gives information on projects, replaced clause of IEC publications issued since 2002. Some entries
and withdrawn publications. have been collected from earlier publications of IEC TC 37,

77, 86 and CISPR.
IEC Just Published - webstore.iec.ch/justpublished

Stay up to date on all new IEC publications. Just Published IEC Customer Service Centre - webstore.iec.ch/csc
details all new publications released. Available online and If you wish to give us your feedback on this publication or
also once a month by email. need further assistance, please contact the Customer Service
Centre: csc@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é.


Catalogue IEC - webstore.iec.ch/catalogue Electropedia - www.electropedia.org
Application autonome pour consulter tous les renseignements
Le premier dictionnaire en ligne de termes électroniques et
bibliographiques sur les Normes internationales,
électriques. Il contient plus de 30 000 termes et définitions en
Spécifications techniques, Rapports techniques et autres
anglais et en français, ainsi que les termes équivalents dans
documents de l'IEC. Disponible pour PC, Mac OS, tablettes
14 langues additionnelles. Egalement appelé Vocabulaire
Android et iPad.
Electrotechnique International (IEV) en ligne.


Recherche de publications IEC - www.iec.ch/searchpub
Glossaire IEC - std.iec.ch/glossary
La recherche avancée permet de trouver des publications IEC Plus de 55 000 entrées terminologiques électrotechniques, en
en utilisant différents critères (numéro de référence, texte, anglais et en français, extraites des articles Termes et
comité d’études,…). Elle donne aussi des informations sur les Définitions des publications IEC parues depuis 2002. Plus
projets et les publications remplacées ou retirées. certaines entrées antérieures extraites des publications des

CE 37, 77, 86 et CISPR de l'IEC.
IEC Just Published - webstore.iec.ch/justpublished

Service Clients - webstore.iec.ch/csc
Restez informé sur les nouvelles publications IEC. Just
Published détaille les nouvelles publications parues. Si vous désirez nous donner des commentaires sur cette
Disponible en ligne et aussi une fois par mois par email. publication ou si vous avez des questions contactez-nous:
csc@iec.ch.

---------------------- Page: 2 ----------------------
IEC 61158-5-12



®



Edition 3.0 2014-08







INTERNATIONAL





STANDARD







NORME



INTERNATIONALE
colour

inside










Industrial communication networks – Fieldbus specifications –

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




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

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

de type 12
















INTERNATIONAL

ELECTROTECHNICAL

COMMISSION


COMMISSION

ELECTROTECHNIQUE

PRICE CODE
INTERNATIONALE

XF
CODE PRIX


ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-1737-5



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-12:2014 © IEC 2014



CONTENTS



FOREWORD. 5

INTRODUCTION . 7

1 Scope . 8

1.1 General . 8

1.2 Specifications . 9

1.3 Conformance . 9

2 Normative references . 9
3 Terms, definitions, symbols, abbreviations and conventions . 10
3.1 Reference model terms and definitions . 10
3.2 Service convention terms and definitions . 11
3.3 Application layer and data-link service terms and definitions . 11
3.4 Common symbols and abbreviations . 15
3.5 Conventions . 16
4 Concepts . 17
4.1 Common concepts . 17
4.2 Type specific concepts . 17
5 Data type ASE . 26
5.1 General . 26
5.2 Formal definition of data type objects . 26
5.3 FAL defined data types . 26
5.4 Data type ASE service specification . 35
6 Communication model specification . 35
6.1 ASEs . 35
6.2 AR . 116
Bibliography . 129

Figure 1 – Producer consumer model . 19
Figure 2 – Client server model . 19
Figure 3 – Server triggered invocation . 19
Figure 4 – Slave reference model . 21

Figure 5 – Simple slave device . 22
Figure 6 – Complex slave device . 23
Figure 7 – Master functional overview . 24
Figure 8 – Process output data sequence . 36
Figure 9 – Process input data sequence . 37
Figure 10 – CoE server model . 55
Figure 11 – Successful single SDO-Download sequence. 60
Figure 12 – Unsuccessful single SDO-Download sequence . 61
Figure 13 – Successful segmented SDO-Download sequence . 62
Figure 14 – Successful single SDO-Upload sequence . 63
Figure 15 – Unsuccessful single SDO-Upload sequence . 64
Figure 16 – Successful segmented SDO-Upload sequence . 65

---------------------- Page: 4 ----------------------
IEC 61158-5-12:2014 © IEC 2014 – 3 –


Figure 17 – SDO information sequence . 66

Figure 18 – Emergency service . 67


Figure 19 – Command sequence . 68

Figure 20 – PDO mapping . 70

Figure 21 – Sync manager PDO assigment . 71


Figure 22 – RxPDO service . 73

Figure 23 – TxPDO service . 74

Figure 24 – RxPDO remote transmission sequence . 75


Figure 25 – TxPDO remote transmission sequence . 76
Figure 26 – EoE sequence . 96
Figure 27 – FoE read sequence with success . 104
Figure 28 – FoE read sequence with error . 105
Figure 29 – FoE write sequence with success . 106
Figure 30 – FoE write sequence with error. 107
Figure 31 – FoE write sequence with busy . 108
Figure 32 – Successful AL control sequence . 118
Figure 33 – Unsuccessful AL control sequence . 119
Figure 34 – AL state changed sequence . 120

Table 1 – Process output data . 39
Table 2 – Process input data . 40
Table 3 – Update process input data . 41
Table 4 – SII read . 49
Table 5 – SII write . 50
Table 6 – SII reload . 51
Table 7 – Allocation of SDO areas. 55
Table 8 – SDO download expedited . 80
Table 9 – SDO download normal . 81
Table 10 – Download SDO segment . 82
Table 11 – SDO upload expedited . 83
Table 12 – SDO upload normal . 84

Table 13 – Upload SDO segment . 85
Table 14 – Abort SDO transfer . 85
Table 15 – Get OD list . 86
Table 16 – OD list segment . 87
Table 17 – Get object description . 88
Table 18 – Get entry description . 89
Table 19 – Object entry segment . 91
Table 20 – Emergency . 92
Table 21 – RxPDO . 93
Table 22 – TxPDO . 93
Table 23 – RxPDO remote transmission . 94
Table 24 – TxPDO remote transmission . 94

---------------------- Page: 5 ----------------------
– 4 – IEC 61158-5-12:2014 © IEC 2014


Table 25 – Initiate EoE. 99

Table 26 – EoE fragment . 100


Table 27 – Set IP parameter . 101

Table 28 – Set address filter . 102

Table 29 – FoE read . 109


Table 30 – FoE write . 110

Table 31 – FoE data . 110

Table 32 – FoE ack . 111


Table 33 – FoE busy . 111
Table 34 – FoE error . 112
Table 35 – MBX read . 113
Table 36 – MBX write . 114
Table 37 – MBX read upd . 115
Table 38 – AL management and ESM service primitives . 117
Table 39 – AL control . 127
Table 40 – AL state change . 128

---------------------- Page: 6 ----------------------
IEC 61158-5-12:2014 © IEC 2014 – 5 –


INTERNATIONAL ELECTROTECHNICAL COMMISSION

____________



INDUSTRIAL COMMUNICATION NETWORKS –

FIELDBUS SPECIFICATIONS –



Part 5-12: Application layer service definition –

Type 12 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-12 has been prepared by subcommittee 65C: Industrial
networks, of IEC technical committee 65: Industrial-process measurement, control and
automation.
This third edition cancels and replaces the second edition published in 2010. This edition
constitutes a technical revision. The main changes with respect to the previous edition are
listed below:

---------------------- Page: 7 ----------------------
– 6 – IEC 61158-5-12:2014 © IEC 2014


• bug fixes;


• editorial improvements;

• support of Explicit Device Identification added in ESM (see 6.2.2)


The text of this standard is based on the following documents:

FDIS Report on voting


65C/763/FDIS 65C/773/RVD


Full information on the voting for the approval of this standard can be found in the report on
voting indicated in the above table.
This publication has been drafted in accordance with ISO/IEC Directives, Part 2.
A list of all 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: 8 ----------------------
IEC 61158-5-12:2014 © IEC 2014 – 7 –


INTRODUCTION


This part of IEC 61158 is one of a series produced to facilitate the interconnection of

automation system components. It is related to other standards in the set as defined by the

“three-layer” fieldbus reference model described in IEC 61158-1.


The application service is provided by the application protocol making use of the services

available from the data-link or other immediately lower layer. This standard defines the

application service characteristics that fieldbus applications and/or system management may

exploit.


Throughout the set of fieldbus standards, the term “service” refers to the abstract capability
provided by one layer of the OSI Basic Reference Model to the layer immediately above.
Thus, the application layer service defined in this standard is a conceptual architectural
service, independent of administrative and implementation divisions.

---------------------- Page: 9 ----------------------
– 8 – IEC 61158-5-12:2014 © IEC 2014


INDUSTRIAL COMMUNICATION NETWORKS –

FIELDBUS SPECIFICATIONS –



Part 5-12: Application layer service definition –

Type 12 elements








1 Scope

1.1 General
The fieldbus Application Layer (FAL) provides user programs with a means to access the
fieldbus communication environment. In this respect, the FAL can be viewed as a “window
between corresponding application programs.”
This standard provides common elements for basic time-critical and non-time-critical
messaging communications between application programs in an automation environment and
material specific to Type 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 standard defines in an abstract way the externally visible service provided by the
different Types of the fieldbus Application Layer in terms of
a) an abstract model for defining application resources (objects) capable of being
manipulated by users via the use of the FAL service,
b) the primitive actions and events of the service;
c) the parameters associated with each primitive action and event, and the form which they
take; and
d) the interrelationship between these actions and events, and their valid sequences.
The purpose of this standard is to define the services provided to
a) the FAL user at the boundary between the user and the Application Layer of the Fieldbus
Reference Model, and
b) Systems Management at the boundary between the Application Layer and Systems

Management of the Fieldbus Reference Model.
This standard specifies the structure and services of the IEC fieldbus Application Layer, in
conformance with the OSI Basic Reference Model (ISO/IEC 7498) 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: 10 ----------------------
IEC 61158-5-12:2014 © IEC 2014 – 9 –


send/receive is specified. This permits greater flexibility to the FAL users in standardizing

such object behavior. In addition to these services, some supporting services are also defined

in this standard to provide access to the FAL to control certain aspects of its operation.


1.2 Specifications


The principal objective of this standard is to specify the characteristics of conceptual

application layer services suitable for time-critical communications, and thus supplement the

OSI Basic Reference Model in guiding the development of application layer protocols for time-
critical co
...

Questions, Comments and Discussion

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