Omron SYSMAC CP Series Instruction & Reference Manual page 275

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

*F
×
/F
÷
• If the absolute value of the result is greater than the maximum value that can be expressed as float-
ing-point data, the Overflow Flag will turn ON and the result will be output as ±∞.
• If the absolute value of the result is less than the minimum value that can be expressed as floating-
point data, the Underflow Flag will turn ON and the result will be output as 0.
Operation rules
The result of an operation is output as shown below depending on the combination of floating-point
data.
FLOATING-POINT ADD (+F)
Addend
0
Numeral
+∞
–∞
NaN
Note 1 The results could be zero (including underflows), a numeral, +∞, or –∞.
ER
The Error Flag will be turned ON and the instruction will not be executed.
FLOATING-POINT SUBTRACT (–F)
Subtrahend
0
Numeral
+∞
–∞
NaN
Note 1 The results could be zero (including underflows), a numeral, +∞, or –∞.
ER
The Error Flag will be turned ON and the instruction will not be executed.
CP1E CPU Unit Instructions Reference Manual(W483)
Md
Md+1
Mr+1
Mr
R+1
R
Dd+1
Dd
Dr+1
Dr
R+1
R
0
Numeral
0
Numeral
Numeral
See note 1.
+∞
+∞
–∞
–∞
0
Numeral
0
Numeral
Numeral
See note 1.
–∞
–∞
+∞
+∞
Multiplicand (floating-point data, 32 bits)
Multiplier (floating-point data, 32 bits)
Result (floating-point data, 32 bits)
Dividend (floating-point data, 32 bits)
Divisor (floating-point data, 32 bits)
Result (floating-point data, 32 bits)
Augend
+∞
–∞
+∞
–∞
+∞
–∞
+∞
ER
ER
–∞
Minuend
+∞
–∞
+∞
–∞
+∞
–∞
ER
–∞
+∞
ER
2 Instructions
2
NaN
ER
NaN
ER
2-239

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents