Floating-Point Divide: /F(457) - Omron SYSMAC CVM1 Series Operation Manual

Duplex system
Hide thumbs Also See for SYSMAC CVM1 Series:
Table of Contents

Advertisement

Floating-point Math Instructions

5-21-8 FLOATING-POINT DIVIDE: /F(457)

Ladder Symbol
(457)
/F
Dd
Variations
↑/F(457)
Description
Divisor
0
Numeral
+R
–R
NaN
Precautions
Flags
UF (A50010):
Absolute value of the result is less than the minimum value
that can be expressed for floating-point data.
Operand Data Areas
Dd: First dividend word
Dr
R
Dr: First divisor word
R: First result word
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.
Dd+1
B
Dr+1
R+1
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.
0
Numeral
ER
+/–R
0
See note 2.
0
0 (see note 1)
0
0 (see note 1)
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.
Dd, Dd+1, Dr, and Dr+1 must be floating-point data.
Note Refer to page 101 for general precautions on operand data areas.
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.
CIO, G, A, T, C, #, DM
CIO, G, A, T, C, #, DM
CIO, G, A, DM
Dividend (floating-point data, 32 bits)
Dd
Divisor (floating-point data, 32 bits)
Dr
Result (floating-point data, 32 bits)
R
Dividend
+R
–R
+R
–R
+/–R
+/–R
ER
ER
ER
ER
Section 5-21
NaN
ER
289

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cv seriesSysmac cvm1d series

Table of Contents