289
UF (A50010):
Absolute value of the result is less than the minimum value
that can be expressed for floating-point data.
5-21-8 FLOATING-POINT DIVIDE: /F(457)
(457)
/F
Dd
Dr
R
Ladder Symbol
Variations
↑
/F(457)
Operand Data Areas
Dd: First dividend word
CIO, G, A, T, C, #, DM
R: First result word
CIO, G, A, DM
Dr: First divisor word
CIO, G, A, T, C, #, DM
When the execution condition OFF, /F(457) is not executed. When the execution
condition is ON, /F(457) divides the 32-floating-point content of Dd and Dd+1 by
the 32-floating-point content of Dr and Dr+1 and places the result in R and R+1.
R+1
R
Dd
Dividend (floating-point data, 32 bits)
Dd+1
Dr
Divisor (floating-point data, 32 bits)
Dr+1
Result (floating-point data, 32 bits)
B
If the absolute value of the result is greater than the maximum value that can be
expressed for floating-point data, the Overflow Flag (A50009) will turn ON and
the result will be output as
±
R
.
If the absolute value of the result is less than the minimum value that can be ex-
pressed for floating-point data, the Underflow Flag (A50010) will turn ON and the
result will be output as 0.
The various combinations of dividend and divisor data will produce the results
shown in the following table.
Dividend
Divisor
0
Numeral
+
R
–
R
NaN
0
ER
+/–
R
+
R
–
R
Numeral
0
See note 2.
+/–
R
+/–
R
+
R
0
0 (see note 1)
ER
ER
–
R
0
0 (see note 1)
ER
ER
NaN
ER
Note
1. The results will be zero for underflows.
2. The results could be zero (including underflows), a numeral, +
1
, or –
1
.
3. ER: The Error Flag (A50003) turns ON and the instruction is not executed.
Precautions
Dd, Dd+1, Dr, and Dr+1 must be floating-point data.
Note Refer to page 101 for general precautions on operand data areas.
Flags
ER (A50003):
Dd, Dd+1, Dr, and Dr+1 are not floating-point data.
The content of a
*
DM word is not BCD when set for BCD.
EQ (A50006):
The exponent and mantissa of the result are 0.
N (A50008):
The result is a negative number.
OF (A50009):
The absolute value of the result is greater than the maximum
value that can be expressed for floating-point data.
Description
Floating-point Math Instructions
Section 5-21
Summary of Contents for CVM1D
Page 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Page 463: ...iv...
Page 465: ...vi...