SIST EN IEC 61158-6-23:2019
(Main)Industrial communication networks - Fieldbus specifications - Part 6-23: Application layer protocol specification - Type 23 elements (IEC 61158-6-23:2019)
Industrial communication networks - Fieldbus specifications - Part 6-23: Application layer protocol specification - Type 23 elements (IEC 61158-6-23:2019)
This document 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 23 fieldbus. The term “time-critical” is used to represent the presence of a time-window, within which one or more specified actions are required to be completed with some defined level of certainty. Failure to complete specified actions within the time window risks failure of the applications requesting the actions, with attendant risk to equipment, plant and possibly human life. This International Standard defines in an abstract way the externally visible behavior provided by the different Types of the 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. The purpose of this document is to define the protocol provided to: a) define the wire-representation of the service primitives defined in IEC 61158-5-23, and b) define the externally visible behavior associated with their transfer. This document specifies the protocol 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 send/receive is specified. This permits greater flexibility to the FAL users in standardizing such object behavior. In addition to these services, some supporting services are also defined in this document to provide access to the FAL to control certain aspects of its operation.
Industrielle Kommunikationsnetze - Feldbusse - Teil 6-23: Protokollspezifikation des Application Layer (Anwendungsschicht) - Typ 23-Elemente (IEC 61158-6-23:2019)
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-23: Spécification du protocole de la couche application - Eléments de type 23 (IEC 61158-6-23:2019)
L’IEC 61158-6-23:2019 fournit des éléments communs pour les communications de messagerie prioritaires et non prioritaires élémentaires entre les programmes d’application des environnements d’automatisation et le matériel spécifique au bus de terrain de type 23. On utilise le terme "prioritaire" pour traduire la présence d’une fenêtre temporelle, à l’intérieur de laquelle il est exigé qu’une ou plusieurs actions spécifiées soient terminées avec un niveau de certitude défini. Si les actions spécifiées ne sont pas réalisées dans la fenêtre temporelle, les applications demandant les actions risquent de connaître une défaillance, avec les risques que cela comporte pour les équipements, les installations et éventuellement la vie humaine.
Le présent document vise à définir le protocole mis en place pour:
a) définir la représentation câblée des primitives de service définies dans l’IEC 61158 5 23, et
b) définir le comportement visible de l’extérieur associé à leur transfert.
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 6-23. del: Specifikacija protokola na aplikacijski ravni - Elementi tipa 23 (IEC 61158-6-23:2019)
Ta dokument določa skupne elemente za osnovne časovno kritične in časovno nekritične sporočilne komunikacije med aplikacijami v avtomatizacijskem okolju ter materialu, specifičnem za procesna vodila tipa 23. 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 mednarodni standard na abstrakten način določa zunanje vidno vedenje, ki ga zagotavljajo različni tipi aplikacijskega nivoja procesnih vodil v zvezi s/z: a) abstraktno sintakso, ki opredeljuje podatkovne enote protokola aplikacijskega nivoja, ki se prenašajo med aplikacijskimi osebki, ki komunicirajo, b) prenosno sintakso, ki opredeljuje podatkovne enote protokola aplikacijskega nivoja, ki se prenašajo med aplikacijskimi osebki, ki komunicirajo, c) strojem stanj aplikacijskega konteksta, ki opredeljuje vedenje aplikacijskega opravila, vidnega med aplikacijskimi osebki, ki komunicirajo, in d) stroji stanj aplikacijskega razmerja, ki opredeljujejo komunikacijsko vedenje med aplikacijskimi osebki, ki komunicirajo. Namen tega standarda je opredeliti protokol za: a) določitev žične predstavitve primitivov opravil iz standarda IEC 61158-5-23 in b) določitev zunanje vidnega vedenja, povezanega z njihovim prenosom. Ta dokument določa protokol aplikacijskega nivoja procesnih vodil IEC v skladu z osnovnim referenčnim modelom OSI (ISO/IEC 7498) in strukturo aplikacijskega nivoja OSI (ISO/IEC 9545). Opravila in protokole aplikacijskega nivoja procesnih vodil zagotavljajo aplikacijski osebki (AE) aplikacijskega nivoja procesnih vodil znotraj aplikacijskih procesov. Aplikacijski osebek aplikacijskega nivoja procesnih vodil sestavljata sklop objektno usmerjenih aplikacijskih opravilnih elementov (ASE) in osebek za upravljanje nivojev (LME), ki upravlja aplikacijski osebek. Aplikacijski opravilni elementi zagotavljajo komunikacijska opravila, ki delujejo na sklopu povezanih razredov objektov aplikacijskega procesa (APO). Med aplikacijske opravilne elemente aplikacijskega nivoja procesnih vodil spada aplikacijski opravilni element za upravljanje, ki zagotavlja skupen sklop opravil za upravljanje primerkov razredov aplikacijskega nivoja procesnih vodil. Čeprav ta opravila določajo način izdajanja ter dostavljanja zahtev in odzivov z vidika aplikacij, ne zajemajo specifikacije v zvezi s tem, kako naj se nanje odzovejo aplikacije, ki te zahteve in odzive oddajajo. To pomeni, da vedenjski vidiki aplikacij niso opredeljeni; opredeljena je le definicija zahtev in odzivov, ki jih lahko pošiljajo/prejemajo. Tako se uporabnikom aplikacijskega nivoja procesnih vodil omogoči večja prilagodljivost pri standardizaciji takega vedenja objektov. Poleg teh opravil so v tem dokumentu opredeljena tudi nekatera podporna opravila, da se omogoči dostop do aplikacijskega nivoja procesnih vodil za nadzorovanje nekaterih vidikov njegovega delovanja.
General Information
Relations
Standards Content (Sample)
SLOVENSKI STANDARD
SIST EN IEC 61158-6-23:2019
01-november-2019
Nadomešča:
SIST EN 61158-6-23:2015
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 6-23. del:
Specifikacija protokola na aplikacijski ravni - Elementi tipa 23 (IEC 61158-6-
23:2019)
Industrial communication networks - Fieldbus specifications - Part 6-23: Application layer
protocol specification - Type 23 elements (IEC 61158-6-23:2019)
Industrielle Kommunikationsnetze - Feldbusse - Teil 6-23: Protokollspezifikation des
Application Layer (Anwendungsschicht) - Typ 23-Elemente (IEC 61158-6-23:2019)
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-23:
Spécification du protocole de la couche application - Eléments de type 23 (IEC 61158-6-
23:2019)
Ta slovenski standard je istoveten z: EN IEC 61158-6-23:2019
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
SIST EN IEC 61158-6-23:2019 en,fr,de
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
---------------------- Page: 1 ----------------------
SIST EN IEC 61158-6-23:2019
---------------------- Page: 2 ----------------------
SIST EN IEC 61158-6-23:2019
EUROPEAN STANDARD EN IEC 61158-6-23
NORME EUROPÉENNE
EUROPÄISCHE NORM
August 2019
ICS 35.100.70; 35.110; 25.040.40 Supersedes EN 61158-6-23:2014 and all of its
amendments and corrigenda (if any)
English Version
Industrial communication networks - Fieldbus specifications -
Part 6-23: Application layer protocol specification - Type 23
elements
(IEC 61158-6-23:2019)
Réseaux de communication industriels - Spécifications des Industrielle Kommunikationsnetze - Feldbusse - Teil 6-23:
bus de terrain - Partie 6-23: Spécification du protocole de la Protokollspezifikation des Application Layer
couche application - Eléments de type 23 (Anwendungsschicht) - Typ 23-Elemente
(IEC 61158-6-23:2019) (IEC 61158-6-23:2019)
This European Standard was approved by CENELEC on 2019-07-25. 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, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the
Netherlands, Norway, Poland, Portugal, Republic of North Macedonia, Romania, Serbia, 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: Rue de la Science 23, B-1040 Brussels
© 2019 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members.
Ref. No. EN IEC 61158-6-23:2019 E
---------------------- Page: 3 ----------------------
SIST EN IEC 61158-6-23:2019
EN IEC 61158-6-23:2019 (E)
European foreword
The text of document 65C/948/FDIS, future edition 2 of IEC 61158-6-23, 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 IEC 61158-6-
23:2019.
The following dates are fixed:
• latest date by which the document has to be implemented at national (dop) 2020-04-25
level by publication of an identical national standard or by endorsement
• latest date by which the national standards conflicting with the (dow) 2022-07-25
document have to be withdrawn
This document supersedes EN 61158-6-23:2014 and all of its amendments and corrigenda (if any).
Attention is drawn to the possibility that some of the elements of this document may be the subject of
patent rights. CENELEC shall not be held responsible for identifying any or all such patent rights.
Endorsement notice
The text of the International Standard IEC 61158-6-23:2019 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 61784-1 NOTE Harmonized as EN IEC 61784-1
IEC 61784-2 NOTE Harmonized as EN IEC 61784-2
2
---------------------- Page: 4 ----------------------
SIST EN IEC 61158-6-23:2019
EN IEC 61158-6-23:2019 (E)
Annex ZA
(normative)
Normative references to international publications
with their corresponding European publications
The following documents are referred to in the text in such a way that some or all of their content
constitutes requirements of this document. For dated references, only the edition cited applies. For
undated references, the latest edition of the referenced document (including any amendments)
applies.
NOTE 1 Where 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-1 2019 Industrial communication networks - Fieldbus EN IEC 61158-1 2019
specifications - Part 1: Overview and guidance
for the IEC 61158 and IEC 61784 series
IEC 61158-5-23 - Industrial communication networks - Fieldbus EN IEC 61158-5-23 -
specifications - Part 5-23: Application layer
service definition - Type 23 elements
IEC 61158 series Digital data communications for measurement - -
and control - Fieldbus for use in industrial
control systems - Part 6: Application layer
protocol specification
ISO/IEC 7498-1 - Information technology - Open Systems - -
Interconnection - Basic Reference Model: The
Basic Model
ISO/IEC 8822 - Information technology - Open Systems - -
Interconnection - Presentation service
definition
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 10731 - Information technology - Open Systems - -
Interconnection - Basic Reference Model -
Conventions for the definition of OSI services
3
---------------------- Page: 5 ----------------------
SIST EN IEC 61158-6-23:2019
---------------------- Page: 6 ----------------------
SIST EN IEC 61158-6-23:2019
IEC 61158-6-23
®
Edition 2.0 2019-06
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-23: Application layer protocol specification – Type 23 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-7014-1
Warning! Make sure that you obtained this publication from an authorized distributor.
® Registered trademark of the International Electrotechnical Commission
---------------------- Page: 7 ----------------------
SIST EN IEC 61158-6-23:2019
– 2 – IEC 61158-6-23:2019 © IEC 2019
CONTENTS
FOREWORD . 9
INTRODUCTION . 11
1 Scope . 13
1.1 General . 13
1.2 Specifications . 14
1.3 Conformance . 14
2 Normative references . 14
3 Terms, definitions, symbols, abbreviated terms and conventions . 15
3.1 Referenced terms and definitions . 15
3.1.1 ISO/IEC 7498-1 terms . 15
3.1.2 ISO/IEC 8822 terms . 15
3.1.3 ISO/IEC 9545 terms . 15
3.1.4 ISO/IEC 8824-1 terms . 15
3.1.5 IEC 61158-1 terms . 16
3.2 Additional Type 23 terms and definitions . 16
3.3 Symbols and abbreviated terms . 18
3.4 Conventions . 19
3.4.1 General concept . 19
3.4.2 Convention for the encoding of reserved bits and octets . 19
3.4.3 Conventions for abstract syntax description . 19
3.4.4 Conventions for bit description in octets . 20
3.4.5 Conventions for state machine descriptions . 20
4 FAL syntax description . 21
4.1 FALPDU type C abstract syntax . 21
4.1.1 Basic abstract syntax . 21
4.1.2 Connect-PDU . 22
4.1.3 ConnectAck-PDU . 22
4.1.4 Scan-PDU . 22
4.1.5 Collect-PDU . 23
4.1.6 Select-PDU . 23
4.1.7 Launch-PDU . 23
4.1.8 Token-PDU . 23
4.1.9 MyStatus-PDU . 24
4.1.10 Transient1-PDU . 24
4.1.11 Dummy-PDU . 25
4.1.12 Transient2-PDU . 25
4.1.13 NTNTest-PDU . 25
4.1.14 CyclicDataW-PDU. 26
4.1.15 CyclicDataB-PDU . 26
4.1.16 CyclicDataOut1-PDU . 26
4.1.17 CyclicDataOut2-PDU . 27
4.1.18 CyclicDataIn1-PDU . 27
4.1.19 CyclicDataIn2-PDU . 27
4.2 FALPDU type F abstract syntax . 28
4.2.1 Basic abstract syntax . 28
4.2.2 Persuasion-PDU . 29
4.2.3 TestData-PDU . 30
---------------------- Page: 8 ----------------------
SIST EN IEC 61158-6-23:2019
IEC 61158-6-23:2019 © IEC 2019 – 3 –
4.2.4 TestDataAck-PDU. 30
4.2.5 Setup-PDU . 31
4.2.6 SetupAck-PDU . 31
4.2.7 F-Token-PDU . 32
4.2.8 F-MyStatus-PDU . 32
4.2.9 Measure-PDU . 32
4.2.10 F-Offset-PDU . 33
4.2.11 F-Update-PDU . 33
4.2.12 F-CyclicData-PDU . 33
4.2.13 Transient1-PDU . 33
4.2.14 TransientAck-PDU . 36
4.2.15 Transient2-PDU . 37
4.2.16 ParamCheck-PDU . 37
4.2.17 Parameter-PDU . 38
4.2.18 Timer-PDU . 39
4.3 Data type assignments for type C . 39
4.4 Data type assignments for type F . 40
5 FAL transfer syntax . 41
5.1 Encoding rules . 41
5.1.1 Unsigned encoding . 41
5.1.2 Octet string encoding . 41
5.1.3 SEQUENCE encoding . 42
5.1.4 LOctetString encoding . 42
5.2 FALPDU type C elements encoding . 42
5.2.1 FALARHeader . 42
5.2.2 Connect-PDU . 44
5.2.3 ConnectAck-PDU . 45
5.2.4 Scan-PDU . 45
5.2.5 Collect-PDU . 46
5.2.6 Select-PDU . 48
5.2.7 Launch-PDU . 49
5.2.8 Token-PDU . 49
5.2.9 MyStatus-PDU . 49
5.2.10 Transient1-PDU . 51
5.2.11 Dummy-PDU . 55
5.2.12 Transient2-PDU . 56
5.2.13 NTNTest-PDU . 67
5.2.14 CyclicDataW-PDU. 67
5.2.15 CyclicDataB-PDU . 68
5.2.16 CyclicDataOut1-PDU . 69
5.2.17 CyclicDataOut2-PDU . 69
5.2.18 CyclicDataIn1-PDU . 70
5.2.19 CyclicDataIn2-PDU . 71
5.3 FALPDU type F elements encoding . 72
5.3.1 FALARHeader . 72
5.3.2 Persuasion-PDU . 76
5.3.3 TestData-PDU . 77
5.3.4 TestDataAck-PDU. 77
5.3.5 Setup-PDU . 78
---------------------- Page: 9 ----------------------
SIST EN IEC 61158-6-23:2019
– 4 – IEC 61158-6-23:2019 © IEC 2019
5.3.6 SetupAck-PDU . 80
5.3.7 F-Token-PDU . 82
5.3.8 F-Measure-PDU . 83
5.3.9 F-Offset-PDU . 83
5.3.10 F-Update-PDU . 84
5.3.11 F-MyStatus-PDU . 84
5.3.12 F-CyclicData-PDU . 89
5.3.13 Transient1-PDU . 90
5.3.14 TransientAck-PDU . 94
5.3.15 Transient2-PDU . 95
5.3.16 ParamCheck-PDU . 98
5.3.17 Parameter-PDU . 99
5.3.18 Timer-PDU . 106
6 Structure of the FAL protocol state machine . 106
7 FAL service protocol machine (FSPM) . 107
7.1 Overview. 107
7.2 FSPM type C . 107
7.2.1 Overview . 107
7.2.2 FSPM . 108
7.3 FSPM type F . 111
7.3.1 Overview . 111
7.3.2 FSPM . 113
8 Application relationship protocol machine (ARPM) . 118
8.1 ARPM type C . 118
8.1.1 Overview . 118
8.1.2 Acyclic transmission . 118
8.1.3 Cyclic transmission . 120
8.1.4 Connection control . 125
8.1.5 Common parameter dist . 163
8.2 ARPM type F . 168
8.2.1 Overview . 168
8.2.2 Acyclic transmission . 169
8.2.3 Cyclic transmission . 171
8.2.4 Channel control . 174
8.2.5 Parameter dist . 212
8.2.6 Synchronous trigger. 215
8.2.7 Timer . 217
8.2.8 Measure transmission . 218
9 DLL mapping protocol machine (DMPM) . 222
9.1 DMPM type C . 222
9.2 DMPM type F . 223
Bibliography . 225
Figure 1 – Bit description in octets . 20
Figure 2 – Structure for memory access information retrieve response . 59
Figure 3 – Attribute definitions . 59
Figure 4 – Access code definitions . 60
Figure 5 – Structure for RUN request . 61
---------------------- Page: 10 ----------------------
SIST EN IEC 61158-6-23:2019
IEC 61158-6-23:2019 © IEC 2019 – 5 –
Figure 6 – Structure for RUN response . 61
Figure 7 – Structure for STOP request . 62
Figure 8 – Structure for STOP response . 62
Figure 9 – Structure for batch memory read request . 62
Figure 10 – Structure for batch memory read response . 63
Figure 11 – Structure for random memory read request . 63
Figure 12 – Structure for random memory read response . 64
Figure 13 – Structure for batch memory write request . 65
Figure 14 – Structure for batch memory write response . 65
Figure 15 – Structure for random memory write request . 66
Figure 16 – Structure for random memory write response . 66
Figure 17 – Relationships between protocol machines . 107
Figure 18 – Structure of FSPM C . 108
Figure 19 – Structure of FSPM F. 111
Figure 20 – Structure of ARPM C . 118
Figure 21 – Structure of ARPM F . 168
Figure 22 – Structure of type C DMPM . 222
Figure 23 – Structure of type F DMPM . 224
Table 1 – State machine description elements . 20
Table 2 – Description of state machine elements . 20
Table 3 – Conventions used in state machines . 21
Table 4 – afFType . 42
Table 5 – priority . 43
Table 6 – portChoice. 44
Table 7 – portCheckResult . 45
Table 8 – dstPortInfo . 45
Table 9 – scanState . 45
Table 10 – nodeType . 46
Table 11 – loopState . 47
Table 12 – Cyclic status . 47
Table 13 – Parameter setting mode . 47
Table 14 – opState . 50
Table 15 – errorState . 50
Table 16 – Data type. 52
Table 17 – CPW. 52
Table 18 – CPWC . 53
Table 19 – CPWCR .
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.