1、raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI Standards PublicationIndustrial communication networks High availabilityautomation networksPart 3: Parallel Redundancy Protocol(PRP) and High-availability Seamless Redundancy (HSR)BS EN 62439-3:2012N
2、ational forewordThis British Standard is the UK implementation of EN 62439-3:2012. It isidentical to IEC 62439-3:2012. It supersedes BS EN 62439-3:2010 which iswithdrawn.The UK participation in its preparation was entrusted to Technical CommitteeAMT/7, Industrial communications: process measurement
3、and control, including fieldbus.A list of organizations represented on this committee can be obtained onrequest to its secretary.This publication does not purport to include all the necessary provisions of acontract. Users are responsible for its correct application. The British Standards Institutio
4、n 2012Published by BSI Standards Limited 2012ISBN 978 0 580 73809 8ICS 25.040.01; 35.040Compliance with a British Standard cannot confer immunity fromlegal obligations.This British Standard was published under the authority of the StandardsPolicy and Strategy Committee on 31 October 2012.Amendments
5、issued since publicationAmd. No. Date Text affectedBRITISH STANDARDBS EN 62439-3:2012EUROPEAN STANDARD EN 62439-3 NORME EUROPENNE EUROPISCHE NORM September 2012 CENELEC European Committee for Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elek
6、trotechnische Normung Management Centre: Avenue Marnix 17, 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-3:2012 E ICS 25.040; 35.040 Supersedes EN 62439-3:2010English version Industrial communication
7、 networks - High availability automation networks - Part 3: Parallel Redundancy Protocol (PRP) and High-availability Seamless Redundancy (HSR) (IEC 62439-3:2012) Rseaux industriels de communication - Rseaux dautomatisme haute disponibilit - Partie 3 : Protocole de redondance parallle (PRP) et redond
8、ance transparente de haute disponibilit (HSR) (CEI 62439-3:2012) Industrielle Kommunikationsnetze - Hochverfgbare Automatisierungsnetze - Teil 3: Parallelredundanz-Protokoll (PRP) und nahtloser Hochverfgbarkeits-Ring (HSR) (IEC 62439-3:2012) This European Standard was approved by CENELEC on 2012-08-
9、09. 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 bibliographical references concerning such national standards may be obtai
10、ned 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 responsibility of a CENELEC member into its own language and notified to
11、 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, Former Yugoslav Republic of Macedonia, France, Germany, Greece,
12、 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-3:2012EN 62439-3:2012 - 2 - Foreword The text of document 65C/687/FDIS, future editi
13、on 2 of IEC 62439-3, 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-3:2012. The following dates are fixed: latest date by which the document has to be
14、 implemented at national level by publication of an identical national standard or by endorsement (dop) 2013-05-09 latest date by which the national standards conflicting with the document have to be withdrawn (dow) 2015-08-09 This document supersedes EN 62439-3:2010. EN 62439-3:2012 includes the fo
15、llowing significant technical changes with respect to EN 62439-3:2010: specification of the interconnection of PRP and HSR networks; introduction of a suffix for PRP frames; clarification and modification of specifications to ensure interoperability; slackening of the specifications to allow differe
16、nt implementations; consideration of clock synchronization according to IEC 61588; introduction of test modes to simplify testing and maintenance. This standard is to be used in conjunction with EN 62439-1:2010. Attention is drawn to the possibility that some of the elements of this document may be
17、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-3:2012 was approved by CENELEC as a European Standard without any modification. In the official version, f
18、or Bibliography, the following note has to be added for the standard indicated: IEC 61580 series NOTE Harmonized in EN 61580 series (not modified). BS EN 62439-3:2012- 3 - EN 62439-3:2012 Annex ZA (normative) Normative references to international publications with their corresponding European public
19、ations 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 document (including any amendments) applies.
20、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 191: Dependability and quality of service - - IEC 61588 - Prec
21、ision clock synchronization protocol for networked measurement and control systems- - IEC 62439-1 - Industrial communication networks - High availability automation networks - Part 1: General concepts and calculation methods EN 62439-1 - IEC 62439-2 - Industrial communication networks - High availab
22、ility automation networks - Part 2: Media Redundancy Protocol (MRP) EN 62439-2 - IEC 62439-6 - Industrial communication networks - High availability automation networks - Part 6: Distributed Redundancy Protocol (DRP) EN 62439-6 - IEC 62439-7 - Industrial communication networks - High availability au
23、tomation networks - Part 7: Ring-based Redundancy Protocol (RRP) EN 62439-7 - 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
24、 detection (CSMA/CD) access method and physical layer specifications - - IEEE 802.1D 2004 IEEE Standard for Local and Metropolitan Area Networks - Media Access Control (MAC) Bridges - - IEEE 802.1Q 2011 IEEE Standard for Local and Metropolitan Area Networks - Virtual Bridged Local Area Networks - -
25、BS EN 62439-3:2012 2 62439-3 IEC:2010(E) CONTENTS INTRODUCTION.7 1 Scope.8 2 Normative references .8 3 Terms, definitions, abbreviations, acronyms, and conventions8 3.1 Terms and definitions 8 3.2 Abbreviations and acronyms9 3.3 Conventions 9 4 Parallel Redundancy Protocol (PRP) 9 4.1 PRP principle
26、of operation.9 4.1.1 PRP network topology .9 4.1.2 PRP LANs with linear or bus topology .10 4.1.3 PRP LANs with ring topology.11 4.1.4 DANP node structure.11 4.1.5 PRP attachment of singly attached nodes12 4.1.6 Compatibility between singly and doubly attached nodes.12 4.1.7 Network management12 4.1
27、.8 Implication on configuration.13 4.1.9 Transition to non-redundant networks13 4.1.10 Duplicate handling.14 4.1.11 Configuration check.18 4.1.12 Network supervision 18 4.1.13 Redundancy management interface.19 4.2 PRP protocol specifications.19 4.2.1 Installation, configuration and repair guideline
28、s .19 4.2.2 MAC addresses .20 4.2.3 Multicast MAC addresses 20 4.2.4 IP addresses .20 4.2.5 Nodes20 4.2.6 Duplicate accept mode 21 4.2.7 Duplicate discard mode .21 4.3 PRP service specification 27 4.3.1 Arguments.27 4.3.2 NodesTable .28 4.3.3 PRP write 29 4.3.4 PRP read.30 5 High-availability Seamle
29、ss Redundancy (HSR).31 5.1 HSR objectives31 5.2 HSR principle of operation.31 5.2.1 Basic operation with a ring topology 31 5.2.2 DANH node structure.33 5.2.3 Topology .34 5.2.4 RedBox structure.40 5.3 HSR node specifications .42 5.3.1 Host sequence number42 5.3.2 DANH receiving from its link layer
30、interface .42 BS EN 62439-3:201262439-3 IEC:2010(E) 3 5.3.3 DANH receiving from an HSR port .42 5.3.4 DANH forwarding rules 43 5.3.5 CoS.44 5.3.6 Clock synchronization44 5.3.7 Deterministic medium access 44 5.4 HSR RedBox specifications.44 5.4.1 RedBox properties.44 5.4.2 RedBox receiving from inter
31、link .45 5.4.3 RedBox forwarding on the ring.46 5.4.4 RedBox receiving from an HSR port 46 5.4.5 Redbox proxy node table handling.47 5.4.6 RedBox CoS47 5.4.7 RedBox clock synchonization 47 5.4.8 RedBox medium access 47 5.5 QuadBox specification.47 5.6 Association definition 47 5.7 Frame format for H
32、SR .47 5.7.1 HSR-tagged frame format47 5.7.2 HSR_Supervision frame 48 5.7.3 Constants 50 6 Protocol Implementation Conformance Statement (PICS) .51 7 PRP/HSR Management Information Base (MIB) .51 Bibliography58 Figure 1 PRP example of general redundant network.10 Figure 2 PRP example of redundant ne
33、twork as two LANs (bus topology)10 Figure 3 PRP example of redundant ring with SANs and DANPs11 Figure 4 PRP with two DANPs communicating .11 Figure 5 PRP RedBox, transition from single to double LAN 13 Figure 6 PRP frame extended by an RCT.15 Figure 7 PRP VLAN-tagged frame extended by an RCT.15 Fig
34、ure 8 PRP constructed, padded frame closed by an RCT 16 Figure 9 PRP drop window on LAN_A 17 Figure 10 PRP drop window reduction after a discard 17 Figure 11 PRP frame from LAN_B was not discarded.18 Figure 12 PRP synchronized LANs 18 Figure 13 HSR example of ring configuration for multicast traffic
35、 .32 Figure 14 HSR example of ring configuration for unicast traffic 33 Figure 15 HSR structure of a DANH34 Figure 16 HSR example of topology using two independent networks 35 Figure 17 HSR example of peer coupling of two rings 36 Figure 18 HSR example of connected rings .37 Figure 19 HSR example of
36、 coupling two redundant PRP LANs to a ring.38 Figure 20 HSR example of coupling from a ring node to redundant PRP LANs.39 Figure 21 HSR example of meshed topology40 Figure 22 HSR structure of a RedBox 41 BS EN 62439-3:2012 4 62439-3 IEC:2010(E) Figure 23 HSR frame without VLAN tag .48 Figure 24 HSR
37、frame with VLAN tag 48 Table 1 PRP_Supervision frame with VLAN tag .25 Table 2 PRP constants 27 Table 3 PRP arguments.28 Table 4 PRP arguments.29 Table 5 PRP write29 Table 6 PRP read 30 Table 7 HSR_Supervision frame with optional VLAN tag49 Table 8 HSR Constants .50 BS EN 62439-3:201262439-3 IEC:201
38、0(E) 7 INTRODUCTION The IEC 62439 series specifies relevant 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 (IEEE 802.3) compatible, reliable
39、data communication, and preserve determinism of real-time data communication. In cases of fault, removal, and insertion of a component, they provide deterministic recovery times. These protocols retain fully the typical Ethernet communication capabilities as used in the office world, so that the sof
40、tware involved remains applicable. The market is in need of several network solutions, each with different performance characteristics and functional capabilities, matching diverse application requirements. These solutions support different redundancy topologies and mechanisms which are introduced i
41、n IEC 62439-1 and specified in the other Parts of the IEC 62439 series. IEC 62439-1 also distinguishes between the different solutions, giving guidance to the user. The IEC 62439 series follows the general structure and terms of IEC 61158 series. The International Electrotechnical Commission (IEC) d
42、raws attention to the fact that it is claimed that compliance with this document may involve the use of a patent concerning detection of redundant frames given in 4.1.10.3, and concerning coupling of PRP and HSR LANs given in 5.4 (patent pending). IEC takes no position concerning the evidence, valid
43、ity and scope of this patent right. The holder of this patent right 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 throughout the world. In this respect, the statement of the holde
44、r of this patent right is registered with IEC. Information may be obtained from: ABB Switzerland Ltd Corporate Research Segelhofstr 1K 5405 Baden Switzerland Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights other than those identifi
45、ed above. IEC shall not be held responsible for identifying any or all such patent rights. ISO (www.iso.org/patents) and IEC (http:/www.iec.ch/tctools/patent_decl.htm) maintain on-line data bases of patents relevant to their standards. Users are encouraged to consult the data bases for the most up t
46、o date information concerning patents. BS EN 62439-3:2012 8 62439-3 IEC:2010(E) INDUSTRIAL COMMUNICATION NETWORKS HIGH AVAILABILITY AUTOMATION NETWORKS Part 3: Parallel Redundancy Protocol (PRP) and High-availability Seamless Redundancy (HSR) 1 Scope The IEC 62439 series is applicable to high-availa
47、bility automation networks based on the ISO/IEC 8802-3 (IEEE 802.3) (Ethernet) technology. This part of the IEC 62439 series specifies two redundancy protocols based on the duplication of the LAN, resp. duplication of the transmitted information, designed to provide seamless recovery in case of sing
48、le failure of an inter-switch link or switch in the network. 2 Normative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (
49、including any amendments) applies. IEC 60050-191:1990, International Electrotechnical Vocabulary Chapter 191: Dependability and quality of service IEC 62439-1:2010, Industrial communication networks High availability automation networks Part 1: General concepts and calculation methods ISO/IEC 8802-3:2000, Information technology Telecommunications and information exchange between systems Local and metropolitan area networks Specif