Floating-Point Add: +F(454) - Omron SYSMAC CV Series Operation Manual

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Floating-point Math Instructions
Flags

5-21-5 FLOATING-POINT ADD: +F(454)

Ladder Symbol
(454)
+F
Au
Variations
+F(454)
Description
Addend
0
Numeral
Numeral
+R
–R
NaN
Precautions
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.
Operand Data Areas
Au: First augend word CIO, G, A, T, C, #, DM
Ad
R
Ad: First addend word CIO, G, A, T, C, #, DM
R: First result word
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.
Au+1
+
Ad+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 augend and addend data will produce the results
shown in the following table.
0
Numeral
0
Numeral
See note 1.
+R
+R
–R
–R
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.
Au, Au+1, Ad, and Ad+1 must be floating-point data.
Note Refer to page 115 for general precautions on operand data areas.
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.
CIO, G, A, DM
Augend (floating-point data, 32 bits)
Au
Addend (floating-point data, 32 bits)
Ad
Result (floating-point data, 32 bits)
R
Augend
+R
–R
+R
–R
+R
–R
+R
ER
ER
–R
Section 5-21
(CVM1 V2)
NaN
ER
299

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents