Industrial communication networks - High availability automation networks - Part 2: Media Redundancy Protocol (MRP)

IEC 62439-2:2016 is applicable to high-availability automation networks based on the ISO/IEC/IEEE 8802-3 (IEEE 802.3) (Ethernet) technology. This part of the IEC 62439 series specifies a recovery protocol based on a ring topology, designed to react deterministically on a single failure of an inter-switch link or switch in the network, under the control of a dedicated media redundancy manager node.This second edition cancels and replaces the first edition published in 2010. This edition constitutes a technical revision. This edition includes the following significant technical changes with respect to the previous edition:
- adding a protocol extension to select the media redundancy manager automatically;
- adding a protocol to redundantly connect media redundancy protocol rings.
This publication is to be read in conjunction with IEC 62439-1:2010.

Réseaux de communication industriels - Réseaux d'automatisme à haute disponibilité - Partie 2: Protocole de redondance du support (MRP)

IEC 62439-2:2016 concerne les réseaux de haute disponibilité pour l'automation reposant sur la technologie ISO/IEC/IEEE 8802-3 (IEEE 802.3) (Ethernet). La présente partie de la série IEC 62439 spécifie un protocole de reprise reposant sur une topologie en anneau, conçu pour réagir de manière déterministe sur une seule défaillance d'une maille interétage ou d'un commutateur du réseau, sous le contrôle d'un n ud du gestionnaire de redondance du support dédié. Cette deuxième édition annule et remplace la première édition parue en 2010. Cette édition constitue une révision technique. Cette édition inclut les modifications techniques majeures suivantes par rapport à l'édition précédente:
- ajout d'une extension de protocole pour sélectionner automatiquement le gestionnaire de redondance du support;
- ajout d'un protocole pour connecter de manière redondante les anneaux du protocole de redondance du support.
Cette publication doit être lue conjointement avec la IEC 62439-1:2010.

General Information

Status
Published
Publication Date
29-Mar-2016
Technical Committee
Current Stage
DELPUB - Deleted Publication
Completion Date
15-Dec-2021
Ref Project

Buy Standard

Standard
IEC 62439-2:2016 - Industrial communication networks - High availability automation networks - Part 2: Media Redundancy Protocol (MRP)
English and French language
325 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (sample)

IEC 62439-2
Edition 2.0 2016-03
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Industrial communication networks – High availability automation networks –
Part 2: Media Redundancy Protocol (MRP)
Réseaux de communication industriels – Réseaux d'automatisme à haute
disponibilité –
Partie 2: Protocole de redondance du support (MRP)
IEC 62439-2:2016-03(en-fr)
---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2016 IEC, Geneva, Switzerland

All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form

or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from

either IEC or IEC's member National Committee in the country of the requester. If you have any questions about IEC

copyright or have an enquiry about obtaining additional rights to this publication, please contact the address below or

your local IEC member National Committee for further information.

Droits de reproduction réservés. Sauf indication contraire, aucune partie de cette publication ne peut être reproduite

ni utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie

et les microfilms, sans l'accord écrit de l'IEC ou du Comité national de l'IEC du pays du demandeur. Si vous avez des

questions sur le copyright de l'IEC ou si vous désirez obtenir des droits supplémentaires sur cette publication, utilisez

les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pays de résidence.

IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé Fax: +41 22 919 03 00
CH-1211 Geneva 20 info@iec.ch
Switzerland www.iec.ch
About the IEC

The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes

International Standards for all electrical, electronic and related technologies.
About IEC publications

The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the

latest edition, a corrigenda or an amendment might have been published.
IEC Catalogue - webstore.iec.ch/catalogue Electropedia - www.electropedia.org

The stand-alone application for consulting the entire The world's leading online dictionary of electronic and

bibliographical information on IEC International Standards, electrical terms containing 20 000 terms and definitions in

Technical Specifications, Technical Reports and other English and French, with equivalent terms in 15 additional

documents. Available for PC, Mac OS, Android Tablets and languages. Also known as the International Electrotechnical

iPad. Vocabulary (IEV) online.

IEC publications search - www.iec.ch/searchpub IEC Glossary - std.iec.ch/glossary

The advanced search enables to find IEC publications by a 65 000 electrotechnical terminology entries in English and

variety of criteria (reference number, text, technical French extracted from the Terms and Definitions clause of

committee,…). It also gives information on projects, replaced IEC publications issued since 2002. Some entries have been

and withdrawn publications. collected from earlier publications of IEC TC 37, 77, 86 and

CISPR.
IEC Just Published - webstore.iec.ch/justpublished

Stay up to date on all new IEC publications. Just Published IEC Customer Service Centre - webstore.iec.ch/csc

details all new publications released. Available online and If you wish to give us your feedback on this publication or

also once a month by email. need further assistance, please contact the Customer Service

Centre: csc@iec.ch.
A propos de l'IEC

La Commission Electrotechnique Internationale (IEC) est la première organisation mondiale qui élabore et publie des

Normes internationales pour tout ce qui a trait à l'électricité, à l'électronique et aux technologies apparentées.

A propos des publications IEC

Le contenu technique des publications IEC est constamment revu. Veuillez vous assurer que vous possédez l’édition la

