178
#0000 – 6851 –1 (from CY = 1) = 0000 + (10000 – 6851 – 1) = 97AE.
The content of HR 12, #0001, indicates a negative result.
R: HR 10
F
9
2
D
Mi: IR 010
5
A
1
0
Su: DM 0100
6
0
E
3
–
R: HR 11
6
8
5
1
Mi: IR 011
2
0
F
5
Su: DM 0101
B
8
A
3
–
CY = 1
Lower 4 digits.
Higher 4 digits.
CY = 1
R+2: HR 12
R+1: HR 11
R: HR 10
0
0
0
1
9
7
A
E
0
6
D
3
5A10 + (10000 – 60E3)
–
0
0
0
1
0
0
0
0
–
20F5 + (10000 – B8A3) – 1
CY = 0
(from CLC(41))
5-18-3
BINARY MULTIPLY – MLB(52)
Md
: Multiplicand word (binary)
IR, SR, AR, DM, HR, TC, LR, #
Mr
: Multiplier word (binary)
IR, SR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
R
: First result word
IR, AR, DM, HR LR
MLB(52)
Md
Mr
R
@MLB(52)
Md
Mr
R
When the execution condition is OFF, MLB(52) is not executed. When the
execution condition is ON, MLB(52) multiplies the content of Md by the con-
tents of Mr, places the rightmost four digits of the result in R, and places the
leftmost four digits in R+1.
Md
Mr
R +1
R
X
ER:
Indirectly addressed DM word is non-existent. (Content of
*
DM word
is not BCD, or the DM area boundary has been exceeded.)
EQ
:
ON when the result is 0.
Description
Flags
Binary Calculations
Section 5-18
Содержание SYSMAC C1000H
Страница 1: ...Cat No W140 E1 04 Programmable Controllers SYSMAC C1000H C2000H...
Страница 2: ...C1000H C2000H Programmable Controllers Operation Manual Revised May 2003...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 395: ...Cat No W140 E1 04 Note Specifications subject to change without notice Printed in Japan Authorized Distributor...
Страница 396: ...Cat No W140 E1 04 SYSMAC C1000H C2000H Programmable Controllers OPERATION MANUAL...