Industrial communication networks high availability automation networks - Part 6: Distributed Redundancy Protocol (DRP) (IEC 62439-6:2010)

IEC 62439-6:2010(E) is applicable to high-availability automation networks based on the ISO/IEC 8802-3 (IEEE 802.3) (Ethernet) technology. It 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. Each switch has equal management role in the network. Double rings are supported. It cancels and replaces IEC 62439 published in 2008 and constitutes a technical revision. It includes the following significant technical changes with respect to IEC 62439 (2008):  - adding a calculation method for RSTP (rapid spanning tree protocol, IEEE 802.1Q),  - adding two new redundancy protocols: HSR (High-availability Seamless Redundancy) and DRP (Distributed Redundancy Protocol),  - moving former Clauses 1 to 4 (introduction, definitions, general aspects) and the Annexes (taxonomy, availability calculation) to IEC 62439-1, which serves now as a base for the other documents,  - moving Clause 5 (MRP) to IEC 62439-2 with minor editorial changes,  - moving Clause 6 (PRP) was to IEC 62439-3 with minor editorial changes,  - moving Clause 7 (CRP) was to IEC 62439-4 with minor editorial changes, and  - moving Clause 8 (BRP) was to IEC 62439-5 with minor editorial changes,  - adding a method to calculate the maximum recovery time of RSTP in a restricted configuration (ring) to IEC 62439-1 as Clause 8,  - adding specifications of the HSR (High-availability Seamless Redundancy) protocol, which shares the principles of PRP to IEC 62439-3 as Clause 5, and  - introducing the DRP protocol as IEC 62439-6.

Industrielle Kommunikationsnetze - Hochverfügbare Automatisierungsnetze - Teil 6: Protokoll für verteilte Redundanz (DRP) (IEC 62439-6:2010)

Réseaux de communication industrielle - Réseaux d’automatisme à haute disponibilité - Partie 6 :Protocole de redondance distribuée (DRP) (CEI 62439-6:2010)

La CEI 62439-6:2010 concerne les réseaux d'automation à haute disponibilité reposant sur la technologie (Ethernet) ISO/CEI 8802-3 (IEEE 802.3). Elle spécifie un protocole de récupération 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. Chaque commutateur joue un rôle de gestion équivalent dans le réseau. Les anneaux doubles sont pris en charge. Elle annule et remplace la CEI 62439 publiée en 2008. Cette première édition constitue une révision technique. Elle inclut les modifications techniques majeures suivantes par rapport à la CEI 62439 (2008):
- ajout d'une méthode de calcul pour le protocole RSTP (Rapid Spanning Tree Protocol, IEEE 802.1Q),
- ajout de deux nouveaux protocoles de redondance: HSR (High-availability Seamless Redundancy) et DRP (Distributed Redundancy Protocol),
- déplacement des Articles 1 à 4 (Introduction, Définitions, Aspects généraux) et des Annexes (Taxinomie, Calcul de disponibilité) dans la CEI 62439-1, qui servent à présent de base aux autres documents,
- déplacement de l'Article 5 (MRP) dans la CEI 62439-2 avec peu de modifications éditoriales,
- déplacement de l'Article 6 (PRP) dans la CEI 62439-3 avec peu de modifications éditoriales,
- déplacement de l'Article 7 (CRP) dans la CEI 62439-4 avec peu de modifications éditoriales, et
- déplacement de l'Article 8 (BRP) dans la CEI 62439-5 avec peu de modifications éditoriales,
- ajout d'une méthode de calcul du temps de reprise maximal du protocole RSTP dans une configuration restreinte (anneau) dans la CEI 62439-1 (Article 8),
- ajout de spécifications du protocole HSR (High-availability Seamless Redundancy), qui partage les principes du protocole PRP dans la CEI 62439-3 (Article 5), et
- introduction du protocole DRP (CEI 62439-6).
Cette publication doit être lue conjointement avec la CEI 62439-1:2010.

Industrijska komunikacijska omrežja za avtomatizacijo z visoko razpoložljivostjo - 6. del: Protokol porazdeljene redundance (DRP) (IEC 62439-6:2010)

Serija IEC 62439 velja za omrežja za avtomatizacijo z visoko razpoložljivostjo, osnovana na ISO/IEC 8802-3 (IEEE 802.3) (eternet) tehnologiji. Ta del serije IEC 62439 določa obnovitveni protokol, osnovan na topologiji prstana, ki je načrtovan tako, da se odziva ocenjevalno pri eni sami napaki povezave inter-stikala ali stikala v omrežju. Vsako stikalo ima enako nadzorno vlogo v  omrežju. Dvojni prstani so podprti.

General Information

Status
Published
Publication Date
13-Apr-2010
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
08-Apr-2010
Due Date
13-Jun-2010
Completion Date
14-Apr-2010

Relations

Standard
SIST EN 62439-6:2010
English language
68 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (Sample)


SLOVENSKI STANDARD
01-maj-2010
Industrijska komunikacijska omrežja za avtomatizacijo z visoko razpoložljivostjo -
6. del: Protokol porazdeljene redundance (DRP) (IEC 62439-6:2010)
Industrial communication networks high availability automation networks - Part 6:
Distributed Redundancy Protocol (DRP) (IEC 62439-6:2010)
Industrielle Kommunikationsnetze - Hochverfügbare Automatisierungsnetze - Teil 6:
Protokoll für verteilte Redundanz (DRP) (IEC 62439-6:2010)
Réseaux de communication industrielle - Réseaux d’automatisme à haute disponibilité -
Partie 6 :Protocole de redondance distribuée (DRP) (CEI 62439-6:2010)
Ta slovenski standard je istoveten z: EN 62439-6:2010
ICS:
25.040.01 Sistemi za avtomatizacijo v Industrial automation
industriji na splošno systems in general
35.110 Omreževanje Networking
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

EUROPEAN STANDARD
EN 62439-6
NORME EUROPÉENNE
March 2010
EUROPÄISCHE NORM
ICS 25.040; 35.040 Supersedes EN 62439:2008 (partially)

English version
Industrial communication networks -
High availability automation networks -
Part 6: Distributed Redundancy Protocol (DRP)
(IEC 62439-6:2010)
Réseaux de communication industrielle - Industrielle Kommunikationsnetze -
Réseaux d’automatisme à haute Hochverfügbare Automatisierungsnetze -
disponibilité - Teil 6: Protokoll für verteilte Redundanz
Partie 6 :Protocole de redondance (DRP)
distribuée (DRP) (IEC 62439-6:2010)
(CEI 62439-6:2010)
This European Standard was approved by CENELEC on 2010-03-01. 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 obtained on
application to the Central Secretariat 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 the Central Secretariat 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, France, Germany, Greece, Hungary, Iceland, Ireland, Italy,
Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia,
Spain, Sweden, Switzerland and the United Kingdom.

CENELEC
European Committee for Electrotechnical Standardization
Comité Européen de Normalisation Electrotechnique
Europäisches Komitee für Elektrotechnische Normung

Central Secretariat: Avenue Marnix 17, B - 1000 Brussels

© 2010 CENELEC - All rights of exploitation in any form and by any means reserved worldwide for CENELEC members.
Ref. No. EN 62439-6:2010 E
Foreword
The text of document 65C/583/FDIS, future edition 1 of IEC 62439-6, 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 was approved by CENELEC as EN 62439-6 on 2010-03-01.
This EN 62439-6 together with EN 62439-1, EN 62439-2, EN 62439-3, EN 62439-4 and EN 62439-5
supersedes EN 62439:2008.
– adding a calculation method for RSTP (rapid spanning tree protocol, IEEE 802.1Q),
– adding two new redundancy protocols: HSR (High-availability Seamless Redundancy) and DRP
(Distributed Redundancy Protocol),
– moving former Clauses 1 to 4 (introduction, definitions, general aspects) and the Annexes (taxonomy,
availability calculation) to EN 62439-1, which serves now as a base for the other documents,
– moving Clause 5 (MRP) to EN 62439-2 with minor editorial changes,
– moving Clause 6 (PRP) was to EN 62439-3 with minor editorial changes,
– moving Clause 7 (CRP) was to EN 62439-4 with minor editorial changes, and
– moving Clause 8 (BRP) was to EN 62439-5 with minor editorial changes,
– adding a method to calculate the maximum recovery time of RSTP in a restricted configuration (ring)
to EN 62439-1 as Clause 8,
– adding specifications of the HSR (High-availability Seamless Redundancy) protocol, which shares the
principles of PRP to EN 62439-3 as Clause 5, and
– introducing the DRP protocol as EN 62439-6.
Attention is drawn to the possibility that some of the elements of this document may be the subject of
patent rights. CEN and CENELEC shall not be held responsible for identifying any or all such patent
rights.
The following dates were fixed:
– latest date by which the EN has to be implemented
at national level by publication of an identical
national standard or by endorsement (dop) 2010-12-01
– latest date by which the national standards conflicting
with the EN have to be withdrawn (dow) 2013-03-01
Annex ZA has been added by CENELEC.
__________
- 3 - EN 62439-6:2010
Endorsement notice
The text of the International Standard IEC 62439-6:2010 was approved by CENELEC as a European
Standard without any modification.
In the official version, for Bibliography, the following notes have to be added for the standards indicated:
IEC 62439-2 NOTE  Harmonized as EN 62439-2.
IEC 62439-3 NOTE  Harmonized as EN 62439-3.
IEC 62439-4 NOTE  Harmonized as EN 62439-4.
IEC 62439-5 NOTE  Harmonized as EN 62439-5.
__________
Annex ZA
(normative)
Normative references to international publications
with their corresponding European publications

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 (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 191: Dependability and quality
of service
IEC 61158 Series Fieldbus standard for use in industrial control EN 61158 Series
systems
IEC 61588 2009 Precision clock synchronization protocol for - -
networked measurement and control systems

IEC 62439-1 2010 Industrial communication networks - High EN 62439-1 2010
availability automation networks -
Part 1: General concepts and calculation
methods
ISO/IEC/TR 8802-1 - Information technology - Telecommunications - -
and information exchange between systems -
Local and metropolitan area networks -
Specific requirements -
Part 1: Overview of Local Area Network
Standards
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 detection (CSMA/CD) access method
and physical layer specifications

IEEE 802.1D 2004 IEEE Standard for Local and Metropoitan - -
Area Networks - Media Access Control (MAC)
Bridges
IEEE 802.1Q - IEEE Standard for Local and Metropolitan - -
Area Networks - Virtual Bridged Local Area
Networks
IEC 62439-6 ®
Edition 1.0 2010-02
INTERNATIONAL
STANDARD
colour
inside
Industrial communication networks – High availability automation networks –
Part 6: Distributed Redundancy Protocol (DRP)

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XB
ICS 25.040, 35.040 ISBN 2-8318-1081-6
– 2 – 62439-6 © IEC:2010(E)
CONTENTS
FOREWORD.5
INTRODUCTION.7
1 Scope.8
2 Normative references .8
3 Terms, definitions, abbreviations, acronyms, and conventions.8
3.1 Terms and definitions .8
3.2 Abbreviations and acronyms.9
3.3 Conventions .9
4 Overview .9
4.1 Principles .9
4.2 Ring ports .10
4.3 DRP switch node.10
4.4 Single ring topology redundancy.11
4.5 Double ring topology redundancy .11
4.6 Configuration.12
4.6.1 Overview .12
4.6.2 Manufacturer configuration .12
4.6.3 Communication configuration.12
4.6.4 Application configuration .13
4.7 Start up .13
5 DRP communications .13
5.1 Overview .13
5.2 Communication procedure.15
5.3 Fault detection and recovery .18
5.3.1 General .18
5.3.2 Handling in a single ring network .19
5.3.3 Handling in a double ring network.20
5.4 Repairing the inter-switch link fault.21
5.5 Repairing time synchronization fault .21
5.6 Inserting a repaired switch node.22
5.7 Inserting a new switch node .23
6 DRP class specification .23
7 DRP attributes.24
8 DRP services .27
8.1 Read .27
8.2 Write .30
9 DRP protocol specification.32
9.1 Basic types encoding .32
9.2 ErrorDescription encoding .32
9.3 Encoding of DRP Class .33
9.4 PDU description .34
9.4.1 Encoding of DRP DLPDU .34
9.4.2 Encoding of DLSDU.35
9.4.3 Encoding of VLAN .35
9.4.4 Ethertype.35

62439-6 © IEC:2010(E) – 3 –
9.4.5 Encoding of DRP PDU.35
9.4.6 Encoding of DRP_DATA .36
9.4.7 Encoding of Read Service .40
9.4.8 Encoding of Write Service primitives.42
9.5 Protocol machine.44
9.5.1 Switch node states description .44
9.5.2 Protocol State Machine description.44
9.5.3 State transitions .45
9.5.4 Function descriptions.52
Bibliography.64

Figure 1 – DRP communication model .10
Figure 2 – Single ring topology redundancy .11
Figure 3 – Double ring topology redundancy .12
Figure 4 – DRP communication procedure .14
Figure 5 – Inserting a new switch node into the DRP system .14
Figure 6 – Fault detection and recovery .15
Figure 7 – Fault detection and recovery of single ring topology redundancy.19
Figure 8 – Single inter-switch link fault detection and recovery of double ring topology
redundancy.20
Figure 9 – Double inter-switch link fault detection and recovery of double ring topology
redundancy.21
Figure 10 – Inserting a repaired switch node.22
Figure 11 – DRP protocol state machine .45

Table 1 – Relationship between required recovery time and the TargetTimeSyncClass.22
Table 2 – Parameters of Read service .27
Table 3 – Parameters of Write service .30
Table 4 – Error Type definition.32
Table 5 – Error Code definition .33
Table 6 – Definition of DRP Class.33
Table 7 – DRP OUI .34
Table 8 – DRP MulticastMACAddress .35
Table 9 – Encoding of DLSDU .35
Table 10 – Encoding of DRP PDU.35
Table 11 – DRP_Type definition .35
Table 12 – Encoding of RingCheck frame .36
Table 13 – Encoding of DeviceAnnunciation frame.37
Table 14 – Encoding of RingChange frame .39
Table 15 – Encoding of LinkCheck frame .39
Table 16 – Encoding of LinkAlarm frame.40
Table 17 – Encoding of LinkChange frame.40
Table 18 – Encoding of Read Request .41
Table 19 – Encoding of Read Service Positive Response .41
Table 20 – Encoding of Read Service Negative Response .42

– 4 – 62439-6 © IEC:2010(E)
Table 21 – Encoding of Write Request .43
Table 22 – Encoding of Write Service Positive Response.43
Table 23 – Encoding of Write Service Negative Response .43
Table 24 – DRP state transitions.46
Table 25 – SetRingPortState() descriptions .52
Table 26 – LoadRingPortState() descriptions .52
Table 27 – WriteSucceed() descriptions.52
Table 28 – SynchronizationFinished() descriptions .53
Table 29 – ActivePortLinkState() descriptions.53
Table 30 – StandbyPortLinkState() descriptions.53
Table 31 – ConfigureInfo() descriptions .53
Table 32 – DRPSendTimer() descriptions .54
Table 33 – SendRingChange() descriptions .54
Table 34 – ForwardingRingCheck() descriptions .54
Table 35 – AnnunciationBlockingPort() descriptions.54
Table 36 – LocalDRPSequenceIDSmaller() descriptions .55
Table 37 – RecvAnnunciationWithinTimeLimit() descriptions.55
Table 38 – RecvLinkCheckWithinTimeLimit() descriptions.55
Table 39 – NoLocalLinkFault() descriptions .55
Table 40 – RecvLinkAlarm() descriptions .56
Table 41 – Clear_FDB() descriptions .56
Table 42 – ChangeRingState() descriptions .56
Table 43 – BlockingPortSelect() descriptions .56
Table 44 – SendLinkChange() descriptions .57
Table 45 – DRPSequenceIDCompare() descriptions .57
Table 46 – ChangePortState() descriptions.57
Table 47 – ChangeDoublePortState() descriptions .57
Table 48 – LocalSendRingCheck() descriptions .58
Table 49 – DRPKeyParaConfigure() descriptions .58
Table 50 – CheckMACAddress() descriptions .58
Table 51 – SetDRPKeyPara() descriptions.58
Table 52 – SendDeviceAnnunciation() descriptions.59
Table 53 – FaultRecvRingCheck() descriptions .59
Table 54 – RecordDeviceState() descriptions .59
Table 55 – DrpRecvMsg() descriptions .59
Table 56 – SendLinkAlarm() descriptions .60
Table 57 – TimeUnsynchronization() descriptions .60
Table 58 – PassiveMasterState() descriptions .60
Table 59 – SearchDeviceState() descriptions.60
Table A.1 – An example of parameters setting for DRP Class .62
Table A.2 – Parameters for calculation of recovery time.63

62439-6 © IEC:2010(E) – 5 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
INDUSTRIAL COMMUNICATION NETWORKS –
HIGH AVAILABILITY AUTOMATION NETWORKS –

Part 6: Distributed Redundancy Protocol (DRP)

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.
International Standard 62439-6 has been prepared by subcommittee 65C: Industrial Networks,
of IEC technical committee 65: Industrial-process measurement, control and automation.
This standard cancels and replaces IEC 62439 published in 2008. This first edition constitutes
a technical revision.
This edition includes the following significant technical changes with respect to IEC 62439
(2008):
– adding a calculation method for RSTP (rapid spanning tree protocol, IEEE 802.1Q),
– adding two new redundancy protocols: HSR (High-availability Seamless Redundancy)
and DRP (Distributed Redundancy Protocol),
– moving former Clauses 1 to 4 (introduction, definitions, general aspects) and the
Annexes (taxonomy, availability calculation) to IEC 62439-1, which serves now as a
base for the other documents,
– moving Clause 5 (MRP) to IEC 62439-2 with minor editorial changes,
– moving Clause 6 (PRP) was to IEC 62439-3 with minor editorial changes,

– 6 – 62439-6 © IEC:2010(E)
– moving Clause 7 (CRP) was to IEC 62439-4 with minor editorial changes, and
– moving Clause 8 (BRP) was to IEC 62439-5 with minor editorial changes,
– adding a method to calculate the maximum recovery time of RSTP in a restricted
configuration (ring) to IEC 62439-1 as Clause 8,
– adding specifications of the HSR (High-availability Seamless Redundancy) protocol,
which shares the principles of PRP to IEC 62439-3 as Clause 5, and
– introducing the DRP protocol as IEC 62439-6.
The text of this standard is based on the following documents:
FDIS Report on voting
65C/583/FDIS 65C/589/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:2010, Industrial
communication networks – High availability automation networks – Part 1: General concepts
and calculation methods.
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 amendment and the base 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.
A bilingual version of this standard may be issued at a later date.

IMPORTANT – The “colour inside” logo on the cover page of this publication indicates
that it contains colours which are considered to be useful for the correct understanding
of its contents. Users should therefore print this publication using a colour printer.

62439-6 © IEC:2010(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 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 software 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 in
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) draws attention to the fact that it is
claimed that compliance with this document may involve the use of a patent concerning about
the communication procedure and fault detection and recovery for DRP given in 5.2 and 5.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
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 holder of this patent
right is registered with IEC. Information may be obtained from:
SUPCON Group Co., Ltd & Zhejiang University
Hangzhou
China
Beijing Kyland Technology Co. LTD
No 95 Building
Southeast Corner of Xisanqi Bridge
Haidian
Beijing
China
Attention is drawn to the possibility 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://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 to date information concerning patents.

– 8 – 62439-6 © IEC:2010(E)
INDUSTRIAL COMMUNICATION NETWORKS –
HIGH AVAILABILITY AUTOMATION NETWORKS –

Part 6: Distributed Redundancy Protocol (DRP)

1 Scope
The IEC 62439 series is applicable to high-availability automation networks based on the
ISO/IEC 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. Each switch has equal management role in the network. Double rings are supported.
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 (including any amendments) applies.
IEC 60050-191, International Electrotechnical Vocabulary – Chapter 191: Dependability and
quality of service
IEC 61158 (all parts), Industrial communication networks – Fieldbus specifications
IEC 61588:2009, Precision clock synchronization protocol for networked measurement and
control systems (IEEE 1588)
IEC 62439-1:2010, Industrial communication networks – High availability automation networks
– Part 1: General concepts and calculation methods
ISO/IEC/TR 8802-1, Information technology – Telecommunications and information exchange
between systems – Local and metropolitan area networks – Specific requirements – Part 1:
Overview of Local Area Network Standards Technologies de (IEEE 802.1)
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 detection (CSMA/CD) access method and
physical layer specifications
IEEE 802.1D:2004, IEEE standard for local Local and metropolitan area networks Media
Access Control (MAC) Bridges
IEEE 802.1Q, IEEE standards for local and metropolitan area network. Virtual bridged local
area networks
3 Terms, definitions, abbreviations, acronyms, and conventions
3.1 Terms and definitions
For the purposes of this document, the terms and definitions given in IEC 60050-191, as well
as in IEC 62439-1, apply, in addition to the following.

62439-6 © IEC:2010(E) – 9 –
3.1.1
active ring port
ring port which is connected in the ring network and works in Blocking or Forwarding state
3.1.2
cycle
shortest time interval after which the communication traffic pattern repeats itself
3.1.3
standby ring port
ring port which is connected in the ring network and works in the Disabled state
3.1.4
time offset
time difference from a specially designated time
3.2 Abbreviations and acronyms
For the purposes of this document, the abbreviations and acronyms given in IEC 62439-1,
apply.
3.3 Conventions
This document follows the conventions defined in IEC 62439-1.
4 Overview
4.1 Principles
The Distributed Redundancy Protocol (DRP) defines a high availability network solution based
on ISO/IEC 8802-3 (IEEE 802.3) and the functions of ISO/IEC/TR 8802-1 (IEEE 802.1) for
communication link redundancy.
DRP provides a framework for describing the operational behaviour of the switches in a ring
topology to detect a single network failure (such as an inter-switch link failure or a ring switch
failure) and recover from it within a deterministic recovery time.
A DRP network has a ring topology with multiple switch nodes, each of which may be a switch
or a switching end node. Each node requires an integrated switch with at least two ports (ring
ports) connected to the ring, and which is able to detect and recover from failures in
accordance with the DRP protocol.
Each node has equal management role in a DRP ring network. It means that each node
observes and controls the ring topology by multicasting a ring test frame RingCheck and an
inter-switch link test frame LinkCheck cyclically, and reacts on network faults. The LinkCheck
test frame provides the mechanism to detect the failure of a switch node.
In a DRP network, each switch node is synchronized using IEC 61588 (IEEE 1588) with either
boundary clock or transparent clock according to the application.
NOTE Typically, boundary clock is used according to IEC 61588 (IEEE 1588). In larger-scale application, the
transparent clock should be used for better time synchronization.
Optionally, DRP supports double ring topology redundancy. In this case, each switch node
shall have at least two pairs of ring ports: one pair of active ring ports and one pair of standby
ring ports.
– 10 – 62439-6 © IEC:2010(E)
The DRP defines a service entity and a protocol entity, as well as a set of management
frames. The service entity specifies the externally visible services for application layer and
systems management. The communication model for DRP is shown in Figure 1.
DRP DRP
(service) (protocol)
data
link
802.1
layer
bridge
802.3 802.3
medium medium
access access
physical 802.3 802.3
layer
PHY PHY
IEC  391/10
Figure 1 – DRP communication model
4.2 Ring ports
Each switch node shall have at least two ring ports connected to the ring network.
Some switch nodes in addition to the ring ports can have one or more non ring ports including
leaf link ports. In such cases, the DRP frames (for example RingCheck, LinkCheck, LinkAlarm,
LinkChange, DeviceAnnunciation and RingChange) shall not be forwarded to non-ring ports.
The ring ports which support DRP protocol shall have three states as follows:
a) Disabled
• All frames shall be dropped.
b) Blocking
All frames shall be dropped except the following:
• DRP frames, such as RingCheck frame, LinkCheck frame, LinkAlarm frame,
LinkChange frame, DeviceAnnunciation frame, RingChange frame.
• Frames specified in IEEE 802.1D (2004) Table 7-10 to pass ports in “Discarding” state
(e.g. LLDP, IEC 61588 (IEEE 1588) PTP).
• Frames only produced or consumed by the higher layer entities of this node and never
forwarded.
c) Forwarding:
All frames shall be passed through according to the forwarding behaviour of IEEE 802.1D.
4.3 DRP switch node
The communication roles of all switch nodes are equal in the DRP ring. Each switch node may
be a switch or a switching end node.

62439-6 © IEC:2010(E) – 11 –
Each switch node has the equal right to periodically multicast ring fault detection frame
RingCheck and inter-switch link fault detection frame LinkCheck in both directions of the ring
at the scheduled time.
4.4 Single ring topology redundancy
Each switch node shall have two ring ports connected to the ring network, which are called
active ports (as shown in Figure 2).
In a DRP single ring network, only one active ring port operates in the Blocking state while all
other ring ports operate in the Forwarding state. That is, only one switch node sets one of its
active ring ports into the Blocking state, the other active ring port of this node is set into the
Forwarding state. All other switch nodes set the two active ring ports into the Forwarding state.
BFBF FFFF FFFF FFFF
FFFF FFFF FFFF FFFF
IEC  392/10
Figure 2 – Single ring topology redundancy
4.5 Double ring topology redundancy
As shown in Figure 3, each switch node shall have at least two pairs of ring ports connected
to the ring network. One pair of ring ports is active (for example the ports in Ring1) while the
other pair of ring ports is standby (for example the ports in Ring2).

– 12 – 62439-6 © IEC:2010(E)
Ring 2
D D
DD DD
D D
BF FF FF FF
Ring 1
FF FF FF FF
D
D D D D
D D D
IEC  393/10
Figure 3 – Double ring topology redundancy
In a DRP double ring network, only one switch node sets one of its active ring ports into
Blocking state, the other active ring port into the Forwarding state and the two standby ring
ports into the Disabled state.
4.6 Configuration
4.6.1 Overview
Before the switch node is connected in a DRP network, it shall be configured using
configuration software using the DRP Write service. The configuration shall include
manufacturer configuration, communication configuration, and application configuration.
4.6.2 Manufacturer configuration
Manufacturer configuration includes the preset of DeviceID, ManufacturerName, DRPVersion,
SoftwareVersion, HardwareVersion, Device MAC Address.
Manufacturer configuration information shall be downloaded in a DRP device only when it is
manufactured, and it may be uploaded using the Read service.
4.6.3 Communication configuration
Communication configuration includes the preset of states of standby ring ports, Cycle, Ring
Check SendTimeOffset, Ring Check Time Limit, Link Check SendTimeOffset, Link Check
Time Limit, SynchronizationClockType, DRPSequenceID, DRPDeviceNumber.
For a single ring network, each switch node shall initialize one active ring port in the Blocking
state, and the other ring port in the Forwarding state as described in 4. 7.

62439-6 © IEC:2010(E) – 13 –
For a double ring network, the two standby ring ports shall be set to the Disabled state.
Communication configuration information shall be written into a switch node using a Write
service. It can be read from a switch node using the Read service.
4.6.4 Application configuration
Application configuration includes the preset of DRP Domain ID, PD-Tag, VLAN ID, Ring1
Port1 ID, Ring1 Port2 ID, Ring2 Port1 ID, Ring2 Port2 ID, SynchronizationClockType.
Application configuration information shall be downloaded into the switch node using Write
service. It can be uploaded using Read service.
4.7 Start up
When powered on, each switch node shall initialize one active ring port in the Blocking state
and the other ring port in the Forwarding state. Each switch node shall be synchronized using
IEC 61588 (IEEE 1588) protocol (see 6.6 and 9.3 in IEC 61588 (IEEE 1588)).
If a switch node has not received any RingCheck frame in Ring Check Time Limit, and this
switch node is directly connected to the grandmaster clock outside of the ring as defined in
IEC 61588 (IEEE 1588), the switch node shall set the value of DRPDeviceNumber and the
value of DRPSequenceID to 0x01, and send the RingCheck frame immediately.
When the value of Cycle is 0xFFFF FFFF FFFF FFFF, the switch node shall not transmit any
DRP frames. Otherwise, it shall send the DeviceAnnunciation and the LinkCheck frames
according to the communication configuration.
When the DRP system reaches steady state, only the switch node with the smallest
DRPSequenceID will keep one ring port in the Blocking state.
5 DRP communications
5.1 Overview
In a DRP redundant network, the communication time is divided into several Cycles, marked
as Cycle as shown in Figure 4. Where t is the time offset for sending the RingCheck
RingCheck
frame while t is the time offset for sending the LinkCheck frame.
LinkCheck
– 14 – 62439-6 © IEC:2010(E)
Cycle Switch C
Cycle Switch A Cycle Switch B
D1
D2
D3
D4
D5
D6
t
t
t
LinkCheck
LinkCheck
LinkCheckTimeOffset
t
t
RingCheck
RingCheck TimeOffset RingCheck
RingCheck
LinkCheck LinkAlarm
LinkChange
RingChange
DeviceAnnunciation
IEC  394/10
Figure 4 – DRP communication procedure
Within one Cycle, only one switch node multicasts the RingCheck frame to test the ring state
at time t ,
...

Questions, Comments and Discussion

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

Loading comments...