8-14
8. LS
Indirect Device Memory Designation
For the address number of 0 to 65535:
15
n+0
n+1
n+2
Expansion code
n+3
Using Q or I device memory
- Word access
QW127.15.3
Address number = A 64 + B 4 + C = 127 64 + 15 4 + 3 = 8191
Specify "8191" (DEC) for the address number.
- Bit access
Q127.15.63
Address number = A 64 + B 4 + (quotient of C divided by 16)
Bit designation = remainder when C is divided by 16 = (63 16) = 15
Specify "8191" (DEC) for the address number, and "15" (DEC) for the bit designation.
Using U device memory
- Word access
UW7.15.31
Address number = A 512 + B 32 + C = 7 512+ 15 32 + 31 = 4095
Specify "4095" (DEC) for the address number.
- Bit access
U7.15.511
Address number = A 512 + B 32 + (quotient of C divided by 16)
Specify "4095" (DEC) for the address number, and "15" (DEC) for the bit designation.
8 7
Model
Device type
Address No.
Bit designation
00
Station number
C (Address)
B (Slot No.)
A (Base No.)
C (Address)
B (Slot No.)
A (Base No.)
= 127 64 + 15 4 + (63 16) = 8191
C (Address)
B (Slot No.)
A (Base No.)
C (Address)
B (Slot No.)
A Base No.)
= 7 512 + 15 32 + (51116) = 4095
For the address number of 65536 or greater:
0
15
n+0
Model
n+1
n+2
n+3
Expansion code
n+4
8 7
Device type
Lower address No.
Higher address No.
Bit designation
00
Station number
0