![background image](http://html1.mh-extra.com/html/eaton/elc-pb/elc-pb_programming-manual_4017452227.webp)
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-58
API Mnemonic
Operands
Function
14
D CML P
S, D
Compliment and 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
*
*
*
*
*
*
*
*
CML, CMLP: 5 steps
DCML, DCMLP: 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
: Destination
Description:
1.
Take the data in the source
S
, compliment (0
→
1, 1
→
0) it and move to the assigned
destination
D
.
2. If
operand
S
and
D
use index register F, only a 16 bit value is available
Program Example:
When X20=ON, the contents of D1, b0~b3, will be complimented and moved to Y0 – Y3.
X20
CML
K1Y0
D1
b0
b1
b2
b3
b15
D1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
Symbol bit
0=positive, 1=negative)
(
0
1
0
1
No variation
Transfer data
Содержание 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...