Omron C200HG Manuel D’Utilisation

Page de 564
253
In the case below, 1,799,100,099 –  (–282,751,929) = 2,081,851,958
(6B3C 167D – {EF25 8C47 – 1 0000 0000} = 7C16 8A36). Neither OF nor UF
are turned ON.
Au + 1 : 001
Au : 000
Ad + 1 : DM 0021
Ad : DM 0020
6
B
3
C
1
6
7
D
E
F
2
5
8
C
4
7
0
R + 1 : LR 22
R : LR 21
8
A
3
6
7
C
1
6
0
CY (Cleared with CLC(41))
UF (SR 25405)
0
OF (SR 25404)
Note The status of the CY flag can be ignored when adding signed binary data since it
is relevant only in the addition of normal hexadecimal values.
5-20-7 SIGNED BINARY MULTIPLY – MBS(––)
Md: Multiplicand word
IR, SR, AR, DM, HR, TC, LR, #
Mr: Multiplier word
IR, SR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
R: First result word
IR, SR, AR, DM, HR LR
MBS(––)
Md
Mr
R
@MBS(––)
Md
Mr
R
Limitations
R and R+1 must be in the same data area.
Description
MBS(––) multiplies the signed binary content of two words and outputs the
8-digit signed binary result to R+1 and R. The rightmost four digits of the result
are placed in R, and the leftmost four digits are placed in R+1. Refer to page 27
for details on signed binary data.
Md
Mr
R +1 
R
X
Flags
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 0000 0000, otherwise OFF.
N:
ON when bit 15 of R+1 is set to 1.
Binary Calculations
Section 5-20