Industrial communication networks - Fieldbus specifications - Part 6-5: Application layer protocol specification - Type 5 elements

IEC 61158-6-5:2014 defines the protocol provided to define the wire-representation of the service primitives defined in IEC 61158-5-5, and define the externally visible behavior associated with their transfer. This standard specifies the protocol of the Type 54 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 secod edition cancels and replaces the first edition published in 2007 and constitutes a technical revision. The main changes are:
- Add support for message padding;
- Clarified encoding rules;
- Clarified open session service;
- Time synchronization now present in annunciation message;
- Additional redundancy options in annunciation message.

Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-5: Spécification du protocole de la couche application - Eléments de type 5

L'IEC 61158-6-5:2014 décrit le protocole mis en place pour définir la représentation filaire des primitives de service définies dans la CEI 61158-5-5 et définir le comportement visible de l'extérieur associé à leur transfert. La présente norme spécifie le protocole de la couche application de bus de terrain de Type 5, en conformité avec le modèle de référence de base OSI (ISO/CEI 7498-1) et la structure de la couche application OSI (ISO/CEI 9545). Cette deuxième édition annule et remplace la première édition parue en 2007. Elle constitue une révision technique. Les principales modifications sont:
- Support ajouté pour le remplissage de messages;
- Règles de codage clarifiées;
- Service clarifié de session ouverte;
- Synchronisation de temps désormais présente dans un message annonciateur;
- Options de redondance supplémentaires dans un message annonciateur.

General Information

Status
Published
Publication Date
18-Aug-2014
Technical Committee
SC 65C - Industrial networks
Current Stage
PPUB - Publication issued
Start Date
19-Aug-2014
Completion Date
31-Jul-2014

Relations

Effective Date
05-Sep-2023

Overview

IEC 61158-6-5:2014 is an international standard developed by the International Electrotechnical Commission (IEC) that specifies the application layer protocol for Type 5 elements within industrial communication networks, specifically fieldbus systems. This second edition updates and replaces the first edition published in 2007, offering technical revisions that enhance protocol clarity and functionality.

The standard details the protocol for the Type 54 fieldbus application layer in alignment with the OSI Basic Reference Model (ISO/IEC 7498-1) and the OSI application layer structure (ISO/IEC 9545). It defines the wire-level representation of the service primitives described in IEC 61158-5-5 and their externally visible transfer behavior, ensuring compatibility and conformance for interoperable industrial communication.

Key technical improvements in this edition include:

  • Support for message padding to improve data alignment
  • Refined encoding rules for protocol elements
  • Clarifications on open session services to enhance communication setup
  • Incorporation of time synchronization in annunciation messages
  • Addition of redundancy options within annunciation messages

This standard plays a critical role in defining communication protocols for fieldbus networks, which are extensively used in automation and industrial process control environments.

Key Topics

  • Application Layer Protocol: Specifies the structure, syntax, and behavior of the Type 5 fieldbus application layer, ensuring reliable communication between devices.
  • Service Primitives Representation: Defines the wire representation and semantics of service primitives based on IEC 61158-5-5, facilitating consistent information exchange.
  • Protocol Architecture: Aligns with the OSI reference model, structuring the application layer in a modular and interoperable manner.
  • State Machine Models: Includes detailed state transition diagrams and state machines for managing protocol operations such as sessions, service requests, and device relationships.
  • Message Handling Enhancements: Adds capabilities like message padding and improved encoding rules to optimize data transmission.
  • Time Synchronization: Integrates time sync features within annunciation messages crucial for coordinated industrial processes.
  • Redundancy Mechanisms: Supports additional redundancy options in annunciation messages to improve communication reliability and fault tolerance.

Applications

IEC 61158-6-5:2014 is applicable in environments where robust, real-time communication in industrial automation is critical. Typical applications include:

  • Factory Automation: Managing real-time data exchange between programmable logic controllers (PLCs), sensors, actuators, and human-machine interfaces (HMIs).
  • Process Control Systems: Ensuring reliable communication and synchronization for continuous process industries like chemical, oil and gas, and pharmaceuticals.
  • Fieldbus Networks: Implementing standardized protocols in fieldbus communication systems for improved interoperability and device integration.
  • Remote Device Management: Facilitating device control, diagnostics, and data acquisition in distributed automation architectures.
  • Industrial IoT (IIoT): Supporting communication protocols critical for integrating legacy fieldbus devices into modern industrial IoT systems.

By adhering to this standard, organizations can ensure compatibility between industrial devices, streamline integration efforts, and enhance the performance and reliability of their communication infrastructures.

Related Standards

  • IEC 61158-5-5: Defines the service primitives that IEC 61158-6-5 uses to describe the application layer protocol.
  • ISO/IEC 7498-1: The OSI Basic Reference Model, providing the conceptual framework for network communication.
  • ISO/IEC 9545: OSI application layer structure that guides the modular design of communication protocols.
  • IEC 61158 Series: Comprehensive fieldbus specifications covering multiple protocol aspects including physical, data link, and application layers.
  • IEC 61784: Profiles for fieldbus communication in industrial automation, complementing IEC 61158 standards.

Summary

IEC 61158-6-5:2014 is a vital international standard for defining the application layer protocol of Type 5 elements in industrial fieldbus networks. Its technical enhancements improve communication fidelity, interoperability, and synchronization in critical industrial automation systems. Implementing this standard helps industries maintain reliable, real-time communication in complex control environments, supporting efficient and safe operation.


Keywords: IEC 61158-6-5:2014, industrial communication networks, fieldbus specifications, application layer protocol, Type 5 elements, OSI model, industrial automation, message padding, time synchronization, redundancy options, fieldbus application layer, IEC standards.

Standard

IEC 61158-6-5:2014 - Industrial communication networks - Fieldbus specifications - Part 6-5: Application layer protocol specification - Type 5 elements

English and French language
223 pages
sale 15% off
Preview
sale 15% off
Preview

Frequently Asked Questions

IEC 61158-6-5:2014 is a standard published by the International Electrotechnical Commission (IEC). Its full title is "Industrial communication networks - Fieldbus specifications - Part 6-5: Application layer protocol specification - Type 5 elements". This standard covers: IEC 61158-6-5:2014 defines the protocol provided to define the wire-representation of the service primitives defined in IEC 61158-5-5, and define the externally visible behavior associated with their transfer. This standard specifies the protocol of the Type 54 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 secod edition cancels and replaces the first edition published in 2007 and constitutes a technical revision. The main changes are: - Add support for message padding; - Clarified encoding rules; - Clarified open session service; - Time synchronization now present in annunciation message; - Additional redundancy options in annunciation message.

IEC 61158-6-5:2014 defines the protocol provided to define the wire-representation of the service primitives defined in IEC 61158-5-5, and define the externally visible behavior associated with their transfer. This standard specifies the protocol of the Type 54 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 secod edition cancels and replaces the first edition published in 2007 and constitutes a technical revision. The main changes are: - Add support for message padding; - Clarified encoding rules; - Clarified open session service; - Time synchronization now present in annunciation message; - Additional redundancy options in annunciation message.

IEC 61158-6-5:2014 is classified under the following ICS (International Classification for Standards) categories: 25.040.40 - Industrial process measurement and control; 35.100.70 - Application layer; 35.110 - Networking. The ICS classification helps identify the subject area and facilitates finding related standards.

IEC 61158-6-5:2014 has the following relationships with other standards: It is inter standard links to IEC 61158-6-5:2007. Understanding these relationships helps ensure you are using the most current and applicable version of the standard.

IEC 61158-6-5:2014 is available in PDF format for immediate download after purchase. The document can be added to your cart and obtained through the secure checkout process. Digital delivery ensures instant access to the complete standard document.

Standards Content (Sample)


IEC 61158-6-5 ®
Edition 2.0 2014-08
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 6-5: Application layer protocol specification – Type 5 elements

Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 6-5: Spécification du protocole de la couche application – Éléments
de type 5
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
Plus de 55 000 entrées terminologiques électrotechniques, en
La recherche avancée permet de trouver des publications IEC
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.
IEC 61158-6-5 ®
Edition 2.0 2014-08
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –

Part 6-5: Application layer protocol specification – Type 5 elements

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

Partie 6-5: Spécification du protocole de la couche application – Éléments

de type 5
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
CODE PRIX XE
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-1759-7

