![background image](http://html1.mh-extra.com/html/ls-industrial-systems/xbc-dn10e/xbc-dn10e_user-manual_1943831288.webp)
Chapter 6 Instruction Details
XBC E-Type Main Unit
6-171
Ver. 1
6.28.11 RMUL, RMULP, LMUL, LMULP
Instruction
Area Available
Step
Flag
P M K F L T C S Z D.x R.x
Co
nst.
U N D R
Error
(F110)
Zero
(F111)
Carry
(F112)
RMUL(P)
LMOV(P)
S1 O O O O O O O - O -
- O O O O O
4~8
O
-
-
S2 O O O O O O O - O -
- O O O O O
D O O O - O O O - O -
-
- O O O O
Operand
Description
Data Type
S1
Data to be multiplied by S2
REAL/LREAL
S2
Data to be multiplied by S1
REAL/LREAL
D
Address to save operation result in
REAL/LREAL
[Flag Set]
Flag
Description
Device
Number
Error
To be set if FPU operation error flag of F0057E, F0057C, F0057B or F0057A is
set.
F110
1) RMUL (Real Multiply)
(1) Saves the result of specified real number S1 multiplied by S2 in D area in real number. (real number is
occupied in 2-word)
(2) The range of operand’s value is as follows;
± 2
-126
≤ | Operand | < ± 2
128
If the result of operand’s value exceeds the range, operation error will occur. However, specific
value may be assigned there to keep continuous operation.
P00001
M0008
M0004
M0000
RMUL
2) LMUL (Long Real Multiply)
(1) Saves the result of specified Long Real number S1 multiplied by S2 in D area in Long Real number. (Long
Real number is occupied in 4-word)
(2) The range of operand’s value is as follows;
± 2
-1022
≤ | Operand | < ± 2
1024
If the result of operand’s value exceeds the range, operation error will occur. However, specific value
may be assigned there to keep continuous operation
LMUL P1000 P1100 P1200
P00000
RMUL
P S1 S2
RMULP
S1 S2
means
RMUL/LMUL
D
D
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...