Industrial communication networks - High availability automation networks - Part 3: Parallel Redundancy Protocol (PRP) and High-availability Seamless Redundancy (HSR)

IEC 62439-3:2012 specifies two redundancy protocols designed to provide seamless recovery in case of single failure of an inter-bridge link or bridge in the network, which are based on the same scheme: duplication of the LAN, resp. duplication of the transmitted information. This second edition cancels and replaces the first edition published in 2010. It constitutes a technical revision. The main changes with respect to the previous edition are:
- 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 different implementations;
- consideration of clock synchronization according to IEC 61588;
- introduction of test modes to simplify testing and maintenance.
This publication is to be read in conjunction with IEC 62439-1:2010.

Réseaux industriels de communication - Réseaux d'automatisme à haute disponibilité - Partie 3: Protocole de redondance parallèle (PRP) et redondance transparente de haute disponibilité (HSR)

La CEI 62439-3:2012 spécifie deux protocoles de redondance conçus pour assurer une reprise transparente en cas de défaillance unique d'une maille inter-étage ou d'un pont au sein du réseau, qui reposent sur le même schéma: duplication du réseau local, duplication des informations transmises. Cette deuxième édition annule et remplace la première édition parue en 2010. Elle constitue une révision technique. Les principales modifications apportées à l'édition précédente sont:
- spécification de l'interconnexion des réseaux PRP et HSR;
- introduction d'un suffixe pour les trames PRP;
- clarification et modification des spécifications pour garantir l'interopérabilité;
- assouplissement des spécifications pour permettre des mises en oeuvre différentes;
- prise en compte de la synchronisation des horloges conformément à la CEI 61588;
- introduction de modes d'essai visant à simplifier les essais et la maintenance.
Cette publication doit être lue conjointement avec la CEI 62439-1:2010.

General Information

Status
Published
Publication Date
04-Jul-2012
Technical Committee
Drafting Committee
Current Stage
DELPUB - Deleted Publication
Completion Date
31-Mar-2016
Ref Project

Relations

Buy Standard

Standard
IEC 62439-3:2012 - Industrial communication networks - High availability automation networks - Part 3: Parallel Redundancy Protocol (PRP) and High-availability Seamless Redundancy (HSR) Released:7/5/2012
English and French language
177 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

IEC 62439-3
®

Edition 2.0 2012-07
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE


Industrial communication networks – High availability automation networks –
Part 3: Parallel Redundancy Protocol (PRP) and High-availability Seamless
Redundancy (HSR)

Réseaux industriels de communication – Réseaux d'automatisme à haute
disponibilité –
Partie 3: Protocole de redondance parallèle (PRP) et redondance transparente de
haute disponibilité (HSR)


IEC 62439-3:2012

---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2012 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 la CEI ou du Comité national de la CEI du pays du demandeur.
Si vous avez des questions sur le copyright de la CEI 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 la CEI 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.

Useful links:

IEC publications search - www.iec.ch/searchpub Electropedia - www.electropedia.org
The advanced search enables you to find IEC publications The world's leading online dictionary of electronic and
by a variety of criteria (reference number, text, technical electrical terms containing more than 30 000 terms and
committee,…). definitions in English and French, with equivalent terms in
It also gives information on projects, replaced and additional languages. Also known as the International
withdrawn publications. Electrotechnical Vocabulary (IEV) on-line.

IEC Just Published - webstore.iec.ch/justpublished Customer Service Centre - webstore.iec.ch/csc
Stay up to date on all new IEC publications. Just Published If you wish to give us your feedback on this publication
details all new publications released. Available on-line and or need further assistance, please contact the
also once a month by email. Customer Service Centre: csc@iec.ch.


A propos de la CEI
La Commission Electrotechnique Internationale (CEI) 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 CEI
Le contenu technique des publications de la CEI est constamment revu. Veuillez vous assurer que vous possédez
l’édition la plus récente, un corrigendum ou amendement peut avoir été publié.

Liens utiles:

Recherche de publications CEI - www.iec.ch/searchpub Electropedia - www.electropedia.org
La recherche avancée vous permet de trouver des Le premier dictionnaire en ligne au monde de termes
publications CEI en utilisant différents critères (numéro de électroniques et électriques. Il contient plus de 30 000
référence, texte, comité d’études,…). termes et définitions en anglais et en français, ainsi que
Elle donne aussi des informations sur les projets et les les termes équivalents dans les langues additionnelles.
publications remplacées ou retirées. Egalement appelé Vocabulaire Electrotechnique
International (VEI) en ligne.
Just Published CEI - webstore.iec.ch/justpublished
Service Clients - webstore.iec.ch/csc
Restez informé sur les nouvelles publications de la CEI.
Just Published détaille les nouvelles publications parues. Si vous désirez nous donner des commentaires sur
Disponible en ligne et aussi une fois par mois par email. cette publication ou si vous avez des questions
contactez-nous: csc@iec.ch.

