DL06 Micro PLC User Manual; 3rd Edition Rev. E
4–19
Chapter 4: System Design and Configuration
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
DL05 / 06 / 205 / 350 / 405 Memory
Bits per unit
Bytes
V-memory
T / C current value
16
16
2
2
Inputs (X, SP)
8
1
Outputs
(Y, C, Stage, T/C bits)
8
1
Scratch Pad Memory
8
1
Diagnostic Status
8
1
DL330 / 340 Memory
Bits per unit
Bytes
Data registers
T / C accumulator
8
16
1
2
I/O, internal relays, shift register bits, T/C
bits, stage bits
1
1
Scratch Pad Memory
8
1
Diagnostic Status(5 word R/W)
16
10
The number of bytes specified also depends on the type of data you want to obtain. For
example, the DL06 Input points can be accessed by V-memory locations or as X input
locations. However, if you only want X0 – X27, you’ll have to use the X input data type
because the V-memory locations can only be accessed in 2-byte increments. The following
table shows the byte ranges for the various types of
Direct
LOGIC products.
NOTE
: Since V-memory words are always 16 bits, you may not always use the whole word. For example,
if you only specify 3 bytes and you are reading Y outputs from the slave, you will only get 24 bits of data. In
this case, only the 8 least significant bits of the last word location will be modified. The remaining 8 bits are
not affected.
6 0 0
0
(octal)
LDA
O40600
4
Starting address of
master transfer area
V40600
MSB
LSB
0
15
V40601
MSB
LSB
0
15
Step 3: Specify Master Memory Area
The third instruction in the RX or WX sequence is
a Load Address (LDA) instruction. Its purpose is to
load the starting address of the memory area to be
transferred. Entered as an octal number, the LDA
instruction converts it to hex and places the result
in the accumulator.
For a WX instruction, the DL06 CPU sends
the number of bytes previously specified from
its memory area beginning at the LDA address
specified.
For an RX instruction, the DL06 CPU reads the
number of bytes previously specified from the
slave, placing the received data into its memory
area beginning at the LDA address specified.