
248
5-20-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, SR, AR, DM, HR LR
MLB(52)
Md
Mr
R
@MLB(52)
Md
Mr
R
Limitations
R and R+1 must be in the same data area.
Description
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 contents
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
Precautions
MLB(52) cannot be used to multiply signed binary data. Use MBS(––) instead.
Refer to
5-20-7 SIGNED BINARY MULTIPLY – MBS(––)
for details.
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.
N
:
ON when bit 15 of R+1 is set to 1.
5-20-4 BINARY DIVIDE – DVB(53)
Dd
: Dividend word (binary)
IR, SR, AR, DM, HR, TC, LR, #
Dr
: Divisor word (binary)
IR, SR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
R
: First result word
IR, SR, AR, DM, HR LR
DVB(53)
Dd
Dr
R
@DVB(53)
Dd
Dr
R
Description
When the execution condition is OFF, DVB(53) is not executed. When the
execution condition is ON, DVB(53) divides the content of Dd by the content of
Dr and the result is placed in R and R+1: the quotient in R, the remainder in R+1.
Dd
Dr
R
R + 1
Quotient
Remainder
Binary Calculations
Section 5-20
Summary of Contents for SYSMAC C200HE
Page 1: ...Cat No W303 E1 09 OPERATION MANUAL Programmable Controllers C200HX C200HG C200HE ...
Page 2: ......
Page 3: ...C200HX C200HG C200HE Programmable Controllers Operation Manual Revised August 2004 ...
Page 6: ...vi ...
Page 10: ......
Page 12: ......
Page 380: ......
Page 410: ......
Page 438: ......
Page 464: ......
Page 474: ......
Page 522: ......
Page 538: ......
Page 552: ...534 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Page 554: ......
Page 560: ......
Page 584: ......
Page 585: ......
Page 586: ...W303 E1 09 ...