Data exchange instruction (d) XCH (p) number is FNC17, which is the data exchanged between the specified target component. As shown in Figure 1, when X0 is ON, and data exchanged in the D1 and D19.
Figure 1 data exchange instruction
Using data exchange instruction should be noted:
1) operand element desirable KnY, KnM, KnS, t, c, d, v, and Z..
2) exchange instruction pulses are commonly used execution modalities, otherwise in each scan cycle to swap again.
3) 16-bit arithmetic when the step 5 program, 32-bit arithmetic 9 program step.