– 2 – IEC 61158-6-5:2014 © IEC 2014
CONTENTS
FOREWORD . 7
INTRODUCTION . 9
1 Scope . 10
1.1 General . 10
1.2 Specifications . 11
1.3 Conformance . 11
2 Normative references . 11
3 Terms, definitions, symbols, abbreviations and conventions . 12
3.1 Terms and definitions from other ISO/IEC standards . 12
3.2 IEC 61158-1 terms . 13
3.3 Abbreviations and symbols . 16
3.4 Conventions . 17
3.5 Conventions used in state machines . 18
4 Protocol . 19
4.1 Overview . 19
4.2 FAL syntax description . 19
4.3 Transfer syntax . 19
4.4 FAL protocol state machine structure . 71
4.5 SMK state machine . 71
4.6 VCR state machine. 88
4.7 FAL service protocol machine (FSPM) . 89
4.8 Application relationship protocol machines (ARPMs) . 89
4.9 DLL mapping protocol machine (DMPM) . 103
Bibliography . 108

Figure 1 – State transition diagram for SMK . 73
Figure 2 – State transition diagram of client / server ARPM . 92
Figure 3 – State transition diagram of the publisher / subscriber ARPM . 98
Figure 4 – State transition diagram of DMPM . 104

Table 1 – Conventions used for state machines . 18
Table 2 – Data types . 20
Table 3 – Data types . 20
Table 4 – APDU header format . 21
Table 5 – FDA address use . 22
Table 6 – FDA address header field APDUs sent by a client VCR endpoint . 23
Table 7 – FDA address header field APDUs sent by a server VCR endpoint . 24
Table 8 – FDA address header field APDUs sent by a publisher VCR endpoint . 24
Table 9 – FDA address header field APDUs sent by a report source VCR endpoint . 25
Table 10 – APDU trailer fields . 25
Table 11 – Request APDU parameters . 28
Table 12 – SMK FDA address values . 30
Table 13 – SMK FDA address values . 30

Table 14 – Request APDU parameters . 31
Table 15 – SMK FDA address values for SM identify . 32
Table 16 – SMK FDA address values for SMK set assignment info request APDUs . 33
Table 17 – SMK clear address request APDU parameters. 33
Table 18 – SMK FDA address values for SMK set assignment info request APDUs . 33
Table 19 – SMK set assignment info request APDU parameters . 34
Table 20 – SMK set assignment info response APDU parameters . 35
Table 21 – SMK FDA address values for SMK device clear assignment Info APDUs . 36
Table 22 – SMK clear assignment info request APDU parameters . 36
Table 23 – SMK FDA address values for SMK device annunciation request APDUs . 36
Table 24 – SMK device annunciation request APDU parameters . 37
Table 25 – Initiate request APDU parameters . 39
Table 26 – Initiate response APDU parameters . 40
Table 27 – Abort request APDU parameters . 40
Table 28 – Get response APDU parameters . 40
Table 29 – Identify response APDU parameters . 41
Table 30 – Get OD request APDU parameters . 41
Table 31 – Get OD response APDU parameters. 41
Table 32 – Initiate put OD request APDU parameters . 42
Table 33 – Put OD request APDU parameters. 42
Table 34 – Generic initiate download sequence request APDU parameters . 43
Table 35 – Generic download segment request APDU parameters . 43
Table 36 – Generic terminate download sequence request APDU parameters . 44
Table 37 – Response APDU parameters . 44
Table 38 – Initiate download sequence request APDU parameters . 44
Table 39 – Download segment request APDU parameters . 45
Table 40 – Download segment response APDU parameters . 45
Table 41 – Terminate download sequence request APDU parameters . 45
Table 42 – Initiate upload sequence request APDU parameters . 46
Table 43 – Upload segment request APDU parameters . 46
Table 44 – Upload segment response APDU parameters . 47
Table 45 – Terminate upload sequence request APDU parameters . 47
Table 46 – Request domain download request APDU parameters . 47
Table 47 – Request domain upload request APDU parameters . 48
Table 48 – Create program invocation request APDU parameters . 48
Table 49 – Create program invocation response APDU parameters . 49
Table 50 – Delete program invocation request APDU parameters . 49
Table 51 – Start request APDU parameters . 49
Table 52 – Stop request APDU parameters . 50
Table 53 – Resume request APDU parameters . 50
Table 54 – Reset request APDU parameters . 50
Table 55 – Kill request APDU parameters . 51
Table 56 – Read request APDU parameters . 51

