1、BSI Standards PublicationWB11885_BSI_StandardCovs_2013_AW.indd 1 15/05/2013 15:06Industrial communication networks - High availability automation networksPart 2: Media Redundancy Protocol (MRP)BS EN 624392:2017Incorporating corrigendum June 2018National forewordThis British Standard is the UK implem
2、entation of EN 624392:2017, incorporating corrigendum June 2018. It is identical to IEC 624392:2016. It supersedes BS EN 624392:2010, which is withdrawn.The UK participation in its preparation was entrusted to Technical Committee GEL/65/3, Industrial communications: process measurement and control,
3、including fieldbus.A list of organizations represented on this committee can be obtained on request to its secretary.This publication does not purport to include all the necessary provisions of a contract. Users are responsible for its correct application. The British Standards Institution 2018 Publ
4、ished by BSI Standards Limited 2018ISBN 978 0 539 01176 0ICS 35.100.05; 25.040.40; 35.110; 35.040.01Compliance with a British Standard cannot confer immunity from legal obligations.This British Standard was published under the authority of the Standards Policy and Strategy Committee on 30 April 2018
5、.Amendments/corrigenda issued since publicationDate Text affected30 June 2018 Implementation of CENELEC corrigendum June 2018: dop and dow in European foreword amendedBRITISH STANDARDBS EN 624392:2017EUROPEAN STANDARD NORME EUROPENNE EUROPISCHE NORM EN 62439-2 November 2017 ICS 25.040, 35.040 Supers
6、edes EN 62439-2:2010 English Version Industrial communication networks - High availability automation networks - Part 2: Media Redundancy Protocol (MRP) (IEC 62439-2:2016) Rseaux de communication industriels - Rseaux dautomatisme haute disponibilit - Partie 2: Protocole de redondance du support (MRP
7、) (IEC 62439-2:2016) Industrielle Kommunikationsnetze: Hochverfgbare Automatisierungsnetze - Teil 2: Medienredundanz-Protokoll (MRP) (IEC 62439-2:2016) This European Standard was approved by CENELEC on 2016-03-30. CENELEC members are bound to comply with the CEN/CENELEC Internal Regulations which st
8、ipulate 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 obtained on application to the CEN-CENELEC Management Centre or to any CENELEC member. This Eur
9、opean 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 the CEN-CENELEC Management Centre has the same status as the official versions. CENELEC m
10、embers 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, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the Netherlands,
11、Norway, Poland, Portugal, Romania, Serbia, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey and the United Kingdom. European Committee for Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elektrotechnische Normung CEN-CENELEC Management Ce
12、ntre: Rue de la Science 23, B-1040 Brussels 2017 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members. Ref. No. EN 62439-2:2017 E BS EN 624392:2017EN 62439-2:2017 (E) 2 European foreword The text of document 65C/583/FDIS, future edition 2 of IEC 6243
13、9-2, prepared by SC 65C “Industrial networks“ of IEC/TC 65X “Industrial-process measurement, control and automation“ was submitted to the IEC-CENELEC parallel vote and approved by CENELEC as EN 62439-2:2017. The following dates are fixed: latest date by which the document has to beimplemented at nat
14、ional level bypublication of an identical nationalstandard or by endorsement(dop) 2018-05-24 latest date by which the nationalstandards conflicting with thedocument have to be withdrawn(dow) 2020-11-24 This document supersedes EN 62439-2:2010. Attention is drawn to the possibility that some of the e
15、lements of this document may be the subject of patent rights. CENELEC shall not be held responsible for identifying any or all such patent rights. Endorsement notice The text of the International Standard IEC 62439-2:2016 was approved by CENELEC as a European Standard without any modification. In th
16、e official version, for Bibliography, the following notes have to be added for the standards indicated: IEC 61158-2:2007 NOTE Harmonized as EN 61158-2:2008 1(not modified). IEC 61158-5-10 NOTE Harmonized as EN 61158-5-10. IEC 61784-1:2007 NOTE Harmonized as EN 61784-1:2008 2(not modified). IEC 61784
17、-2:2007 NOTE Harmonized as EN 61784-2:2008 3(not modified). IEC 62439-3 NOTE Harmonized as EN 62439-3. IEC 62439-4 NOTE Harmonized as EN 62439-4. IEC 62439-6 NOTE Harmonized as EN 62439-6. 1Withdrawn publication, the active edition is EN 61158-2:2014 (IEC 61158-2:2014). 2Withdrawn publication, the a
18、ctive edition is EN 61784-1:2014 (IEC 61784-1:2014). 3Withdrawn publication, the active edition is EN 61784-2:2014 (IEC 61784-2:2014). BS EN 624392:2017EN 62439-2:2017 (E) 3 Annex ZA (normative) Normative references to international publications with their corresponding European publications The fol
19、lowing documents are referred to in the text in such a way that some or all of their content constitutes requirements of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. NOTE
20、 1 Where 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 Standards listed in this annex is available here: www.cenelec.eu. Publication Year Title EN/HD Year IE
21、C 60050-191 - International Electrotechnical Vocabulary - Chapter 191: Dependability and quality of service - - IEC 61158-6-10 2014 Industrial communication networks - Fieldbus specifications - Part 6-10: Application layer protocol specification - Type 10 elements EN 61158-6-10 2014 IEC 61784-1 - Di
22、gital data communications for measurement and control - Part 1: Profile sets for continuous and discrete manufacturing relative to fieldbus use in industrial control systems EN 61784-1 - IEC 61784-2 - Industrial communication networks - Profiles - Part 2: Additional fieldbus profiles for real-time n
23、etworks based on ISO/IEC 8802-3 EN 61784-2 - IEC 62439-1 2010 Industrial communication networks - High availability automation networks - Part 1: General concepts and calculation methods EN 62439-1 2010 + A1 2012 +A1 2012 ISO/IEC 10164-1 - Information technology; Open Systems Interconnection; system
24、s management: object management function - - ISO/IEC/IEEE 8802-3 - Standard for Ethernet - - 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 - Media Access Control
25、 (MAC) Bridges and Virtual Bridged Local Area Networks - - BS EN 624392:2017This page deliberately left blank 2 IEC 62439-2:2016 IEC 2016 CONTENTS FOREWORD . 7 INTRODUCTION . 9 1 Scope 11 2 Normative references. 11 3 Terms, definitions, abbreviations, acronyms, and conventions 12 3.1 Terms and defin
26、itions 12 3.2 Abbreviations and acronyms 12 3.3 Conventions 12 4 MRP Overview . 12 5 MRP Media redundancy behavior . 16 5.1 General . 16 5.2 Ring ports . 16 5.3 Media Redundancy Manager (MRM) 17 5.4 Media Redundancy Client (MRC) . 19 5.5 Redundancy domain 19 5.6 Media Link Check 19 5.7 Application o
27、f the Continuity Check protocol 19 5.7.1 General . 19 5.7.2 Continuity Check Message Interval . 20 5.7.3 Maintenance Domain Level 20 5.7.4 Maintenance Association ID (MAID) 20 5.7.5 Maintenance Association End Point ID (MEPID) 20 5.7.6 Sender ID TLV . 20 5.7.7 Port Status TLV . 21 5.7.8 Interface St
28、atus TLV 21 5.8 Usage with diagnosis and alarms . 21 5.9 Ring diagnosis 21 5.10 Multiple MRM in a single ring: Manager voting option . 21 5.10.1 General . 21 5.10.2 Basic principle of the manager voting process 22 5.10.3 The manager voting process 23 5.11 BLOCKED not supported (Option) 25 5.12 Inter
29、connection port 25 5.13 Media redundancy Interconnection Manager (MIM) 26 5.14 Media redundancy Interconnection Client (MIC) . 29 5.15 Interconnection domain . 29 5.16 Interconnection diagnosis 30 6 MRP Class specification 30 6.1 General . 30 6.2 Template. 30 6.2.1 Media redundancy template 30 6.2.2
30、 Media redundancy Interconnection template . 31 6.3 Attributes 32 7 MRP Service specification . 36 7.1 Start MRM 36 2 IEC 62439-2:2016 IEC 2016 CONTENTS FOREWORD . 7 INTRODUCTION . 9 1 Scope 11 2 Normative references. 11 3 Terms, definitions, abbreviations, acronyms, and conventions 12 3.1 Terms and
31、 definitions 12 3.2 Abbreviations and acronyms 12 3.3 Conventions 12 4 MRP Overview . 12 5 MRP Media redundancy behavior . 16 5.1 General . 16 5.2 Ring ports . 16 5.3 Media Redundancy Manager (MRM) 17 5.4 Media Redundancy Client (MRC) . 19 5.5 Redundancy domain 19 5.6 Media Link Check 19 5.7 Applica
32、tion of the Continuity Check protocol 19 5.7.1 General . 19 5.7.2 Continuity Check Message Interval . 20 5.7.3 Maintenance Domain Level 20 5.7.4 Maintenance Association ID (MAID) 20 5.7.5 Maintenance Association End Point ID (MEPID) 20 5.7.6 Sender ID TLV . 20 5.7.7 Port Status TLV . 21 5.7.8 Interf
33、ace Status TLV 21 5.8 Usage with diagnosis and alarms . 21 5.9 Ring diagnosis 21 5.10 Multiple MRM in a single ring: Manager voting option . 21 5.10.1 General . 21 5.10.2 Basic principle of the manager voting process 22 5.10.3 The manager voting process 23 5.11 BLOCKED not supported (Option) 25 5.12
34、 Interconnection port 25 5.13 Media redundancy Interconnection Manager (MIM) 26 5.14 Media redundancy Interconnection Client (MIC) . 29 5.15 Interconnection domain . 29 5.16 Interconnection diagnosis 30 6 MRP Class specification 30 6.1 General . 30 6.2 Template. 30 6.2.1 Media redundancy template 30
35、 6.2.2 Media redundancy Interconnection template . 31 6.3 Attributes 32 7 MRP Service specification . 36 7.1 Start MRM 36 BS EN 624392:2017IEC 62439-2:2016 IEC 2016 3 7.2 Stop MRM . 38 7.3 State Change 38 7.4 Start MRC . 39 7.5 Stop MRC . 41 7.6 Read MRM 41 7.7 Read MRC 43 7.8 Start MIM 45 7.9 Stop
36、MIM 46 7.10 Interconnection State Change 47 7.11 Start MIC 48 7.12 Stop MIC. 49 7.13 Read MIM . 50 7.14 Read MIC . 52 8 MRP protocol specification . 54 8.1 PDU description 54 8.1.1 Basic data types 54 8.1.2 DLPDU abstract syntax reference . 54 8.1.3 Coding of the DLPDU field SourceAddress . 54 8.1.4
37、 Coding of the DLPDU field DestinationAddress . 55 8.1.5 Coding of the field TagControlInformation . 55 8.1.6 Coding of the field LT . 56 8.1.7 MRP APDU abstract syntax 56 8.1.8 Coding of the field MRP_TLVHeader 57 8.1.9 Coding of the field MRP_SubTLVHeader 58 8.1.10 Coding of the field MRP_Ed1Type
38、and MRP_Ed1ManufacturerData 58 8.1.11 Coding of the field MRP_Version 59 8.1.12 Coding of the field MRP_SequenceID . 59 8.1.13 Coding of the field MRP_SA . 59 8.1.14 Coding of the field MRP_OtherMRMSA . 59 8.1.15 Coding of the field MRP_Prio . 60 8.1.16 Coding of the field MRP_OtherMRMPrio . 60 8.1.
39、17 Coding of the field MRP_PortRole 60 8.1.18 Coding of the field MRP_RingState . 60 8.1.19 Coding of the field MRP_Interval 61 8.1.20 Coding of the field MRP_Transition 61 8.1.21 Coding of the field MRP_TimeStamp 61 8.1.22 Coding of the field MRP_Blocked . 61 8.1.23 Coding of the field MRP_Manufact
40、urerOUI . 62 8.1.24 Coding of the field MRP_IECOUI 62 8.1.25 Coding of the field MRP_ManufacturerData 62 8.1.26 Coding of the field MRP_DomainUUID 62 8.1.27 Coding of the field MRP_InState . 62 8.1.28 Coding of the field MRP_InID . 63 8.2 Protocol machines . 63 8.2.1 MRM protocol machine . 63 8.2.2
41、MRC protocol machine . 74 8.2.3 MRA protocol machine . 80 8.2.4 MRA, MRM and MRC functions 100 8.2.5 FDB clear timer 105 BS EN 624392:2017 4 IEC 62439-2:2016 IEC 2016 8.2.6 Topology change timer . 105 8.2.7 MIM protocol machine 106 8.2.8 MIC protocol machine 115 8.2.9 MIM and MIC functions . 123 8.2
42、.10 Interconnection Topology Change timer 127 8.2.11 Interconnection Link Status Poll timer . 127 9 MRP installation, configuration and repair 128 9.1 Ring port and Interconnection port parameters . 128 9.2 Ring topology parameters 128 9.3 MRM parameters . 128 9.4 MRC parameters and constraints . 12
43、9 9.5 MRA compatibility to earlier Automanager protocol version 129 9.6 Interconnection topology parameters . 130 9.7 MIM parameters 130 9.8 MIC parameters and constraints 130 9.9 Calculation of MRP ring recovery time . 131 9.9.1 Overview . 131 9.9.2 Deduction of formula 131 9.9.3 Worst case calcula
44、tion for recovery time of 10 ms . 133 9.9.4 Worst case calculation for 50 devices . 134 9.10 Calculation of MRP Automanager voting time . 134 10 MRP Management Information Base (MIB) . 134 10.1 General . 134 10.2 MRP MIB with a monitoring view 134 10.3 MRP MIB with a management and monitoring view 1
45、47 Annex A (normative) Optional earlier version of the Automanager protocol 162 Bibliography . 163 Figure 1 Two MRP rings redundantly connected via MRP Interconnection . 14 Figure 2 MRP stack . 16 Figure 3 MRP ring topology with one manager and clients 17 Figure 4 MRP open ring with MRM . 18 Figure
46、5 MRP ring with MRA at network startup 22 Figure 6 MRP ring after the manager voting process . 22 Figure 7 Manager voting process . 24 Figure 8 MRA located outside the MRP ring 25 Figure 9 MRP Interconnection topology 27 Figure 10 MRP ring interconnection open . 28 Figure 11 MRP protocol machine for
47、 MRM 63 Figure 12 MRP protocol machine for MRC 74 Figure 13 MRP protocol machine for MRA 81 Figure 14 MRP protocol machine for MIM in RC-mode and LC-mode . 107 Figure 15 MRP protocol machine for MIC in RC-mode and LC-mode . 116 Table 1 Patent information . 9 Table 2 Coding of the Maintenance Associa
48、tion ID (MAID) 20 BS EN 624392:2017IEC 62439-2:2016 IEC 2016 5 Table 3 MRP Start MRM 36 Table 4 MRP Stop MRM . 38 Table 5 MRP Change State 39 Table 6 MRP Start MRC . 40 Table 7 MRP Stop MRC . 41 Table 8 MRP Read MRM 42 Table 9 MRP Read MRC 44 Table 10 MRP Start MIM 45 Table 11 MRP Stop MIM 47 Table
49、12 MRP Interconnection Change State 47 Table 13 MRP Start MIC 48 Table 14 MRP Stop MIC . 50 Table 15 MRP Read MIM . 51 Table 16 MRP Read MIC 53 Table 17 MRP DLPDU syntax for ISO/IEC/IEEE 8802-3 (IEEE 802.3) . 54 Table 18 MRP OUI . 55 Table 19 MRP MulticastMACAddress . 55 Table 20 MRP TagControlInformation.Priority field 56 Table 21 MRP LT field . 56 Table 22 MRP APDU syntax . 56 Table 23 MRP Substitutions . 57 Table 24 MRP_TLVHeader.Type 58 Table 2