1、BSI Standards PublicationIndustrial communication networks Fieldbus specifications Part 4-2: Data-link layer protocol specification Type 2 elementsBS EN 61158-4-2:2014National forewordThis British Standard is the UK implementation of EN 61158-4-2:2014. It is identical to IEC 61158-4-2:2014. It super
2、sedes BS EN 61158-4-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 secret
3、ary.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 79440 7ICS 25.040.40; 35.100.20; 35.110Compliance with a British
4、 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-2:2014EUROPEAN STANDARDNORME
5、EUROPENNEEUROPISCHE NORMEN 61158-4-2 October 2014 ICS 25.040.40; 35.100.20; 35.110 Supersedes EN 61158-4-2:2012 English Version Industrial communication networks - Fieldbus specifications -Part 4-2: Data-link layer protocol specification - Type 2 elements (IEC 61158-4-2:2014) Rseaux de communication
6、 industriels - Spcifications des bus de terrain - Partie 4-2: Spcification du protocole de la couche liaison de donnes - Elments de type 2 (CEI 61158-4-2:2014) Industrielle Kommunikationsnetze - Feldbusse - Teil 4-2:Protokollspezifikation des Data Link Layer(Sicherungsschicht) - Typ 2-Elemente (IEC
7、61158-4-2: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-date lists and
8、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 th
9、e 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,
10、 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 E
11、lectrotechnical 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 CENELEC Members
12、. Ref. No. EN 61158-4-2:2014 E EN 61158-4-2 :2014 - 2 - Foreword The text of document 65C/762/FDIS, future edition 3 of IEC 61158-4-2, 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 app
13、roved by CENELEC as EN 61158-4-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-19 latest date by which the national standards conflicting with the documen
14、t have to be withdrawn (dow) 2017-09-19 This document supersedes EN 61158-4-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 patent rights. Th
15、is 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-2:2014 was approved by CENELEC as a European Standard without any modification. In the official ver
16、sion, for bibliography, the following notes have to be added for the standards indicated: IEC 61158-1:2014 NOTE Harmonised as EN 61158-1:2014 IEC 61158-2:2014 NOTE Harmonised as EN 61158-2:2014 IEC 61784-1:2014 NOTE Harmonised as EN 61784-1:2014 IEC 61784-2:2014 NOTE Harmonised as EN 61784-2:2014 BS
17、 EN 61158-4-2:2014- 3 - EN 61158-4-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 d
18、ated 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-
19、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 61131-3 - Programmable controllers - Part 3: Programming languages EN 61131-3 - IEC 61158-3-2 2014 Industrial communication networks - Field
20、bus specifications - Part 3-2: Data-link layer service definition - Type 2 elements EN 61158-3-2 2014 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 61158-6-2 2014 Industrial comm
21、unication networks - Fieldbus specifications - Part 6-2: Application layer protocol specification - Type 2 elements EN 61158-6-2 2014 IEC 61588 2009 Precision clock synchronization protocol for networked measurement and control systems - - IEC 61784-3-2 - Industrial communication networks - Profiles
22、 Part 3-2: Functional safety fieldbuses - Additional specifications for CPF 2 EN 61784-3-2 - IEC 62026-3 2008 Low-voltage switchgear and controlgear - Controller-device interfaces (CDIs) Part 3: DeviceNet EN 62026-3 2009 ISO 11898 19931Road vehicles - Interchange of digital information - Controller
23、area network (CAN) for high-speed communication - - ISO/IEC 3309 - Information technology - Telecommunications and information exchange between systems - High-level data link control (HDLC) procedures - Frame structure - - ISO/IEC 7498-1 - Information technology - Open Systems Interconnection - Basi
24、c reference model: The basic model - - 1Superseded by ISO 11898-1:2003 and ISO 11898-8:2003 BS EN 61158-4-2:2014EN 61158-4-2 :2014 - 4 - Publication Year Title EN/HD Year ISO/IEC 7498-3 - Information technology - Open Systems Interconnection - Basic reference model: Naming and addressing - - ISO/IEC
25、 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 - - IEEE 802.1D 2004
26、IEEE Standard for local and metropolitan area networks - Media Access Control (MAC) Bridges - - IEEE 802.1Q 20052)IEEE Standard for Local and Metropolitan Area Networks - Virtual Bridged Local Area Networks - - IEEE 802.3 2008 IEEE Standard for Information technology - Telecommunications and informa
27、tion 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 - - 2) Superseded by IEEE 802.1Q:2011 BS EN 61158-4-2:2014 2 IEC 61158-4-2:2014 IEC 20
28、14 CONTENTS INTRODUCTION . 13 1 Scope . 15 1.1 General . 15 1.2 Specifications 15 1.3 Procedures 15 1.4 Applicability . 16 1.5 Conformance . 16 2 Normative references . 16 3 Terms, definitions, symbols, abbreviations and conventions 17 3.1 Reference model terms and definitions 17 3.2 Service convent
29、ion terms and definitions . 19 3.3 Common terms and definitions 20 3.4 Additional Type 2 definitions 22 3.5 Type 2 symbols and abbreviations . 30 3.6 Conventions for station management objects 31 4 Overview of the data-link protocol. 31 4.1 General . 31 4.2 Services provided by the DL 34 4.3 Structu
30、re and definition of DL-addresses . 35 4.4 Services assumed from the PhL 37 4.5 Functional classes . 39 5 General structure and encoding of PhIDUs and DLPDUs and related elements of procedure . 40 5.1 Overview . 40 5.2 Media access procedure 40 5.3 DLPDU structure and encoding . 44 5.4 Lpacket compo
31、nents . 48 5.5 DLPDU procedures . 50 5.6 Summary of DLL support services and objects 51 6 Specific DLPDU structure, encoding and procedures 53 6.1 Modeling language 53 6.2 DLS user services . 55 6.3 Generic tag Lpacket 61 6.4 Moderator Lpacket 62 6.5 Time distribution Lpacket 63 6.6 UCMM Lpacket 66
32、6.7 Keeper UCMM Lpacket 66 6.8 TUI Lpacket . 67 6.9 Link parameters Lpacket and tMinus Lpacket 68 6.10 Im-alive Lpacket . 70 6.11 Ping Lpackets 71 6.12 WAMI Lpacket . 73 6.13 Debug Lpacket 73 6.14 IP Lpacket . 74 6.15 Ethernet Lpacket . 74 BS EN 61158-4-2:2014IEC 61158-4-2:2014 IEC 2014 3 7 Objects
33、for station management . 74 7.1 General . 74 7.2 ControlNet object 76 7.3 Keeper object 86 7.4 Scheduling object 108 7.5 TCP/IP Interface object . 119 7.6 Ethernet link object 139 7.7 DeviceNet object . 149 7.8 Connection configuration object (CCO) 157 7.9 DLR object 180 7.10 QoS object 195 7.11 Por
34、t object . 198 8 Other DLE elements of procedure. 201 8.1 Network attachment monitor (NAM) . 201 8.2 Calculating link parameters . 209 9 Detailed specification of DL components 218 9.1 General . 218 9.2 Access control machine (ACM) 218 9.3 TxLLC . 238 9.4 RxLLC . 243 9.5 Transmit machine (TxM) 247 9
35、.6 Receive machine (RxM) 251 9.7 Serializer . 257 9.8 Deserializer . 260 9.9 DLL management 260 10 Device Level Ring (DLR) protocol . 262 10.1 General . 262 10.2 Supported topologies 263 10.3 Overview of DLR operation 264 10.4 Classes of DLR implementation . 267 10.5 DLR behavior 268 10.6 Implementa
36、tion requirements 273 10.7 Using non-DLR nodes in the ring network 275 10.8 Redundant gateway devices on DLR network 278 10.9 DLR messages 283 10.10 State diagrams and state-event-action matrices 289 10.11 Performance analysis 316 Annex A (normative) Indicators and switches . 322 A.1 Purpose 322 A.2
37、 Indicators . 322 A.2.1 General indicator requirements . 322 A.2.2 Common indicator requirements . 322 A.2.3 Fieldbus specific indicator requirements (1) 324 A.2.4 Fieldbus specific indicator requirements (2) 328 A.2.5 Fieldbus specific indicator requirements (3) 331 A.3 Switches . 335 A.3.1 Common
38、switch requirements . 335 A.3.2 Fieldbus specific switch requirements (1) . 336 BS EN 61158-4-2:2014 4 IEC 61158-4-2:2014 IEC 2014 A.3.3 Fieldbus specific switch requirements (2) . 336 A.3.4 Fieldbus specific switch requirements (3) . 337 Bibliography 338 Figure 1 Relationships of DLSAPs, DLSAP-addr
39、esses and group DL-addresses 21 Figure 2 Data-link layer internal architecture 33 Figure 3 Basic structure of a MAC ID address 35 Figure 4 Basic structure of a generic tag address 35 Figure 5 Basic structure of a fixed tag address 36 Figure 6 M_symbols and Manchester encoding at 5 MHz . 38 Figure 7
40、NUT structure 41 Figure 8 Media access during scheduled time 42 Figure 9 Media access during unscheduled time 43 Figure 10 DLPDU format 44 Figure 11 Aborting a DLPDU during transmission 48 Figure 12 Lpacket format . 48 Figure 13 Generic tag Lpacket format 49 Figure 14 Fixed tag Lpacket format 50 Fig
41、ure 15 Goodness parameter of TimeDist_Lpacket . 64 Figure 16 Example Im alive processing algorithm 71 Figure 17 Keeper CRC algorithm . 92 Figure 18 Keeper object power-up state diagram . 103 Figure 19 Keeper object operating state diagram . 105 Figure 20 Synchronized network change processing 108 Fi
42、gure 21 State transition diagram for TCP/IP Interface object . 132 Figure 22 State transition diagram for TCP/IP Interface object (continued) 133 Figure 23 ACD Behavior 135 Figure 24 State transition diagram for Ethernet Link object 149 Figure 25 Connection configuration object edit flowchart 180 Fi
43、gure 26 NAM state machine 202 Figure 27 DLR rings connected to switches 264 Figure 28 Normal operation of a DLR network 265 Figure 29 Beacon and Announce frames 265 Figure 30 Link failure . 266 Figure 31 Network reconfiguration after link failure 267 Figure 32 Neighbor Check process 273 Figure 33 Un
44、supported topology example 1 277 Figure 34 Unsupported topology example 2 277 Figure 35 DLR ring connected to switches through redundant gateways 279 Figure 36 DLR redundant gateway capable device . 280 Figure 37 Advertise frame 282 Figure 38 State transition diagram for Beacon frame based non-super
45、visor ring node 290 Figure 39 State transition diagram for Announce frame based non-supervisor ring node . 295 BS EN 61158-4-2:2014IEC 61158-4-2:2014 IEC 2014 5 Figure 40 State transition diagram for ring supervisor 299 Figure 41 State transition diagram for redundant gateway 312 Figure A.1 Non redu
46、ndant network status indicator labeling . 328 Figure A.2 Redundant network status indicator labeling . 328 Figure A.3 Network status indicator state diagram . 331 Table 1 Format of attribute tables 31 Table 2 Data-link layer components . 32 Table 3 MAC ID addresses allocation 35 Table 4 Fixed tag se
47、rvice definitions 36 Table 5 Data encoding rules 37 Table 6 M Data symbols 39 Table 7 Truth table for ph_status_indication . 39 Table 8 FCS length, polynomials and constants . 45 Table 9 DLL support services and objects 52 Table 10 Elementary data types . 55 Table 11 DLL events 59 Table 12 Time dist
48、ribution priority 65 Table 13 Format of the TUI Lpacket . 67 Table 14 ControlNet object class attributes 76 Table 15 ControlNet object instance attributes . 76 Table 16 TUI status flag bits 80 Table 17 Mac_ver bits 81 Table 18 Channel state bits . 82 Table 19 ControlNet object common services. 83 Ta
49、ble 20 ControlNet object class specific services . 84 Table 21 Keeper object revision history . 86 Table 22 Keeper object class attributes . 87 Table 23 Keeper object instance attributes 87 Table 24 Keeper operating state definitions . 90 Table 25 Port status flag bit definitions 90 Table 26 TUI status flag bits 91 Table 27 Keeper attributes . 94 Table 28 Memory requiremen
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1