Delta Electronics Extension Digital I/O Module DOP-EXIO14RAE User Manual
Page 99
![background image](/manuals/79046/99/background.png)
Appendix D Use of Application Instructions|DOP-EXIO Series
D-18
Revision March, 2008, Doc. Name: 2007PDD23000014
Mnemonic
Operands Function
MOV
D
S
D
Move
Bit Devices
Word Devices
X Y M S K H
KnX
KnY
KnM KnS
T
C
D
E
F
S
D
y
Note:
1. If S, and D are used in device F, only 16-bit instruction is applicable.
16-bit instruction (5 Steps)
MOV
Continuous
execution
32-bit instruction (9 Steps)
DMOV
Continuous
execution
y
Flags: None
Operands:
S
: Source of data
D
: Destination of data
Explanations:
1. When this instruction is executed, the content of S will be moved directly to D. When this
instruction is not executed, the content of D remains unchanged.
2. If the operation result refers to a 32-bit output, (i.e. application instruction MUL and so on), and
the user needs to move the present value in the 32-bit high-speed counter, DMOV instruction has
to be adopted.
Program Example:
1. MOV instruction has to be adopted in the moving of 16-bit data.
a)
When X0 = Off, the content in D10 will remain unchanged. If X0 = On, the value K10 will be
moved to D10 data register.
b)
When X1 = Off, the content in D10 will remain unchanged. If X1 = On, the present value T0
will be moved to D10 data register.
2. DMOV instruction has to be adopted in the moving of 32-bit data.
When X2 = Off, the content in (D31, D30) and (D41, D40) will remain unchanged. If X2 = On, the
present value of (D21, D20) will be sent to (D31, D30) data register. Meanwhile, the present
value of C235 will be moved to (D41, D40) data register.
X0
X1
X2
MOV
K10
D0
MOV
T0
D10
DMOV
D20
D30
DMOV
C235
D40