Program the ladder – Rockwell Automation 160 RSI SERIAL COMM MODULE User Manual

Page 35

Advertising
background image

Using the RS1 Module with a Programmable Controller

8–3

Program the Ladder

The example ladder program in Figure 8.2 demonstrates writing a
Logic Command to the drive and reading the Logic Status from the
drive.

In the following example ladder program, B3:0/0 is set every 2
seconds. This enables a Logic Command write to be done followed
by the Logic Status read. The data for the Logic Command is stored
in N7:8 of the MicroLogix and is written to location N41:0 of the RS1
Module. For the Logic Status, data from the RS1 Module at location
N41:0 is read by the MicroLogix and stored in N7:9. This ladder
program could be modified to read and write speed commands for the
160 Drive by changing the read and write location in the RS1 Module
from N41:0 to N41:1.

Figure 8.1
MSG Commands Setup – Logic Command/Status

Advertising