Monitor Connections; Determine If Device Communication Has Timed Out; Determine If I/O Module Communication Has Timed Out - Allen-Bradley 1769 User Manual

Compactlogix
Hide thumbs Also See for 1769:
Table of Contents

Advertisement

Monitor Connections

• PROGRAM
• ROUTINE
• SERIALPORT
• TASK
• WALLCLOCKTIME
If communication with a device in the I/O configuration of the controller does
not occur for 100 ms or 4 times the RPI, whichever is less, the communication
times out, and the controller produces these warnings:
• The I/O status indicator on the front of the controller flashes green.
• A
displays over the I/O configuration folder and the device (s) that
!
has timed out.
• A module fault code is produced, which you can access via:
– the Module Properties dialog box for the module.
– a GSV instruction.

Determine if Device Communication Has Timed Out

If communication times out with at least one device (module) in the I/O
configuration of the controller, the I/O status indicator on the front of the
controller flashes green.
• The GSV instruction gets the status of the I/O status indicator and stores
it in the I_O_LED tag.
• If I_O_LED equals 2, the controller has lost communication with at least
one device.
GSV
Get System Value
CIP Object Class MODULE
CIP Object Name
Attribute Name
Dest
where:
I_O_LED is a DINT tag that stores the status of the I/O status indicator
on the front of the controller.

Determine if I/O Module Communication 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 for the module.
• The GSV instruction gets the fault code for IO_Module and stores it in
the Module_Status tag.
• If Module_Status is any value other than 4, the controller is not
communicating with the module.
Rockwell Automation Publication 1769-UM011H-EN-P - April 2012
Equal
Source A I_O_LED
LedStatus
Source B
I_O_LED
Develop Applications
Chapter 7
EQU
2
107

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1769-l311769-l35cr1769-l35e1769-l32c1769-l32e

Table of Contents