117
3) Suitable soft component
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS. M includes M,HM,SM;S includes S,HS;T
includes T,HT;C includes C, HC.
<16 bits instruction>
The contents of the two destination devices D1 and D2 are swapped,
When X0 is ON, the instruction will be executed in every scanning period. Falling or rising
pulse is recommended to activate the instruction.
<32 bits instruction >
32 bits instruction [DXCH] swaps the dword value D10,D11 and D20, D21.
Before (D10) =100 →After (D10) =101
(D11) =101 (D11) =100
Before ( D10) =100 → after (D10) =200
(D11) =1 (D11D10) =65636 (D11) =10 (D11D10) =655460
(D20) =200 (D20) =100
(D21) =10 (D21D20) =655460 (D21) =1 (D21D20) =65636
tudonghoatoancau.com