6-124
XCH(P),DXCH(P)
6.4.9 16-bit and 32-bit data exchanges (XCH(P),DXCH(P))
XCH(P),DXCH(P)
Function
XCH
(1) Conducts 16-bit data exchange between and .
DXCH
(1) Conducts 32-bit data exchange between +1, and +1, .
, : Head number of the devices where the data to be exchanged is stored (BIN 16/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
P
D1 D2
D1 D2
XCH, DXCH
XCHP, DXCHP
indicates an instruction symbol of XCH, DXCH.
D1
D2
D1
D2
D1 D2
b7 b0b15 b8
Before execution
A
fter execution
00000
111
0000
111
0
1111000000001111 0000011100001110
1111
00000000
1111
D1
D
2
b7
b0b15 b8
b7
b0b15 b8b7 b0b15 b8
D1
D
2
D1 D1 D2 D2
Before execution
A
fter execution
+1
b15
b0
+1
b31
b16
+1+1
111 11111110000
111
0000000
1111
111 1111111
0000
111 00000001111
D1
D2
D1
b15 b0b31 b16
b15
b0b31 b16
b15 b0b31 b16
D1 D1
D2
D2
D2