DL06 Micro PLC User Manual, 3rd Edition, Rev. E
5-196
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Listed below are the steps necessary to program the Read from Network function.
• Step 1: Load the slave address (0-- 90 BCD) into the first byte and the PLC internal port (KF2) or
slot number of the master DCM or ECOM (0-- 7) into the second byte of the second level
of the accumulator stack.
• Step 2: Load the number of bytes to be transferred into the first level of the accumulator stack.
• Step 3: Load the address of the data to be read into the accumulator. This parameter requires a HEX
value.
• Step 4: Insert the RX instruction which specifies the starting Vmemory location (Aaaa) where the
data will be read from in the slave.
Helpful Hint:
— For parameters that require HEX values, the LDA instruction can be used
to convert an octal address to the HEX equivalent and load the value into the accumulator.
Operand Data Type
DL06 Range
A
aaa
V-memory
V
See memory map
Pointer
P
See memory map
Inputs
X
0–777
Outputs
Y
0–777
Control Relays
C
0–1777
Stage
S
0–1777
Timer
T
0–377
Counter
CT
0–177
Special Relay
SP
0–777
Program Memory
$
0–7680 (2K program mem.)
A aaa
RX
DS32 Used
HPP Used
Network Instructions
Read from Network (RX)
The Read from Network instruction is used by the master device on
a network to read a block of data from a slave device on the same
network. The function parameters are loaded into the first and second
level of the accumulator stack and the accumulator by three additional
instructions.