Rockwell Automation Publication 1756-UM022D-EN-P - May 2017 143
Monitor Status and Handle Faults Chapter 9
Safety Connections
For tags associated with produced or consumed safety data, you can monitor
the status of safety connections by using the CONNECTION_STATUS
member. For monitoring input and output connections, safety I/O tags have a
connection status member called SafetyStatus. Both data types contain two
bits: RunMode and ConnectionFaulted.
The RunMode value indicates if consumed data is actively being updated by a
device that is in the Run Mode (1) or Idle State (0). Idle state is indicated if the
connection is closed, the safety task is faulted, or the remote controller or
device is in Program mode or Test mode.
The ConnectionFaulted value indicates whether the safety connection
between the safety producer and the safety consumer is Valid (0) or Faulted
(1). If ConnectionFaulted is set to Faulted (1) as a result of a loss of the physical
connection, the safety data is reset to zero.
The following table describes the combinations of the RunMode and
ConnectionFaulted states.
If a device is inhibited, the ConnectionFaulted bit is set to Faulted (1) and the
RunMode bit is set to Idle (0) for each connection associated with the device.
As a result, safety consumed data is reset to zero.
Monitor the Status Flags
Logix controllers, including GuardLogix® controllers, support status keywords
that you can use in your logic to monitor certain events.
For more information on how to use these keywords, refer to the Logix5000™
Controllers Controller Information and Status Programming Manual,
publication
1756-PM015.
Table 45 - Safety Connection Status
RunMode
Status
ConnectionFaulted
Status
Safety Connection Operation
1 = Run 0 = Valid Data is actively being controlled by the producing device. The
producing device is in Run mode.
0 = Idle 0 = Valid The connection is active and the producing device is in the Idle
state. The safety data is reset to zero.
0 = Idle 1 = Faulted The safety connection is faulted. The state of the producing device
is unknown. The safety data is reset to zero.
1 = Run 1 = Faulted Invalid state.