EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 554

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...
521
Floating-point Math Instructions Section 3-14
3-14-23 ASCII TO FLOATING-POINT: FVAL(449)
Purpose Converts a number expressed in ASCII text (decimal or scientific notation) to
a 32-bit floating-point value (IEEE754-format) and outputs the floating-point
value to the specified words.
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
2E (.)
37 (7)
45 (E)
30 (0)
00
1010100001110010
0011111010100111
FSTR
D0
D10
D100
0.00
15 0
D0
D1
0001(Hex)
000B(Hex)
0003(Hex)
D10
D11
D12
0.327457
33 (3)
32 (2)
35 (5)
2D ()
31 (1)
D100
D101
D102
D103
D104
D105
3.27457E-01
20 (Space)20 (Space)
Scientific notation
Total characters = 11 characters
Fractional digits = 3 digits (characters)
Conversion
Rounded off
Storage
conditions
Spaces
Total number of characters
Fractional
part
FVAL(449)
S
D
S: First source word
D: First destination word
Variations Executed Each Cycle for ON Condition FVAL(449)
Executed Once for Upward Differentiation @FVAL(449)
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 S D
CIO Area CIO 0 to CIO 6143 CIO 0 to CIO 6142
Work Area W0 to W511 W0 to W510
Holding Bit Area H0 to H511 H0 to H510
Auxiliary Bit Area A0 to A959 A448 to A958
Timer Area T0000 to T4095 T0000 to T4094
Counter Area C0000 to C4095 C0000 to C4094
DM Area D0 to D32767 D0 to D32766
Indirect DM
addresses in binary
@ D0 to @ D32767
Indirect DM
addresses in BCD
*D0 to *D32767
Constants ---

Table of Contents

Related product manuals