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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Floating-point Math Instructions
0.00
15
1 0 1 0 1 0 0 0 0 1 1 1 0 0 1 0
D0
0 0 1 1 1 1 1 0 1 0 1 0 0 1 1 1
D1
3-14-23 ASCII TO FLOATING-POINT: FVAL(449)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
FSTR
D0
D10
D100
Conversion
0
0.327457
0001(Hex)
D10
Storage
000B(Hex)
D11
conditions
0003(Hex)
D12
Total number of characters
3 . 2 7 4 5 7 E - 0 1
Fractional
Spaces
Rounded off
part
D100
20 (Space)
20 (Space)
D101
33 (3)
2E (.)
D102
32 (2)
37 (7)
D103
35 (5)
45 (E)
D104
2D ( )
30 (0)
D105
31 (1)
00
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.
FVAL(449)
S
S: First source word
D: First destination word
D
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
CIO 0 to CIO 6143
Work Area
W0 to W511
Holding Bit Area
H0 to H511
Auxiliary Bit Area
A0 to A959
Timer Area
T0000 to T4095
Counter Area
C0000 to C4095
DM Area
D0 to D32767
Indirect DM
@ D0 to @ D32767
addresses in binary
Indirect DM
*D0 to *D32767
addresses in BCD
Constants
---
Scientific notation
Total characters = 11 characters
Fractional digits = 3 digits (characters)
Step program areas
Subroutines
OK
S
Section 3-14
FVAL(449)
@FVAL(449)
Not supported.
Interrupt tasks
OK
D
CIO 0 to CIO 6142
W0 to W510
H0 to H510
A448 to A958
T0000 to T4094
C0000 to C4094
D0 to D32766
521

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents