E L C P r o g r a m m i n g M a n u a l
F o r m o r e i nf o r m a t i o n v i sit :
w w w. e a t o n . c o m
MN05003003E
3-54
API Mnemonic
Operands
Function
12
D MOV P
S, D
Move
Bit Devices
Word devices
Program Steps
Type
OP
X Y M S K H KnX
KnY
KnM KnS T
C D E
F
S
*
*
*
*
*
*
*
*
*
*
*
D
*
*
*
*
*
*
*
*
MOV, MOVP: 5 steps
DMOV, DMOVP: 9 steps
ELC ELCB
ELCM
PB PC/PA/PH
PV
PB PH/PA
32 16
P
32 16
P
32 16
P
32 16 P 32 16 P
Operands:
S
: Data source
D
: Data destination
Description:
When the MOV instruction is executed, the data in
S
is moved to
D
without any change to
S
. If the
MOV instruction is not executed, the content of
D
will remain unchanged.
Program Example:
1.
MOV will move a 16-bit value from the source location to the destination.
2.
When X0=OFF, the content of D0 remains unchanged. If X0=ON, the data K10 is moved to
D0.
3.
When X1=OFF, the content of D10 remain unchanged. If X1=ON, the data of T0 is moved to
the D10 data register. In a word instruction, T0 is the accumulated value of timer T0.
4.
DMOV will move a 32-bit value from the source location to the destination.
5.
When X2=OFF, the content of (D31, D30) and (D41, D40) remain unchanged. If X2=ON, the
data of (D21, D20) is moved to (D31, D30) data register. Meanwhile, the data of C235 is
moved to (D41, D40) data register.
X0
X1
X2
MOV
K10
D0
MOV
T0
D10
DMOV
D20
D30
DMOV
C235
D40
Summary of Contents for ELC-PB
Page 1: ......
Page 5: ...For more information visit www eaton com MN05003003E iv...
Page 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Page 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Page 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Page 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...