– 4 – IEC 61158-6-5:2014 © IEC 2014
Table 57 – Read response APDU parameters . 51
Table 58 – Read with subindex request APDU parameters. 52
Table 59 – Read with subindex response APDU parameters . 52
Table 60 – Write request APDU parameters . 52
Table 61 – Write with subindex request APDU parameters . 52
Table 62 – Define variable list request APDU parameters . 53
Table 63 – Define variable list response APDU parameters . 53
Table 64 – Delete variable list request APDU parameters . 53
Table 65 – Information report request APDU parameters . 54
Table 66 – Information report with subindex request APDU parameters . 54
Table 67 – Information report on change request APDU parameters . 54
Table 68 – Information report on change with subindex request APDU parameters . 55
Table 69 – Event notification request APDU parameters . 55
Table 70 – Alter event condition monitoring request APDU parameters . 55
Table 71 – Acknowledge event notification request APDU parameters . 56
Table 72 – LAN redundancy diagnostic message request APDU parameters . 56
Table 73 – LAN redundancy get information response APDU parameters . 58
Table 74 – LAN redundancy get statistics request APDU parameters . 59
Table 75 – Object description header . 61
Table 76 – Null object . 61
Table 77 – Structure of the list of object descriptions . 62
Table 78 – Structure of a load region in the S-OD . 62
Table 79 – Structure of a function invocation in the DP-OD . 63
Table 80 – Structure of an event in the S-OD . 64
Table 81 – Structure of a data type in the ST-OD . 64
Table 82 – Structure of a data type structure description in the ST-OD . 65
Table 83 – Structure of a simple variable in the S-OD . 65
Table 84 – Structure of an array in the S-OD . 66
Table 85 – Structure of a record in the S-OD . 66
Table 86 – Structure of a variable list in the DV-OD . 67
Table 87 – Common error parameters . 68
Table 88 – PI error parameters . 68
Table 89 – OD error parameters . 68
Table 90 – Error class and error code values . 69
Table 91 – SMKPM service primitives . 72
Table 92 – SMKPM states . 73
Table 93 – SMKPM state table – initialization . 73
Table 94 – SMKPM state table – receive transitions. 74
Table 95 – SMKPM state table – internal events . 79
Table 96 – HseRepeatTimerExpires () . 80
Table 97 – RcvNewNetworkAddress (interface, address) . 80
Table 98 – RcvMsg () . 80
Table 99 – SntpSyncLost () . 80

Table 100 – AddressToClear (sm_svc) . 81
Table 101 – AssignmentInfo_Set () . 81
Table 102 – ConfigurationSessionActive () . 81
Table 103 – DeviceRedundancyState () . 81
Table 104 – DevId_Match (sm_svc) . 82
Table 105 – DuplicateQueryIdMatch (sm_svc) . 82
Table 106 – DuplicatePdTagDetected () . 82
Table 107 – FdaAddressType (sm_svc) . 82
Table 108 – IsValid (sm_svc) . 83
Table 109 – NetworkAddressChange (interface, address) . 83
Table 110 – NumberOfAssignedAddresses () . 83
Table 111 – OperationalRestore () . 83
Table 112 – PdTag_Match (sm_svc) . 83
Table 113 – PdTagDeviceIndex_Check (sm_svc) . 84
Table 114 – Query_Match (sm_svc) . 84
Table 115 – QueryType (sm_svc) . 84
Table 116 – SmCacheEntry (sm_svc) . 84
Table 117 – Clear_Address (interface_to_clear) . 85
Table 118 – Clear_DuplicatePdTagFlag () . 85
Table 119 – Get_AddlCode () . 85
Table 120 – New_Address (interface, address) . 85
Table 121 – Restart_HseRepeatTimer () . 86
Table 122 – Restore_Defaults () . 86
Table 123 – Send_SM_CommonErrorRsp (sm_service_type, svc_spec_params) . 86
Table 124 – Send_SM_ReqRspMessage (sm_svc) . 86
Table 125 – Set_Assignment_Data (sm_svc) . 86
Table 126 – Set_DuplicatePdTagFlag () . 87
Table 127 – SvcType (sm_svc) . 87
Table 128 – Additional code used by error class and code . 87
Table 129 – Additional code parameter IDs . 87
Table 130 – Primitives issued by FSPM to ARPM . 89
Table 131 – Primitives issued by ARPM to FSPM . 90
Table 132 – Parameters used with primitives exchanged between FSPM and ARPM . 90
Table 133 – Client / Server ARPM states . 92
Table 134 – Client / server ARPM state table – sender transitions . 93
Table 135 – Client / server ARPM state table – receiver transitions . 94
Table 136 – Primitives issued by FSPM to ARPM . 96
Table 137 – Primitives issued by ARPM to FSPM . 96
Table 138 – Parameters used with primitives exchanged between FSPM and ARPM . 97
Table 139 – Publisher / subscriber ARPM states . 98
Table 140 – MulticastARPM state table – sender transitions . 99
Table 141 – MulticastARPM state table – receiver transitions . 99
Table 142 – BuildFAL-ErrPDU() . 100

