0 operation, Operation – Rice Lake Allen-Bradley Remote I/O User Manual

Page 23

Advertising
background image

Operation

19

5.0

Operation

The examples on the following pages provide PLC programming examples for using the Remote I/O Interface.

5.1

Test Program for Verifying Remote I/O Interface Operation

The programming example shown on the next page writes a series of discrete commands to the Remote I/O
Interface and checks the status bits returned in the input image table to confirm completion of each command.
This example assumes the Remote I/O scanner to be in slot #2, with the Remote I/O Interface at rack address 0,
quarter 0.

NOTES:

This program can be edited and used to test communications between the PLC and the Remote I/O Interface.

The COMMAND WORD must be zeroed after checking the status bits to confirm that the command has been executed.

Advertising