1、BSI Standards PublicationIndustrial communication networks Fieldbus specificationsPart 6-14: Application layer protocol specification Type 14 elementsBS EN 61158-6-14:2014National forewordThis British Standard is the UK implementation of EN 61158-6-14:2014. It isidentical to IEC 61158-6-14:2014. It
2、supersedes BS EN 61158-6-14:2012which is withdrawn.The UK participation in its preparation was entrusted to Technical Com-mittee AMT/7, Industrial communications: process measurement andcontrol, including fieldbus.A list of organizations represented on this committee can be obtained onrequest to its
3、 secretary.This publication does not purport to include all the necessary provisions ofa contract. Users are responsible for its correct application. The British Standards Institution 2014.Published by BSI Standards Limited 2014ISBN 978 0 580 79477 3ICS 25.040.40; 35.100.70; 35.110Compliance with a
4、British Standard cannot confer immunity fromlegal obligations.This British Standard was published under the authority of theStandards Policy and Strategy Committee on 30 November 2014.Amendments issued since publicationDate Text affectedBRITISH STANDARDBS EN 61158-6-14:2014EUROPEAN STANDARD NORME EU
5、ROPENNE EUROPISCHE NORM EN 61158-6-14 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) Rseaux de commu
6、nication industriels - Spcifications des bus de terrain - Partie 6-14: Spcification du protocole de la couche application - Elments de type 14 (CEI 61158-6-14:2014) Industrielle Kommunikationsnetze - Feldbusse - Teil 6-14: Protokollspezifikation des Application Layer (Anwendungsschicht) - Typ 14-Ele
7、mente (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-dat
8、e 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 translat
9、ion 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, Denm
10、ark, 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 C
11、ommittee for Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr 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
12、CENELEC Members. Ref. No. EN 61158-6-14:2014 E BS EN 61158-6-14:2014EN 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
13、 the IEC-CENELEC parallel vote and approved by CENELEC as EN 61158-6-14:2014. The following dates are fixed: latest date by which the document has to be implemented at national level by publication of an identical national standard or by endorsement (dop) 2015-06-23 latest date by which the national
14、 standards conflicting with the document have to be withdrawn (dow) 2017-09-23 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 ident
15、ifying 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 with
16、out 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. BS EN 61158-6-14:2014- 3 - EN 61158-6-14
17、: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 cit
18、ed 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 versio
19、ns 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 - Fieldbus specifications - Part 3-14: Data-link layer service definition - Type 14 elements EN 61158-3-14 - IEC 61158-4-14 - Indu
20、strial communication networks - Fieldbus specifications - Part 4-14: Data-link layer protocol specification - Type 14 elements EN 61158-4-14 - IEC 61158-5-14 - Industrial communication networks - Fieldbus specifications - Part 5-14: Application layer service definition - Type 14 elements EN 61158-5-
21、14 - IEC 61158-6 series Industrial communication networks - Fieldbus specifications - Part 6: Application layer protocol specification EN 61158-6 series ISO/IEC 646 - Information technology - ISO 7-bit coded character set for information interchange - - ISO/IEC 2375 - Information technology - Proced
22、ure 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
23、metropolitan area networks - Specific requirements - Part 3: Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specifications - - BS EN 61158-6-14:2014EN 61158-6-14:2014 - 4 - Publication Year Title EN/HD Year ISO/IEC 8822 - Information technology - Op
24、en 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 - -
25、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 Arithmet
26、ic - - BS EN 61158-6-14:2014 2 IEC 61158-6-14:2014 IEC 2014 CONTENTS INTRODUCTION . 9 1 Scope . 10 General . 10 1.1Specifications 10 1.2Conformance . 11 1.32 Normative references . 11 3 Terms, definitions, symbols, abbreviations and conventions . 12 Referenced terms and definitions 12 3.1Fieldbus ap
27、plication layer specific terms and definitions 13 3.2Abbreviations and symbols 15 3.3Conventions 17 3.44 Abstract syntax . 18 Fixed format PDU description 18 4.1Object definitions in FAL management ASE . 27 4.2Definition of objects used in Type 14 application access entity 33 4.35 Transfer syntax 36
28、 Encoding of basic data types . 36 5.1Encoding of Type 14 APDU header . 42 5.2Encoding of FAL management entity service parameters . 43 5.3Encoding of AAE Services . 49 5.46 Structure of FAL protocol state machines . 58 7 AP-Context state machine 59 Primitives exchanged between ALU and ALE 59 7.1Pro
29、tocol state machine descriptions 59 7.2State transitions 60 7.3Function descriptions 66 7.48 FAL management state machines . 66 Primitives 66 8.1Protocol state machine descriptions 67 8.2State transitions 68 8.3Function descriptions 70 8.49 Application access entity protocol machine . 74 Primitives
30、74 9.1AAE state machine 76 9.2Event ASE protocol machine . 78 9.3Domain ASE protocol machine 79 9.4Block ASE protocol machine 83 9.510 Application relationship state machine 85 Primitives 85 10.1AREP state description 87 10.2State transitions 87 10.3Function descriptions 88 10.411 DLL mapping protoc
31、ol machine 88 Concept 88 11.1BS EN 61158-6-14:2014IEC 61158-6-14:2014 IEC 2014 3 Primitives 89 11.2State description . 89 11.3State transitions 89 11.4Function description 90 11.5Bibliography 91 Figure 1 State transition diagram . 17 Figure 2 Exchanged primitives of protocol state machine . 59 Figur
32、e 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 di
33、agrams 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
34、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 Def
35、inition 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
36、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 obj
37、ect 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 BS EN 61158-6-14:2014 4 IEC
38、 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
39、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 T
40、able 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_GetDevice
41、Attribute 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 re
42、sponse 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 Enc
43、oding 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 pa
44、rameters . 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 En
45、coding 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 r
46、esponse 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 BS EN 61158-6-14:2014IEC 61158-6-14:2014 IEC 20
47、14 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 Ta
48、ble 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 BlockTransmissionOp
49、en 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 parameter