SIST EN 61158-6-14:2015
(Main)Industrial communication networks - Fieldbus specifications - Part 6-14: Application layer protocol specification - Type 14 elements (IEC 61158-6-14:2014)
Industrial communication networks - Fieldbus specifications - Part 6-14: Application layer protocol specification - Type 14 elements (IEC 61158-6-14:2014)
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 14 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 14 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
a) define the wire-representation of the service primitives defined in IEC 61158-5-14, and
b) define the externally visible behavior associated with their transfer.
This standard specifies the protocol of the Type 14 fieldbus application layer, in conformance
with the OSI Basic Reference Model (ISO/IEC 7498) and the OSI application layer structure
(ISO/IEC 9545).
Industrielle Kommunikationsnetze - Feldbusse - Teil 6-14: Protokollspezifikation des Application Layer (Anwendungsschicht) - Typ 14-Elemente (IEC 61158-6-14:2014)
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-14: Spécification du protocole de la couche application - Eléments de type 14 (CEI 61158-6-14:2014)
L'IEC 61158-6-14: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-14 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 14, 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 troisième édition annule et remplace la deuxième édition parue en 2010. Elle constitue une révision technique. Les principales modifications sont:
- correction des erreurs éditoriales;
- modifications de la spécification de la CPF4;
- mise à jour des exigences de l'ensemble des classes de conformité;
- mise à jour des exigences de l'ensemble des services de conformité.
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 6-14. del: Specifikacija protokola na aplikacijski ravni - Elementi tipa 14 (IEC 61158-6-14:2014)
1.1 General
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 obravnavati kot »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 14. 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
a) določitev žične predstavitve primitivov opravil iz standarda IEC 61158-5-14, in
b) določitev zunanje vidnega vedenja, povezanega z njihovim prenosom.
Ta standard določa protokol aplikacijskega nivoja procesnih vodil tipa 14 v skladu z osnovnim referenčnim modelom OSI (ISO/IEC 7498) in strukturo aplikacijskega nivoja OSI (ISO/IEC 9545).
General Information
Relations
Standards Content (Sample)
SLOVENSKI STANDARD
SIST EN 61158-6-14:2015
01-marec-2015
1DGRPHãþD
SIST EN 61158-6-14:2012
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 6-14. del:
Specifikacija protokola na aplikacijski ravni - Elementi tipa 14 (IEC 61158-6-
14:2014)
Industrial communication networks - Fieldbus specifications - Part 6-14: Application layer
protocol specification - Type 14 elements (IEC 61158-6-14:2014)
Industrielle Kommunikationsnetze - Feldbusse - Teil 6-14: Protokollspezifikation des
Application Layer (Anwendungsschicht) - Typ 14-Elemente (IEC 61158-6-14:2014)
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-14:
Spécification du protocole de la couche application - Eléments de type 14 (CEI 61158-6-
14:2014)
Ta slovenski standard je istoveten z: EN 61158-6-14: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
SIST EN 61158-6-14:2015 en,fr,de
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
---------------------- Page: 1 ----------------------
SIST EN 61158-6-14:2015
---------------------- Page: 2 ----------------------
SIST EN 61158-6-14:2015
EUROPEAN STANDARD EN 61158-6-14
NORME EUROPÉENNE
EUROPÄISCHE NORM
October 2014
ICS 25.040.40; 35.100.70; 35.110 Supersedes EN 61158-6-14:2012
English Version
Industrial communication networks - Fieldbus specifications -
Part 6-14: Application layer protocol specification - Type 14
elements
(IEC 61158-6-14:2014)
Réseaux de communication industriels - Spécifications des Industrielle Kommunikationsnetze - Feldbusse - Teil 6-14:
bus de terrain - Partie 6-14: Spécification du protocole de la Protokollspezifikation des Application Layer
couche application - Eléments de type 14 (Anwendungsschicht) - Typ 14-Elemente
(CEI 61158-6-14:2014) (IEC 61158-6-14: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-14:2014 E
---------------------- Page: 3 ----------------------
SIST EN 61158-6-14:2015
EN 61158-6-14:2014 - 2 -
Foreword
The text of document 65C/764/FDIS, future edition 3 of IEC 61158-6-14, 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-14: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-14:2012.
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-14: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 61784-1 NOTE Harmonized as EN 61784-1.
IEC 61784-2 NOTE Harmonized as EN 61784-2.
---------------------- Page: 4 ----------------------
SIST EN 61158-6-14:2015
- 3 - EN 61158-6-14: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-14 - Industrial communication networks - EN 61158-3-14 -
Fieldbus specifications -
Part 3-14: Data-link layer service
definition - Type 14 elements
IEC 61158-4-14 - Industrial communication networks - EN 61158-4-14 -
Fieldbus specifications -
Part 4-14: Data-link layer protocol
specification - Type 14 elements
IEC 61158-5-14 - Industrial communication networks - EN 61158-5-14 -
Fieldbus specifications -
Part 5-14: Application layer service
definition - Type 14 elements
IEC 61158-6 series Industrial communication networks - EN 61158-6 series
Fieldbus specifications -
Part 6: Application layer protocol
specification
ISO/IEC 646 - Information technology - ISO 7-bit coded - -
character set for information interchange
ISO/IEC 2375 - Information technology - Procedure for - -
registration of escape sequences and
coded character sets
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
---------------------- Page: 5 ----------------------
SIST EN 61158-6-14:2015
EN 61158-6-14:2014 - 4 -
Publication Year Title EN/HD Year
ISO/IEC 8822 - Information technology - Open Systems - -
Interconnection - Presentation service
definition
ISO/IEC 8824 1990 Information technology - Open Systems - -
Interconnection - Specification of Abstract
Syntax Notation One (ASN.1)
ISO/IEC 9545 - Information technology - Open Systems - -
Interconnection - Application layer
structure
ISO/IEC 10731 - Information technology - Open Systems - -
Interconnection - Basic Reference
Model - Conventions for the definition of
OSI services
ISO/IEC/IEEE 60559 - Information technology - Microprocessor - -
Systems - Floating-Point arithmetic
IEEE 754 - IEEE Standard for Floating-Point - -
Arithmetic
---------------------- Page: 6 ----------------------
SIST EN 61158-6-14:2015
IEC 61158-6-14
®
Edition 3.0 2014-08
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Industrial communication networks – Fieldbus specifications –
Part 6-14: Application layer protocol specification – Type 14 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 6-14: Spécification du protocole de la couche application – Eléments
de type 14
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
CODE PRIX XD
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-1764-1
Warning! Make sure that you obtained this publication from an authorized distributor.
Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agréé.
® Registered trademark of the International Electrotechnical Commission
Marque déposée de la Commission Electrotechnique Internationale
---------------------- Page: 7 ----------------------
SIST EN 61158-6-14:2015
– 2 – IEC 61158-6-14:2014 © IEC 2014
CONTENTS
FOREWORD . 7
INTRODUCTION . 9
1 Scope . 10
1.1 General . 10
1.2 Specifications . 10
1.3 Conformance . 11
2 Normative references . 11
3 Terms, definitions, symbols, abbreviations and conventions . 12
3.1 Referenced terms and definitions . 12
3.2 Fieldbus application layer specific terms and definitions . 13
3.3 Abbreviations and symbols . 15
3.4 Conventions . 17
4 Abstract syntax . 18
4.1 Fixed format PDU description . 18
4.2 Object definitions in FAL management ASE . 27
4.3 Definition of objects used in Type 14 application access entity . 33
5 Transfer syntax . 36
5.1 Encoding of basic data types . 36
5.2 Encoding of Type 14 APDU header . 42
5.3 Encoding of FAL management entity service parameters . 43
5.4 Encoding of AAE Services . 49
6 Structure of FAL protocol state machines . 58
7 AP-Context state machine . 59
7.1 Primitives exchanged between ALU and ALE . 59
7.2 Protocol state machine descriptions . 59
7.3 State transitions . 60
7.4 Function descriptions . 66
8 FAL management state machines . 66
8.1 Primitives . 66
8.2 Protocol state machine descriptions . 67
8.3 State transitions . 68
8.4 Function descriptions . 70
9 Application access entity protocol machine . 74
9.1 Primitives . 74
9.2 AAE state machine . 76
9.3 Event ASE protocol machine . 78
9.4 Domain ASE protocol machine . 79
9.5 Block ASE protocol machine . 83
10 Application relationship state machine . 85
10.1 Primitives . 85
10.2 AREP state description . 87
10.3 State transitions . 87
10.4 Function descriptions . 88
11 DLL mapping protocol machine . 88
11.1 Concept . 88
---------------------- Page: 8 ----------------------
SIST EN 61158-6-14:2015
IEC 61158-6-14:2014 © IEC 2014 – 3 –
11.2 Primitives . 89
11.3 State description . 89
11.4 State transitions . 89
11.5 Function description . 90
Bibliography . 91
Figure 1 – State transition diagram . 17
Figure 2 – Exchanged primitives of protocol state machine . 59
Figure 3 – ACE protocol state machine . 60
Figure 4 – FME protocol state machine . 68
Figure 5 – AAE state transition diagrams . 76
Figure 6 – Event ASE state transition diagrams . 78
Figure 7 – Domain ASE state transition diagram . 80
Figure 8 – Block ASE state transition diagrams . 84
Figure 9 – AREP state transition diagrams . 87
Figure 10 – ESME state transition . 90
Table 1 – State machine description elements . 17
Table 2 – Definition of Type 14 MOB header object . 27
Table 3 – Definition of Type 14 device descriptor object . 27
Table 4 – Definition of the time synchronization object . 28
Table 5 – Definition of maximum response time object . 28
Table 6 – Definition of the Type 14 communication scheduling management object . 29
Table 7 – Definition of the device application information object . 29
Table 8 – Definition of FB application information header. 29
Table 9 – Definition of domain application information header . 30
Table 10 – Definition of Type 14 link object header . 30
Table 11 – Definition of Type 14 FRT link object header . 31
Table 12 – Definition of FB application information object . 31
Table 13 – Definition of Type 14 link object . 31
Table 14 – Definition of Type 14 FRT link object . 32
Table 15 – Definition of domain application information object . 33
Table 16 – Definition of domain object . 33
Table 17 – Definition of simple variable object . 34
Table 18 – Definition of event object . 34
Table 19 – Definition of Type 14 socket mapping object . 35
Table 20 – Definition of Type 14 socket timer object . 35
Table 21 – Definition of ErrorType object . 36
Table 22 – Encoding of Boolean value TRUE . 36
Table 23 – Encoding of Boolean value FALSE . 36
Table 24 – Encoding of Unsigned8 data type . 37
Table 25 – Encoding of Unsigned16 data type . 37
Table 26 – Encoding of Unsigned32 data type . 37
Table 27 – Encoding of Unsigned64 data type . 37
---------------------- Page: 9 ----------------------
SIST EN 61158-6-14:2015
– 4 – IEC 61158-6-14:2014 © IEC 2014
Table 28 – Encoding of Int8 data type . 38
Table 29 – Encoding of Int16 data type . 38
Table 30 – Encoding of Int32 data type . 38
Table 31 – Encoding of Int64 data type . 39
Table 32 – Encoding of Real type . 39
Table 33 – Encoding of VisibleString data type . 39
Table 34 – Encoding of OctetString data type . 40
Table 35 – Encoding of BitString data type . 40
Table 36 – Encoding of TimeOfDay data type . 40
Table 37 – Encoding of BinaryDate data type . 41
Table 38 – Encoding of PrecisionTimeDifference data type . 42
Table 39 – Encoding of Type 14 application layer service message header . 42
Table 40 – Encoding of EM_DetectingDevice request parameters . 43
Table 41 – Encoding of EM_OnlineReply request parameters . 43
Table 42 – Encoding of EM_GetDeviceAttribute request parameters . 44
Table 43 – Encoding of EM_GetDeviceAttribute positive response parameters . 44
Table 44 – Encoding of EM_GetDeviceAttribute negative response parameters . 45
Table 45 – Encoding of EM_ActiveNotification request parameters . 46
Table 46 – Encoding of EM_ConfiguringDevice request parameters. 47
Table 47 – Encoding of EM_ConfiguringDevice positive response parameters . 48
Table 48 – Encoding of EM_ConfiguringDevice negative response parameters . 48
Table 49 – Encoding of EM_SetDefaultValue request parameters . 48
Table 50 – Encoding of EM_SetDefaultValue positive response parameters . 48
Table 51 – Encoding of clear device attribute service refuse packet . 49
Table 52 – Encoding of DomainDownload request parameters . 49
Table 53 – Encoding of domain download service response packet . 49
Table 54 – Encoding of DomainDownload negative response parameters . 49
Table 55 – Encoding of DomainUpload request parameters . 50
Table 56 – Encoding of DomainUpload positive response parameters . 50
Table 57 – Encoding of DomainUpload negative response parameters . 50
Table 58 – Encoding of EventRoport request parameters . 51
Table 59 – Encoding of EventRoportAcknowledge request parameters . 51
Table 60 – Encoding of EventRoportAcknowledge positive response parameters . 51
Table 61 – Encoding of EventRoportAcknowledge negative response parameters . 51
Table 62 – Encoding of ReportConditionChanging request parameters . 52
Table 63 – Encoding of ReportConditionChanging positive response parameters . 52
Table 64 – Encoding of ReportConditionChanging negative response parameters . 52
Table 65 – Encoding of Read request parameters . 52
Table 66 – Encoding of Read positive response parameters . 53
Table 67 – Encoding of Read negative response parameters . 53
Table 68 – Encoding of Write request parameters . 53
Table 69 – Encoding of Write positive response parameters . 53
Table 70 – Encoding of Write negative response parameters . 54
---------------------- Page: 10 ----------------------
SIST EN 61158-6-14:2015
IEC 61158-6-14:2014 © IEC 2014 – 5 –
Table 71 – Encoding of VariableDistribute request parameters . 54
Table 72 – Encoding of FRTRead request parameters . 54
Table 73 – Encoding of FRTRead positive response parameters . 54
Table 74 – Encoding of FRTRead negative response parameters . 55
Table 75 – Encoding of FRTWrite request parameters . 55
Table 76 – Encoding of FRTWrite positive response parameters . 55
Table 77 – Encoding of FRTWrite negative response parameters . 55
Table 78 – Encoding of FRTVariableDistribute request parameters . 56
Table 79 – Encoding of BlockTransmissionOpen request parameters . 56
Table 80 – Encoding of BlockTransmissionOpen positive response parameters . 56
Table 81 – Encoding of BlockTransmissionOpen negative response parameters . 56
Table 82 – Encoding of BlockTransmissionClose request parameters . 57
Table 83 – Encoding of BlockTransmissionClose positive response parameters . 57
Table 84 – Encoding of BlockTransmissionClose negative response parameters . 57
Table 85 – Encoding of BlockTransmit request parameters . 57
Table 86 – Encoding of BlockTransmissionHeartbeat request parameters . 58
Table 87 – Primitives delivered by ALU to ALE . 59
Table 88 – Primitives delivered by ALE to ALU . 59
Table 89 – ACE state descriptions . 60
Table 90 – ACE state transitions (sender) . 60
Table 91 – ACE state transitions (receiver) . 63
Table 92 – APServiceType() descriptions. 66
Table 93 – Primitives delivered by application layer user to FME . 66
Table 94 – Primitives delivered by FME to application layer user . 66
Table 95 – Primitive parameters exchanged between FME and application layer user . 67
Table 96 – Primitives delivered by FME to ESME . 67
Table 97 – Primitives delivered by ESME to FME . 67
Table 98 – Primitives parameters exchanged between FME and ESME . 67
Table 99 – State transitions of Type 14 FME . 68
Table 100 – RcvNewIpAddress() descriptions . 70
Table 101 – Attribute_Set() descriptions . 71
Table 102 – RestoreDefaults() descriptions . 71
Table 103 – NewAddress() descriptions . 71
Table 104 – Restart_Type 14RepeatTimer() descriptions . 71
Table 105 – Clear_DuplicatePdTagFlag() descriptions . 71
Table 106 – Type 14RepeatTimerExpire() descriptions . 72
Table 107 – Send_EM_ReqRspMessage() descriptions . 72
Table 108 – Send_EM_CommonErrorRsp() descriptions . 72
Table 109 – SntpSyncLost() descriptions . 72
Table 110 – IPAddressCollision() descriptions . 73
Table 111 – RecvMsg() descriptions . 73
Table 112 – QueryMatch() descriptions . 73
Table 113 – MessageIDMatch() descriptions . 73
---------------------- Page: 11 ----------------------
SIST EN 61158-6-14:2015
– 6 – IEC 61158-6-14:2014 © IEC 2014
Table 114 – DevId_Match() descriptions .
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.