1、BSI Standards PublicationIndustrial communication networks Fieldbus specificationsPart 5-5: Application layer service definition Type 5 elementsBS EN 61158-5-5:2014National forewordThis British Standard is the UK implementation of EN 61158-5-5:2014. It is identical to IEC 61158-5-5:2014. It supersed
2、es BS EN 61158-5-5:2008which 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 secretar
3、y.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 79455 1ICS 25.040.40; 35.100.70; 35.110Compliance with a British S
4、tandard cannot confer immunity fromlegal obligations.This British Standard was published under the authority of theStandards Policy and Strategy Committee on 31 October 2014.Amendments/corrigenda issued since publicationDate Text affectedBRITISH STANDARDBS EN 61158-5-5:2014EUROPEAN STANDARD NORME EU
5、ROPENNE EUROPISCHE NORM EN 61158-5-5 October 2014 ICS 25.040.40; 35.100.70; 35.110 Supersedes EN 61158-5-5:2008 English Version Industrial communication networks - Fieldbus specifications - Part 5-5: Application layer service definition - Type 5 elements (IEC 61158-5-5:2014) Rseaux de communication
6、industriels - Spcifications des bus de terrain - Partie 5-5: Dfinition des services de la couche application - lments de type 5 (CEI 61158-5-5:2014) Industrielle Kommunikationsnetze - Feldbusse - Teil 5-5: Dienstfestlegungen des Application Layer (Anwendungsschicht) - Typ 5-Elemente (IEC 61158-5-5:2
7、014) This European Standard was approved by CENELEC on 2014-09-22. 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 bibliograph
8、ical 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 responsib
9、ility 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,
10、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 Electrotec
11、hnical 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 CENELEC Members. Ref. N
12、o. EN 61158-5-5:2014 E BS EN 61158-5-5:2014EN 61158-5-5:2014 - 2 - Foreword The text of document 65C/763/FDIS, future edition 2 of IEC 61158-5-5, prepared by SC 65C “Industrial networks” of IEC/TC 65 “Industrial-process measurement, control and automation“ was submitted to the IEC-CENELEC parallel v
13、ote and approved by CENELEC as EN 61158-5-5: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-22 latest date by which the national standards conflicting with
14、the document have to be withdrawn (dow) 2017-09-22 This document supersedes EN 61158-5-5:2008. 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
15、 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-5-5:2014 was approved by CENELEC as a European Standard without any modification. In the o
16、fficial version, for Bibliography, the following notes have to be added for the standards indicated: IEC 61784-1 NOTE Harmonized as EN 61784-1. IEC 61784-2 NOTE Harmonized as EN 61784-2. BS EN 61158-5-5:2014- 3 - EN 61158-5-5:2014 Annex ZA (normative) Normative references to international publicatio
17、ns 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 do
18、cument (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.ce
19、nelec.eu Publication Year Title EN/HD Year IEC 61131-3 - Programmable controllers - Part 3: Programming languages EN 61131-3 - IEC 61158-1 2014 Industrial communication networks - Fieldbus specifications - Part 1: Overview and guidance for the IEC 61158 and IEC 61784 series EN 61158-1 2014 IEC 61158
20、-3-1 - Industrial communication networks - Fieldbus specifications - Part 3-1: Data-link layer service definition - Type 1 elements EN 61158-3-1 - IEC 61158-4-1 - Industrial communication networks - Fieldbus specifications - Part 4-1: Data-link layer protocol specification - Type 1 elements EN 61158
21、-4-1 - IEC 61158-5 Series Industrial communication networks - Fieldbus specifications - Part 5: Application layer service definition EN 61158-5 Series IEC 61158-6-5 - Industrial communication networks - Fieldbus specifications - Part 6-5: Application layer protocol specification - Type 5 elements EN
22、 61158-6-5 - ISO/IEC 646 - Information technology - ISO 7-bit coded character set for information interchange - - ISO/IEC 7498-1 - Information technology - Open Systems Interconnection - Basic reference model: The basic model - - ISO/IEC 8822 - Information technology - Open Systems Interconnection -
23、 Presentation service definition - - ISO/IEC 8824 1990 1)Information technology - Open Systems Interconnection - Specification of Abstract Syntax Notation One (ASN.1) - - 1)Withdrawn publication. BS EN 61158-5-5:2014EN 61158-5-5:2014 - 4 - Publication Year Title EN/HD Year ISO/IEC 9545 - Information
24、 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 - - ANSI/IEEE 754 1985 Binary Floating-Point Arithmetic - - BS EN 61158-5-5:2014
25、 2 IEC 61158-5-5:2014 IEC 2014 CONTENTS INTRODUCTION . 9 1 Scope . 10 General . 10 1.1Specifications 11 1.2Conformance . 11 1.32 Normative references . 11 3 Terms and definitions . 12 ISO/IEC 7498-1 terms . 12 3.1ISO/IEC 8822 terms 12 3.2ISO/IEC 9545 terms 12 3.3ISO/IEC 8824 terms 13 3.4Fieldbus dat
26、a-link layer terms 13 3.5Fieldbus application layer specific terms and definitions 13 3.6Abbreviations and symbols 23 3.7Conventions 25 3.84 Concepts 28 5 Data type ASE 28 Overview . 28 5.1Formal definition of data type objects 28 5.2FAL defined data types 30 5.3Data type ASE service specification 6
27、6 5.46 Communication model specification 66 Concepts . 66 6.1ASEs . 66 6.2ARs . 208 6.3Summary of FAL classes . 232 6.4Permitted FAL services by AREP role 233 6.57 Type 5 communication model specification . 234 Concepts . 234 7.1ASEs . 257 7.2FDA sessions 292 7.3Summary of FAL Type 9 and Type 5 clas
28、ses . 302 7.4Permitted FAL Type 9 and Type 5 services by AREP role 303 7.5Bibliography 306 Figure 1 The AR ASE conveys APDUs between APs . 97 Figure 2 1-to-1 AR establishment . 109 Figure 3 1-to-many AR establishment 109 Figure 4 Event model overview 148 Figure 5 Residence timeliness . 222 Figure 6
29、Synchronized timeliness . 223 Figure 7 Residence timeliness . 229 Figure 8 Synchronized timeliness . 230 Figure 9 VCR initiation . 241 BS EN 61158-5-5:2014IEC 61158-5-5:2014 IEC 2014 3 Figure 10 Misordered message handling 247 Figure 11 FF SM port message processing order . 248 Figure 12 FF FDA port
30、 message processing order . 248 Figure 13 FF TCP connection message processing order 249 Figure 14 Session endpoint message processing order 249 Figure 15 FDA LAN redundancy port message processing order 249 Figure 16 Message processing by receiving entity . 250 Table 1 PERSISTDEF 35 Table 2 VARTYPE
31、 . 35 Table 3 ITEMQUALITYDEF 36 Table 4 STATEDEF . 40 Table 5 GROUPERRORDEF 41 Table 6 ACCESSRIGHTSDEF 41 Table 7 HRESULT . 41 Table 8 UUID . 48 Table 9 Data type names for value . 64 Table 10 UUID . 66 Table 11 Create service parameters 68 Table 12 Delete service parameters . 69 Table 13 Get attrib
32、utes service parameters 70 Table 14 Set attributes service parameters 72 Table 15 Begin set attributes . 74 Table 16 End set attributes 75 Table 17 Subscribe service parameters . 84 Table 18 Identify 87 Table 19 Get status . 88 Table 20 Status notification 89 Table 21 Initiate . 90 Table 22 Terminat
33、e 93 Table 23 Conclude . 95 Table 24 Reject . 95 Table 25 Conveyance of service primitives by AREP role . 98 Table 26 Valid combinations of AREP roles involved in an AR . 98 Table 27 AR-Unconfirmed send . 104 Table 28 AR-Confirmed send . 106 Table 29 AR-Establish service . 108 Table 30 Valid combina
34、tions of AREP classes to be related . 110 Table 31 AR-Deestablish service . 111 Table 32 AR-Abort . 112 Table 33 AR-Compel service 113 Table 34 AR-Get buffered message service . 114 Table 35 AR-Schedule communication service . 115 BS EN 61158-5-5:2014 4 IEC 61158-5-5:2014 IEC 2014 Table 36 AR-Cancel
35、 scheduled sequence service 116 Table 37 AR-Status 117 Table 38 AR-XON-OFF 117 Table 39 AR-Remote read service . 118 Table 40 AR-Remote write service . 119 Table 41 Read service parameters . 128 Table 42 Read list service parameters . 131 Table 43 Write service parameters . 133 Table 44 Write list s
36、ervice parameters . 135 Table 45 Information report service 137 Table 46 Information report list service 138 Table 47 Exchange service parameters . 141 Table 48 Exchange list service parameters 144 Table 49 Acknowledge event . 156 Table 50 Acknowledge event list service parameters . 157 Table 51 Ena
37、ble event . 159 Table 52 Event notification service parameters 160 Table 53 Enable event list 162 Table 54 Notification recovery service parameters . 163 Table 55 Get event summary service parameters . 164 Table 56 Get event summary list service parameters . 166 Table 57 Query event summary list ser
38、vice parameters . 169 Table 58 Initiate load service parameters . 176 Table 59 Terminate load service parameters 178 Table 60 Push segment service parameters . 179 Table 61 Pull segment service parameters . 180 Table 62 Discard service parameters . 182 Table 63 Pull upload sequencing of service prim
39、itives 183 Table 64 Pull upload service parameter constraints . 184 Table 65 Pull upload state table . 185 Table 66 Pull download sequencing of service primitives . 186 Table 67 Pull download service parameter constraints . 186 Table 68 Pull download state table 187 Table 69 Push download sequencing
40、 of service primitives . 189 Table 70 Push download service parameter constraints . 189 Table 71 Push download state table . 190 Table 72 Start service parameters . 197 Table 73 Stop service parameters 198 Table 74 Resume service parameters 199 Table 75 Reset service parameters 200 Table 76 Kill ser
41、vice parameters 201 Table 77 Action invoke service parameters 202 Table 78 Action return service parameters . 203 BS EN 61158-5-5:2014IEC 61158-5-5:2014 IEC 2014 5 Table 79 State transitions for a function invocation object 205 Table 80 FAL class summary . 232 Table 81 Services by AREP role 233 Tabl
42、e 82 Scope of Invoke Id 245 Table 83 Types of misordering detectable by message numbers 246 Table 84 Delivery of misordered message types on publisher/subscriber VCRs . 246 Table 85 Statistics gathered per VCR 246 Table 86 Determination of misordering type at a subscriber VCR . 247 Table 87 Mapping
43、of received messages to primitives 247 Table 88 Mapping of received primitives to messages 248 Table 89 Defined network addresses . 251 Table 90 Use of network addresses . 252 Table 91 Use of endpoint selectors in server VCRs 252 Table 92 Use of endpoint selectors in publisher VCRs . 253 Table 93 Us
44、e of endpoint selectors in source VCRs . 253 Table 94 Network address and port numbers for device annunciation 255 Table 95 Network address and port numbers for set/clear assignment info and clear address 255 Table 96 Network address and port numbers for SM identify 255 Table 97 Network address and
45、port numbers for SM find tag . 255 Table 98 Network address and port numbers for clients and servers (part 1) 255 Table 99 Network address and port numbers for clients and servers (part 2) 256 Table 100 Network address and port numbers for publishers and subscribers 256 Table 101 Network address and
46、 port numbers for report distribution 256 Table 102 Network address and port numbers for LAN redundancy get and put information 256 Table 103 Network address and port numbers for LAN redundancy diagnostics . 256 Table 104 VCR types . 258 Table 105 Use of VCR user id 259 Table 106 Use of FDA address
47、259 Table 107 Initiate . 261 Table 108 Connect option 262 Table 109 Find tag query service parameters . 267 Table 110 SMK IDs 267 Table 111 Find tag reply service parameters 269 Table 112 Identify service parameters . 271 Table 113 Annunciate service parameters 274 Table 114 Set assignment info serv
48、ice parameters 276 Table 115 Clear assignment info service parameters . 279 Table 116 Clear address service parameters . 281 Table 117 Diagnostic message service 286 Table 118 Get redundancy info service 287 Table 119 Put redundancy info service 289 BS EN 61158-5-5:2014 6 IEC 61158-5-5:2014 IEC 2014 Table 120 Get redundancy statistics service 291 Table 121 Open session service 299 Table 122 Idle session service . 302 Table 123 FAL class summary . 303 Table 124 Services by AREP role 304 BS EN 61158-5-5:2014IEC 61158-5-5:2014 IEC 2