Reading And Writing Parameters - Allen-Bradley 160-RS1 User Manual

Serial communication module
Table of Contents

Advertisement

8–4
Using the RS1 Module with a Programmable Controller
This rung writes the Logic Command - Data in N7:8 is written to the Drive at N41:0
Enable for the Logic
command Write
B3:0
0000
0
Enable for the Logic
command Write
B3:0
0001
0
This rung reads the Logic Status from the drive - Data from N41:0 is read and placed in N7:9
Enable for Logic
Command Read
B3:0
0002
1
Enable for Logic
Command Read
B3:0
0003
1
0004
Reading and Writing
Parameters
Figure 8.2
Writing Logic Command and Reading Logic Status
LAD 3 - DF 1 LOGIC --- Total Rungs in File = 5
Done Bit - Logic
Command Write
N7:0
13
Error Bit - Logic
Command Write
N7:0
12
Done Bit - Logic
Command Read
N7:10
13
Error Bit - Logic
Command Read
N7:10
12
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]).
MSG
Read/Write Message
Read/Write
Write
Target Device
500CPU
Control Block
Control Block Length
Setup Screen
Enable for the Logic
command Write
B3:0
U
0
Enable for Logic
Command Read
B3:0
L
1
MSG
Read/Write Message
Read/Write
Target Device
500CPU
Control Block
N7:10
Control Block Length
Setup Screen
Enable for Logic
Command Read
EN
DN
N7:0
ER
7
EN
Read
DN
7
ER
B3:0
U
1
END

Advertisement

Table of Contents
loading

This manual is also suitable for:

5735886

Table of Contents