Справочник Пользователя для Mitsubishi Electronics QCPU

Скачать
Страница из 1204
7-395
ADRSET(P)
1
2
3
4
6
6
7
8
7
.18 Ot
her instr
uctions
7
.18.6 Indirect addr
ess re
ad opera
tions (ADR
SE
T
(P)
)
7.18.6  
Indirect address read operations (ADRSET(P))
ADRSET(P)
Function
(1) Stores the indirect address of the device designated by 
 at 
+1 and 
.
The address stored at the device designated by 
 is used when an indirect device address 
is performed by the sequence program.
(2) A bit device designation cannot be made at 
.
Operation Error
(1) There are no operation errors associated with the ADRSET(P) instruction.
Remark
See Section 3.4 for further information on indirect designations.
: Number of the device whose indirect address is read out (Device name)
: Number of the device where the indirect address of the device designated by 
 will be stored (BIN 32 bits)
Setting 
Data
Internal Devices 
R, ZR
J
\
U
\G
Zn
Constants
Other
Bit
Word
Bit
Word
––
––
Basic
Process
High
performance
Redundant Universal
Command
Command
ADRSET
ADRSETP
S
D
S
D
ADRSET
ADRSETP
S
D
S
S
D
S
D
D
D
MOV K1234 @D100
ADRSET W100 D100
D0
D1
D100
D101
1234
W100
Stores the address of W100 address to D101 and D100.
Reads the contents of D100.
Device area
Address of W100
Writes 1234 to the address 
specified by D100 and D101.
S