Program Logic to Run After a Switchover

If your application requires logic or instructions to execute after a switchover, use programming and tags similar to the values shown in this ladder logic example.
Precondition Used to Run Logic After Switchover
Precondition Used to Run Logic After Switchover
Item
Description
A
The GSV instruction obtains the chassis ID of the primary chassis in control.
B
If this is the first program scan, then use the current primary chassis ID as the chassis ID for the last scan.
C
If a switchover occurs, the chassis ID changes. The NEQ instruction compares the current and last primary chassis ID values. If the values are different, the Switchover_Occurred bit is turned on. Also, the current primary chassis ID is moved into the last chassis ID.
D
If the Switchover_Occurred bit is on, then the instructions added to this rung are executed and the Switchover_Occurred bit is reset.
E
Add your switchover-dependent instructions here.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal