EasyManua.ls Logo

Omron C200H - Binary Multiply - Mlb(52)

Omron C200H
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
183
#0000 – 6851 –1 (from CY = 1) = 0000 + (10000 – 6851 – 1) = 97AE.
The content of HR 12, #0001, indicates a negative result.
R: HR 10
F92D
Mi: IR 010
5A10
Su: DM 0100
60E3
R: HR 11
6851
Mi: IR 011
20F5
Su: DM 0101
B8A3
CY = 1
Lower 4 digits. Higher 4 digits.
CY = 1
R+2: HR 12 R+1: HR 11 R: HR 10
000197AE06D3
5A10 + (10000 – 60E3)
00010000
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
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 0.
Description
Binary Calculations Section 5-18

Table of Contents

Related product manuals