SIST EN 61158-6-13:2015
(Main)Industrial communication networks - Fieldbus specifications - Part 6-13: Application layer protocol specification - Type 13 elements (IEC 61158-6-13:2014)
Industrial communication networks - Fieldbus specifications - Part 6-13: Application layer protocol specification - Type 13 elements (IEC 61158-6-13:2014)
IEC 61158-6-13:2014 defines the protocol provided to define the wire-representation of the service primitives defined in IEC 61158-5-13, and define the externally visible behavior associated with their transfer. This standard specifies the protocol of the Type 13 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: addition of synchronization feature, corrections and editorial improvements.
Industrielle Kommunikationsnetze - Feldbusse - Teil 6-13: Protokollspezifikation des Application Layer (Anwendungsschicht) - Typ 13-Elemente (IEC 61158-6-13:2014)
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-13: Spécification du protocole de la couche application - Eléments de type 13 (CEI 61158-6-13:2014)
L'IEC 61158-6-13: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-13 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 13, 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: ajout de la caractéristique de synchronisation, corrections et améliorations éditoriales.
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 6-13. del: Specifikacija protokola na aplikacijski ravni - Elementi tipa 13 (IEC 61158-6-13:2014)
Aplikacijski nivo procesnih vodil (FAL) omogoča uporabniškim programom dostop do komunikacijskega okolja procesnih vodil. Glede na to je mogoče aplikacijski nivo procesnih vodil šteti za »okno med ustreznimi aplikacijami«.
Ta standard določa skupne elemente za osnovne časovno kritične in časovno nekritične sporočilne komunikacije med aplikacijami v avtomatizacijskem okolju in material, specifičen za procesna vodila tipa 13. Izraz »časovno kritičen« se uporablja za predstavitev prisotnosti časovnega okna, v okviru katerega se zahteva dokončanje enega ali več opredeljenih dejanj z določeno stopnjo gotovosti. Zaradi neuspešnega dokončanja opredeljenih dejanj v časovnem oknu je možna odpoved aplikacij, ki zahtevajo dejanja, pri čemer so ogroženi oprema, obrat in morda človeška življenja.
Ta standard opredeljuje interakcije med oddaljenimi aplikacijami in določa zunanje vidno vedenje, ki ga zagotavlja aplikacijski nivo procesnih vodil tipa 13 v smislu
a) formalne abstraktne sintakse, ki določa podatkovne enote protokola aplikacijskega nivoja, ki se prenašajo med aplikacijskimi osebki, ki komunicirajo;
b) prenosne sintakse, ki opredeljuje pravila kodiranja, ki se uporabljajo za podatkovne enote protokola aplikacijskega nivoja;
c) stroja stanja aplikacijskega konteksta, ki opredeljuje vedenje aplikacijskega opravila, vidnega med aplikacijskimi osebki, ki komunicirajo;
d) strojev stanja aplikacijskega razmerja, ki opredeljujejo komunikacijsko vedenje med aplikacijskimi osebki, ki komunicirajo.
Namen tega standarda je opredeliti protokol, ki se zagotavlja za
1) določitev žične predstavitve primitivov opravil iz standarda IEC 61158-5-13 in
2) določitev zunanje vidnega vedenja, povezanega z njihovim prenosom.
Ta standard določa protokol aplikacijskega nivoja procesnih vodil tipa 13 v skladu z osnovnim referenčnim modelom OSI (ISO/IEC 7498) in strukturo aplikacijskega nivoja OSI (ISO/IEC 9545).
General Information
Relations
Overview
SIST EN 61158-6-13:2015 (identical to IEC 61158-6-13:2014) is the application layer protocol specification for Type 13 fieldbus elements within the IEC 61158 family. It defines the wire-level representation and externally visible behavior of the application layer services described in IEC 61158-5-13, in conformance with the OSI Basic Reference Model (ISO/IEC 7498-1) and the OSI application layer structure (ISO/IEC 9545). This second edition supersedes the 2007 edition and introduces a synchronization feature, together with corrections and editorial improvements. The document is published as EN 61158-6-13:2014 under CENELEC and adopted by SIST as SIST EN 61158-6-13:2015.
Key topics and technical requirements
- FAL (Fieldbus Application Layer) syntax and transfer syntax: abstract and transfer encodings for FAL PDUs, including data-type encodings and bit/byte ordering rules.
- Wire-representation of service primitives: mapping of the application-layer service primitives (defined in IEC 61158-5-13) to physical PDUs for on-the-wire communication.
- Protocol state machines: detailed state machine specifications for the FAL protocol, AP context, AR protocol machines and DLL mapping protocol machine (DMPM) to ensure consistent behavior.
- ARPM connection modes: definitions and behavior of multiple AR protocol machine modes such as buffered-network-scheduled, queued user-triggered, connection-oriented with segmentation, and connectionless modes.
- Primitives, error codes and constants: normative lists of primitives exchanged between protocol machines, error-type values, abort codes, NMT commands and node lists.
- Time and synchronization: encoding and handling of Time of Day and Time Difference values and the newly added synchronization feature for coordinated operations.
- Conformance and interoperability: requirements that enable consistent implementation across devices and vendors for reliable industrial communication.
Practical applications and who uses it
- Device vendors and firmware developers implementing Type 13 fieldbus application layer stacks.
- System and network integrators designing interoperable industrial automation solutions that rely on fieldbus communication.
- Test laboratories and certification bodies performing conformance and interoperability testing against IEC/EN 61158-6-13.
- Automation engineers and architects specifying protocols for process control, measurement and control systems where deterministic fieldbus behavior is required.
- Protocol toolkit and middleware providers implementing OSI-conformant application-layer services for industrial networks.
Related standards
- IEC 61158-5-13 (Application layer service definition - Type 13)
- IEC 61158-3-13, IEC 61158-4-13 (Data-link layer service & protocol - Type 13)
- ISO/IEC 7498-1 (OSI Basic Reference Model) and ISO/IEC 9545 (OSI application layer structure)
- IEC 61158 series and EN 61158 harmonized publications
Keywords: SIST EN 61158-6-13:2015, IEC 61158-6-13, fieldbus, application layer protocol, Type 13, industrial communication networks, FAL, OSI, synchronization, protocol specification.
Standards Content (Sample)
SLOVENSKI STANDARD
01-marec-2015
1DGRPHãþD
SIST EN 61158-6-13:2008
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 6-13. del:
Specifikacija protokola na aplikacijski ravni - Elementi tipa 13 (IEC 61158-6-
13:2014)
Industrial communication networks - Fieldbus specifications - Part 6-13: Application layer
protocol specification - Type 13 elements (IEC 61158-6-13:2014)
Industrielle Kommunikationsnetze - Feldbusse - Teil 6-13: Protokollspezifikation des
Application Layer (Anwendungsschicht) - Typ 13-Elemente (IEC 61158-6-13:2014)
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-13:
Spécification du protocole de la couche application - Eléments de type 13 (CEI 61158-6-
13:2014)
Ta slovenski standard je istoveten z: EN 61158-6-13:2014
ICS:
25.040.40 Merjenje in krmiljenje Industrial process
industrijskih postopkov measurement and control
35.100.70 Uporabniški sloj Application layer
35.110 Omreževanje Networking
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
EUROPEAN STANDARD EN 61158-6-13
NORME EUROPÉENNE
EUROPÄISCHE NORM
October 2014
ICS 25.040.40; 35.100.70; 35.110 Supersedes EN 61158-6-13:2008
English Version
Industrial communication networks - Fieldbus specifications -
Part 6-13: Application layer protocol specification - Type 13
elements
(IEC 61158-6-13:2014)
Réseaux de communication industriels - Spécifications des Industrielle Kommunikationsnetze - Feldbusse - Teil 6-13:
bus de terrain - Partie 6-13: Spécification du protocole de la Protokollspezifikation des Application Layer
couche application - Eléments de type 13 (Anwendungsschicht) - Typ 13-Elemente
(CEI 61158-6-13:2014) (IEC 61158-6-13:2014)
This European Standard was approved by CENELEC on 2014-09-23. CENELEC members are bound to comply with the CEN/CENELEC
Internal Regulations which stipulate the conditions for giving this European Standard the status of a national standard without any alteration.
Up-to-date lists and bibliographical references concerning such national standards may be obtained on application to the CEN-CENELEC
Management Centre or to any CENELEC member.
This European Standard exists in three official versions (English, French, German). A version in any other language made by translation
under the responsibility of a CENELEC member into its own language and notified to the CEN-CENELEC Management Centre has the
same status as the official versions.
CENELEC members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Croatia, Cyprus, the Czech Republic,
Denmark, Estonia, Finland, Former Yugoslav Republic of Macedonia, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia,
Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland,
Turkey and the United Kingdom.
European Committee for Electrotechnical Standardization
Comité Européen de Normalisation Electrotechnique
Europäisches Komitee für Elektrotechnische Normung
CEN-CENELEC Management Centre: Avenue Marnix 17, B-1000 Brussels
© 2014 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members.
Ref. No. EN 61158-6-13:2014 E
Foreword
The text of document 65C/764/FDIS, future edition 2 of IEC 61158-6-13, prepared by SC 65C
"Industrial networks" of IEC/TC 65 "Industrial-process measurement, control and automation" was
submitted to the IEC-CENELEC parallel vote and approved by CENELEC as EN 61158-6-13:2014.
The following dates are fixed:
(dop) 2015-06-23
• latest date by which the document has to be implemented at
national level by publication of an identical national
standard or by endorsement
(dow) 2017-09-23
• latest date by which the national standards conflicting with
the document have to be withdrawn
This document supersedes EN 61158-6-13:2008.
Attention is drawn to the possibility that some of the elements of this document may be the subject of
patent rights. CENELEC [and/or CEN] shall not be held responsible for identifying any or all such
patent rights.
This document has been prepared under a mandate given to CENELEC by the European Commission
and the European Free Trade Association.
Endorsement notice
The text of the International Standard IEC 61158-6-13:2014 was approved by CENELEC as a
European Standard without any modification.
In the official version, for Bibliography, the following notes have to be added for the standards indicated:
IEC 61158-1 NOTE Harmonized as EN 61158-1.
IEC 61158-6 NOTE Harmonized as EN 61158-6 series.
IEC 61784-1 NOTE Harmonized as EN 61784-1.
IEC 61784-2 NOTE Harmonized as EN 61784-2.
- 3 - EN 61158-6-13:2014
Annex ZA
(normative)
Normative references to international publications
with their corresponding European publications
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 1 When an International Publication has been modified by common modifications, indicated by (mod),
the relevant EN/HD applies.
NOTE 2 Up-to-date information on the latest versions of the European Standards listed in this annex is
available here: www.cenelec.eu.
Publication Year Title EN/HD Year
IEC 61158-3-13 - Industrial communication networks - EN 61158-3-13 -
Fieldbus specifications -
Part 3-13: Data link layer service
definition - Type 13 elements
IEC 61158-4-13 - Industrial communication networks - EN 61158-4-13 -
Fieldbus specifications -
Part 4-13: Data-link layer protocol
specification - Type 13 elements
IEC 61158-5-13 - Industrial communication networks - EN 61158-5-13 -
Fieldbus specifications -
Part 5-13: Application layer service
definition - Type 13 elements
ISO/IEC 7498 series Information technology - Open Systems - -
Interconnection - Basic reference model
ISO/IEC 7498-1 - Information technology - Open Systems - -
Interconnection - Basic reference model:
The basic model
ISO/IEC 8802-3 - Information technology - - -
Telecommunications and information
exchange between systems - Local and
metropolitan area networks - Specific
requirements -
Part 3: Carrier sense multiple access with
collision detection (CSMA/CD) access
method and physical layer specifications
ISO/IEC 8822 - Information technology - Open Systems - -
Interconnection - Presentation service
definition
ISO/IEC 8824-1 - Information technology - Abstract Syntax - -
Notation One (ASN.1): Specification of
basic notation
Publication Year Title EN/HD Year
ISO/IEC 9545 - Information technology - Open Systems - -
Interconnection - Application layer structure
ISO/IEC 9899 - Information technology - Programming - -
languages - C
IEEE 754 - IEEE Standard for Floating-Point Arithmetic - -
IEC 61158-6-13 ®
Edition 2.0 2014-08
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 6-13: Application layer protocol specification – Type 13 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 6-13: Spécification du protocole de la couche application – Éléments
de type 13
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
CODE PRIX XB
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-1763-4
– 2 – IEC 61158-6-13:2014 © IEC 2014
CONTENTS
FOREWORD . 5
INTRODUCTION . 7
1 Scope . 8
1.1 General . 8
1.2 Specifications . 8
1.3 Conformance . 9
2 Normative references . 9
3 Terms, definitions, symbols, abbreviations and conventions . 9
3.1 ISO/IEC 7498-1 terms . 10
3.2 ISO/IEC 8822 terms . 10
3.3 ISO/IEC 9545 terms . 10
3.4 ISO/IEC 8824-1 terms . 10
3.5 Terms and definitions from IEC 61158-5-13 . 11
3.6 Other terms and definitions . 11
3.7 Abbreviations and symbols . 11
4 FAL syntax description . 12
4.1 General . 12
4.2 FAL-AR PDU abstract syntax . 12
4.3 Abstract syntax of Asyn1 pduBody . 15
4.4 Abstract syntax of Asyn2 pduBody . 16
5 Transfer syntax . 23
5.1 Encoding of data types . 23
6 FAL protocol state machines . 27
7 AP context state machine . 28
8 FAL service protocol machine . 28
9 AR protocol machine . 29
9.1 Buffered-network-scheduled bi-directional pre-established connection (BNB-
PEC) ARPM . 29
9.2 Buffered-network-scheduled uni-directional pre-established connection
(BNU-PEC) ARPM . 31
9.3 Queued user-triggered uni-directional (QUU) ARPM . 33
9.4 Queued user-triggered bi-directional connectionless (QUB-CL) ARPM . 36
9.5 Queued user-triggered bi-directional connection-oriented with segmentation
(QUB-COS) ARPM . 40
10 DLL mapping protocol machine . 58
10.1 Primitive definitions . 58
10.2 DMPM state machine . 59
Annex A (normative) Constant value assignments. 61
A.1 Values of abort-code . 61
A.2 NMT-command-ID . 62
A.3 Type 13 specific error-code constants . 62
A.4 Node-list. 64
Bibliography . 65
Figure 1 – Encoding of Time of Day value . 26
IEC 61158-6-13:2014 © IEC 2014 – 3 –
Figure 2 – Encoding of Time Difference value . 27
Figure 3 – Primitives exchanged between protocol machines . 28
Figure 4 – State transition diagram of BNB-PEC ARPM . 30
Figure 5 – State transition diagram of BNU-PEC ARPM . 32
Figure 6 – State transition diagram of QUU ARPM . 35
Figure 7 – State transition diagram of QUB-CL ARPM . 38
Figure 8 – State transition diagram of QUB-COS (CmdL) ARPM . 43
Figure 9 – State transition diagram of QUB-COS (SeqL) ARPM . 55
Figure 10 – State transition diagram of DMPM . 59
Table 1 – Use of signaling-flags . 14
Table 2 – Values of error-type. 18
Table 3 – Transfer syntax for bit sequences . 23
Table 4 – Transfer syntax for data type UNSIGNEDn . 24
Table 5 – Transfer syntax for data type INTEGERn . 25
Table 6 – Primitives issued by user to BNB-PEC ARPM . 29
Table 7 – Primitives issued by BNB-PEC ARPM to user . 29
Table 8 – BNB-PEC ARPM state table – sender transactions . 30
Table 9 – BNB-PEC ARPM state table – receiver transactions . 31
Table 10 – Function BuildFAL-PDU . 31
Table 11 – Primitives issued by user to BNU-PEC ARPM . 31
Table 12 – Primitives issued by BNU-PEC ARPM to user . 31
Table 13 – BNU-PEC ARPM state table – sender transactions . 33
Table 14 – BNU-PEC ARPM state table – receiver transactions . 33
Table 15 – Function BuildFAL-PDU . 33
Table 16 – Primitives issued by user to QUU ARPM . 33
Table 17 – Primitives issued by QUU ARPM to user . 34
Table 18 – QUU ARPM state table – sender transactions . 35
Table 19 – QUU ARPM state table – receiver transactions . 35
Table 20 – Function BuildFAL-PDU . 36
Table 21 – Primitives issued by user to QUB-CL ARPM . 36
Table 22 – Primitives issued by QUB-CL ARPM to user . 37
Table 23 – QUB-CL ARPM state table – sender transactions . 39
Table 24 – QUB-CL ARPM state table – receiver transactions . 40
Table 25 – Function BuildFAL-PDU . 40
Table 26 – Primitives issued by user to QUB-COS (CmdL) ARPM . 41
Table 27 – Primitives issued by QUB-COS (CmdL) ARPM to user . 42
Table 28 – QUB-COS (CmdL) ARPM state table – sender transactions . 44
Table 29 – QUB-COS (CmdL) ARPM state table – receiver transactions . 49
Table 30 – Function BuildSegment . 51
Table 31 – Function RoundUp . 51
Table 32 – Function MoreFollows . 51
– 4 – IEC 61158-6-13:2014 © IEC 2014
Table 33 – Function AddSegment . 52
Table 34 – Function GetIntermediatePDU . 52
Table 35 – Primitives issued by QUB-COS (CmdL) to QUB-COS (SeqL) . 52
Table 36 – Primitives issued by QUB-COS (SeqL) to QUB-COS (CmdL) . 53
Table 37 – Parameters used with primitives exchanged between QUB-COS (SeqL)
and QUB-COS (CmdL) . 53
Table 38 – QUB-COS (SeqL) ARPM states . 54
Table 39 – QUB-COS (SeqL) ARPM state table – sender transactions . 55
Table 40 – QUB-COS (SeqL) ARPM state table – receiver transactions . 56
Table 41 – Function BuildFAL-PDU . 58
Table 42 – Function IncrementCounter . 58
Table 43 – Function AddToHistoryBuffer . 58
Table 44 – Primitives issued by ARPM to DMPM . 58
Table 45 – Primitives issued by DMPM to ARPM . 58
Table 46 – Primitives issued by DMPM to data-link layer . 59
Table 47 – Primitives issued by data-link layer to DMPM . 59
Table 48 – DMPM state table – sender transactions . 60
Table 49 – DMPM state table – receiver transactions . 60
Table A.1 – Values of abort-code . 61
Table A.2 – Values of NMTCommandID . 62
Table A.3 – Type 13 specific error-code constants . 63
Table A.4 – Node-list format . 64
IEC 61158-6-13:2014 © IEC 2014 – 5 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 6-13: Application layer protocol specification –
Type 13 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-13 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 changes with respect to the previous edition are
listed below:
– 6 – IEC 61158-6-13:2014 © IEC 2014
• addition of synchronization feature,
• corrections and
• editorial improvements.
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.
The 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.
IEC 61158-6-13: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 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.
– 8 – IEC 61158-6-13:2014 © IEC 2014
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 6-13: Application layer protocol specification –
Type 13 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 13 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 specifies interactions between remote applications and defines the externally
visible behavior provided by the Type 13 fieldbus application layer in terms of
a) the formal abstract syntax defining the application layer protocol data units conveyed
between communicating application entities;
b) the transfer syntax defining encoding rules that are applied to the application layer
protocol data units;
c) the application context state machine defining the application service behavior visible
between communicating application entities;
d) the application relationship state machines defining the communication behavior visible
between communicating application entities.
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-13, and
2) define the externally visible behavior associated with their transfer.
This standard specifies the protocol of the Type 13 fieldbus application layer, in conformance
with the OSI Basic Reference Model (ISO/IEC 7498) and the OSI application layer structure
(ISO/IEC 9545).
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-13.
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.
IEC 61158-6-13:2014 © IEC 2014 – 9 –
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-3-13, Industrial communication networks – Fieldbus specifications – Part 3-13:
Data-link layer service definition – Type 13 elements
IEC 61158-4-13, Industrial communication networks – Fieldbus specifications – Part 4-13:
Data-link layer protocol specification – Type 13 elements
IEC 61158-5-13, Industrial communication networks – Fieldbus specifications – Part 5-13:
Application layer service definition – Type 13 elements
ISO/IEC 7498 (all parts), Information technology – Open Systems Interconnection – Basic
Reference Model
ISO/IEC 7498-1, Information technology – Open Systems Interconnection – Basic Reference
Model: The Basic Model
ISO/IEC 8802-3, Information technology – Telecommunications and information exchange
between systems – Local and metropolitan area networks – Specific requirements – Part 3:
Carrier sense multiple access with collision detection (CSMA/CD) access method and
physical layer specifications
ISO/IEC 8822, Information technology – Open Systems Interconnection – Presentation
service definition
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 9899, Information technology – Programming languages – C
IEEE 754, IEEE Standard for 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.
– 10 – IEC 61158-6-13:2014 © IEC 2014
3.1 ISO/IEC 7498-1 terms
This standard is partly based on the concepts developed in ISO/IEC 7498-1, and makes use
of the following terms defined therein:
3.1.1 application entity
3.1.2 application process
3.1.3 application protocol data unit
3.1.4 application service element
3.1.5 application entity invocation
3.1.6 application transaction
3.1.7 transfer syntax
3.2 ISO/IEC 8822 terms
For the purposes of this document, the following term as defined in ISO/IEC 8822 applies:
3.2.1 abstract syntax
3.3 ISO/IEC 9545 terms
For the purposes of this document, the following terms as defined in ISO/IEC 9545 apply:
3.3.1 application-context
3.3.2 application-process-type
3.3.3 application-service-element
3.3.4 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:
3.4.1 any type
3.4.2 bitstring type
3.4.3 boolean type
3.4.4 choice type
3.4.5 false
3.4.6 integer type
3.4.7 module
3.4.8 null type
3.4.9 object identifier
3.4.10 octetstring type
3.4.11 production
3.4.12 simple type
3.4.13 sequence of type
3.4.14 sequence type
3.4.15 structured type
3.4.16 tag
3.4.17 tagged type
IEC 61158-6-13:2014 © IEC 2014 – 11 –
3.4.18 true
3.4.19 type
3.5 Terms and definitions from IEC 61158-5-13
3.5.1 application relationship
3.5.2 client
3.5.3 error class
3.5.4 publisher
3.5.5 server
3.5.6 subscriber
3.6 Other terms and definitions
The following terms and definitions are used in this standard:
3.6.1
receiving
service user that receives a confirmed primitive or an unconfirmed primitive, or a service
provider that receives a confirmed APDU or an unconfirmed APDU
3.6.2
resource
processing or information capability of a subsystem
3.6.3
sending
service user that sends a confirmed primitive or an unconfirmed primitive, or a service
provider that sends a confirmed APDU or an unconfirmed APDU
3.6.4
managing node
node that can manage the SCNM mechanism
3.6.5
controlled node
node without the ability to manage the SCNM mechanism
3.7 Abbreviations and symbols
AE Application entity
AL Application layer
AP Application process
APDU Application protocol data unit
AR Application relationship
AREP Application relationship end point
ARPM Application relationship protocol machine
ASnd Asynchronous Send (Type 13 frame type)
BNB-PEC Buffered network-scheduled bi-directional pre-established connection
BNU-PEC Buffered network-scheduled uni-directional pre-established connection
CmdL Command layer
CN Controlled node
– 12 – IEC 61158-6-13:2014 © IEC 2014
cnf confirmation
DL- (as a prefix) data-link-
DLCEP Data-link connection end point
DLL Data-link layer
DLME Data-link-management entity
DLSAP Data-link service access point
DLSDU DL-service-data-unit
DMPM DLL mapping protocol machine
DNS Domain name service
FAL Fieldbus application layer
ind indication
IP Internet protocol (see RFC 791)
MAC Media access controll
MN Managing node
NMT Network management
OD Object dictionary
PDO Process data object
PDU Process data unit
QUB-CL Queued user-triggered bi-directional connectionless
QUB-COS Queued user-triggered bi-directional connection-oriented with
segmentation
QUU Queued user-triggered uni-directional
req request
rsp response
SDO Service data object
SeqL Sequence layer
UDP User datagram protocol
4 FAL syntax description
4.1 General
This description of the Type 13 abstract syntax uses formalisms similar to ASN.1, although
the encoding rules differ from that standard.
4.2 FAL-AR PDU abstract syntax
4.2.1 Top level definition
APDU ::= CHOICE {
[3] Isoc1
[4] Isoc2
[5] Asyn1
[6] Asyn2
}
IEC 61158-6-13:2014 © IEC 2014 – 13 –
4.2.2 Isoc1
Isoc1 ::= SEQUENCE {
message-type
destination
source
reserved
signaling-flags
PDO-version
reserved8
size
PDO-payload
}
4.2.3 Isoc2
Isoc2 ::= SEQUENCE {
message-type
destination
source
NMT-status
signaling-flags
PDO-version
reserved8
size
PDO-payload
}
4.2.4 Asyn1
Asyn1 ::= SEQUENCE {
message-type
destination
source
NMT-status
signaling-flags
requested-service-ID
requested-service-target
fieldbus-version
reserved8
pduBody CHOICE{
[1h…5h] reserved
[6h] Sync-request
[7h.FFh] reserved
}
}
4.2.5 Asyn2
Asyn2 ::= SEQUENCE {
message-type
destination
source
service-ID
pduBody CHOICE {
[1h] ident-response
[2h] status-response
[3h] NMT-request
[4h] NMT-command
[5h] SDO
[6h] Sync-response
[A0h…FEh] manufacturer-specific
[FFh] reserved
}
}
4.2.6 Message-type
message-type ::= Unsigned8 — Contains the context specific APDU tags
– 14 – IEC 61158-6-13:2014 © IEC 2014
4.2.7 Addresses
destination ::= Unsigned8 — Node address (1…255)
source ::= Unsigned8 — Node address (1…250, 253, 254)
4.2.8 Service-ID
service-ID ::= Unsigned8 — Contains the context specific tags for the pduBody
4.2.9 Reserved8
reserved8 ::= Unsigned8
4.2.10 Reserved16
reserved16 ::= Unsigned16
4.2.11 Reserved24
reserved24 ::= Unsigned24
4.2.12 Signaling-flags
signaling-flags ::= BitString {
RD (0)
ER (1)
EA (2)
EC (3)
EN (4)
MS (5)
PS (6)
MC (7)
RS_bit1 (8)
RS_bit2 (9)
RS_bit3 (10)
PR_bit1 (11)
PR_bit2 (12)
PR_bit3 (13)
reserved (14)
reserved (15)
}
The different APDU types use the flags as listed in Table 1. In all cases without "x" the flags
are present but not written resp. interpreted.
Table 1 – Use of signaling-flags
Isoc1 Isoc2 Asyn1 IdentResponse StatusResponse SyncResponse
RD x x
ER x
EA x x
EC x
EN x x
MS x x
PS
MC
RS x x x x
PR x x x x
The usage of these flags is specified in IEC 61158-3-13 and IEC 61158-4-13.
IEC 61158-6-13:2014 © IEC 2014 – 15 –
4.2.13 PDO-version
PDO-version ::= Unsigned8 — High nibble: main version; low nibble: sub version
4.2.14 Size
size ::= Unsigned8 — Size of PDO payload; max. 1490 octets due to
Ethernet restrictions and protocol overhead
4.2.15 PDO-payload
PDO-payload ::= Any
4.2.16 NMT-status
NMT-status ::= CHOICE {
NMT_GS_OFF Unsigned8 ::= 0000 0000b
NMT_xS_NOT_ACTIVE Unsigned8 ::= 0001 1100b
NMT_xS_PRE_OPERATIONAL_1 Unsigned8 ::= 0001 1101b
NMT_xS_PRE_OPERATIONAL_2 Unsigned8 ::= 0101 1101b
NMT_xS_READY_TO_OPERATE Unsigned8 ::= 0110 1101b
NMT_xS_OPERATIONAL Unsigned8 ::= 1111 1101b
NMT_xS_STOPPED Unsigned8 ::= 0100 1101b
NMT_xS_BASIC_ETHERNET Unsigned8 ::= 0001 1110b
}
NOTE If sender = MN: "x" := "M"; if sender = CN: "x" := "C".
4.2.17 Requested-service-ID
requested-service-ID ::= CHOICE {
no-service [0h] IMPLICIT Unsigned8
ident-request [1h] IMPLICIT Unsigned8
status-request [2h] IMPLICIT Unsigned8
NMT-req-inv [3h] IMPLICIT Unsigned8
manufacturer-specific [A0h]… [FEh] IMPLICIT Unsigned8
unspecified-invite [FFh] IMPLICIT Unsigned8
}
4.2.18 Requested-service-target
requested-service-target ::= Unsigned8 — Node address (1…255); not assigned (0)
4.2.19 Fieldbus-version
fieldbus-version ::= Unsigned8 — High nibble: main version; low nibble: sub version
4.3 Abstract syntax of Asyn1 pduBody
4.3.1 Sync-request
4.3.1.1 Overview
Sync-request ::= SEQUENCE {
synchronization-control Bitstring — see 4.3.1.2
PRes-time Unsigned32 — time delay between end of the reception of the PRes from MN
and start of sending the own time-triggered PRes in ns
reserved Unsigned32
sync-MN-delay Unsigned32 — propagation delay between MN and CN in ns
reserved Unsigned32
fallback-timeout Unsigned32 — SoC timeout for deactivating the time-triggered sending of PRes
in state NMT_CS_PRE_OPERATIONAL_2 in ns
destination-MAC-address Unsigned32 — destination MAC address of the node the Sync-request is sent to
}
NOTE The above listed elements are sometimes summarized as follows:
"synchronization-control" through "destination-MAC-address" are summarized under the term "sync-control".
– 16 – IEC 61158-6-13:2014 © IEC 2014
4.3.1.2 Synchronization-control
Synchronization-control ::= Bitstring {
PRes-time-valid (0) — The parameter PRes-time is valid
Reserved bit1 (1)
sync-MN-delay-valid (2) — The parameter sync-MN-delay is valid
reserved bit2 (3)
fallback-timeout-valid (4) — The parameter fallback-timeout is valid
reserved bit3 (5)
MAC-address-valid (4) — The parameter destination-MAC-address is valid
reserved bit4 through bit26 (7)…(29)
PRes-mode-reset (30) — Deactivate the time-triggered sending of PRes
PRes-mode-set (31) — Activate the time-triggered sending of PRes. This bit overules
bit30
}
4.4 Abstract syntax of Asyn2 pduBody
4.4.1 Ident-response
4.4.1.1 Overview
Ident-response ::= SEQUENCE {
signaling-flags
NMT-status
reserved8
fieldbus-version
reserved8
feature-flags BitString — (see 4.4.1.2)
MTU Unsigned16 — size of the largest possible IP frame incl. header
poll-in-size Unsigned16 — actual CN setting for Isoc1 data block size
poll-out-size Unsigned16 — actual CN setting for Isoc2 data block size
response-time Unsigned32 — time required by the CN to respond to Isoc1
reserved16
device-type Unsigned32 — CN’s device type
vendor-ID Unsigned32 — CN’s vendor ID
product-code Unsigned32 — CN’s product code
revision-number Unsigned32 — CN’s revision number
serial-number Unsigned32 — CN’s serial number
vendor-specific-extension-1 Unsigned64 — for vendor specific purpose, to be filled with zeros if not used
verify-configuration-date Unsigned32 — CN’s configuration date
verify-configuration-time Unsigned32 — CN’s configuration time
application-sw-date Unsigned32 — CN’s application software date
application-sw-time Unsigned32 — CN’s application software time
IP-address Unsigned32 — current IP address value of the CN
subnet-mask Unsigned32 — current IP subnet mask of the CN
default-gateway Unsigned32 — current IP default gateway of the CN
host-name VisibleString32 — current DNS host name of the CN
vendor-specific-extension-2 SEQUENCE SIZE(48) OF Unsigned8
—for vendor specific purpose, to be filled with zeros if not in use
}
NOTE Some of the above listed elements are sometimes summarized as follows:
"poll-i
...
Frequently Asked Questions
SIST EN 61158-6-13:2015 is a standard published by the Slovenian Institute for Standardization (SIST). Its full title is "Industrial communication networks - Fieldbus specifications - Part 6-13: Application layer protocol specification - Type 13 elements (IEC 61158-6-13:2014)". This standard covers: IEC 61158-6-13:2014 defines the protocol provided to define the wire-representation of the service primitives defined in IEC 61158-5-13, and define the externally visible behavior associated with their transfer. This standard specifies the protocol of the Type 13 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: addition of synchronization feature, corrections and editorial improvements.
IEC 61158-6-13:2014 defines the protocol provided to define the wire-representation of the service primitives defined in IEC 61158-5-13, and define the externally visible behavior associated with their transfer. This standard specifies the protocol of the Type 13 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: addition of synchronization feature, corrections and editorial improvements.
SIST EN 61158-6-13:2015 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.
SIST EN 61158-6-13:2015 has the following relationships with other standards: It is inter standard links to SIST EN 61158-6-13:2008, SIST EN 61158-6-2:2015, SIST EN 61158-6-2:2015; is excused to SIST EN 61158-6-2:2015. Understanding these relationships helps ensure you are using the most current and applicable version of the standard.
SIST EN 61158-6-13:2015 is associated with the following European legislation: Standardization Mandates: M/490. When a standard is cited in the Official Journal of the European Union, products manufactured in conformity with it benefit from a presumption of conformity with the essential requirements of the corresponding EU directive or regulation.
You can purchase SIST EN 61158-6-13:2015 directly from iTeh Standards. The document is available in PDF format and is delivered instantly after payment. Add the standard to your cart and complete the secure checkout process. iTeh Standards is an authorized distributor of SIST standards.
記事のタイトル:SIST EN 61158-6-13:2015 - インダストリアルコミュニケーションネットワーク - フィールドバスの仕様 - パート6-13:アプリケーション層プロトコルの仕様 - タイプ13の要素(IEC 61158-6-13:2014) 記事内容:フィールドバスのアプリケーション層(FAL)は、ユーザープログラムがフィールドバス通信環境にアクセスする手段を提供します。この意味で、FALは「対応するアプリケーションプログラム間の窓」と見なすことができます。 この規格は、アプリケーションプログラム間の基本的な時間的に重要なメッセージング通信と非時間的に重要な通信のための共通要素を提供し、Type 13フィールドバスに特化した材料を提供します。 "時間的に重要"という用語は、1つ以上の指定されたアクションが一定の確実性レベルで完了する必要がある時間枠を示しています。時間枠内で指定されたアクションを完了しないと、要求されたアプリケーションの失敗のリスクがあり、それに伴う設備、プラントおよび可能な人命のリスクがあります。 この規格は、リモートアプリケーション間の相互作用を指定し、Type 13フィールドバスアプリケーション層の外部で見える振る舞いを以下のように定義します。 a)通信するアプリケーションエンティティ間で伝えられるアプリケーション層プロトコルデータユニットを定義する形式的抽象構文 b)アプリケーション層プロトコルデータユニットに適用されるエンコーディングルールを定義する転送構文 c)通信するアプリケーションエンティティ間で見えるアプリケーションサービスの振る舞いを定義するアプリケーションコンテキストステートマシン d)通信するアプリケーションエンティティ間で見える通信の振る舞いを定義するアプリケーション関係ステートマシン この規格の目的は、次のことを定義するためのプロトコルを提供することです: 1)IEC 61158-5-13で定義されたサービスプリミティブのワイヤ表現の定義 2)それらの転送に関連する外部で見える振る舞いの定義 この規格は、OSI基本参照モデル(ISO/IEC 7498)およびOSIアプリケーション層構造(ISO/IEC 9545)に準拠して、Type 13フィールドバスアプリケーション層のプロトコルを指定します。
기사 제목: SIST EN 61158-6-13:2015 - 산업 통신 네트워크 - 필드버스 사양 - 파트 6-13: 응용 계층 프로토콜 사양 - Type 13 element (IEC 61158-6-13:2014) 기사 내용: 필드버스 응용 계층(FAL)은 응용 프로그램이 필드버스 통신 환경에 접근하는 수단을 제공한다. 이런 의미에서 FAL은 "해당 응용 프로그램 간의 창구"로 볼 수 있다. 이 표준은 기본적인 시간적으로 중요하고 시간적으로 중요하지 않은 메시징 통신을 위한 공통 요소를 제공하며, 자동화 환경에서 응용 프로그램 간에 Type 13 필드버스에 특화된 자료를 제공한다. "시간적으로 중요하다"라는 용어는 하나 이상의 특정한 동작이 정의된 수준의 확신과 함께 일정한 시간 창구 내에서 완료되어야 함을 나타낸다. 시간 창구 내에 지정된 동작이 완료되지 않으면, 요청한 동작을 실패할 우려가 있으며, 그에 따라 장비, 공장 및 가능한 인명에 대한 위험이 따른다. 이 표준은 원격 응용 프로그램 간의 상호작용을 명시하고, Type 13 필드버스 응용 계층의 외부에서 볼 수 있는 동작을 다음과 같이 정의한다: a) 응용 계층 프로토콜 데이터 단위를 전송하는 응용 프로그램 간의 형식적 추상 구문 b) 응용 계층 프로토콜 데이터 단위에 적용되는 인코딩 규칙인 전송 구문 c) 응용 서비스 동작을 응용 프로그램 간에 보이게 하는 응용 문맥 상태기계 d) 응용 프로그램 간의 통신 동작을 응용 관계 상태기계에서 보이게 하는 응용 관계 상태기계 이 표준의 목적은 다음을 규정하는 프로토콜을 정의하는 것이다: 1) IEC 61158-5-13에 정의된 서비스 원시 프로토콜의 전선 표현 2) 전송과 관련된 외부에서 보이는 동작 정의 이 표준은 OSI 기본 참조 모델 (ISO/IEC 7498) 및 OSI 응용 계층 구조 (ISO/IEC 9545)에 준수하여 Type 13 필드버스 응용 계층의 프로토콜을 명시한다.
The article discusses the SIST EN 61158-6-13:2015 standard, which is part of the fieldbus specifications for industrial communication networks. The standard focuses on the application layer protocol specification for Type 13 fieldbus. The fieldbus application layer (FAL) acts as a bridge between application programs and the fieldbus communication environment. It enables time-critical and non-time-critical messaging communications between application programs in an automation environment. The term "time-critical" refers to actions that need to be completed within a specific time window to avoid negative consequences. The standard defines the interactions between remote applications and outlines the externally visible behavior provided by the Type 13 fieldbus application layer. This includes the formal abstract syntax for the application layer protocol data units, the encoding rules for these units, the application context state machine, and the application relationship state machines. The purpose of the standard is to define the protocol for the Type 13 fieldbus application layer, following the guidelines of the OSI Basic Reference Model and the OSI application layer structure. It specifies how the service primitives defined in IEC 61158-5-13 are represented and outlines the behavior associated with their transfer.








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