Binary Multiply - Mlb(52) - Omron SYSMAC C2000H Operation Manual

Hide thumbs Also See for SYSMAC C2000H:
Table of Contents

Advertisement

Binary Calculations
5A10 + (10000 – 60E3)
5-18-3
BINARY MULTIPLY – MLB(52)
Description
Flags
178
#0000 – 6851 –1 (from CY = 1) = 0000 + (10000 – 6851 – 1) = 97AE.
The content of HR 12, #0001, indicates a negative result.
Lower 4 digits.
Mi: IR 010
5
A
1
0
Su: DM 0100
CY = 0
6
0
E
3
(from CLC(41))
0
0
0
0
R: HR 10
F
9
2
D
R+2: HR 12
0
0
0
1
9
Ladder Symbols
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.
X
R +1
Indirectly addressed DM word is non-existent. (Content of *DM word
ER:
is not BCD, or the DM area boundary has been exceeded.)
EQ:
ON when the result is 0.
Higher 4 digits.
2
Su: DM 0101
B
0
20F5 + (10000 – B8A3) – 1
CY = 1
6
CY = 1
R+1: HR 11
R: HR 10
7
A
E
0
6
D
@MLB(52)
Md
Mr
R
Md
Mr
R
Section 5-18
Mi: IR 011
0
F
5
8
A
3
0
0
1
R: HR 11
8
5
1
3
Operand Data Areas
Md: Multiplicand word (binary)
IR, SR, AR, DM, HR, TC, LR, #
Mr: Multiplier word (binary)
IR, SR, AR, DM, HR, TC, LR, #
R: First result word
IR, AR, DM, HR LR

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c1000h

Table of Contents