Program The Ladder For Parameter Reads And Writes - Allen-Bradley 160-RS1 User Manual

Serial communication module
Table of Contents

Advertisement

Program the Ladder for
Parameter Reads and Writes
Using the RS1 Module with a Programmable Controller
You can read or write RS1 Module parameters through location N10
or N13. For location N10, the RS1 parameters start at N10:101, thus
accessing location N10:101 reads or writes RS1 parameter P1 -
[Node Address]. For location N13, the RS1 parameters start at N13:1
(N13:1 also accesses RS1 parameter P1 - [Node Address]).
The example ladder program in Figure 8.4 accomplishes reading and
writing drive parameters.
In the following ladder program, B3:1/4 is set when requesting a
parameter write. When no other Message Commands are enabled,
B3:0/4 will be set, starting the parameter write. For the parameter
write, data from N7:51 is written by the MicroLogix to location
N10:30 (P30 - [Accel Time]) of the RS1 Module. Bits B3:0/4 and
B3:1/4 are cleared when the Message Command is completed.
B3:1/5 is set when requesting a read of a parameter. When no other
Message Commands are enabled, B3:0/5 will be set, starting the
parameter read. For the parameter read, location N10:30 (P30 -
[Accel Time]) of the RS1 Module is read by the MicroLogix and the
data is placed in N7:52. Bits B3:0/5 and B3:1/5 are cleared when the
Message Command is completed.
Figure 8.3
MSG Commands Setup – Parameter Read/Write
8–5

Advertisement

Table of Contents
loading

This manual is also suitable for:

5735886

Table of Contents