Industrial communication networks - Fieldbus specifications - Part 6-25: Application layer protocol specification - Type 25 elements (IEC 61158-6-25:2019)

This document provides common elements for basic time-critical and non-timecritical messaging communications between application programs in an automation environment and material specific to Type 25 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 document 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-25, 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-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 document to provide access to the FAL to control certain aspects of its operation.

Industrielle Kommunikationsnetze - Feldbusse - Teil 6-25: Protokollspezifikation des Application Layer (Anwendungsschicht) - Typ 25-Elemente (IEC 61158-6-25:2019)

Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-25: Spécification du protocole de la couche application - Eléments de type 25 (IEC 61158-6-25:2019)

L'IEC 61158-6-25:2019 La couche application de bus de terrain (FAL, Fieldbus Application Layer) fournit aux programmes d’utilisateur un moyen d’accéder à l’environnement de communication du bus de terrain. A cet égard, la FAL peut être vue comme une "fenêtre entre des programmes d'application correspondants".
L'IEC 61158-6-25:2019 fournit les éléments communs pour les communications de messagerie de base prioritaires et non prioritaires entre des programmes d'application dans un environnement d'automation et le matériau spécifique au bus de terrain de type 25. On utilise le terme "prioritaire" pour traduire la présence d’une fenêtre temporelle, à l’intérieur de laquelle une ou plusieurs actions spécifiées doivent être 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 définit de manière abstraite le comportement, visible par un observateur externe, assuré par les différents types de la couche application de bus de terrain, en termes
a) de syntaxe abstraite définissant les unités de données de protocole de la couche application, transmises entre les entités d'application en communication;
b) de syntaxe de transfert définissant les unités de données de protocole de la couche application, transmises entre les entités d'application en communication;
c) de diagramme d'états de contexte d'application définissant le comportement de service d'application observable entre les entités d'application en communication; et
d) de diagrammes d'états de relations d'applications définissant le comportement de communication visible entre les entités d'application en communication.

Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 6-25. del: Specifikacija protokola na aplikacijski ravni - Elementi tipa 25 (IEC 61158-6-25: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 25. 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 dokument 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-25 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-1) 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

Status
Published
Publication Date
10-Oct-2019
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
30-Aug-2019
Due Date
04-Nov-2019
Completion Date
11-Oct-2019

Buy Standard

Standard
EN IEC 61158-6-25:2019 - BARVE
English language
127 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (Sample)

SLOVENSKI STANDARD
SIST EN IEC 61158-6-25:2019
01-november-2019
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 6-25. del:
Specifikacija protokola na aplikacijski ravni - Elementi tipa 25 (IEC 61158-6-
25:2019)
Industrial communication networks - Fieldbus specifications - Part 6-25: Application layer
protocol specification - Type 25 elements (IEC 61158-6-25:2019)
Industrielle Kommunikationsnetze - Feldbusse - Teil 6-25: Protokollspezifikation des
Application Layer (Anwendungsschicht) - Typ 25-Elemente (IEC 61158-6-25:2019)
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-25:
Spécification du protocole de la couche application - Eléments de type 25 (IEC 61158-6-
25:2019)
Ta slovenski standard je istoveten z: EN IEC 61158-6-25: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-25: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-25:2019

---------------------- Page: 2 ----------------------
SIST EN IEC 61158-6-25:2019


EUROPEAN STANDARD EN IEC 61158-6-25

NORME EUROPÉENNE

EUROPÄISCHE NORM
August 2019
ICS 25.040.40; 35.100.70; 35.110

English Version
Industrial communication networks - Fieldbus specifications -
Part 6-25: Application layer protocol specification - Type 25
elements
(IEC 61158-6-25:2019)
Réseaux de communication industriels - Spécifications des Industrielle Kommunikationsnetze - Feldbusse - Teil 6-25:
bus de terrain - Partie 6-25: Spécification du protocole de la Protokollspezifikation des Application Layer
couche application - Eléments de type 25 (Anwendungsschicht) - Typ 25-Elemente
(IEC 61158-6-25:2019) (IEC 61158-6-25: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-25:2019 E

---------------------- Page: 3 ----------------------
SIST EN IEC 61158-6-25:2019
EN IEC 61158-6-25:2019 (E)
European foreword
The text of document 65C/948/FDIS, future edition 1 of IEC 61158-6-25, 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-
25: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

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-25:2019 was approved by CENELEC as a
European Standard without any modification.

In the official version, for Bibliography, the following note has to be added for the standard indicated:
IEC 61158-1 NOTE Harmonized as EN IEC 61158-1

2

---------------------- Page: 4 ----------------------
SIST EN IEC 61158-6-25:2019
EN IEC 61158-6-25: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-3-25 2019 Industrial communication networks - Fieldbus EN IEC 61158-3-25 2019
specifications - Part 3-25: Data-link layer
service definition - Type X elements
IEC 61158-5-25 2019 Industrial communication networks - Fieldbus EN IEC 61158-5-25 2019
specifications - Part 5-25: Application layer
service definition - Type 25 elements
ISO/IEC 7498-1 -  Information technology - Open Systems - -
Interconnection - Basic reference model: The
basic model
ISO/IEC 8822 -  Information technology - Open Systems - -
Interconnection - Presentation service
definition
ISO/IEC 9545 -  Information technology - Open Systems - -
Interconnection - Application layer structure
ISO/IEC 8824-1 -  Information technology - Abstract Syntax - -
Notation One (ASN.1): Specification of basic
notation
ISO/IEC/IEEE -  Information technology - Telecommunications - -
8802-3 and information exchange between systems -
Local and metropolitan area networks -
Specific requirements - Part 3: Standard for
Ethernet
IEEE 802.1D -  IEEE Standard for local and metropolitan area - -
networks - Media Access Control (MAC)
Bridges
IEEE 802.1Q -  IEEE Standard for Local and metropolitan area - -
networks - Media Access Control (MAC)
Bridges and Virtual Bridges
IETF RFC 768 -  User Datagram Protocol - -
IETF RFC 791 -  Internet Protocol - DARPA Internet Program - -
Protocol Specification

3

---------------------- Page: 5 ----------------------
SIST EN IEC 61158-6-25:2019

---------------------- Page: 6 ----------------------
SIST EN IEC 61158-6-25:2019




IEC 61158-6-25

®


Edition 1.0 2019-06




INTERNATIONAL



STANDARD








colour

inside










Industrial communication networks – Fieldbus specifications –

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



























INTERNATIONAL

ELECTROTECHNICAL


COMMISSION





ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-7015-8




  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-25:2019
– 2 – IEC 61158-6-25:2019 © IEC 2019
CONTENTS
FOREWORD . 7
INTRODUCTION . 9
1 Scope . 10
1.1 General . 10
1.2 Specification . 11
1.3 Conformance . 11
2 Normative references . 11
3 Terms, definitions, symbols, abbreviations and conventions . 12
3.1 Reference model terms and definitions . 12
3.1.1 ISO/IEC 7498-1 terms . 12
3.1.2 ISO/IEC 8822 terms . 12
3.1.3 ISO/IEC 9545 terms . 12
3.1.4 ISO/IEC 8824-1 terms . 13
3.2 Additional Type 25 terms and definitions . 13
3.3 Symbols and abbreviations . 15
3.4 Conventions . 16
3.4.1 General conventions . 16
3.4.2 Conventions for class definitions . 16
3.4.3 Conventions for bit description in octets . 16
3.4.4 Conventions for state machine descriptions . 17
4 FAL syntax description . 18
4.1 FAL PDU type S abstract syntax . 18
4.1.1 Basic abstract syntax . 18
4.2 FAL PDU type N abstract syntax . 22
4.2.1 Basic abstract syntax . 22
4.2.2 CyclicData-PDU . 22
4.2.3 MulticastData-PDU . 23
4.2.4 PtoPData-PDU . 23
4.2.5 Aliveinfo-PDU . 23
4.2.6 Aliveinfo6-PDU . 23
4.2.7 Inq-PDU . 24
4.2.8 Ninq-PDU . 24
4.2.9 Reply-PDU . 24
4.2.10 RetransEnq-PDU . 24
4.2.11 RetransConfirm-PDU . 24
4.2.12 RetransNak-PDU . 25
4.3 Data type assignments for type S . 25
4.4 Data type assignments for type N . 25
5 FAL transfer syntax . 26
5.1 Encoding rules . 26
5.1.1 Unsigned encoding . 26
5.1.2 Octet string encoding . 27
5.1.3 SEQUENCE encoding . 27
5.2 FALPDU type S elements encoding. 27
5.2.1 RCL_header . 27
5.2.2 RHE-PDU . 28

---------------------- Page: 8 ----------------------
SIST EN IEC 61158-6-25:2019
IEC 61158-6-25:2019 © IEC 2019 – 3 –
5.2.3 LCC-PDU . 30
5.2.4 LCA-PDU . 30
5.2.5 LCN-PDU . 31
5.2.6 LNA-PDU . 32
5.2.7 SCR-PDU . 32
5.2.8 Cyclic_S-PDU . 32
5.2.9 Cyclic_header . 33
5.2.10 Control-PDU . 33
5.2.11 RMTCTL-PDU. 33
5.2.12 INFO-PDU . 34
5.3 FALPDU type N elements encoding . 35
5.3.1 General . 35
5.3.2 FALAR-N Header . 35
5.3.3 CyclicData-PDU . 49
5.3.4 MulticastData-PDU . 50
5.3.5 PtoP Data-PDU. 50
5.3.6 Aliveinfo-PDU . 50
5.3.7 Aliveinfo6-PDU . 53
5.3.8 Inq-PDU . 54
5.3.9 Ninq-PDU . 55
5.3.10 Reply-PDU . 55
5.3.11 RetransEnq-PDU . 56
5.3.12 RetransConfirm-PDU . 56
5.3.13 RetransNak-PDU . 57
6 Structure of the FAL protocol state machine . 58
7 FAL service protocol machine (FSPM) . 58
7.1 Overview. 58
7.2 FSPM type S . 58
7.2.1 Overview . 58
7.2.2 Interface of cyclic communication to FAL users . 59
7.2.3 State machine of FSPM . 61
7.3 FSPM type N . 62
7.3.1 Overview . 62
7.3.2 FSPM . 63
8 Application relationship protocol machine (ARPM) . 65
8.1 ARPM type S . 65
8.1.1 Overview . 65
8.1.2 Cyclic control . 66
8.1.3 Remote control . 70
8.1.4 RCL communication control . 75
8.1.5 RT communication control . 79
8.2 ARPM type N . 83
8.2.1 Overview . 83
8.2.2 General control . 83
8.2.3 Cyclic transmission control . 85
8.2.4 Acyclic transmission control . 90
8.2.5 RT communication control . 105
9 DLL mapping protocol machine (DMPM) . 121

---------------------- Page: 9 ----------------------
SIST EN IEC 61158-6-25:2019
– 4 – IEC 61158-6-25:2019 © IEC 2019
9.1 DMPM type S . 121
9.2 DMPM type N . 122
9.2.1 General . 122
9.2.2 Communication port in transport layer . 122
9.2.3 Quality of Service . 122
Bibliography . 124

Figure 1 – Bit description in octets . 16
Figure 2 – hd_sa . 35
Figure 3 – hd_da . 36
Figure 4 – Valid sequence number for reception message . 40
Figure 5 – hd_m_ctl . 40
Figure 6 – Valid reception packet sequence number . 44
Figure 7 – Node-list . 55
Figure 8 – Relationships between protocol machines . 58
Figure 9 – Structure of FSPM type S . 59
Figure 10 – Shared memory allocation in type S network . 61
Figure 11 – Structure of FSPM type N . 63
Figure 12 – Structure of ARPM type S . 66
Figure 13 – Sequence of cyclic communication . 67
Figure 14 – The primitives for cyclic control . 67
Figure 15 – The primitives for Remote control . 70
Figure 16 – The primitives for RCL communication control . 75
Figure 17 – The primitives for RT communication control . 80
Figure 18 – Structure of ARPM type N . 83
Figure 19 – Primitives of Cyclic transmission control . 85
Figure 20 – Primitives of acyclic transmission control . 91
Figure 21 – DSCP format . 123
Figure 22 – IEEE 802.1Q tag frame format . 123

Table 1 – State transition descriptions . 17
Table 2 – Descriptions of state machine elements . 17
Table 3 – Conventions used in state machine . 17
Table 4 – Frame Class . 27
Table 5 – DA_STaddress – DA_STaddress . 27
Table 6 – DA_MACaddress . 27
Table 7 – CMD field format . 28
Table 8 – Send Direction . 28
Table 9 – RHE ReceiveStatus . 29
Table 10 – Physical Linkdown . 29
Table 11 – RHE_pattern 1~4 . 30
Table 12 – LCC-Kind . 30
Table 13 – RCL Status . 31
Table 14 – hd_h_type . 35

---------------------- Page: 10 ----------------------
SIST EN IEC 61158-6-25:2019
IEC 61158-6-25:2019 © IEC 2019 – 5 –
Table 15 – Usage of Mgn or Lnn . 37
Table 16 – Detailed conditions for sequence number check of reception message . 39
Table 17 – Valid bits of hd_m_ctl . 40
Table 18 – Specified TCD . 41
Table 19 – hd_pkind . 42
Table 20 – PDU with an effective hd_pseq . 42
Table 21 – Detailed conditions for sequence number check of reception packet
(Multicast communication with retransmission). 44
Table 22 – Detailed conditions for packet sequence number check . 45
Table 23 – Relation between message transmission/reception . 46
Table 24 – hd_mode . 46
Table 25 – Message priority level . 46
Table 26 – Value of α . 47
Table 27 – Example of header information for a UDP message fragmentation . 47
Table 28 – Example of header information for a TCP message fragmentation . 47
Table 29 – inqid_inq_sa value. 48
Table 30 – inqid_tr_adr value . 48
Table 31 – inqid_inq_seq value . 49
Table 32 – Relationship between inqid_id_seq and inqid_tr_adr . 49
Table 33 – Type of an alive-message . 51
Table 34 – Type of an alive-message protocol . 51
Table 35 – Time of each al_mode . 52
Table 36 – Status change of tasks . 52
Table 37 – Change of tasks content . 52
Table 38 – The threshold of transmission factor . 60
Table 39 – Example of the traffic control configuration menu . 60
Table 40 – Cyclic data state table . 61
Table 41 – Acyclic data state table. 62
Table 42 – Cyclic data state table . 64
Table 43 – Acyclic data state table. 64
Table 44 – Cyclic control state table . 68
Table 45 – Cyclic control functions. 69
Table 46 – Cyclic control variables. 70
Table 47 – Remote control state table . 71
Table 48 – Remote control functions . 74
Table 49 – Remote control variables . 75
Table 50 – RCL communication control state table . 76
Table 51 – RCL communication control functions . 77
Table 52 – RCL communication control variables . 79
Table 53 – RT communication control state table . 80
Table 54 – RT communication control functions . 82
Table 55 – RT communication control variables . 82
Table 56 – Cyclic transmi
...

Questions, Comments and Discussion

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