1、BSI Standards PublicationIndustrial communication networks Fieldbus specificationsPart 4-22: Data-link layer protocol specification Type 22 elementsBS EN 61158-4-22:2014National forewordThis British Standard is the UK implementation of EN 61158-4-22:2014. It isidentical to IEC 61158-4-22:2014. It su
2、persedes BS EN 61158-4-22:2012which is withdrawn.The UK participation in its preparation was entrusted to TechnicalCommittee AMT/7, Industrial communications: process measurement and control, including fieldbus.A list of organizations represented on this committee can be obtained onrequest to its se
3、cretary.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 79449 0ICS 25.040.40; 35.100.20; 35.110Compliance with a Bri
4、tish 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/corrigenda issued since publicationDate Text affectedBRITISH STANDARDBS EN 61158-4-22:2014EUROPEAN STANDARDN
5、ORME EUROPENNEEUROPISCHE NORMEN 61158-4-22 October 2014 ICS 25.040.40; 35.100.20; 35.110 Supersedes EN 61158-4-22:2012 English Version Industrial communication networks - Fieldbus specifications - Part 4-22: Data-link layer protocol specification - Type 22elements (IEC 61158-4-22:2014) Rseaux de com
6、munication industriels - Spcifications des bus de terrain - Partie 4-22: Spcification du protocole de la couche liaison de donnes - lments de type 22 (CEI 61158-4-22:2014) Industrielle Kommunikationsnetze - Feldbusse - Teil 4-22:Protokollspezifikation des Data Link Layer(Sicherungsschicht) - Typ 22-
7、Elemente (IEC 61158-4-22:2014) This European Standard was approved by CENELEC on 2014-09-19. 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-
8、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 trans
9、lation 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, De
10、nmark, 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
11、 Committee for Electrotechnical Standardization Comit Europen de Normalisation ElectrotechniqueEuropisches 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-4-22:2014 E EN 61158-4-22:2014 - 2 - Foreword The text of document 65C/762/FDIS, future edition 2 of IEC 61158-4-22, prepared by SC 65C “Industrial networks“, of IEC/TC 65 “Industrial process measurement, control and automation“ was submitted to the IEC-CENELEC pa
13、rallel vote and approved by CENELEC as EN 61158-4-22: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-19 latest date by which the national standards conflict
14、ing with the document have to be withdrawn (dow) 2017-09-19 This document supersedes EN 61158-4-22: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 s
15、uch 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-4-22:2014 was approved by CENELEC as a European Standard without any modificatio
16、n. In the official version, for bibliography, the following notes have to be added for the standards indicated: IEC 61158-1 NOTE Harmonised as EN 61158-1 IEC 61784-1 NOTE Harmonised as EN 61784-1 IEC 61784-2 NOTE Harmonised as EN 61784-2 BS EN 61158-4-22:2014- 3 - EN 61158-4-22:2014 Annex ZA (normat
17、ive) 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 undate
18、d 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 Sta
19、ndards listed in this annex is available here: www.cenelec.eu. Publication Year Title EN/HD Year IEC 61158-3-22 2014 Industrial communication networks - Fieldbus specifications Part 3-22: Data-link layer service definition - Type 22 elements EN 61158-3-22 2014 IEC 61588 - Precision clock synchroniza
20、tion protocol for networked measurement and control systems - - ISO/IEC 7498-1 - Information technology - Open Systems Interconnection - Basic reference model: The basic model - - ISO/IEC 7498-3 - Information technology - Open Systems Interconnection - Basic reference model: Naming and addressing -
21、- ISO/IEC 8802-3 2000 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 - - ISO/I
22、EC 10731 - Information technology - Open Systems Interconnection - Basic Reference Model - Conventions for the definition of OSI services - - IEEE 802.1D - IEEE Standard for local and metropolitan area networks - Media Access Control (MAC) Bridges - - IEEE 802.1Q - IEEE Standard for Local and metrop
23、olitan area networks - Media Access Control (MAC) Bridges and Virtual Bridges - - IETF RFC 768 - User Datagram Protocol - - IETF RFC 791 - Internet Protocol - DARPA Internet Program Protocol Specification - - BS EN 61158-4-22:2014 2 IEC 61158-4-22:2014 IEC 2014 CONTENTS INTRODUCTION . 7 1 Scope . 9
24、1.1 General . 9 1.2 Specifications 9 1.3 Procedures 9 1.4 Applicability . 9 1.5 Conformance . 10 2 Normative references . 10 3 Terms, definitions, symbols, abbreviations and conventions . 10 3.1 Reference model terms and definitions 11 3.2 Service convention terms and definitions . 12 3.3 Common ter
25、ms and definitions 13 3.4 Additional Type 22 definitions 14 3.5 Common symbols and abbreviations . 17 3.6 Additional Type 22 symbols and abbreviations 18 3.7 Conventions 20 4 Overview of the DL-protocol . 21 4.1 Operating principle 21 4.2 Communication model . 21 4.3 Topology . 22 4.4 DLPDU processi
26、ng 22 4.5 General communication mechanisms 23 4.6 Gateway 24 4.7 Interaction models . 24 5 DLPDU structure 24 5.1 Overview . 24 5.2 Data types and encoding rules 25 5.3 DLPDU identification . 26 5.4 General DLPDU structure 27 5.5 Communication management DLPDUs 29 5.6 Cyclic data channel (CDC) DLPDU
27、s 37 5.7 Cyclic data channel (CDC) DLPDU data 38 5.8 Message channel (MSC) DLPDUs . 38 5.9 Message channel DLPDU data - MSC message transfer protocol (MSC-MTP) . 40 5.10 Time synchronization 43 6 Telegram timing and DLPDU handling 45 6.1 Communication mechanism . 45 6.2 Device synchronization 47 7 T
28、ype 22 protocol machines . 47 7.1 RTFL device protocol machines. 47 7.2 RTFN device protocol machines 59 7.3 Message channel Message transfer protocol (MSC-MTP) . 61 Bibliography 65 BS EN 61158-4-22:2014IEC 61158-4-22:2014 IEC 2014 3 Figure 1 DLPDU sequence . 46 Figure 2 Communication relationship R
29、TFN device 46 Figure 3 Overview RTFL device protocol machines 48 Figure 4 Protocol machine send DLPDU procedure 49 Figure 5 Protocol machine receive DLPDU procedure 49 Figure 6 CDCL send cyclic data sequence . 50 Figure 7 CDCL receive cyclic data sequence . 51 Figure 8 MSCL send sequence 52 Figure 9
30、 MSCL receive sequence 53 Figure 10 Network management protocol machine . 54 Figure 11 Net management sequence at system boot up . 55 Figure 12 Initialization sequence ordinary device . 56 Figure 13 PCS configuration sequence 57 Figure 14 Delay measurement principle . 58 Figure 15 Overview RTFN devi
31、ce protocol machines . 59 Figure 16 CDCN connection setup and release 60 Figure 17 CDCN unpulish data . 61 Figure 18 Segmentation sequence . 62 Figure 19 Expedited transfer sequence 62 Figure 20 Toggling from expedited transfer to segmented transfer . 63 Figure 21 Segmentation sequence for broad- or
32、 multicast message without Acknowledgement . 64 Table 1 DLPDU element definition . 20 Table 2 Conventions for protocol machine description . 21 Table 3 Transfer syntax for bit sequences 25 Table 4 Transfer syntax for data type Unsignedn . 26 Table 5 Transfer syntax for data type Signedn . 26 Table 6
33、 Type 22 DLPDU inside an ISO/IEC 8802-3 27 Table 7 Type 22 DLPDU inside a VLAN tagged ISO/IEC 8802-3 DLPDU 27 Table 8 Type 22 DLPDU inside an UDP DLPDU. 28 Table 9 General structure of a Type 22 DLPDU . 28 Table 10 DLPDU header structure . 29 Table 11 Network verification prepare DLPDU . 29 Table 12
34、 Network verification environment DLPDU 29 Table 13 Network verification information DLPDU 29 Table 14 Network verification acknowledgement DLPDU 30 Table 15 RTFN scan network request DLPDU 30 Table 16 RTFN scan network response DLPDU . 30 Table 17 Identification data 30 Table 18 Identification data
35、 v2 . 31 Table 19 PhyLinkPortX 32 Table 20 RTF support 33 BS EN 61158-4-22:2014 4 IEC 61158-4-22:2014 IEC 2014 Table 21 RTF2 support 33 Table 22 UseDHCP 34 Table 23 DeviceRole 34 Table 24 RTFN connection management DLPDU . 35 Table 25 CDCN connection still alive DLPDU . 35 Table 26 ID data 35 Table
36、27 RTFL control DLPDU . 35 Table 28 RTFL configuration DLPDU . 36 Table 29 RTFL configuration acknowledgement DLPDU 36 Table 30 RTFL configuration 2 DLPDU 37 Table 31 RTFL configuration acknowledgement 2 DLPDU 37 Table 32 CDCL DLPDU 37 Table 33 CDCN DLPDU . 38 Table 34 CDC DLPDU data arrangement . 3
37、8 Table 35 CDC DLPDU data 38 Table 36 MSCL DLPDU . 39 Table 37 MSCL control 39 Table 38 MSCN DLPDU . 40 Table 39 MSC-MTP frame structure . 40 Table 40 Address type . 41 Table 41 MSC-MTP Init structure . 41 Table 42 MSC-MTP Init_Fast structure 42 Table 43 MSC-MTP Send structure 42 Table 44 MSC-MTP Ac
38、knowledgement structure 42 Table 45 MSC-MTP Abort structure 43 Table 46 Data structure of a message 43 Table 47 DelayMeasurement start encoding . 43 Table 48 DelayMeasurement read encoding. 44 Table 49 PCS configuration encoding 44 Table 50 Time synchronization service request 44 Table 51 Time synch
39、ronization service response . 44 BS EN 61158-4-22:2014IEC 61158-4-22:2014 IEC 2014 7 INTRODUCTION This part of IEC 61158 is one of a series produced to facilitate the interconnection of automation system components. It is related to other standards in the set as defined by the “three-layer” fieldbus
40、 reference model described in IEC 61158-1. The data-link protocol provides the data-link service by making use of the services available from the physical layer. The primary aim of this standard is to provide a set of rules for communication expressed in terms of the procedures to be carried out by
41、peer data-link entities (DLEs) at the time of communication. These rules for communication are intended to provide a sound basis for development in order to serve a variety of purposes: a) as a guide for implementers and designers; b) for use in the testing and procurement of equipment; c) as part o
42、f an agreement for the admittance of systems into the open systems environment; d) as a refinement to the understanding of time-critical communications within OSI. This standard is concerned, in particular, with the communication and interworking of sensors, effectors and other automation devices. B
43、y using this standard together with other standards positioned within the OSI or fieldbus reference models, otherwise incompatible systems may work together in any combination. NOTE Use of some of the associated protocol types is restricted by their intellectual-property-right holders. In all cases,
44、 the commitment to limited release of intellectual-property-rights made by the holders of those rights permits a particular data-link layer protocol type to be used with physical layer and application layer protocols in Type combinations as specified explicitly in the profile parts. Use of the vario
45、us protocol types in other combinations may require permission from their respective intellectual-property-right holders. The International Electrotechnical Commission (IEC) draws attention to the fact that it is claimed that compliance with this document may involve the use of patents concerning Ty
46、pe 22 elements and possibly other types: WO-2006/069691 A1 PI Control system with a plurality of spatially distributed stations and method for transmitting data in said control system DE-10 2004 063 213 B4 PI Steuerungssystem mit einer Vielzahl von rumlich verteilten Stationen sowie Verfahren zum be
47、rtragen von Daten in einem solchen Steuerungssystem EP-1 828 858 A1 PI Control system with a plurality of spatially distributed stations and method for transmitting data in said control system JP-4 848 469 B2 PI Control system with a plurality of spatially distributed stations and method for transmi
48、tting data in said control system CN-101 111 807 PI Control system with a plurality of spatially distributed stations and method for transmitting data in said control system US-8 144 718 B2 PI Control system having a plurality of spatially distributed stations, and method for transmitting data in su
49、ch a control system IEC takes no position concerning the evidence, validity and scope of these patent rights. BS EN 61158-4-22:2014 8 IEC 61158-4-22:2014 IEC 2014 The holders of these patent rights have assured IEC that they are willing to negotiate licenses either free of charge or under reasonable and non-discriminatory terms and conditions with applican