plus récente, un corrigendum ou amendement peut avoir été publié.
Catalogue IEC - webstore.iec.ch/catalogue Electropedia - www.electropedia.org
Application autonome pour consulter tous les renseignements
Le premier dictionnaire en ligne de termes électroniques et
bibliographiques sur les Normes internationales,
électriques. Il contient 20 000 termes et définitions en anglais
Spécifications techniques, Rapports techniques et autres
et en français, ainsi que les termes équivalents dans 15
documents de l'IEC. Disponible pour PC, Mac OS, tablettes
langues additionnelles. Egalement appelé Vocabulaire
Android et iPad.
Electrotechnique International (IEV) en ligne.
Recherche de publications IEC - www.iec.ch/searchpub
Glossaire IEC - std.iec.ch/glossary

La recherche avancée permet de trouver des publications IEC 65 000 entrées terminologiques électrotechniques, en anglais

en utilisant différents critères (numéro de référence, texte, et en français, extraites des articles Termes et Définitions des

comité d’études,…). Elle donne aussi des informations sur les publications IEC parues depuis 2002. Plus certaines entrées

projets et les publications remplacées ou retirées. antérieures extraites des publications des CE 37, 77, 86 et

CISPR de l'IEC.
IEC Just Published - webstore.iec.ch/justpublished
Service Clients - webstore.iec.ch/csc
Restez informé sur les nouvelles publications IEC. Just

Published détaille les nouvelles publications parues. Si vous désirez nous donner des commentaires sur cette

Disponible en ligne et aussi une fois par mois par email. publication ou si vous avez des questions contactez-nous:

csc@iec.ch.
---------------------- Page: 2 ----------------------
IEC 62439-2
Edition 2.0 2016-03
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Industrial communication networks – High availability automation networks –
Part 2: Media Redundancy Protocol (MRP)
Réseaux de communication industriels – Réseaux d'automatisme à haute
disponibilité –
Partie 2: Protocole de redondance du support (MRP)
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.040, 35.040 ISBN 978-2-8322-3149-4

Warning! Make sure that you obtained this publication from an authorized distributor.

Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agréé.

® Registered trademark of the International Electrotechnical Commission
Marque déposée de la Commission Electrotechnique Internationale
---------------------- Page: 3 ----------------------
– 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 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 Application 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 Interface 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 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

6.2.2 Media redundancy Interconnection template ................................................. 31

6.3 Attributes ............................................................................................................ 32

7 MRP Service specification ........................................................................................... 36

7.1 Start MRM .......................................................................................................... 36

---------------------- Page: 4 ----------------------
IEC 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 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 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 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.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_ManufacturerOUI ................................................... 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 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

---------------------- Page: 5 ----------------------
– 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.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 ....................................................................... 129

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 calculation 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 ............................................ 147

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 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 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 Association ID (MAID) ................................................ 20

---------------------- Page: 6 ----------------------
IEC 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 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 25 – MRP_SubTLVHeader.Type ................................................................................ 58

Table 26 – MRP_Ed1Type and MRP_Ed1ManufacturerData ................................................ 59

Table 27 – MRP_Ed1Type and MRP_Ed1ManufacturerData ................................................ 59

Table 28 – MRP_Version .................................................................................................... 59

Table 29 – Coding of the field MRP_OtherMRMSA .............................................................. 60

Table 30 – MRP_Prio .......................................................................................................... 60

Table 31 – Coding of the field MRP_OtherMRMPrio ............................................................. 60

Table 32 – MRP_PortRole ................................................................................................... 60

Table 33 – MRP_RingState ................................................................................................. 61

Table 34 – MRP_Interval ..................................................................................................... 61

Table 35 – MRP_Transition ................................................................................................. 61

Table 36 – MRP_TimeStamp ............................................................................................... 61

Table 37 – MRP_Blocked .................................................................................................... 62

Table 38 – MRP_DomainUUID ............................................................................................ 62

Table 39 – MRP_InState ..................................................................................................... 62

Table 40 – MRP Local variables of MRM protocol machine .................................................. 65

Table 41 – MRM State machine .......................................................................................... 66

Table 42 – MRP Local variables of MRC protocol machine................................................... 75

Table 43 – MRC state machine ........................................................................................... 76

Table 44 – MRP local variables of MRA protocol machine .................................................... 82

Table 45 – MRA state machine ............................................................................................ 83

---------------------- Page: 7 ----------------------
– 6 – IEC 62439-2:2016  IEC 2016

Table 46 – MRP functions and macros .............................................................................. 101

Table 47 – MRP FDB clear timer ....................................................................................... 105

Table 48 – MRP topology change timer ............................................................................. 106

Table 49 – MRP Local variables of MIM protocol machine .................................................. 108

Table 50 – MIM State machine for LC-mode ...................................................................... 109

Table 51 – MIM State machine for RC-mode ..................................................................... 112

Table 52 – MRP Local variables of MIC protocol machine .................................................. 117

Table 53 – MIC State machine for LC-mode ...................................................................... 118

Table 54 – MIC State machine for RC-mode ...................................................................... 121

Table 55 – MRP Interconnection functions ......................................................................... 124

Table 56 – MRP Interconnection topology change timer ..................................................... 127

Table 57 – MRP Interconnection link status poll timer ........................................................ 128

Table 58 – MRP Network/Connection parameters .............................................................. 128

Table 59 –
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.