1、BSI Standards PublicationIndustrial communication networks Fieldbus specificationsPart 6-2: Application layer protocol specification Type 2 elementsBS EN 61158-6-2:2014National forewordThis British Standard is the UK implementation of EN 61158-6-2:2014. It is identical to IEC 61158-6-2:2014. It supe
2、rsedes BS EN 61158-6-2:2012 which is withdrawn.The UK participation in its preparation was entrusted to TechnicalCommittee AMT/7, Industrial communications: process measurement andcontrol, including fieldbus.A list of organizations represented on this committee can be obtained onrequest to its secre
3、tary.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 79468 1ICS 25.040.40; 35.100.70; 35.110Compliance with a Britis
4、h 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-2:2014EUROPEAN STANDARD NORME EUROPENNE
5、 EUROPISCHE NORM EN 61158-6-2 October 2014 ICS 25.040.40; 35.100.70; 35.110 Supersedes EN 61158-6-2:2012 English Version Industrial communication networks - Fieldbus specifications - Part 6-2: Application layer protocol specification - Type 2 elements (IEC 61158-6-2:2014) Rseaux de communication ind
6、ustriels - Spcifications des bus de terrain - Partie 6-2: Spcification du protocole de la couche application - lments de type 2 (CEI 61158-6-2:2014) Industrielle Kommunikationsnetze - Feldbusse - Teil 6-2: Protokollspezifikation des Application Layer (Anwendungsschicht) - Typ 2-Elemente (IEC 61158-6
7、-2: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 bibliog
8、raphical 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 respo
9、nsibility 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, Finla
10、nd, 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 Electr
11、otechnical 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. Re
12、f. No. EN 61158-6-2:2014 E BS EN 61158-6-2:2014EN 61158-6-2:2014 - 2 - Foreword The text of document 65C/764/FDIS, future edition 3 of IEC 61158-6-2, prepared by SC 65C “Industrial networks“ of IEC/TC 65 “Industrial-process measurement, control and automation“ was submitted to the IEC-CENELEC parall
13、el vote and approved by CENELEC as EN 61158-6-2: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 standards conflicting w
14、ith the document have to be withdrawn (dow) 2017-09-23 This document supersedes EN 61158-6-2: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 pa
15、tent 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-2:2014 was approved by CENELEC as a European Standard without any modification. In t
16、he official version, for Bibliography, the following notes have to be added for the standards indicated: IEC 61131-3 NOTE Harmonized as EN 61131-3. IEC 61784-1:2014 NOTE Harmonized as EN 61784-1:2014 (not modified). IEC 61784-2:2014 NOTE Harmonized as EN 61784-2:2014 (not modified). BS EN 61158-6-2:
17、2014- 3 - EN 61158-6-2: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
18、, 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 informatio
19、n 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-1 2014 Industrial communication networks - Fieldbus specifications - Part 1: Overview and guidance for the IEC 61158 and IEC 61784 series EN 61158-1
20、2014 IEC 61158-3-2 2014 Industrial communication networks - Fieldbus specifications - Part 3-2: Data-link layer service definition - Type 2 elements EN 61158-3-2 2014 IEC 61158-4-2 2014 Industrial communication networks - Fieldbus specifications - Part 4-2: Data-link layer protocol specification - T
21、ype 2 elements EN 61158-4-2 1)IEC 61158-5-2 2014 Industrial communication networks - Fieldbus specifications - Part 5-2: Application layer service definition - Type 2 elements EN 61158-5-2 2014 IEC 61588 2009 Precision clock synchronization protocol for networked measurement and control systems - -
22、IEC 61784-3-2 - Industrial communication networks - Profiles - Part 3-2: Functional safety fieldbuses - Additional specifications for CPF 2 EN 61784-3-2 - IEC 61800-7-202 - Adjustable speed electrical power drive systems - Part 7-202: Generic interface and use of profiles for power drive systems - P
23、rofile type 2 specification EN 61800-7-202 - 1) To be published. BS EN 61158-6-2:2014EN 61158-6-2:2014 - 4 - Publication Year Title EN/HD Year IEC 62026-3 2008 Low-voltage switchgear and controlgear - Controller-device interfaces (CDIs) - Part 3: DeviceNet EN 62026-3 2009 ISO/IEC 7498-1 - Informatio
24、n 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 c
25、ollision detection (CSMA/CD) access method and physical layer specifications - - ISO/IEC 8824-1 - Information technology - Abstract Syntax Notation One (ASN.1): Specification of basic notation - - ISO/IEC 8825-1 - Information technology - ASN.1 encoding rules: Specification of Basic Encoding Rules (
26、BER), Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DER) - - ISO/IEC 9545 - Information technology - Open Systems Interconnection - Application layer structure - - ISO/IEC 10646 - Information technology - Universal Coded Character Set (UCS) - - ISO/IEC 10731 - Information technolo
27、gy - Open Systems Interconnection - Basic Reference Model - Conventions for the definition of OSI services - - ISO 639-2 - Codes for the representation of names of languages - Part-2: Alpha-3 code - - ISO 11898 1993 Road vehicles - Interchange of digital information - Controller area network (CAN) f
28、or high-speed communication - - IEEE 802.1D 2004 IEEE Standard for local and metropolitan area networks - Media Access Control (MAC) Bridges - - IEEE 802.1Q 2005 IEEE Standard for Local and Metropolitan Area Networks - Virtual Bridged Local Area Networks - - IEEE 802.3 2008 IEEE Standard for Informa
29、tion 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 - - BS EN 61158-6-2:2014- 5 - EN 611
30、58-6-2:2014 Publication Year Title EN/HD Year IETF RFC 791 - Internet Protocol - - IETF RFC 1035 - Domain Names - Implementation and Specification - - IETF RFC 1112 - Host Extensions for IP Multicasting - - IETF RFC 1117 - Internet numbers - - IETF RFC 1122 - Requirements for Internet Hosts - Commun
31、ication Layers - - IETF RFC 1759 - Printer MIB - - IETF RFC 2236 - Internet Group Management Protocol, Version 2 - - IETF RFC 2474 - Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers - - IETF RFC 2475 - An Architecture for Differentiated Services - - IETF RFC 25
32、97 - Assured Forwarding PHB Group - - IETF RFC 2873 - TCP Processing of the IPv4 Precedence Field - - IETF RFC 3140 - Per Hop Behavior Identification Codes - - IETF RFC 3246 - An Expedited Forwarding PHB (Per-Hop Behavior) - - IETF RFC 3376 - Internet Group Management Protocol, Version 3 - - IETF RF
33、C 4594 - Configuration Guidelines for DiffServ Service Classes - - BS EN 61158-6-2:2014 2 IEC 61158-6-2:2014 IEC 2014 CONTENTS INTRODUCTION . 14 1 Scope . 15 1.1 General . 15 1.2 Specifications 15 1.3 Conformance . 16 2 Normative references . 16 3 Terms, definitions, symbols, abbreviations and conve
34、ntions . 18 3.1 Terms and definitions from other ISO/IEC standards . 18 3.2 Terms and definitions from IEC 61158-5-2. 19 3.3 Additional terms and definitions . 19 3.4 Abbreviations and symbols 26 3.5 Conventions 27 4 Abstract syntax . 32 4.1 FAL PDU abstract syntax 32 4.2 Data abstract syntax specif
35、ication . 149 4.3 Encapsulation abstract syntax . 154 5 Transfer syntax 171 5.1 Compact encoding . 171 5.2 Data type reporting 179 6 Structure of FAL protocol state machines . 186 7 AP-Context state machine 187 7.1 Overview . 187 7.2 Connection object state machine . 187 8 FAL service protocol machi
36、ne (FSPM) 195 8.1 General . 195 8.2 Primitive definitions . 195 8.3 Parameters of primitives 199 8.4 FSPM state machines 200 9 Application relationship protocol machines (ARPMs) 200 9.1 General . 200 9.2 Connection-less ARPM (UCMM) 201 9.3 Connection-oriented ARPMs (transports) . 210 10 DLL mapping
37、protocol machine 1 (DMPM 1) . 238 10.1 General . 238 10.2 Link producer 238 10.3 Link consumer . 239 10.4 Primitive definitions . 239 10.5 DMPM state machine 241 10.6 Data-link Layer service selection . 243 11 DLL mapping protocol machine 2 (DMPM 2) . 243 11.1 General . 243 11.2 Mapping of UCMM PDUs
38、 . 243 11.3 Mapping of transport class 0 and class 1 PDUs . 251 11.4 Mapping of transport class 2 and class 3 PDUs 252 BS EN 61158-6-2:2014IEC 61158-6-2:2014 IEC 2014 3 11.5 Mapping of transport classes 4 to 6 . 253 11.6 IGMP Usage 253 11.7 Quality of Service (QoS) for CP 2/2 messages 254 11.8 Manag
39、ement of an encapsulation session . 258 12 DLL mapping protocol machine 3 (DMPM 3) . 258 Bibliography 259 Figure 1 Attribute table format and terms . 27 Figure 2 Service request/response parameter 28 Figure 3 Example of an STD 31 Figure 4 Network connection parameters . 54 Figure 5 Time tick 57 Figu
40、re 6 Connection establishment time-out 59 Figure 7 Member ID/EX description (WORD) . 71 Figure 8 Transport Class Trigger attribute 103 Figure 9 CP2/3_initial_comm_characteristics attribute format 107 Figure 10 Segment type . 116 Figure 11 Port segment 117 Figure 12 Logical segment encoding 119 Figur
41、e 13 Extended network segment 124 Figure 14 Symbolic segment encoding . 125 Figure 15 Encapsulation message . 154 Figure 16 FixedLengthBitString compact encoding bit placement rules 176 Figure 17 Example compact encoding of a SWORD FixedLengthBitString 176 Figure 18 Example compact encoding of a WOR
42、D FixedLengthBitString 176 Figure 19 Example compact encoding of a DWORD FixedLengthBitString . 176 Figure 20 Example compact encoding of a LWORD FixedLengthBitString 176 Figure 21 Example 1 of formal encoding of a structure type specification . 181 Figure 22 Example 2 of formal encoding of a struct
43、ure type specification . 182 Figure 23 Example 3 of formal encoding of a handle structure type specification . 182 Figure 24 Example 4 of formal encoding of a handle structure type specification . 183 Figure 25 Example 5 of abbreviated encoding of a structure type specification 183 Figure 26 Example
44、 1 of formal encoding of an array type specification 184 Figure 27 Example 2 of formal encoding of an array type specification 185 Figure 28 Example 1 of abbreviated encoding of an array type specification 186 Figure 29 Example 2 of abbreviated encoding of an array type specification 186 Figure 30 I
45、/O Connection object state transition diagram . 187 Figure 31 Bridged Connection object state transition diagram 191 Figure 32 Explicit Messaging Connection object state transition diagram . 192 Figure 33 State transition diagram of UCMM client9 . 203 Figure 34 State transition diagram of highend UC
46、MM server 205 Figure 35 State transition diagram of lowend UCMM server . 207 Figure 36 Sequence diagram for a UCMM with one outstanding message 208 Figure 37 Sequence diagram for a UCMM with multiple outstanding messages 209 BS EN 61158-6-2:2014 4 IEC 61158-6-2:2014 IEC 2014 Figure 38 TPDU buffer .
47、210 Figure 39 Data flow diagram using a client transport class 0 and server transport class 0 213 Figure 40 Sequence diagram of data transfer using transport class 0. 213 Figure 41 Class 0 client STD . 214 Figure 42 Class 0 server STD 215 Figure 43 Data flow diagram using client transport class 1 an
48、d server transport class 1 216 Figure 44 Sequence diagram of data transfer using client transport class 1 and server transport class 1 217 Figure 45 Class 1 client STD . 219 Figure 46 Class 1 server STD 220 Figure 47 Data flow diagram using client transport class 2 and server transport class 2 222 F
49、igure 48 Diagram of data transfer using client transport class 2 and server transport class 2 without returned data 223 Figure 49 Sequence diagram of data transfer using client transport class 2 and server transport class 2 with returned data . 224 Figure 50 Class 2 client STD . 225 Figure 51 Class 2 server STD 227 Figure 52 Data flow diagram using client transport class 3 and server tr
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1