install the system
install the system
Redundancy
System
User Manual
Important User Information Because of the variety of uses for the products described in this
publication, those responsible for the application and use of these
products must satisfy themselves that all necessary steps have been
taken to assure that each application and use meets all performance
and safety requirements, including any applicable laws, regulations,
codes and standards. In no event will Rockwell Automation be
responsible or liable for indirect or consequential damage resulting
from the use or application of these products.
Any illustrations, charts, sample programs, and layout examples
shown in this publication are intended solely for purposes of
example. Since there are many variables and requirements associated
with any particular installation, Rockwell Automation does not assume
responsibility or liability (to include intellectual property liability) for
actual use based upon the examples shown in this publication.
Allen-Bradley publication SGI-1.1, Safety Guidelines for the
Application, Installation and Maintenance of Solid-State Control
(available from your local Rockwell Automation office), describes
some important differences between solid-state equipment and
electromechanical devices that should be taken into consideration
when applying products such as those described in this publication.
Reproduction of the contents of this copyrighted publication, in whole
or part, without written permission of Rockwell Automation, is
prohibited.
Throughout this publication, notes may be used to make you aware of
safety considerations. The following annotations and their
accompanying statements help you to identify a potential hazard,
avoid a potential hazard, and recognize the consequences of a
potential hazard:
!
IMPORTANT Identifies information that is critical for successful
application and understanding of the product.
Summary of Changes
Introduction This release of this document contains new and updated information.
To find new and updated information, look for change bars, as shown
next to this paragraph.
Notes:
Purpose of this Manual This manual guides the design, development, and implementation of a
redundancy system for a ControlLogix® controller.
Who Should Use this This manual is intended for those individuals who design and develop
applications that use ControlLogix controllers, such as:
Manual
• software engineers
• control engineers
• application engineers
• instrumentation technicians
When to Use This Manual Use this manual throughout the life-cycle of a redundancy system:
• design
• installation
• configuration
• programming
• testing
• maintenance and troubleshooting
How to Use this Manual This manual is divided into the basic tasks that you perform during
the design, development, and implementation of a ControlLogix
redundancy system.
As you use this manual, you will see some text that is formatted
differently from the rest of the text:
Notes:
Chapter 1
ControlLogix® Redundancy Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Overview Basic Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Switchover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Crossloading Tag Values . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
ControlNet Node Addresses . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Quick Start Checklists . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
System Lay-Out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
Redundant Chassis Configuration . . . . . . . . . . . . . . . . . 1-8
RSLogix™ 5000 Project . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
Chapter 2
Design the System How to Use this Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Lay Out the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Place the I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Add Additional Redundant Components. . . . . . . . . . . . . . . 2-5
Redundant ControlNet Media . . . . . . . . . . . . . . . . . . . . 2-5
Redundant Power Supplies. . . . . . . . . . . . . . . . . . . . . . 2-6
Check Connection Requirements . . . . . . . . . . . . . . . . . . . . 2-6
Assign ControlNet Addresses . . . . . . . . . . . . . . . . . . . . . . . 2-7
Select a Network Update Time . . . . . . . . . . . . . . . . . . . . . 2-9
Estimate the Switchover Time . . . . . . . . . . . . . . . . . . . . . . 2-11
Chapter 3
Install the System When to Use this Chapter . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
How to Use this Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Preliminary Information. . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Install the Chassis for the Controllers . . . . . . . . . . . . . . . . . 3-4
Install Modules in the First Redundant Chassis . . . . . . . . . . 3-5
Install Modules in the Second Redundant Chassis . . . . . . . . 3-7
Install the Remote Chassis or Rails . . . . . . . . . . . . . . . . . . . 3-8
Flash the Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
Synchronize the Controllers . . . . . . . . . . . . . . . . . . . . . . . . 3-10
Set the Auto-Synchronization Option to Always. . . . . . . 3-10
Synchronize the Controllers . . . . . . . . . . . . . . . . . . . . . 3-11
Download the Project to the Primary Controller . . . . . . . . . 3-12
Schedule the Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
Schedule a New Network . . . . . . . . . . . . . . . . . . . . . . . 3-13
Update the Schedule of an Existing Network. . . . . . . . . 3-15
Check the Keepers. . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16
Save the Project for Each Controller . . . . . . . . . . . . . . . 3-16
Test the Switchover. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17
Make Sure the Auto-Synchronization Option = Always . 3-17
Initiate a Switchover. . . . . . . . . . . . . . . . . . . . . . . . . . . 3-18
Chapter 4
Configure and Program the When to Use this Chapter . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Controller How to Use this Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Configure the Project for the Controllers . . . . . . . . . . . . . . 4-2
Determine When to Retain Test Edits . . . . . . . . . . . . . . 4-2
Determine How to Reserve Memory . . . . . . . . . . . . . . . 4-3
Configure a Controller for Redundancy . . . . . . . . . . . . . 4-4
Configure Communications . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Configure I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Configure Produced Tags . . . . . . . . . . . . . . . . . . . . . . 4-7
Configure Message (MSG) Instructions . . . . . . . . . . . . . 4-8
Configure Tags for an HMI . . . . . . . . . . . . . . . . . . . . . . 4-8
Estimate the Scan Time of a Program . . . . . . . . . . . . . . . . . 4-9
Minimize Scan Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
Use a Few Large Programs . . . . . . . . . . . . . . . . . . . . . . 4-10
Minimize the Use of SINT or INT tags. . . . . . . . . . . . . . 4-10
Use Arrays and User-Defined Data Types . . . . . . . . . . . 4-11
Pack Data into Arrays. . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
Execute Instructions Only When Required . . . . . . . . . . 4-13
Maintain the Integrity of Your Data During a Switchover . . 4-15
Look for Array Shift Instructions . . . . . . . . . . . . . . . . . . 4-17
Look for Logic That is Scan-Dependant. . . . . . . . . . . . . 4-18
Take Preventative Actions . . . . . . . . . . . . . . . . . . . . . . 4-19
Set the Task Watchdog Times . . . . . . . . . . . . . . . . . . . . . . 4-20
Estimate a Watchdog Time . . . . . . . . . . . . . . . . . . . . . . 4-20
Set the Watchdog Time for a Task . . . . . . . . . . . . . . . . 4-21
Determine the Scan Time of a Task . . . . . . . . . . . . . . . 4-22
Chapter 5
Maintain and Troubleshoot the When to Use this Chapter . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
System How to Use this Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
Determine the Cause of a Switchover. . . . . . . . . . . . . . . . . 5-2
Troubleshoot a Failure to Synchronize . . . . . . . . . . . . . . . . 5-3
Update a Keeper Signature. . . . . . . . . . . . . . . . . . . . . . 5-4
Check the Recent Synchronization Attempts . . . . . . . . . 5-5
Manually Synchronize the Controllers . . . . . . . . . . . . . . . . 5-6
Optimize Communication . . . . . . . . . . . . . . . . . . . . . . . . . 5-7
Choose a Greater System Overhead Time Slice . . . . . . . 5-8
Enter a System Overhead Time Slice. . . . . . . . . . . . . . . 5-9
Make All Your Tasks Periodic. . . . . . . . . . . . . . . . . . . . 5-10
Adjust CNB Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11
Use RSLinx Software . . . . . . . . . . . . . . . . . . . . . . . . . . 5-12
Look at the Four Character Display. . . . . . . . . . . . . . . . 5-13
Appendix A
Develop the Bill of Materials Redundant Controller Chassis . . . . . . . . . . . . . . . . . . . . . . A-1
Additional Materials. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Appendix B
Convert an Existing System to Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Redundancy Convert Local Modules to Remote Modules . . . . . . . . . . . . B-1
Re-Configure the Local I/O Modules . . . . . . . . . . . . . . . B-2
Replace Local I/O Tags . . . . . . . . . . . . . . . . . . . . . . . . B-2
Replace any Aliases to Local I/O Tags. . . . . . . . . . . . . . B-4
ControlNet™ Network 1 -
HMI communications ControlNet Network 2 -
I/O communications
identical pair of
ControlLogix chassis that at least 2 other
control your machine or ControlNet nodes
process
Term: Description:
primary controller The controller that is currently controlling the machine or process.
primary chassis The chassis that contains the primary controller.
secondary controller The controller that is standing by to take control of the machine or process. A secondary
controller always resides in a different chassis than the primary controller.
secondary chassis The chassis that contains the secondary controller.
switchover Transfer of control from the primary controller to the secondary controller. After a
switchover, the controller that takes control becomes the primary controller. Its partner
controller (the controller that was previously the primary controller) becomes the
secondary controller.
Synchronization To take over control, the secondary controller requires the same
project as the primary controller. It also requires up-to-date tag values.
The following terms describe the process of communication between
the two controllers.
Term: Description:
crossload The transfer of any or all of the contents of the primary controller to the secondary
controller. This could be updated tag values, force values, online edits, or any other
information about the project. A crossload occurs initially when the controllers synchronize
and then repeatedly as the primary controller executes its logic.
synchronize The process that readies a secondary controller to take over control if a failure occurs in
the primary chassis. During synchronization, the 1757-SRM modules check that the
partner modules in the redundant chassis pair are compatible with each other. The SRM
module also crossloads (transfers) the content of the primary controller to the secondary
controller.
Synchronization occurs when you turn on power to the secondary chassis. It may also
occur at other times.
disqualified Indicates that the secondary control has failed to synchronize with the primary controller. If
a secondary controller is disqualified, it is unable to take over control of the machine or
process. You also have the option of manually disqualifying a secondary controller.
primary chassis
1757-SRM modules
crossload
secondary chassis
43129
Crossloading Tag Values At the end of each program, the primary controller pauses its
execution to crossload the result of any output instruction that
executed in the program. This results in an increased program scan
time for a synchronized redundancy system.
ControlNet Node Addresses Each CNB module in a redundant chassis shares a pair of ControlNet
node numbers with its partner in the other chassis.
primary secondary
chassis chassis
24 25
CNB modules in the primary chassis CNB modules swap node numbers.
use the node number to which they
are set. switchover
1 2 3 1 2 3
0 4 0 4
7 6 5 7 6 5
secondary primary
chassis chassis
25 24
CNB modules in the secondary chassis use CNB modules swap node numbers.
the node number to which they are set plus 1.
Workstations and HMIs connect to the node Workstations and HMIs continue to connect
number of the primary chassis. to the same node number.
Quick Start Checklists The following checklists provide a summary of the criteria for a
successful ControlLogix redundancy system. See the remaining
chapters for more information on each parameter.
System Lay-Out
Parameter: Criteria: See page:
❑ 1. Type of network ControlNet™ networks are the primary networks for the system. OK to bridge to devices 2-2
on other networks, such as EtherNet/IP, DeviceNet™, Universal Remote I/O, and DH+™
networks.
❑ 2. Number of Separate ControlNet networks for scheduled communications (I/O, produced/consumed 2-2
ControlNet networks tags) and unscheduled communications (HMI, workstations, message instructions)
❑ 3. Network update • NUTs ≤ 90 ms 2-9
times • NUTs ≤ specified relationship to each other
❑ 4. I/O Placement • All I/O modules in remote chassis or DIN rails (no I/O in the local chassis) 2-2, 2-4
• All I/O in only the following locations:
• same ControlNet network as the redundant controllers (no bridging)
• DeviceNet™ network (via a 1756-DNB module in a remote chassis)
• universal remote I/O network (via a 1756-DHIRO module in a remote chassis)
❑ 5. Number of At least 2 nodes on each network in addition to the CNBs in the redundant chassis 2-7
ControlNet nodes (I.e., Each ControlNet network has at least 4 nodes.)
❑ 6. ControlNet node • Non-redundant nodes use the lowest node numbers 1-6, 2-7
assignments • CNB modules in the redundant chassis set close to the SMAX.
• 2 consecutive node addresses for each set of partner CNB modules (one in each
chassis)
• Switches of each partner CNB module set to the same node address
❑ 7. PanelView™ • ≤ 3 terminals per CNB module 2-2
terminals • ≤ 4 terminals per controller
❑ 8. Network Access No devices connected to the network access ports of CNB modules in the redundant 2-2
Ports chassis
Notes:
How to Use this Chapter To design your system, complete the following tasks:
Lay Out the System Figure 2.1 ControlLogix redundancy requirements and recommendations
• ≤ 3 terminals per
CNB module
ControlNet network: • ≤ 4 terminals per
controller
• Set NUT ≤ 90 ms
• Set RPIs ≤ 375 ms
other networks
at least 2 nodes in
addition to the CNBs in
the redundant chassis An additional node can be a:
• second CNB module in the same remote chassis or in a different remote chassis
• any other ControlNet device (not required to be keeper-capable)
• workstation that is running RSLinx software.
1757-SRM module:
• only 1 in each redundant chassis
• uses 2 slots
L C C S
redundant 5 N N R
5 B B M no other modules
chassis a
M
x
identical modules:
• same slot number same size of chassis
L C C S
5 N N R
redundant no other modules
5 B B M
chassis b M
x
1757-SRCx cable
• 1, 3, 10, 50, and 100 meter lengths
Place the I/O In a ControlLogix redundancy system, place all I/O in only the
following locations:
C D D C E
ControlNet network N I/O modules H N N N remote chassis
B R B B B
I
O
I/O – No
I/O – No
I/O – Yes
I/O – Yes
Add Additional Redundant In addition to using redundant pairs of controllers, you have the
option of adding the following redundant components to your system:
Components
• Redundant ControlNet Media
• Redundant Power Supplies
redundant media
ControlNet node
1756-PA75R or 1756-PA75R or
1756-PB75R 1756-PB75R
1756 digital
ControlLogix chassis with input module
1756-PSCA module
Check Connection Make sure that each controller in a redundant chassis has available
enough connections for redundancy communications. Redundancy
Requirements communications require the following number of additional
connections:
Assign ControlNet
Addresses
IMPORTANT 1. Make sure that your network has at least 2 nodes in addition to
the redundant chassis pair. An additional node can be a:
IMPORTANT 2. Assign the lowest ControlNet addresses to I/O chassis and other
remotely-located chassis. (I.e., Do not assign the lowest
addresses to the redundant chassis pair.)
Table 2.1 Slot and node numbers for 1756-CNB/D or -CNBR/D modules
Select a Network Update Use a network update time (NUT) that is less than or equal to the
following values.
Time
If you have: And: Then:
only one CNB module in a redundant Use a NUT that is less than or equal to
chassis 90 milliseconds.
more than one CNB module in a redundant the CNB modules are on the same network Use a NUT that is less than or equal to
chassis 90 milliseconds.
the CNB modules are on different networks The NUT of each network must be within
the values indicated in Table 2.2.
If you use a larger NUT, the controller could lose its connection with a
module during a switchover. This could cause outputs to change state.
Table 2.2 NUTs for multiple ControlNet networks Table 2.2 NUTs for multiple ControlNet networks (Continued)
If the smallest Then the largest NUT on any other If the smallest Then the largest NUT on any other
NUT on a network network must be less than or equal NUT on a network network must be less than or equal
is (ms): to (ms): is (ms): to (ms):
2 15 20 52
3 17 21 55
4 19 22 57
5 21 23 59
6 23 24 62
7 25 25 64
8 27 26 66
9 29 27 68
10 31 28 71
11 33 29 73
12 35 30 75
13 37 31 78
14 39 32 80
15 41 33 82
16 43 34 84
17 46 35 87
18 48 36 89
19 50 37 - 90 90
L C S C
5 N R N
5 B M B
M
x
Network 1 Network 2
L C S C
5 N R N
5 B M B
M
x
Estimate the Switchover The switchover time of a redundant system depends on the network
update time (NUT) of the ControlNet network. To estimate the
Time switchover time, use the following formulas:
For this type of failure: If the NUT is: The switchover time is: Example:
loss of power ≤6 60 ms For a NUT of 4 ms, the switchover time
– or – is approximately 60 ms.
module failure
≥7 5 (NUT ) + MAX (2 (NUT ), 30) For a NUT of 10 ms, the switchover
time is approximately 80 ms.
CNB module cannot communicate 14 (NUT ) + MAX (2 (NUT ), 30) + 50 For a NUT of 10 ms, the switchover
with any other node time is approximately 220 ms.
where:
Notes:
When to Use this Chapter Use this chapter to install the hardware of your ControlLogix
redundancy system.
How to Use this Chapter To install your system, complete the following tasks:
Preliminary Information
This chapter provides the sequence of tasks and the critical actions for
the successful installation of your ControlLogix redundancy system. It
does not replace the installation instructions for the components of the
system. As you install your system, refer to the following publications:
Before you install the system, review the following guidelines for safe
handling of ControlLogix components:
WARNING When you insert or remove a module while backplane power is on,
an electrical arc can occur. This could cause an explosion in
hazardous location installations. Be sure that power is removed or the
42798
2.
C
N
B
3.
42799
L C S
5 N R
5 B M
42799
L C S L C S
5 N R 5 N R
5 B M 5 B M
2.
42800
3.
Install the Remote Chassis You must install all I/O modules and additional types of
communication modules in remote chassis or on DIN rails. The
or Rails following example shows a remote 1756 chassis. You can use any
type of chassis or device that you can connect to the ControlNet
network.
EtherNet/IP network
L C S L C S C E
5 N R 5 N R N I/O modules N
5 B M 5 B M B B
42197
IMPORTANT If you connect the workstation to the network via a network access port on a CNB
module, use a CNB module in a remote chassis. This lets a switchover occur after the
failure of a ControlNet tap of a primary chassis.
For example, if you set the rotary switches of the CNB modules
in the redundant chassis to node 11, no other device should use
node 12.
Flash the Modules 1. Turn on the power to one of the redundant chassis.
Redundancy Module
2. Wait for the 1757-SRM module to display PRIM.
Synchronize the Controllers To synchronize the controllers in the redundant chassis pair:
− Workstation
+ Linx Gateways, Ethernet
− AB_KTC-x, ControlNet
primary chassis + n, 1756-CNB/D
− Workstation
+ Linx Gateways, Ethernet
− AB_KTC-x, ControlNet
− n, 1756-CNB/D
− Backplane, 1756-Ax
xx, 1756 module, 1757-SRM
b. Choose Always.
8. Choose OK.
Download the Project to the You only have to download the project to the primary controller.
When the secondary controller is synchronized, the system
Primary Controller automatically crossloads the project to the secondary controller.
− Workstation
+ Linx Gateways, Ethernet
− AB_KTC-x, ControlNet
primary chassis + n, 1756-CNB/D
secondary chassis + n + 1, 1756-CNB/D
− Workstation
+ Linx Gateways, Ethernet
− AB_KTC-x, ControlNet
− n, 1756-CNB/D
− Backplane, 1756-Ax
+ xx, 1756-L55Mxx
8. Choose Download.
9. choose OK.
12. Type a name for the file that stores the network configuration,
then choose Save.
13. Select the Optimize and re-write Schedule for all Connections
button (default) and choose OK.
9. choose OK.
12. Select the Optimize and re-write Schedule for all Connections
button (default) and choose OK.
1. 2.
After your schedule your ControlNet networks, save the online project
of each controller. This lets you download a project in the future
without having to reschedule the networks.
Test the Switchover To test a switchover, use RSLinx software to manually initiate a
switchover. During a switchover, the CNB modules in the new
primary chassis display a sequence of status messages. Typically, the
modules displays the following sequence:
43130
3. Expand the network until you see the 1757-SRM module in the
primary chassis.
− Workstation
+ Linx Gateways, Ethernet
− AB_KTC-x, ControlNet
− n, 1756-CNB/D
− Backplane, 1756-Ax
xx, 1757-SRM
b. Choose Always.
6. Choose Apply.
Initiate a Switchover
When to Use this Chapter After you have installed your system, use this chapter to configure and
program the controller for redundancy.
How to Use this Chapter To configure and program your controller, complete the following
tasks:
Configure the Project for To configure the project for your controller:
the Controllers ❑ Determine When to Retain Test Edits
❑ Determine How to Reserve Memory
❑ Configure a Controller for Redundancy
When you edit your logic while online with the controller, it is
possible for those edits to fault the controller and cause a switchover.
Test Edits
If the test edits fault the primary controller, it is likely they will fault
the secondary controller as well. To prevent this from occurring, any
test edits are deactivated (untested) during a switchover. As an option,
you can keep the edits active after a switchover:
3. Does the General tab show that the controller type is a 1756-L55
controller?
If: Then:
No A. Click the Change Type button.
C. Choose OK.
Yes Go to step 4.
8. For online editing, choose how you want to reserve any free
memory.
9. Choose
Configure Communications A redundant system requires some specific configuration choices for
successful communications. Use this section for guidance on how to
configure the following elements for redundancy:
❑ Configure I/O
❑ Configure Produced Tags
❑ Configure Message (MSG) Instructions
❑ Configure Tags for an HMI
Configure I/O
IMPORTANT For each module in your system, make sure that the
requested packet interval (RPI) is less than or equal
to 375 milliseconds. If you use a larger RPI, the
controller could lose its connection with the module
during a switchover. This could cause outputs to
change state.
produced tag
To the controller with the consumed tag, this
is the remote CNB module.
redundant
chassis
L C S
5 N R
5 B M
M
x
data
consumed tag
remote chassis
C L
N 5
B 5
M
x
path to the
redundant controller
42977
Estimate the Scan Time of a At the end of each program, the primary controller crossloads fresh
data to the secondary controller, as described in Chapter 1. This keeps
Program the secondary up-to-date and ready to take over control but also
increases the scan time when compared to a non-redundant system.
The length of time for the crossload depends on the amount of data
that has to be crossloaded. Crossloading also requires a small amount
of overhead time to tell the secondary controller which program the
primary controller is executing.
where:
In addition, a task time that is less than the crossload time could flood
the SRM module with data. When this occurs, the SRM module pauses
for approximately 5 ms to clear the overflow buffer. This adds 5 ms to
the scan time.
Minimize Scan Time To minimize the scan time of your project, follow these guidelines:
Since the primary controller pauses its execution at the end of every
program to crossload data, combine your logic into a few relatively
large programs instead of many smaller programs.
The minimum memory allocation for a tag is 4 bytes. When you create
a tag that stores data that requires less than 4 bytes, the controller
allocates 4 bytes, but the data only fills the part it needs.
User-defined data types and arrays pack smaller data types into 32-bit
words. For example:
Bits
31 0
Bool_Array[31]… Bool_Array[0]
Arrays provide the greatest advantage with BOOL tags. If you have
individual SINT, INT, DINT, or REAL tags, also use arrays to pack
those tags as efficiently as possible.
One simple way to pack existing data into arrays is to convert the tags
to alias tags for elements of an array, as shown below:
1.
2.
3.
This reduces the amount of crossload data, which reduces scan time.
Regardless of whether the value in Dest_Tag changed from the last scan, the controller
marks Dest_Tag to be included in the next crossload. If your application needs to
recalculate Dest_Tag only when it gets new data, you could modify the rung as follows:
The ADD instruction now executes only when the controller gets new data
(New_Data = on). And Dest_Tag crossloads only when the ADD instruction produces a
new value.
Maintain the Integrity of The redundancy system guarantees a bumpless switchover for any
logic in the highest priority task. In some cases, logic in lower priority
Your Data During a tasks may experience an upset when a switchover occurs. This has to
Switchover do with how data crossloads from the primary controller to the
secondary controller.
start of the program in the lower end of the program in the lower
priority task (e.g., the continuous task) priority task
A.
primary controller
C.
B.
C. Data from the second part of the program in the lower priority
task is sent to the secondary controller.
C.
• BSL
• BSR
• FFU
A rung that must read the output of another rung during the same
scan might miss a scan during a switchover. For example:
A.
C.
D.
B.
43065
2. If the logic must remain in a lower priority task, take one of the
following actions:
• Use UID and UIE Instruction Pairs
• Buffer Critical Data
Bound critical rungs with UID and UIE instruction pairs. This prevents
the higher priority task form interrupting the scan-dependent logic, as
shown below:
The following example shows the use of a buffer together with a BSL
instruction.
1. 2. 3.
43065
Set the Task Watchdog A redundant controller requires longer watchdog times than a
non-redundant controller. To avoid a major fault (type 6, code 1) due
Times to a watchdog time-out after a switchover, complete the following
actions:
where:
Once you enter a watchdog time, use the actual scan time for a task to
revise the watchdog time, if required.
+ Controller Primary
− Tasks
+ MainTask 1. Right-click the task and choose
Properties.
43080
4. Choose
+ Controller Primary
− Tasks
+ MainTask 1.
43080
When to Use this Chapter This chapter provides a variety of procedures to assist as you
commission and operate your redundancy system.
Determine the Cause of a If an unplanned switchover occurs, use the following tables to
determine the cause of the switchover.
Switchover
In the primary chassis, what does the CNB module display?
43130
Table 5.1 If a CNB module displays PwNS, use this table to troubleshoot the secondary chassis.
If the secondary chassis: And each primary CNB And a secondary CNB Then:
module: module has a:
has power has a partner module in the Red OK LED Replace the CNB module.
secondary chassis
Green OK LED Check the 1756-SRC cable for a
proper connection.
does not have a partner module Install a CNB module.
in the secondary chassis
does not have power Restore the power.
Table 5.2 If a CNB module displays PwDS, use this table to troubleshoot the secondary chassis.
If the SRM module And a secondary CNB And a secondary controller Then:
has a: module: has a:
Green OK LED does not display NET ERR Flashing Red OK LED Clear the major fault of the controller.
Solid Red OK LED 1. Cycle the power to the chassis.
Troubleshoot a Failure to • If the steps in this section do not correct the situation, check the
IMPORTANT
Synchronize usage of the CNB modules. See “Adjust CNB Usage” on
page 5-11.
• After you correct the situation, manually synchronize the
controllers. See “Manually Synchronize the Controllers” on
page 5-6.
If: Then:
No A. From the File menu, select New.
B. From the Network menu, select Online.
C. Select your ControlNet network and choose OK.
Yes A. From the File menu, select Open.
B. Select the file for the network and choose Open.
C. From the Network menu, select Online.
4. 5.
6. Choose Close.
3. Expand the network until you see the 1757-SRM module in the
primary chassis.
− Workstation
+ Linx Gateways, Ethernet
− AB_KTC-x, ControlNet
− n, 1756-CNB/D
− Backplane, 1756-Ax
xx, 1757-SRM
b. Look here.
If the Result column Then synchronization failed for this reason: So take this corrective action:
shows:
Edit Session in Progress Synchronization failed for any of these reasons: Either:
Manually Synchronize the After a switchover, you may have to manually synchronize the
controllers because either:
Controllers
• The Auto-Synchronization option is NOT set to Always.
• The controllers failed to synchronize.
3. Expand the network until you see the 1757-SRM module in the
primary chassis.
− Workstation
+ Linx Gateways, Ethernet
− AB_KTC-x, ControlNet
− n, 1756-CNB/D
− Backplane, 1756-Ax
xx, 1756 module, 1757-SRM
7. Choose OK.
10. If the CNB module in the primary chassis fails to display PwQS,
see “Troubleshoot a Failure to Synchronize” on page 5-3.
Optimize Communication If it takes too long to synchronize the secondary chassis or update
your HMI, there may not be enough controller time for unscheduled
communication. In general, unscheduled communication is any type
of communication that you do not configure through the I/O
configuration folder of the controller:
The following table shows the ratio between the continuous task and
unscheduled communication at various system overhead time slices:
At this time slice: The continuous tasks runs for: And unscheduled communication
occurs for up to:
10% 9 ms 1 ms
20% 4 ms 1 ms
33% 2 ms 1 ms
50% 1 ms 1 ms
Legend:
Task executes.
1 ms 1 ms 1 ms 1 ms 1 ms
unscheduled communication
4 ms 4 ms 4 ms 4 ms 4 ms
continuous task
1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms
unscheduled communication
2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms
continuous task
1.
2.
3.
4. Choose
For example, if your task takes 50 ms to execute and you configure its
update rate to 80 ms, the controller has 30 ms out of every 80 ms for
unscheduled communication.
50 ms 50 ms 50 ms
periodic task
30 ms 30 ms 30 ms
unscheduled communication
2. The total execution time of all your tasks is significantly less than
the update rate of the lowest priority tasks.
2. The total execution time of all tasks is significantly less than the
update rate of the lowest priority task (50 ms is less than
100 ms).
Adjust CNB Usage For each CNB module in a redundant chassis, keep CPU usage to less
than 75 percent.
number of connections
used
CPU usage
42903
Num. Of Elements 6
Destination INT tag in which to store the CPU usage of the CNB module
(0 - 99%.)
Communication Path 1, slot_number
where:
Export the SRM Event Log To export specific events from the SRM event log to a Microsoft Excel
spreadsheet:
to Microsoft® Excel
❑ Export Events to a CSV File
❑ Open and Format the CSV File
2. Expand the network until you see the 1757-SRM module in the
primary chassis.
− Workstation
+ Linx Gateways, Ethernet
− AB_KTC-x, ControlNet
− n, 1756-CNB/D
− Backplane, 1756-Ax
xx, 1756 module, 1757-SRM
6.
5.
8.
7.
9. Choose Export.
2. For the Log Time column, display the Format Cells dialog box.
m/d/yyyy h:mm:ss.000
If you want the SRM modules to: Then choose this Notes:
Auto-Synchronization option:
always try to synchronize the controllers Always (default) This is the typical option.
• always try to synchronize the controllers until Conditional Use this option if you frequently expect to
you manually disqualify the secondary chassis manually toggle in and out of the disqualified
• once you disqualify the secondary chassis, condition. With this option:
never try to synchronize the controllers until you • When you synchronize the
manually synchronize the controllers controllers, the SRM modules try to
keep the controllers synchronized.
• When you disqualify the secondary
chassis, the SRM modules no longer
try to keep the controller
synchronized.
never try to synchronize the controllers Never You can still manually synchronize the
controllers.
− Workstation
+ Linx Gateways, Ethernet
− AB_KTC-x, ControlNet
primary chassis + n, 1756-CNB/D
− Workstation
+ Linx Gateways, Ethernet
− AB_KTC-x, ControlNet
− n, 1756-CNB/D
− Backplane, 1756-Ax
xx, 1756 module, 1757-SRM
9. Choose OK.
Get System Values You can use a GSV instruction in your ladder logic to get system
values for your redundancy system. You can then display that
information on an HMI screen.
For more information on the status information that you can access
with the GSV instruction, see Logix5000 Controllers General
Instructions Reference Manual, publication 1756-RM003.
GSV GSV
Get System Value Get System Value
Class name REDUNDANCY Class name REDUNDANCY
Instance name ? Instance name ?
Attribute Name PhysicalChassisID Attribute Name ModuleRedundancyState
Dest redundant_ID Dest redundant_state
16#0000_0000 16#0000_0000
42807
Where: Is:
redundant_ID Tag to store the chassis label. The label tells you which chassis is
acting as the primary chassis:
• initiate a switchover
• disqualify the secondary controller
• synchronize the secondary controller
• set the clock of the SRM module
3. Expand the network until you see the SRM module in the
primary chassis.
− Workstation
+ Linx Gateways, Ethernet
− AB_KTC-x, ControlNet
− xx, 1756-CNB/D
− Backplane, 1756-Ax
xx, 1756 module, 1757-SRM
6. Select the Enable User Program Control check box. This is the
default setting.
7. Choose OK.
e condition ? MSG
e / Message EN
e Message Control ? ... DN
e ER
e
e
42424
3. In the MSG instruction, type a name for the message control tag
and press the Enter key.
e condition ? 5. MSG
e / Type - Unconfigured EN
e Message Control message ... DN
e ER
e 42424
5. Enter message.EN.
where:
If you want to: On this tab: For this item: Type or select:
initiate a switchover Configuration Message Type CIP Generic
Service Code 4e
Class name bf
Instance name 1
Attribute name leave blank
Source DINT tag with a value of 1
Num. Of Elements 4
Destination leave blank
Communication Path 1, slot_number
where:
where:
If you want to: On this tab: For this item: Type or select:
synchronize the secondary Configuration Message Type CIP Generic
controller
Service Code 4c
Class name bf
Instance name 1
Attribute name leave blank
Source DINT tag with a value of 1
Num. Of Elements 4
Destination leave blank
Communication Path 1, slot_number
where:
where:
where:
MSG
Type - CIP Generic EN
Message Control msg_set_time ... DN
ER
42807
Store or Load a Project Nonvolatile memory lets you keep a copy of your project on the
controller.
Using Nonvolatile Memory
Term: Description:
nonvolatile memory Memory of the controller that retains its contents while the controller is without power or
a battery.
store To copy a project to the nonvolatile memory of the controller. This overwrites any project
that is currently in the nonvolatile memory.
load To copy a project from nonvolatile memory to the user memory (RAM) of the controller.
This overwrites any project that is currently in the controller.
In a redundant system, you can store or load a project only while the
secondary chassis is disqualified.
Update a Module Use the following steps to upgrade the revision of your redundant
modules. This procedure minimizes the time your process is down for
the upgrade.
− Workstation
+ Linx Gateways, Ethernet
− AB_KTC-x, ControlNet
+ xx, 1756-CNB/D
The secondary chassis is one
node greater than the primary − xy, 1756-CNB/D
chassis.
− Backplane, 1756-Ax
xx, 1756 module, 1757-SRM
5. Select NEVER.
42808
1. Go to RSLinx software.
2. Find the SRM module in the primary chassis and open the
properties of the module.
4. Choose OK.
Redundant Controller The ControlLogix redundancy system requires the following hardware
for your controllers:
Chassis
✔ Qty Item Cat number
2 chassis 1756-A4, -A7, -A10, -A13, or -A17
2 power supply 1756-PA72, -PB72, -PA75, or -PB75
2 controller 1756-L55M13, -L55M14, -L55M16, -L55M23, or
-L55M24
2 ControlNet bridge 1756-CNB/D or -CNBR/D
module
2 redundancy module 1757-SRM
1 fiber optic cable 1757-SRC1, -SRC3, -SRC10, -SRC50, or -SRC100
Additional Materials You also need the following materials. The actual items depend on the
design and lay-out of your system.
Convert Local Modules to If you are converting an existing system to a redundant system:
Remote Modules And the system: Then:
contained only I/O modules that You do not have to change the I/O configuration of
were not in the same chassis as the controller.
the controller
contained local I/O modules Use the procedures in this section to convert the
configuration of local modules to remote modules.
1. If you have not already done so, add the CNB module of the
remote chassis to the I/O configuration of the controller. See the
ControlLogix System User Manual, publication 1756-UM001.
− I/O Configuration
2. In the controller organizer, cut the modules from the local I/O
configuration and paste them into the remote CNB module. Cut
and paste the following modules:
• I/O
• 1756-DHRIO
• 1756-DNB
• 1756-ENET or -ENB
• 1756-MVI
42804
3. Type Local.
4. Type the name of the CNB module that is in the remote chassis.
42805
8
Are any of your tags an alias for an I/O device that was previously in
a local chassis?
If: Then:
Yes Go to step 1.
No Skip this procedure.
6
42815
3. Type Local.
4. Type the name of the CNB module that is in the remote chassis.
7 42815
7. Check Alias.
9. Choose Close.
Notes:
A conversion
array 4-11 to redundant system B-1
auto-synchronization 5-18 crossload 1-4, 1-5
B D
Basic Operation 1-1 data
bill of materials A-1 crossload 1-5
integrity 4-15
BOM A-1
organize 4-11
BOOL 4-11 data type
BSL instruction 4-15 recommendations 4-10, 4-11
BSR instruction 4-15 DeviceNet network
design 1-7, 2-4
C DINT 4-11
chassis disqualified
install 3-4 overview 1-4
CNB module disqualify
4 character display 5-13 secondary chassis 5-31
connection 2-6 download 3-12
install 3-5
node assignment 2-7 E
requirements 2-3
estimate program scan time 4-9
statistics 5-11
usage 5-11 EtherNet/IP network
communication design 1-7, 2-4
optimize 5-7 event log
connection 2-6 export 5-15
consumed tag export
configure 4-7 event log 5-15
controller
connection 2-6 F
disqualify secondary 5-31 FFU instruction 4-15
download project 3-12 firmware
install 3-5
update 3-9, 5-31
nonvolatile memory 5-30
periodic task 5-10
program scan time 4-9, 4-10 G
project 4-1 Get System Value instruction 5-20
requirements 2-3 GSV instruction 5-20
synchronize 3-10, 5-6
system overhead time slice 5-8
watchdog time 4-20 H
ControlNet network HMI
addresses 1-6 configure tags 4-8
general lay-out 2-2 design recommendations 2-2
keeper signature 3-16, 5-4 optimize communication 5-7
node assignments 2-7
NUT 2-9
redundant media 2-5 I
schedule 3-13 I/O
ControlNet node addresses 1-6 configure 4-6
connection
consumed tag
crossload
direct connection
disqualified
Indicates that the secondary control has failed to synchronize with the
primary controller. If a secondary controller is disqualified, it is unable
to take over control of the machine or process. You also have the
option of manually disqualifying a secondary controller.
load
NAP
nonvolatile memory
Memory of the controller that retains its contents while the controller
is without power or a battery. See load, store.
NUT
primary chassis
primary controller
produced tag
For example, if the NUT is 5 ms, use an RPI of 5, 10, 20, 40 ms,
etc.
RPI
secondary chassis
secondary controller
SMAX
store
switchover
synchronize
At this time slice: The continuous tasks runs for: And unscheduled communication
occurs for up to:
10% 9 ms 1 ms
20% 4 ms 1 ms
33% 2 ms 1 ms
50% 1 ms 1 ms
UMAX
watchdog
Specifies how long a task can run before triggering a major fault.
Notes:
You can complete this form and mail it back to us, visit us online at www.ab.com/manuals, or
email us at [email protected]
Cat. No. Pub. No. 1756-UM523C-EN-P Pub. Date June 2003 Part No. 957689-35
Please complete the sections below. Where applicable, rank the feature (1=needs improvement, 2=satisfactory, and 3=outstanding).
Overall Usefulness 1 2 3 How can we make this publication more useful for you?
Other Comments You can add additional comments on the back of this form.
Other Comments
PLEASE REMOVE
PLEASE FOLD HERE
NO POSTAGE
NECESSARY
IF MAILED
IN THE
UNITED STATES
1 ALLEN-BRADLEY DR
MAYFIELD HEIGHTS OH 44124-9705
ControlNet is a trademark of ControlNet International, Ltd.
Microsoft is a registered trademark of Microsoft Corporation in the United States and/or other countries.
Rockwell Automation Rockwell Automation provides technical information on the web to assist you
in using our products. At http://support.rockwellautomation.com, you can
Support find technical manuals, a knowledge base of FAQs, technical and application
notes, sample code and links to software service packs, and a MySupport
feature that you can customize to make the best use of these tools.
Installation Assistance
Rockwell tests all of our products to ensure that they are fully operational
when shipped from the manufacturing facility. However, if your product is
not functioning and needs to be returned:
United States Contact your distributor. You must provide a Customer Support case
number (see phone number above to obtain one) to your distributor in
order to complete the return process.
Outside United Please contact your local Rockwell Automation representative for
States return procedure.