8. Function Commands
DXCH, DXCHP
- 216 -
{ DXCH, DXCHP ... 32-bit data exchange
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
D1
{ { { { { {
{
{ { { { { { {
{
D2
{ { { { { { {
{
4
Conversion command
DXCH
DXCHP
DXCH
D1 D2
DXCHP
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 1 1000
000 111001 1 1000
011 000110 0 0111
Before execution
After execution
011 0001
1
000111
16-bit
16-bit
D1
16-bit
16-bit
D1+1 D2+1 D2
Execution conditions
The execution conditions for the DXCH, DXCHP are as shown below.
Exchange conmand OFF
DXCH
ON
Executed per scan
Executed per scan
DXCHP