EasyManua.ls Logo

Xinje XL Series - Page 118

Xinje XL Series
456 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
117
3) Suitable soft component
Operands
Word soft elements
Bit soft elements
System
Consta
nt
Module
System
D
F
D
T
D
C
D
D
X
D
Y
D
M
D
S
K/H
I
D
Q
D
X
Y
M
S
T
C
Dn.
m
D1
D2
*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>
XCH D10 D11
X0
D1· D2·
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 >
DXCH D10 D20
X0
D1· D2·
32 bits instruction [DXCH] swaps the dword value D10,D11 and D20, D21.
Description
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

Table of Contents

Related product manuals