---------------------- Page: 2 ----------------------
IEC 62439-3

®


Edition 2.0 2012-07




INTERNATIONAL



STANDARD




NORME



INTERNATIONALE











Industrial communication networks – High availability automation networks –

Part 3: Parallel Redundancy Protocol (PRP) and High-availability Seamless

Redundancy (HSR)




Réseaux industriels de communication – Réseaux d'automatisme à haute

disponibilité –


Partie 3: Protocole de redondance parallèle (PRP) et redondance transparente de

haute disponibilité (HSR)












INTERNATIONAL

ELECTROTECHNICAL

COMMISSION


COMMISSION

ELECTROTECHNIQUE

PRICE CODE
INTERNATIONALE

CODE PRIX XC


ICS 25.040; 35.040 ISBN 978-2-83220-160-2



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 – 62439-3 © IEC:2012
CONTENTS
FOREWORD . 5
0 INTRODUCTION . 7
0.1 General . 7
0.2 Changes with respect to the previous edition . 7
0.3 Patent declaration . 8
1 Scope . 9
2 Normative references . 9
3 Terms, definitions, abbreviations, acronyms, and conventions . 10
3.1 Terms and definitions . 10
3.2 Abbreviations and acronyms . 10
3.3 Conventions . 10
4 Parallel Redundancy Protocol (PRP) . 10
4.1 PRP principle of operation . 10
4.1.1 PRP network topology . 10
4.1.2 PRP LANs with linear or bus topology . 11
4.1.3 PRP LANs with ring topology . 12
4.1.4 DANP node structure . 12
4.1.5 PRP attachment of singly attached nodes . 13
4.1.6 Compatibility between singly and doubly attached nodes . 14
4.1.7 Network management . 14
4.1.8 Implication on configuration . 14
4.1.9 Transition to non-redundant networks . 14
4.1.10 Duplicate handling . 15
4.1.11 Network supervision . 19
4.1.12 Redundancy management interface . 19
4.2 PRP protocol specifications . 19
4.2.1 Installation, configuration and repair guidelines . 19
4.2.2 MAC addresses . 20
4.2.3 Multicast MAC addresses . 20
4.2.4 IP addresses . 20
4.2.5 Nodes . 20
4.2.6 Duplicate Accept mode (testing only) . 21
4.2.7 Duplicate Discard mode . 21
4.3 PRP_Supervision frame . 24
4.3.1 Supervision frame for DANP . 24
4.3.2 PRP_Supervision frame contents . 27
4.3.3 PRP_Supervision frame for RedBox . 27
4.3.4 Reception of a PRP_Supervision frame and NodesTable . 27
4.4 Bridging node . 28
4.5 Constants . 28
4.6 PRP service specification . 28
5 High-availability Seamless Redundancy (HSR) . 28
5.1 HSR objectives . 28
5.2 HSR principle of operation . 29
5.2.1 Basic operation with a ring topology . 29
5.2.2 DANH node structure . 30

---------------------- Page: 4 ----------------------
62439-3 © IEC:2012 – 3 –
5.2.3 Topology . 31
5.2.4 RedBox structure . 39
5.3 HSR node specifications . 41
5.3.1 HSR operation . 41
5.3.2 DANH receiving from its link layer interface . 41
5.3.3 DANH receiving from an HSR port . 42
5.3.4 DANH forwarding rules . 43
5.3.5 CoS . 43
5.3.6 Clock synchronization . 43
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 interlink . 44
5.4.3 RedBox forwarding on the ring. 46
5.4.4 RedBox receiving from an HSR port . 46
5.4.5 RedBox receiving from its link layer interface . 47
5.4.6 Redbox ProxyNodeTable handling . 47
5.4.7 RedBox CoS . 48
5.4.8 RedBox clock synchronization . 48
5.4.9 RedBox medium access . 48
5.5 QuadBox specification . 48
5.6 Duplicate Discard method. 48
5.7 Frame format for HSR . 48
5.7.1 Frame format for all frames . 48
5.7.2 HSR_Supervision frame . 50
5.8 Constants . 52
5.9 HSR service specification . 53
6 Protocol Implementation Conformance Statement (PICS) . 54
7 PRP/HSR Management Information Base (MIB) . 55
Annex A (normative) Use of IEC 61588 and IEEE C37.238 for IEC 62439-3 . 69
Annex B (informative) Deterministic medium access in HSR . 83
Bibliography . 84

