5.13 XCH (Data Exchange)
■
Ladder diagram
■
Available operation units (●: Available)
Operatio
n unit
bit US SS UL SL SF DF
i ● ● ● ● ● ●
■
List of operands
Operand Description
D1 Device address of exchanged data 1
D2 Device address of exchanged data 2
■
Available devices (●: Available)
Operan
d
16-Bit device:
32-Bit
device:
(Note 1)
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX
(N
ote
2)
K U H SF
D
F
" "
D1 ● ● ● ● ● ● ● ● ● ● ● ●
D2 ● ● ● ● ● ● ● ● ● ● ● ●
(Note 1) Cannot be specified when the operation unit is 16-bit integer (SS, US).
(Note 2) Index register (I0 to IE)
■
Outline of operation
● This instruction exchanges the data of the device address specified by [D1] and the device
address specified by [D2] according to the operation unit [i].
[D1] ⇔ [D2]
5.13 XCH (Data Exchange)
5-30 WUME-FP7CPUPGR-12