EasyManua.ls Logo

Xinje XD5 - Page 105

Xinje XD5
389 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...
104
2. Operands
Operands
Function
Data Type
S
Specify the source data or register’s address
code
16 bit/32 bit, BIN
D
Specify the target soft component’s address
code
16 bit/32 bit, BIN
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.
Move the source data to the target
When X0 is off, the data will not change
Move K10 to D10
<read the counter or timer current value> <indirect set the timer value>
< Move the 32bits data >
Please use DMOV when the value is 32 bits, such as MUL instruction, high speed counter…
DMOV D0 D10
DMOV HSC0 D20
MOV K10 D10
X0
S· D·
MOV T0 D20
X1
Word
Operand
System
Constant
Module
D
*
FD
TD
*
CD
*
DX
DY
DM
*
DS
*
K /H
ID
QD
S
D
Description
(K10) (D20)
D20=K10
D20=K10
(The current value of T0) (D20)
The same as counter
(D1, D0) → (D11, D10)
(the current value of HSC0) (D21, D20)

Table of Contents

Related product manuals