DXCH
- 124 -
{ DXCH ... 32-bit data exchange
Usable device
Bit device Word device
Con-
stant
Pointer Level
X Y M L SM F T C D R Z K H P N
Digit
desig-
nation
No. of
steps
Index
D1
D2
4
Conversion command
DXCH
DXCH D1 D2
Setting data
D2
Head No. of device
where data to be
exchanged is stored.
D1
Function
The D1 and D2 32-bit data are exchanged.
000
111001
11000
000
111001
11000
011 000110 0 0111
Before execution
After execution
011
000110
00111
16-bit
16-bit
D1
16-bit
16-bit
D1+1 D2+1 D2
Execution conditions
The execution conditions for the DXCH command are as shown below.
Exchange conmand OFF
DXCH
ON
Executed per scan
Executed per scan