Reading and writing parameters – Rockwell Automation 160 RSI SERIAL COMM MODULE User Manual
Page 36
![background image](/manuals/577281/36/background.png)
8–4
Using the RS1 Module with a Programmable Controller
Figure 8.2
Writing Logic Command and Reading Logic Status
Reading and Writing
Parameters
Reading or writing parameters can be accomplished using message
commands to communicate through the RS1 Module to the drive. The
drive parameters are accessed at location N10:XX, with the XX being
the parameter number to read or write (i.e. N10:30 accesses
parameter P30 - [Accel Time]).
LAD 3 - DF 1 LOGIC --- Total Rungs in File = 5
This rung writes the Logic Command - Data in N7:8 is written to the Drive at N41:0
0000
B3:0
0
Enable for the Logic
command Write
EN
DN
ER
Read/Write Message
Read/Write
Write
Target Device
500CPU
Control Block
N7:0
Control Block Length
7
Setup Screen
MSG
0001
B3:0
0
Enable for the Logic
command Write
N7:0
13
Done Bit - Logic
Command Write
N7:0
12
Error Bit - Logic
Command Write
U
B3:0
0
Enable for the Logic
command Write
L
B3:0
1
Enable for Logic
Command Read
This rung reads the Logic Status from the drive - Data from N41:0 is read and placed in N7:9
0002
B3:0
1
Enable for Logic
Command Read
EN
DN
ER
MSG
Read/Write Message
Read/Write
Read
Target Device
500CPU
Control Block
N7:10
Control Block Length
7
Setup Screen
0003
B3:0
1
Enable for Logic
Command Read
N7:10
13
Done Bit - Logic
Command Read
N7:10
12
Error Bit - Logic
Command Read
U
B3:0
1
Enable for Logic
Command Read
0004
END