1、BSI Standards PublicationIndustrial communication networks High availability automation networksPart 7: Ring-based Redundancy Protocol (RRP)BS EN 62439-7:2012Incorporating corrigendum May 2015National forewordThis British Standard is the UK implementation of EN 62439-7:2012. It isidentical to IEC 62
2、439-7:2011, incorporating corrigendum May 2015.The UK participation in its preparation was entrusted to Technical CommitteeAMT/7, Industrial communications: process measurement and control, including fieldbus.A list of organizations represented on this committee can be obtained onrequest to its secr
3、etary.This publication does not purport to include all the necessary provisions of acontract. Users are responsible for its correct application. The British Standards Institution 2015Published by BSI Standards Limited 2015ISBN 978 0 580 90610 7ICS 25.040; 35.040Compliance with a British Standard can
4、not confer immunity fromlegal obligations.This British Standard was published under the authority of the StandardsPolicy and Strategy Committee on 30 April 2012.Amendments/corrigenda issued since publicationDate Text affectedBRITISH STANDARDBS EN 62439-7:201231 July 2015 Implementation of IEC corrig
5、endum May 2015: Clause 10 updatedEUROPEAN STANDARD EN 62439-7 NORME EUROPENNE EUROPISCHE NORM April 2012 CENELEC European Committee for Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elektrotechnische Normung Management Centre: Avenue Marnix 1
6、7, B - 1000 Brussels 2012 CENELEC - All rights of exploitation in any form and by any means reserved worldwide for CENELEC members. Ref. No. EN 62439-7:2012 E ICS 25.040; 35.040 English version Industrial communication networks - High availability automation networks - Part 7: Ring-based Redundancy
7、Protocol (RRP) (IEC 62439-7:2011) Rseaux de communication industriels - Rseau de haute disponibilit pour lautomation - Partie 7: Protocole de redondance pour rseau en anneau (RRP) (CEI 62439-7:2011) Industrielle Kommunikationsnetze - Hochverfgbare Automatisierungsnetze - Teil 7: Protokoll fr ringbas
8、ierte Redundanz (RRP) (IEC 62439-7:2011) This European Standard was approved by CENELEC on 2012-01-20. 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 alterati
9、on. Up-to-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 mad
10、e by translation 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 R
11、epublic, Denmark, Estonia, Finland, 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. BS EN 62439-7:2012EN 62439-7:2012 -
12、2 - Foreword The text of document 65C/668/FDIS, future edition 1 of IEC 62439-7, 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 approved by CENELEC as EN 62439-7:2012. The following
13、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) 2012-10-20 latest date by which the national standards conflicting with the document have to be withdrawn (dow) 2015-01-20 Attention is
14、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. Endorsement notice The text of the International Standard IEC 62439-7:2011 was approved by CENELEC
15、as a European Standard without any modification. In the official version, for Bibliography, the following note has to be added for the standard indicated: IEC 61158 series NOTE Harmonized in EN 61158 series. BS EN 62439-7:2012- 3 - EN 62439-7:2012 Annex ZA (normative) Normative references to interna
16、tional 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 undated references, the latest edition of
17、the referenced document (including any amendments) applies. NOTE When an international publication has been modified by common modifications, indicated by (mod), the relevant EN/HD applies. Publication Year Title EN/HD Year IEC 60050-191 - International Electrotechnical Vocabulary (IEV) - Chapter 19
18、1: Dependability and quality of service - - IEC 62439-1 2010 Industrial communication networks - High availability automation networks - Part 1: General concepts and calculation methods EN 62439-1 2010 ISO/IEC 8802-3 2000 Information technology - Telecommunications and information exchange between s
19、ystems - 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 62439-7:2012 4 62439-7 IEC:2011 CONTENTS INTRODUCTION . 8 1 Scope . 9 2 Normative references . 9
20、3 Terms, definitions, abbreviations, acronyms, and conventions 9 3.1 Terms and definitions 9 3.2 Abbreviations and acronyms 10 3.3 Conventions 10 4 RRP overview . 11 4.1 General . 11 4.2 Frame forwarding and receiving control . 11 4.2.1 General . 11 4.2.2 Normal Device (ND) and Gateway Device (GWD)
21、11 4.2.3 Behaviours of the General Device (GD) . 12 4.2.4 Behaviours of the Line Network Manager (LNM) 13 4.2.5 Behaviours of the Ring Network Managers (RNMs) . 13 4.3 Link status monitoring . 14 4.4 Error detection 14 4.5 Plug and play 14 4.6 Network management information base (NMIB) management 14
22、 4.7 Network recovery 15 4.8 Automatic network configuration 15 4.9 RRP basic operating principle . 15 5 RRP redundancy behaviours 17 5.1 Network topology. 17 5.2 Network recovery in ring network . 18 5.2.1 General . 18 5.2.2 Link fault between neighbouring devices . 20 5.2.3 Link fault of remote de
23、vice . 21 5.2.4 Device fault on a RNM . 22 5.3 Automatic Ring Network Manager (RNM) election procedure . 23 5.3.1 General . 23 5.3.2 Primary RNM (RNMP) 23 5.3.3 Secondary RNM (RNMS) . 24 5.4 Path management . 24 5.4.1 General . 24 5.4.2 Path in a line topology network 24 5.4.3 Path in a ring topolog
24、y network 25 5.5 Device address collision 26 6 RRP class specification 27 6.1 General . 27 6.2 Template . 27 6.3 Attributes. 29 7 RRP services specification . 34 7.1 Set device information . 34 7.2 Get device information 36 BS EN 62439-7:201262439-7 IEC:2011 5 7.3 Get network information 38 7.4 Get
25、path table information . 40 8 RRP protocol specification 42 8.1 General . 42 8.2 Ethernet header 43 8.2.1 Preamble . 43 8.2.2 Start frame delimiter 43 8.2.3 Destination MAC address 43 8.2.4 Source MAC address . 43 8.2.5 Length/Type 43 8.3 Encoding of RRP_FrameHDR 43 8.3.1 Version and length 43 8.3.2
26、 DST_addr 44 8.3.3 SRC_addr 45 8.3.4 Frame Control (FC) . 45 8.4 Encoding of data and pad 47 8.4.1 General . 47 8.4.2 Encoding of FamilyReq 47 8.4.3 Encoding of FamilyRes 48 8.4.4 Encoding of MediaLinked . 48 8.4.5 Encoding of AdvThis 49 8.4.6 Encoding of LineStart 49 8.4.7 Encoding of RingStart 50
27、8.4.8 Encoding of AckRNMS 51 8.4.9 Encoding of CheckRNMS 52 8.5 Frame Check Sequence (FCS) 52 9 RRP protocol machine 52 9.1 Protocol state machine description 52 9.2 Local parameters and variables for protocol state 54 9.2.1 General . 54 9.2.2 Variables to support local device information management
28、 54 9.2.3 Variables to support network information management 55 9.2.4 Variables to support device path information management 55 9.2.5 Variables of Received RRP Frame . 55 9.2.6 Local variables for protocol state . 56 9.2.7 Constants for protocol state . 56 9.3 State transitions 57 9.4 Function des
29、criptions 70 10 RRP Management Information Base (MIB) . 75 Bibliography 81 Figure 1 Forwarding and receiving Ethernet frames . 11 Figure 2 Structures of ND and GWD 12 Figure 3 LNM forwarding control 13 Figure 4 RNM forwarding control 13 Figure 5 Link status information . 14 Figure 6 A device operati
30、on in initialization phase 15 BS EN 62439-7:2012 6 62439-7 IEC:2011 Figure 7 Devices operation in line network establishing phase . 16 Figure 8 Extension of line network operation 16 Figure 9 Ring network establishment operation 17 Figure 10 Ring to line network change operation 17 Figure 11 Ring to
31、pology . 18 Figure 12 Link fault between neighbouring devices 21 Figure 13 Link fault of remote device . 22 Figure 14 Device fault on a RNM . 22 Figure 15 Path management in a line topology network 24 Figure 16 Path management in a ring topology network . 25 Figure 17 RRP device address collision in
32、 a ring network 26 Figure 18 Common MAC frame format for RRP DLPDU . 43 Figure 19 RRP protocol state machine . 53 Table 1 RRP network recovery parameter 19 Table 2 Parameters for calculation . 19 Table 3 Path table of Device1 in a line topology network 24 Table 4 Path table of Device4 in a line topo
33、logy network 25 Table 5 Path table of Device1 in a ring topology network . 25 Table 6 Path table of Device3 in a ring topology network . 26 Table 7 Device address collision information 27 Table 8 Parameters of set device information service 34 Table 9 Parameters of get device information service 36
34、Table 10 Parameters of get network information service 38 Table 11 Parameters of get path table information service . 40 Table 12 RRP Length/Type field 43 Table 13 Version 44 Table 14 DST_addr 44 Table 15 SRC_addr . 45 Table 16 Network control message type . 45 Table 17 Type of service 45 Table 18 P
35、riority 46 Table 19 Validation of extension code 46 Table 20 Encoding of FamilyReq frame 47 Table 21 Encoding of FamilyRes frame 48 Table 22 Encoding of MediaLinked frame . 48 Table 23 Encoding of AdvThis frame 49 Table 24 Encoding of LineStart frame 49 Table 25 Encoding of RingStart frame 50 Table
36、26 Encoding of AckRNMS frame 51 Table 27 Encoding of CheckRNMS frame 52 Table 28 Variables to support device information management 54 Table 29 Variables to support managing network information . 55 BS EN 62439-7:201262439-7 IEC:2011 7 Table 30 Variables to support device path information management
37、 55 Table 31 Variables of Received RRP Frame 55 Table 32 Local variables for protocol state . 56 Table 33 Constants for protocol state . 56 Table 34 RRP State transitions 57 Table 35 RRP Function descriptions 70 BS EN 62439-7:2012 8 62439-7 IEC:2011 INTRODUCTION The IEC 62439 series specifies releva
38、nt principles for high availability networks that meet the requirements for industrial automation networks. In the fault-free state of the network, the protocols of the IEC 62439 series provide ISO/IEC 8802-3:2000 (IEEE 802.3) with compatible, reliable data communications, and preserve determinism i
39、n real-time data communications. In cases of fault, removal, and insertion of a component, they provide deterministic recovery times. These protocols retain fully the Ethernet communication capabilities typically used in the office world, to ensure that software that relies on these protocols will r
40、emain applicable. The market is in need of several network solutions, each with different performance characteristics and functional capabilities, meeting diverse application requirements. These solutions support different redundancy topologies and mechanisms, which are introduced in IEC 62439-1 and
41、 specified in the companion International Standards. IEC 62439-1 also distinguishes between these different solutions, providing guidance for the user. The IEC 62439 series follows the general structure and terms of IEC 61158 series. The International Electrotechnical Commission (IEC) draws attentio
42、n to the fact that it is claimed that compliance with this document may involve the use of patents concerning IEC 61158-4-21 given in Clause 4 and Clause 5. Patent Number KR 0789444 “COMMUNICATION PACKET PROCESSING APPARATUS AND METHOD FOR RING TOPOLOGY ETHERNET NETWORK CAPABLE OF PREVENTING PERMANE
43、NT PACKET LOOPING,” owned by LS INDUSTRIAL SYSTEMS CO., LTD., Anyang, Korea Patent Number KR 0732510 “NETWORK SYSTEM” owned by LS INDUSTRIAL SYSTEMS CO., LTD., Anyang, Korea Patent Number KR 0870670 “Method For Determining a Ring Manager Node”, owned by LS INDUSTRIAL SYSTEMS CO., LTD., Anyang, Korea
44、 IEC takes no position concerning the evidence, validity and scope of these patent rights. The holder of these patent rights has assured the IEC that he/she is willing to negotiate licences either free of charge or under reasonable and non-discriminatory terms and conditions with applicants througho
45、ut the world. In this respect, the statement of the holder of these patent rights is registered with IEC. Information may be obtained from: LSIS Co Ltd LS Tower 1026-6, Hogye-Dong Dongan-Gu Anyang, Gyeonggi-Do, 431-848 South Korea Phone +82 2 2034 4917 Fax +82 2 2034 4648 Attention is drawn to the p
46、ossibility that some of the elements of this document may be the subject of patent rights other than those identified above. IEC shall not be held responsible for identifying any or all such patent rights. ISO (www.iso.org/patents) and IEC (http:/patents.iec.ch) maintain on-line data bases of patent
47、s relevant to their standards. Users are encouraged to consult the data bases for the most up to date information concerning patents. BS EN 62439-7:201262439-7 IEC:2011 9 INDUSTRIAL COMMUNICATION NETWORKS HIGH AVAILABILITY AUTOMATION NETWORKS Part 7: Ring-based Redundancy Protocol (RRP) 1 Scope The
48、IEC 62439 series of standards is applicable to high-availability automation networks based on the ISO/IEC 8802-3:2000 (Ethernet) technology. This part of the IEC 62439 series specifies a redundancy protocol that is based on a ring topology, in which the redundancy protocol is executed at the end nod
49、es, as opposed to being built into the switches. Each node detects link failure and link establishment using media-sensing technologies, and shares the link information with the other nodes, to guarantee fast connectivity recovery times. The nodes have equal RRP network management functions. 2 Normative references The following documents, in whole or in part, are normatively referenced in this document and are indi
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1