– 6 – IEC 61158-6-5:2014 © IEC 2014
Table 143 – BuildFAL-ReqRspPDU() . 100
Table 144 – GetArepId() . 100
Table 145 – ConfigurationArCheckOK() . 100
Table 146 – FAL_Pdu_BufferSize() . 100
Table 147 – FAL_Pdu_Confirmed() . 101
Table 148 – FAL_Pdu_DuplicateMsg () . 101
Table 149 – FAL_Pdu_GetVcrId() . 101
Table 150 – FAL_Pdu_InactivityCloseTime() . 101
Table 151 – FAL_Pdu_TransmitDelayTime() . 101
Table 152 – FAL_Pdu_SvcType() . 101
Table 153 – FAL_Pdu_RemoteAddress() . 102
Table 154 – FAL_Pdu_TrailerFields() . 102
Table 155 – FAL_Pdu_ServiceSpecificParameters() . 102
Table 156 – FAL_Pdu_Valid() . 102
Table 157 – MaxOutstandingReached() . 102
Table 158 – StartInactivityCloseTimer() . 102
Table 159 – Primitives issued by ARPM to DMPM . 103
Table 160 – Primitives issued by DMPM to ARPM . 103
Table 161 – Parameters used with primitives exchanged between ARPM and DMPM . 103
Table 162 – Primitives exchanged between the socket model and DMPM . 104
Table 163 – Parameters of DMPM/socket model primitives . 104
Table 164 – DMPM state descriptions . 104
Table 165 – DMPM state table – sender transitions . 105
Table 166 – DMPM state table – receiver transitions . 106
Table 167 – ConnectionOriented . 106
Table 168 – GetBufferedData . 106
Table 169 – GetConnectionId . 106
Table 170 – LoadBuffer . 107
Table 171 – RemainingBufferSizeCheck . 107
Table 172 – StartTransmitDelayTimer . 107

INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 6-5: Application layer protocol specification –
Type 5 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-6-5 has been prepared by subcommittee 65C: Industrial
networks, of IEC technical committee 65: Industrial-process measurement, control and
automation.
This second edition cancels and replaces the first edition published in 2007. This edition
constitutes a technical revision. The main change with respect to the previous edition is listed
below:
– 8 – IEC 61158-6-5:2014 © IEC 2014
• Add support for message padding
• Clarified encoding rules
• Clarified open session service
• Time synchronization now present in annunciation message
• Additional redundancy options in annunciation message
The text of this standard is based on the following documents:
FDIS Report on voting
65C/764/FDIS 65C/774/RVD
Full information on the voting for the approval of this standard can be found in the report on
voting indicated in the above table.
This publication has been drafted in accordance with ISO/IEC Directives, Part 2.
A list of all the parts of the IEC 61158 series, under the general title Industrial communication
networks – Fieldbus specifications, can be found on the IEC web site.
The committee has decided that the contents of this publication will remain unchanged until
the stability date indicated on the IEC web site under http://webstore.iec.ch in the data related
to the specific publication. At this date, the publication will be:
• reconfirmed;
• withdrawn;
• replaced by a revised edition, or
• amended.
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 protocol provides the application service by making use of the services
available from the data-link or other immediately lower layer. The primary aim of this standard
is to provide a set of rules for communication expressed in terms of the procedures to be
carried out by peer application entities (AEs) at the time of communication. These rules for
communication are intended to provide a sound basis for development in order to serve a
variety of purposes:
• as a guide for implementors and designers;
• for use in the testing and procurement of equipment;
• as part of an agreement for the admittance of systems into the open systems environment;
• as a refinement to the understanding of time-critical communications within OSI.
This standard is concerned, in particular, with the communication and interworking of sensors,
effectors and other automation devices. By using this standard together with other standards
positioned within the OSI or fieldbus reference models, otherwise incompatible systems may
work together in any combination.

