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-60
Program Example 2:
If BMOV is used to move bits, KnX, KnY, KnM, KnS, the digit numbers of
S
and
D
should be of the
same data type.
M1000
K1M0
K1Y0
K3
M0
M1
M2
M3
M4
M5
M6
M7
M8
M9
M10
n=3
M11
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
Y10
Y11
Y12
Y13
BMOV
Program Example 3:
The BMOV instruction will operate differently, depending on the addresses assigned to
S
and
D
as
follows.
1. When
S
>
D
, the BMOV instruction is processed in the order
1
→
2
→
3
.
X20
BMOV
D20
D19
K3
D19
D20
D21
D20
D21
D22
2
1
3
2.
In ELC-PV, when
S
<
D
, the instruction is processed following the order
1
→
2
→
3
D11
D13
X11
BMOV
D10
D11
K3
D10
D11
D12
1
3
2
3.
In ELC-PB/PC/PA/PH and ELCM-PH/PA, when
S
<
D
, the BMOV instruction is processed in
the order
3
→
2
→
1
, then D11~D13 all equal to D10.
D11
D13
X21
BMOV
D10
D11
K3
D10
D11
D12
1
3
2
Содержание 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...