EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 517

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
484
Floating-point Math Instructions Section 3-14
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.
Flags
Precautions 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.
3-14-5 FLOATING-POINT ADD: +F(454)
Purpose Adds two 32-bit floating-point numbers and places the result in the specified
result words.
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
Name Label Operation
Error Flag ER OFF
Equals Flag = ON if both the exponent and mantissa of the result are 0.
OFF in all other cases.
Negative Flag N ON if the result is negative.
OFF in all other cases.
+F(454)
R
Au
Ad
Au: First augend word
AD: First addend word
R: First result word
Variations Executed Each Cycle for ON Condition +F(454)
Executed Once for Upward Differentiation @+F(454)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification Not supported.
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
Area Au Ad R
CIO Area CIO 0 to CIO 6142
Work Area W0 to W510
Holding Bit Area H0 to H510
Auxiliary Bit Area A0 to A958 A448 to A958
Timer Area T0000 to T4094
Counter Area C0000 to C4094
DM Area D0 to D32766

Table of Contents

Related product manuals