EasyManua.ls Logo

Thinget XC3-24RT-E - Xch

Default Icon
283 pages
Print Icon
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...
Applied Instructions
[XCH]
1
《16 bits instruction》
6 bits instruction:XCH 32 bits instruction:DXCH
Suitable Models:
XC1、XC3、XC5
Suitable Device
Word
D
XCH D10 D11
X0
D1· D2·
《32 bits instruction》
DXCH D10 D20
X0
D1· D2·
Function
Device
Bit
Device
X
Y
M
S
T
C
Dn.m
FD
DM
DX
DY
DS
TD
CD
K/H
D1·
D2·
z The contents of the two destination devices D1 and D2 are swapped,
z
When drive input X0 is ON each scan cycle should carry on data
exchange
Before(D10)=100 →Aft
(D11)=101 0
er (D10)=101
(D11)=10
z 32 bits instruction [DXCH] swaps value composed by D10、D11 and the value
composed by D20
D21
89

Table of Contents