![Omron CVM1D Operation Manual Download Page 291](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532291.webp)
286
Flags
ER (A50003):
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 of the conversion is a negative number.
5-21-5 FLOATING-POINT ADD: +F(454)
(454)
+F
Au
Ad
R
Ladder Symbol
Variations
↑
+F(454)
Operand Data Areas
Au: First augend word
CIO, G, A, T, C, #, DM
R: First result word
CIO, G, A, DM
Ad: First addend word
CIO, G, A, T, C, #, DM
When the execution condition OFF, +F(454) is not executed. When the execu-
tion condition is ON, +F(454) adds 32-bit floating-point content of Ad and Ad+1
to the 32-bit floating-point content of Au and Au+1 and places the result in R and
R+1.
R+1
R
Au
Augend (floating-point data, 32 bits)
Au+1
Ad
Addend (floating-point data, 32 bits)
Ad+1
Result (floating-point data, 32 bits)
+
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 augend and addend data will produce the results
shown in the following table.
Augend
Addend
0
Numeral
+
R
–
R
NaN
0
0
Numeral
+
R
–
R
Numeral
Numeral
See note 1.
+
R
–
R
+
R
+
R
+
R
+
R
ER
–
R
–
R
–
R
ER
–
R
NaN
ER
Note
1. The results could be zero (including underflows), a numeral, +
1
, or –
1
.
2. ER: The Error Flag (A50003) turns ON and the instruction is not executed.
Precautions
Au, Au+1, Ad, and Ad+1 must be floating-point data.
Note Refer to page 101 for general precautions on operand data areas.
Flags
ER (A50003):
Au, Au+1, Ad, and Ad+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...