Figure 1 – PRP example of general redundant network . 11
Figure 2 – PRP example of redundant network as two LANs (bus topology) . 12
Figure 3 – PRP example of redundant ring with SANs and DANPs . 12
Figure 4 – PRP with two DANPs communicating . 13
Figure 5 – PRP RedBox, transition from single to double LAN . 15
Figure 6 – PRP frame extended by an RCT. 16
Figure 7 – PRP VLAN-tagged frame extended by an RCT . 17
Figure 8 – PRP padded frame closed by an RCT . 17
Figure 9 – Duplicate Discard algorithm boundaries . 18
Figure 10 – HSR example of ring configuration for multicast traffic . 29
Figure 11 – HSR example of ring configuration for unicast traffic . 30
Figure 12 – HSR structure of a DANH . 31
Figure 13 – HSR example of topology using two independent networks . 32

---------------------- Page: 5 ----------------------
– 4 – 62439-3 © IEC:2012
Figure 14 – HSR example of peer coupling of two rings . 33
Figure 15 – HSR example of connected rings . 34
Figure 16 – HSR example of coupling two redundant PRP LANs to a ring . 35
Figure 17 – HSR example of coupling from a ring node to redundant PRP LANs . 36
Figure 18 – HSR example of coupling from a ring to two PRP LANs . 37
Figure 19 – HSR example of coupling three rings to one PRP LAN . 38
Figure 20 – HSR example of meshed topology . 39
Figure 21 – HSR structure of a RedBox . 40
Figure 22 – HSR frame without a VLAN tag . 49
Figure 23 – HSR frame with VLAN tag . 49
Figure 24 – HSR node with management counters . 53
Figure 25 – HSR RedBox with management counters . 54
Figure A.1 – PTP one-step clock synchronization and delay measurement . 71
Figure A.2 – PTP two-step clock synchronization and delay measurement . 72
Figure A.3 – Two-step and one-step transparent clocks translator . 73
Figure A.4 – Two-step to one-step translation . 73
Figure A.5 – Connection of a Grandmaster Clock to an Ordinary Clock over PRP . 74
Figure A.6 – HSR with one GMC . 76
Figure A.7 – PTP messages sent and received by an HSR node (one-step) . 77
Figure A.8 – PTP messages sent and received by an HSR node (two-step) . 78
Figure A.9 – Attachment of a GMC to an HSR ring through a RedBox . 80
Figure A.10 – PRP to HSR coupling by Transparent Clocks . 81
Figure A.11 – PRP to HSR coupling by BCs . 82

Table 1 – NodesTable attributes . 22
Table 2 – PRP_Supervision frame with no VLAN tag. 25
Table 3 – PRP_Supervision frame with (optional) VLAN tag . 26
Table 4 – PRP constants . 28
Table 5 – HSR_Supervision frame with no VLAN tag . 50
Table 6 – HSR_Supervision frame with optional VLAN tag . 51
Table 7 – HSR Constants . 52

---------------------- Page: 6 ----------------------
62439-3 © IEC:2012 – 5 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________

INDUSTRIAL COMMUNICATION NETWORKS –
HIGH AVAILABILITY AUTOMATION NETWORKS –

Part 3: Parallel Redundancy Protocol (PRP) and
High-availability Seamless Redundancy (HSR)

FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of IEC is to promote
international co-operation on all questions concerning standardization in the electrical and electronic fields. To
this end and in addition to other activities, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC
Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested
in the subject dealt with may participate in this preparatory work. International, governmental and non-
governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely
with the International Organization for Standardization (ISO) in accordance with conditions determined by
agreement between the two organizations.
2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
consensus of opinion on the relevant subjects since each technical committee has representation from all
interested IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
services carried out by independent certification bodies.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
International Standard IEC 62439-3 has been prepared by subcommittee 65C: Industrial
networks, of IEC technical committee 65: Industrial-process measurement, control and
automation.
This second edition cancels and replaces the first edition published in 2010. This edition
constitutes a technical revision. The main changes with respect to the previous edition are
listed below:
– 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 different implementations;
– consideration of clock synchronization according to IEC 61588;
– introduction of test modes to simplify testing and maintenance.

---------------------- Page: 7 ----------------------
– 6 – 62439-3 © IEC:2012
The text of this standard is based on the following documents:
FDIS Report on voting
65C/687/FDIS 65C/705/RVD

