E L C P r o g r a m m i n g M a n u a l
F or more info rmat io n vi sit: www.e a to n.c om M N 0 5 003 00 3 E
3-424
API Mnemonic
Operands
Function
176
MMOV P
S, D
16-bit
→
32-bit Conversion
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
*
*
*
MMOV, MMOVP: 5 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:
Source address (16-bit)
D:
Destination address (32-bit)
Description:
MMOV instruction sends the data in the 16-bit source
S
to
the
32-bit destination
D
.
The sign bit
(MSB) of the source will be copied to the high word of
D
and the high bit of the low word of
D
.
Program example:
When X23 = 0N, 16-bit data in D4 will be moved to D6 and D7.
X23
MMOV
D4
D6
0 0 1 1
1
0
0
0
1 1
1
1
0 0 0
b15
b0
0 0
0
0 0 1
1
1
1
D7, D6
1
1
1
1
1
1
1
1
1
b31
b16
1
b0
b15
D4
0
1
1
0
0
1
1
1
1
1
1
1
1
1
"
"
+
0
1
"
"
-
In the example above, b15 in D4 will be sent to b15~b31 of D7/D6.”
Содержание ELC-PB
Страница 1: ......
Страница 5: ...For more information visit www eaton com MN05003003E iv...
Страница 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Страница 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Страница 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Страница 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...