– 10 – IEC 61158-6-5:2014 © IEC 2014
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 6-5: Application layer protocol specification –
Type 5 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 5 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 behavior provided by the Type
5 fieldbus Application Layer in terms of
a) the abstract syntax defining the application layer protocol data units conveyed between
communicating application entities,
b) the transfer syntax defining the application layer protocol data units conveyed between
communicating application entities,
c) the application context state machine defining the application service behavior visible
between communicating application entities; and
d) the application relationship state machines defining the communication behavior visible
between communicating application entities; and.
The purpose of this standard is to define the protocol provided to
1) define the wire-representation of the service primitives defined in IEC 61158-5-5, and
2) define the externally visible behavior associated with their transfer.
This standard specifies the protocol of the Type 5 IEC fieldbus Application Layer, in
conformance with the OSI Basic Reference Model (ISO/IEC 7498-1) and the OSI Application
Layer Structure (ISO/IEC 9545).
FAL services and protocols are provided by FAL application-entities (AE) contained within the
application processes. The FAL AE is composed of a set of object-oriented Application
Service Elements (ASEs) and a Layer Management Entity (LME) that manages the AE. The
ASEs provide communication services that operate on a set of related application process
object (APO) classes. One of the FAL ASEs is a management ASE that provides a common
set of services for the management of the instances of FAL classes.
Although these services specify, from the perspective of applications, how request and
responses are issued and delivered, they do not include a specification of what the requesting
and responding applications are to do with them. That is, the behavioral aspects of the
applications are not specified; only a definition of what requests and responses they can

send/receive is specified. This permits greater flexibility to the FAL users in standardizing
such object behavior. In addition to these services, some supporting services are also defined
in this 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 syntax and behavior of the application
layer protocol that conveys the application layer services defined in IEC 61158-5-5.
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
protocols standardized in IEC 61158-6 series.
1.3 Conformance
This standard does not specify individual implementations or products, nor does it constrain
the implementations of application layer entities within industrial automation systems.
Conformance is achieved through implementation of this application layer protocol
specification.
2 Normative references
The following documents, in whole or in part, are normatively referenced in this document and
are indispensable for its application. For dated references, only the edition cited applies. For
undated references, the latest edition of the referenced document (including any
amendments) applies.
NOTE All parts of the IEC 61158 series, as well as IEC 61784-1 and IEC 61784-2 are maintained simultaneously.
Cross-references to these documents within the text therefore refer to the editions as dated in this list of normative
references.
IEC 61158-1, Industrial communication networks – Fieldbus specifications – Part 1: Overview
and guidance for the IEC 61158 and IEC 61784 series
IEC 61158-5-5, Industrial communication networks – Fieldbus specifications – Part 5-5:
Application layer service definition – Type 5 elements
ISO/IEC 7498-1, Information technology – Open Systems Interconnection – Basic Reference
Model – Part 1: The Basic Model
ISO/IEC 8825:1990, Information technology – Open Systems Interconnection – Specification
of Basic Encoding Rules for Abstract Syntax Notation One (ASN.1)
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
IETF RFC 791, Internet Protocol; available at

Withdrawn
– 12 – IEC 61158-6-5:2014 © IEC 2014
3 Terms, definitions, symbols, abbreviations and conventions
For the purposes of this document, the following terms, definitions, symbols, abbreviations
and conventions apply.
3.1 Terms and definitions from other ISO/IEC standards
3.1.1 Terms and definitions from ISO/IEC 7498-1
a) abstract syntax
b) application entity
c) application process
d) application protocol data unit
e) application service element
f) application entity invocation
g) application process invocation
h) application transaction
i) presentation context
j) real open system
k) transfer syntax
3.1.2 Terms and definitions from ISO/IEC 9545
a) application-association
b) application-context
c) application context name
d) application-entity-invocation
e) application-entity-type
f) application-process-invocation
g) application-process-type
h) application-service-element
i) application control service element
3.1.3 Terms and definitions from ISO/IEC 8824
a) object identifier
b) type
c) value
d) simple type
e) structured type
f) component type
g) tag
h) Boolean type
i) true
j) false
k) integer type
l) bitstring type
m) octetstring type
n) null type
o) sequence type
p) sequence of type
q) choice type
r) tagged type
s) any type
t) module
u) production
3.1.4 Terms and defini
...

Questions, Comments and Discussion

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

Loading comments...