Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 517

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Floating-point Math Instructions
Flags
Precautions
3-14-5 FLOATING-POINT ADD: +F(454)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
484
Signed binary data within the range of –2,147,483,648 to 2,147,483,647 can
be specified for S+1 and S. The floating point value has 24 significant binary
digits (bits). The result will not be exact if a number greater than 16,777,215
(the maximum value that can be expressed in 24-bits) is converted by
FLTL(453).
Example Conversions:
A signed binary value of 16,777,215 is converted to 16,777,215.0.
A signed binary value of –16,777,215 is converted to –15,777,215.0.
Name
Label
Error Flag
ER
Equals Flag
=
Negative Flag
N
The result will not be exact if a number with an absolute value greater than
16,777,215 (the maximum value that can be expressed in 24-bits) is con-
verted.
Adds two 32-bit floating-point numbers and places the result in the specified
result words.
+F(454)
Au
Ad
R
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
OK
OK
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
Operation
OFF
ON if both the exponent and mantissa of the result are 0.
OFF in all other cases.
ON if the result is negative.
OFF in all other cases.
Au: First augend word
AD: First addend word
R: First result word
Step program areas
Subroutines
OK
Au
CIO 0 to CIO 6142
W0 to W510
H0 to H510
A0 to A958
T0000 to T4094
C0000 to C4094
D0 to D32766
Section 3-14
+F(454)
@+F(454)
Not supported.
Interrupt tasks
OK
Ad
R
A448 to A958

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents