Publication 1756-UM523F-EN-P - December 2006
Configure and Program the Controller 87
Determine the Status of
Your Redundant System
You can write code that determines the status of your redundant
system.
Perform this procedure to:
• show system status on an HMI screen.
• condition code to execute based on system status.
• get diagnostic information to troubleshoot a system.
Actions
Use a Get System Value (GSV) instruction to read the attributes of the
REDUNDANCY object. See Appendix C for a list of attributes.
Example 1: Ladder Diagram
Example 2: Structured Text
//Get the ID of the primary chassis.
//That is always the chassis that runs the code.
//Store the ID in Chassis_ID_Now. Chassis_ID_Now is a DINT.
GSV(REDUNDANCY,,PhysicalChassisID,Chassis_ID_Now);
Get the ID of the primary chassis. The primary chassis always runs the code.
Store the ID in the Chassis_ID_Now tag. Chassis_ID_Now is a DINT.
comment
comment
comment
code