278 Rockwell Automation Publication 1769-UM021I-EN-P - May 2018
Chapter 10 Develop Applications
Determine if I/O Communication has Timed Out
This example can be used with the CompactLogix 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 52 - GSV Used to Identify I/O Timeout
For more information about attributes available with the Module object, see
the Logix5000 Controllers General Instructions Reference Manual,
publication 1756-RM003
.
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 Logix5000 Controllers General Instructions Reference Manual,
publication 1756-RM003
.