SIST EN 61158-6-15:2012
(Main)Industrial communication networks - Fieldbus specifications - Part 6-15: Application layer protocol specification - Type 15 elements (IEC 61158-6-15:2010)
Industrial communication networks - Fieldbus specifications - Part 6-15: Application layer protocol specification - Type 15 elements (IEC 61158-6-15:2010)
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 15 fieldbus. The term “time-critical” is used to represent the presence of a time-window, within which one or more specified actions are required to be completed with some defined level of certainty. Failure to complete specified actions within the time window risks failure of the applications requesting the actions, with attendant risk to equipment, plant and possibly human life. This standard defines in an abstract way the externally visible behavior provided by the Type 15 fieldbus Application Layer in terms of a) the abstract syntax defining the application layer protocol data units conveyed between communicating application entities, b) the transfer syntax defining the application layer protocol data units conveyed between communicating application entities, c) the application context state machine defining the application service behavior visible between communicating application entities; and d) the application relationship state machines defining the communication behavior visible between communicating application entities; and. The purpose of this standard is to define the protocol provided to a) define the wire-representation of the service primitives defined in IEC 61158-5-15, and b) define the externally visible behavior associated with their transfer.
Industrielle Kommunikationsnetze - Feldbusse - Teil 6-15: Protokollspezifikation des Application Layer (Anwendungsschicht) - Typ 15-Elemente (IEC 61158-6-15:2010)
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-15: Spécification des protocoles des couches d'application - Eléments de type 15 (CEI 61158-6-15:2010)
L'IEC 61158-6-15:2010 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 15. 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 terminées à l’intérieur de cette fenêtre temporelle, les applications qui ont demandé l’exécution de ces actions risquent de présenter des dysfonctionnements, accompagnés de risques pour les équipements, l’usine, voire les vies humaines.
La présente norme définit d’une manière abstraite le comportement visible de manière externe fourni par la couche application du bus de terrain de type 15 en termes
a) de syntaxe abstraite définissant les unités de données de protocole de couche application transmises entre les entités d’application communicantes,
b) de syntaxe de transfert définissant les unités de données de protocole de couche application transmises entre les entités d’application communicantes,
c) de diagramme d’états de contexte d’application définissant le comportement de service d’application visible entre les entités d’application communicantes; et
d) de diagramme d’états de relation d’application définissant le comportement de communication visible entre les entités d’application communicantes.
Industrijska komunikacijska omrežja - Specifikacije za procesno vodilo - 6-15. del: Specifikacija protokola na aplikacijskem nivoju - Elementi tipa 15 (IEC 61158-6-15:2010)
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 15. 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 na abstrakten način določa zunanje vidno vedenje, ki ga zagotavlja aplikacijski nivo procesnih vodil tipa 15 v zvezi 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-15 in b) določitev zunanje vidnega vedenja, povezanega z njihovim prenosom.
General Information
Relations
Standards Content (Sample)
SLOVENSKI STANDARD
SIST EN 61158-6-15:2012
01-september-2012
1DGRPHãþD
SIST EN 61158-6-15:2008
Industrijska komunikacijska omrežja - Specifikacije za procesno vodilo - 6-15. del:
Specifikacija protokola na aplikacijskem nivoju - Elementi tipa 15 (IEC 61158-6-
15:2010)
Industrial communication networks - Fieldbus specifications - Part 6-15: Application layer
protocol specification - Type 15 elements (IEC 61158-6-15:2010)
Industrielle Kommunikationsnetze - Feldbusse - Teil 6-15: Protokollspezifikation des
Application Layer (Anwendungsschicht) - Typ 15-Elemente (IEC 61158-6-15:2010)
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-15:
Spécification des protocoles des couches d'application - Eléments de type 15 (CEI
61158-6-15:2010)
Ta slovenski standard je istoveten z: EN 61158-6-15:2012
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 61158-6-15:2012 en
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
---------------------- Page: 1 ----------------------
SIST EN 61158-6-15:2012
---------------------- Page: 2 ----------------------
SIST EN 61158-6-15:2012
EUROPEAN STANDARD
EN 61158-6-15
NORME EUROPÉENNE
June 2012
EUROPÄISCHE NORM
ICS 25.040.40; 35.100.70; 35.110 Supersedes EN 61158-6-15:2008
English version
Industrial communication networks -
Fieldbus specifications -
Part 6-15: Application layer protocol specification -
Type 15 elements
(IEC 61158-6-15:2010)
Réseaux de communication industriels - Industrielle Kommunikationsnetze -
Spécifications des bus de terrain - Feldbusse -
Partie 6-15: Spécification des protocoles Teil 6-15: Protokollspezifikation des
des couches d'application - Application Layer (Anwendungsschicht) -
Eléments de type 15 Typ 15-Elemente
(CEI 61158-6-15:2010) (IEC 61158-6-15:2010)
This European Standard was approved by CENELEC on 2012-03-28. 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, Romania, Slovakia, Slovenia,
Spain, Sweden, Switzerland, Turkey and the United Kingdom.
CENELEC
European Committee for Electrotechnical Standardization
Comité Européen de Normalisation Electrotechnique
Europäisches Komitee für Elektrotechnische Normung
Management Centre: Avenue Marnix 17, B - 1000 Brussels
© 2012 CENELEC - All rights of exploitation in any form and by any means reserved worldwide for CENELEC members.
Ref. No. EN 61158-6-15:2012 E
---------------------- Page: 3 ----------------------
SIST EN 61158-6-15:2012
EN 61158-6-15:2012 - 2 -
Foreword
The text of document 65C/607/FDIS, future edition 2 of IEC 61158-6-15, 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-15:2012.
The following dates are fixed:
(dop) 2012-12-28
• latest date by which the document has
to be implemented at national level by
publication of an identical national
standard or by endorsement
• latest date by which the national (dow) 2015-03-28
standards conflicting with the
document have to be withdrawn
This document supersedes EN 61158-6-15:2008.
EN 61158-6-15:2012 includes the following significant technical changes with respect to EN 61158-6-
15:2008:
– editorial corrections.
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.
Endorsement notice
The text of the International Standard IEC 61158-6-15:2010 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/TR 61158-1:2010 NOTE Harmonized as CLC/TR 61158-1:2010 (not modified).
---------------------- Page: 4 ----------------------
SIST EN 61158-6-15:2012
- 3 - EN 61158-6-15:2012
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 When an international publication has been modified by common modifications, indicated by (mod), the relevant EN/HD
applies.
Publication Year Title EN/HD Year
IEC 61158-5-15 2010 Industrial communication networks - Fieldbus EN 61158-5-15 2012
specifications -
Part 5-15: Application layer service definition -
Type 15 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 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
---------------------- Page: 5 ----------------------
SIST EN 61158-6-15:2012
---------------------- Page: 6 ----------------------
SIST EN 61158-6-15:2012
IEC 61158-6-15
®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-15: Application layer protocol specification – Type 15 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XD
ICS 25.04.40; 35.100.70; 35.110 ISBN 978-2-88912-131-1
® Registered trademark of the International Electrotechnical Commission
---------------------- Page: 7 ----------------------
SIST EN 61158-6-15:2012
– 2 – 61158-6-15 © IEC:2010(E)
CONTENTS
FOREWORD.0H6
INTRODUCTION.1H8
1 Scope.2H9
1.1 General .3H9
1.2 Specifications.4H9
1.3 Conformance.5H10
2 Normative references .6H10
3 Terms and definitions, abbreviations, symbols and conventions .7H10
3.1 Terms and definitions .8H10
3.2 Abbreviations and symbols.9H17
3.3 Conventions .10H19
3.4 Conventions used in state machines .11H21
4 Abstract syntax for client/server .12H22
5 Transfer syntax for client/server .13H22
5.1 General .14H22
5.2 Common APDU structure .15H22
5.3 Service-specific APDU structures .16H26
5.4 Data representation ‘on the wire’ .17H51
6 Abstract syntax for publish/subscribe .18H51
7 Transfer syntax for publish/subscribe .19H52
7.1 General .20H52
7.2 APDU structure .21H52
7.3 Sub-message structure .22H53
7.4 APDU interpretation .23H55
7.5 Service specific APDU structures .24H57
7.6 Common data representation for publish/subscribe .25H79
8 Structure of FAL protocol state machines .26H83
9 AP-context state machines for client/server .27H85
10 FAL service protocol machine (FSPM) for client/server.28H85
10.1 General .29H85
10.2 FSPM state tables .30H85
10.3 Functions used by FSPM.31H92
10.4 Parameters of FSPM/ARPM primitives .32H92
10.5 Client/server server transactions .33H92
11 Application relationship protocol machines (ARPMs) for client/server .34H94
11.1 Application relationship protocol machines (ARPMs) .35H94
11.2 AREP state machine primitive definitions .36H95
11.3 AREP state machine functions .37H96
12 DLL mapping protocol machine (DMPM) for client/server.38H96
12.1 AREP mapping to data link layer .39H96
12.2 DMPM states.40H97
12.3 DMPM state machine .41H97
12.4 Primitives exchanged between data link layer and DMPM .42H98
12.5 Client/server on TCP/IP.43H98
13 AP-Context state machines for publish/subscribe .44H102
---------------------- Page: 8 ----------------------
SIST EN 61158-6-15:2012
61158-6-15 © IEC:2010(E) – 3 –
14 Protocol machines for publish/subscribe.45H102
14.1 General .46H102
14.2 Publish/subscribe on UDP .47H104
Bibliography.48H105
Figure 1 – APDU Format.49H22
Figure 2 – Client to server confirmed service request.50H24
Figure 3 – Normal response from server to client.51H24
Figure 4 – Exception response from server to client.52H24
Figure 5 – Client to server unconfirmed service request.53H25
Figure 6 – Publish/subscribe APDU .54H52
Figure 7 – Flags of issue request .55H58
Figure 8 – Flags of heartbeat request .56H60
Figure 9 – Flags of VAR request .57H64
Figure 10 – Flags of GAP request .58H66
Figure 11 – Flags of ACK request .59H68
Figure 12 – Flags of INFO_DST request .60H72
Figure 13 – Flags of INFO_REPLY request.61H73
Figure 14 – Flags of INFO_SRC request.62H75
Figure 15 – Flags of INFO_TS request.63H77
Figure 16 – Flags of PAD request .64H78
Figure 17 – Encoding of octet .65H80
Figure 18 – Encoding of boolean .66H80
Figure 19 – Encoding of unsigned short .67H80
Figure 20 – Encoding of unsigned long .68H80
Figure 21 – Encoding of unsigned long long.69H81
Figure 22 – Encoding of float .70H81
Figure 23 – Encoding of double .71H81
Figure 24 – Relationships among protocol machines and adjacent layers .72H84
Figure 25 – State transition diagram of FSPM.73H85
Figure 26 – Transaction state machine, per connection .74H86
Figure 27 – Client/server server transactions .75H93
Figure 28 – State transition diagram of the Client ARPM.76H94
Figure 29 – State transition diagram of the server ARPM .77H95
Figure 30 – State transition diagram of DMPM .78H97
Figure 31 – APDU Format.79H98
Figure 32 – TCP/IP PDU Format .80H99
Figure 33 – Publish/subscribe receiver .81H103
Table 1 – Conventions used for state machines .82H21
Table 2 – Exception code.83H25
Table 3 – Read discretes request .84H26
Table 4 – Read discretes response.85H26
---------------------- Page: 9 ----------------------
SIST EN 61158-6-15:2012
– 4 – 61158-6-15 © IEC:2010(E)
Table 5 – Read coils request .86H27
Table 6 – Read coils response.87H27
Table 7 – Write single coil request .88H28
Table 8 – Write single coil response .89H28
Table 9 – Write multiple coils request .90H29
Table 10 – Write multiple coils response.91H29
Table 11 – Broadcast write single coil request .92H30
Table 12 – Broadcast write multiple coils request.93H31
Table 13 – Read input registers request .94H31
Table 14 – Read input registers response.95H32
Table 15 – Read holding registers request.96H32
Table 16 – Read holding registers response .97H33
Table 17 – Write single holding register request .98H33
Table 18 – Write single holding register response.99H34
Table 19 – Write multiple holding registers request.100H34
Table 20 – Write multiple holding registers response .101H35
Table 21 – Mask write holding register request .102H36
Table 22 – Mask write holding register request .103H36
Table 23 – Read/Write multiple holding registers request.104H37
Table 24 – Read/Write multiple holding registers response .105H38
Table 25 – Read FIFO request.106H38
Table 26 – Read FIFO response .107H39
Table 27 – Broadcast write single holding register request.108H40
Table 28 – Broadcast write multiple holding registers request .109H41
Table 29 – Read file record request .110H42
Table 30 – Read file record response .111H43
Table 31 – Write file record request .112H44
Table 32 – Write file record response .113H46
Table 33 – Read device identification request.114H47
Table 34 – Device identification categories .115H48
Table 35 – Read device ID code .116H48
Table 36 – Read device identification response .117H49
Table 37 – Conformity level .118H50
Table 38 – Requested vs. returned known objects .119H51
Table 39 – APDU structure .120H53
Table 40 – Sub-message structure .121H54
Table 41 – Publish/subscribe service identifier encoding .122H54
Table 42 – Attributes changed modally and affecting APDUs interpretations .123H56
Table 43 – Issue request .124H57
Table 44 – Meaning of issue request flags .125H58
Table 45 – Interpretation of issue.126H59
Table 46 – Heartbeat request .127H60
Table 47 – Meaning of heartbeat request flags .128H61
---------------------- Page: 10 ----------------------
SIST EN 61158-6-15:2012
61158-6-15 © IEC:2010(E) – 5 –
Table 48 – Interpretation of heartbeat .129H62
Table 49 – VAR request.130H63
Table 50 – Meaning of VAR request flags .131H64
Table 51 – Interpretation of VAR.132H65
Table 52 – GAP request.133H66
Table 53 – Meaning of GAP request flags .134H67
Table 54 – Interpretation of GAP.135H67
Table 55 – ACK request.136H68
Table 56 – Meaning of ACK request flags .137H69
Table 57 – Interpretation of ACK.138H69
Table 58 – Header request .139H70
Table 59 – Change in state of the receiver.140H71
Table 60 – INFO_DST request.141H71
Table 61 – Meaning of INFO_DST request flags .142H72
Table 62 – INFO_REPLY request .143H73
Table 63 – Meaning of INFO_REPLY request flags .144H74
Table 64 – INFO_SRC request .145H75
Table 65 – Meaning of INFO_SRC request flags .146H75
Table 66 – INFO_TS request .147H76
Table 67 – Meaning of INFO_TS request flags.148H77
Table 68 – PAD request.149H78
Table 69 – Meaning of PAD request flags .150H78
Table 70 – Semantics .151H79
Table 71 – FSPM state table – client transactions.152H87
Table 72 – FSPM state table – server transactions .153H92
Table 73 – Function MatchInvokeID().154H92
Table 74 – Function HighBit() .155H92
Table 75 – Parameters used with primitives exchanged between FSPM and ARPM .156H92
Table 76 – Client ARPM states .157H94
Table 77 – Client ARPM state table .158H94
Table 78 – Server ARPM states .159H94
Table 79 – Server ARPM state table .160H95
Table 80 – Primitives issued from ARPM to DMPM .161H95
Table 81 – Primitives issued by DMPM to ARPM .162H95
Table 82 – Parameters used with primitives exchanged between ARPM and DMPM .163H96
Table 83 – DMPM state descriptions.164H97
Table 84 – DMPM state table – client transactions.165H97
Table 85 – DMPM state table – server transactions .166H98
Table 86 – Primitives exchanged between data-link layer and DMPM .167H98
Table 87 – Encapsulation parameters for client/server on TCP/IP .168H99
---------------------- Page: 11 ----------------------
SIST EN 61158-6-15:2012
– 6 – 61158-6-15 © IEC:2010(E)
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
FIELDBUS SPECIFICATIONS –
Part 6-15: Application layer protocol specification –
Type 15 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
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.