Full information on the voting for the approval of this standard can be found in the report on
voting indicated in the above table.
This International Standard is to be read in conjunction with IEC 62439-1:2011.
A list of the IEC 62439 series can be found, under the general title Industrial communication
networks – High availability automation networks, on the IEC website.
This publication has been drafted in accordance with ISO/IEC Directives, Part 2.
The committee has decided that the contents of this publication will remain unchanged until
the stability date indicated on the IEC web site under "http://webstore.iec.ch" in the data
related to the specific publication. At this date, the publication will be
• reconfirmed,
• withdrawn,
• replaced by a revised edition, or
• amended.

---------------------- Page: 8 ----------------------
62439-3 © IEC:2012 – 7 –
0 INTRODUCTION
0.1 General
IEC 62439-3 standard belongs to IEC 62439 series, Industrial communication networks – High
availability automation networks, specifying the HSR and PRP redundancy protocols, and was
adopted by TC57 WG10 as the redundancy method for demanding substation automation
networks based on IEC 61850 series, introducing new requirements.
0.2 Changes with respect to the previous edition
The major changes with respect to IEC 62439-3:2010 are listed below.
Aligning the sequence number between PRP and HSR, to enable coupling of HSR and PRP
networks and simplify the implementation of dual-mode nodes in hardware. At the same time,
introduce a suffix in the PRP Redundancy Control Trailer to allow better identification, future
extensions and coexistence with other protocols that also happen to use a trailer. This change
is not backwards-compatible, so means are provided to identify the version and ensure that
the networks are homogeneous.
Removing all implementation restrictions on the Duplicate Discard algorithm (especially
references to the drop window algorithm and references to connection orientation) since other
methods such as hash tables can be used.
Removing the purging of the duplicate table. Replace this specific method by requiring that
any Duplicate Discard algorithm provides a mechanism to remove old entries, thus ensuring
that a node can properly reboot.
Making node tables optional for simple nodes to simplify hardware implementation.
Suppression of explicit mention of the HSR-PRP mode (PRP with HSR Tags), but allow it
through the Mode N (no forwarding).
Introducing Mode T (forward through) to allow maintenance laptops to configure an open ring
when attached to one end and Mode M (mixed) to allow forwarding of non-HSR-tagged frames
in a closed ring.
Recommending the position of connectors, rather than impose it.
Defining the behaviour of an HSR node when non-HSR frames are encountered without
requiring the recording of the source addresses and specify how IEEE 802.1D:2004, Table 7-
10 frames are treated.
Prefixing the supervision frames on HSR by an HSR tag to simplify the hardware
implementation and introduce a unique EtherType for HSR to simplify processing.
Changing the rule for the RedBox to allow more than one PRP network to be connected to an
HSR ring, and introduce an identifier per RedBox pair.
Specifying tagging of IEC 61588 frames to follow IEEE C37.238 recommendations (informal).
Suppressing MAC address substitution.
Adapting the MIB to above changes.

---------------------- Page: 9 ----------------------
– 8 – 62439-3 © IEC:2012
0.3 Patent declaration
The International Electrotechnical Commission (IEC) draws attention to the fact that it is
claimed that compliance with this document may involve the use of a patent concerning
Filtering of redundant frames in a network node given in 5.2.3.3.
IEC takes no position concerning the evidence, validity and scope of this patent right.
The holder of this patent right has assured the IEC that he/she is willing to negotiate licences
under reasonable and non-discriminatory terms and conditions with applicants throughout the
world. In this respect, the statement of the holder of this patent right is registered with IEC.
Information may be obtained from:
Siemens Aktiengesellschaft
80333 München, Germany
The International Electrotechnical Commission (IEC) draws attention to the fact that it is
claimed that compliance with this document may involve the use of a patent concerning
Reception of redundant and non-redundant frames (ABB Schweiz AG – WO 2006/053459 A1,
EP 1825657, US 20070223533, CN 101057483) given in 4.2.7, concerning Identifying
improper cabling of devices (ABB Schweiz AG – EP 2 015 501 A1) given in 4.3, concerning
Critical device with increased availability (ABB Schweiz AG – EP 2 090 950 A1) given in 4.4,
concerning Ring coupling nodes for high availability networks (ABB Schweiz AG – WO
2010/010120 A1) given in 5.2.3.
IEC takes no position concerning the evidence, validity and scope of this patent right.
The holder of this patent right has assured the IEC that he/she is willing to negotiate licences
under reasonable and non-discriminatory terms and conditions with applicants throughout the
world. In this respect, the statement of the holder of this patent right is registered with IEC.
Information may be obtained from:
ABB Schweiz AG
Brown Boveri Strasse 6
5400 Baden, Switzerland
Attention is drawn to the possibility that some of the elements of this document may
...

Questions, Comments and Discussion

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