100
3.4
Indirect Specification
(1) Indirect Specification
(a) Indirect specification is a method that specifies address of the device to be used in a sequence program using two
word devices (two points of word device). Use indirect specification as index modification when the index register is
insufficient.
(b) Specify the device to be used for specifying the address as "@ + (word device number)". For example, when
@D100 is specified, the device address will be the contents of D101 and D100.
(c) The address of the device specified indirectly can be confirmed with the ADRSET instruction.
For the ADRSET instruction, refer to Page 611, Section 7.18.6.
(2) Indirect specification available devices
The following table shows that the CPU module devices can be specified indirectly.
*1:
For the device names, refer to the QnUCPU User’s Manual (Function Explanation, Program Fundamentals) or Qn(H)/QnPH/
QnPRHCPU User’s Manual (Function Explanation, Program Fundamentals)
*2:
Indicates when index modification by an index register is performed.
*3:
Indirect specification is possible, but the address can not be written with the ADRSET instruction.
Device Type
Availability of Indirect
Specification
Example of Indirect Specification
Internal user device
Bit device *1
N/A
––––––––––
Word device *1
Available
• @D100
• @D100Z2 *2
Link direct device
Bit device *1
N/A
––––––––––
Word device *1
Available*3
• @J1\W10
• @J1Z1\W10Z2 *2
Intelligent function module device
Available*3
• @U10\G0
• @U10Z1\G0Z2 *2
Index register
N/A
––––––––––
File register
Available
• @R0, @ZR20000
• @R0Z1,@ZR20000Z1 *2
Extended data register (D)
Available
• @D1000
• @W1000
Extended link register (W)
Nesting
N/A
––––––––––
Pointer
––––––––––
Constants
––––––––––
Other
SFC block device
––––––––––
SFC transition device
Network No. specification device
I/O No. specification device
D100Z0
D110
K
10000
D1
5
0
K5
0
DMO
V
DMO
V
MO
V
Z0
W0
D10
K
10000
D1
5
0
K5
0
D0
D
+
DMO
V
@
D10
D110
MO
V
DMO
V
W0
D100
ADRS
ET
D0
S
t
o
res the a
dd
ress
o
f
D100
t
o
D0
.
(Add
ress
o
f
D100)
+ 5
0
=
(Add
ress
o
f
D1
5
0)
S
pecificati
o
n
o
f
D
(100
+ 5
0)
=
D1
5
0
[
W
hen in
d
ex resister is use
d
]
[
W
hen in
d
irect specificati
o
n is use
d
]
S
pecificati
o
n
o
f
a
dd
ress
o
f
D1
5
0