Chapter 12
Monitor Status and Handle Faults
Monitor Status Flags
180
Determine if I/O Communication has Timed Out
This example can be used with the Compact GuardLogix 5370 controllers:
• The GSV instruction gets the status of the I/O status indicator (via the
LEDStatus attribute of the Module object) and stores it in the
IO_LED tag.
• IO_LED is a DINT tag that stores the status of the I/O status indicator
or status display on the front of the controller.
• If IO_LED equals 2, then at least one I/O connection has been lost and
the Fault_Alert is set.
Figure 41 - GSV Used to Identify I/O Timeout
For more information about attributes available with the Module object, see
the Logix Controllers Instructions Reference Manual, publication
1756-RM009.
Determine if I/O Communication to a Specific I/O Module has
Timed Out
If communication times out with a device (module) in the I/O configuration
of the controller, the controller produces a fault code and fault information for
the module. You can use GSV instructions to get fault code and information
via the FaultCode and FaultInfo attributes of the Module object.
For more information about attributes available with the Module object, see
the Logix Controllers Instructions Reference Manual, publication
1756-RM009.
Logix controllers, including Compact 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 Logix 5000™
Controllers Controller Information and Status Programming Manual,
publication 1756-PM015.
Rockwell Automation Publication 1769-UM022C-EN-P - June 2018