![background image](http://html1.mh-extra.com/html/ls-industrial-systems/xbc-dn10e/xbc-dn10e_user-manual_1943831208.webp)
Chapter 6 Instruction Details
XBC E-Type Main Unit
6-91
Ver. 1
6.19.3 CMOV, CMOVP, DCMOV, DCMOVP
Instruction
Area Available
Step
Flag
P M K F L T C S Z D.x R.x
Co
nst.
U N D R
Error
(F110)
Zero
(F111)
Carry
(F112)
CMOV(P)
DCMOV(P)
S O O O O O O O - O -
- O O O O O
2~4
O
-
-
D O O O - O O O - O -
-
- O O O O
1) CMOV (Complement Move)
(1) It takes 1’s complement in word data S to transfer its result to D.
2) DCMOV (Double Complement Move)
(1) DCMOV(P) Instruction takes 1’s complement to transfer twice CMOV(P) Instruction data. (Double word
transfer)
Operand
Description
Data Type
S
Data to transfer or device number data is saved in
WORD/DWORD
D
Device number to save data transferred
WORD/DWORD
CMOV,
DCMOV
means
CMOV/DCMOV
P S
D
CMOVP,
DCMOVP
S
D
1word
S 0 1 0 0 1 0 0 1 0 0 1 0 1 0 1 1
D 1 1 0 1 0 1 1 1 0 1 0 1 0 1 0 0
Before
After
1word
0 1 0 0 1 0 0 1 0 0 1 0 1 0 1 1
1 1 0 1 0 1 1 1 0 1 0 1 0 1 0 0
1word
0 1 0 0 1 0 0 1 0 0 1 0 1 0 1 1
1 1 0 1 0 1 1 1 0 1 0 1 0 1 0 0
Before
After
S
D
D+1
S+1
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...