516
Floating-point Math Instructions Section 3-14
3-14-22 FLOATING-POINT TO ASCII: FSTR(448)
Purpose Expresses a 32-bit floating-point value (IEEE754-format) in standard decimal
notation or scientific notation and converts that value to ASCII text.
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
2.3>−3.5
0000000000000000
1100000001100000
15 0
0011001100110011
0100000000010011
15 0
S1: D100
S1+1: D101
S2: D200
S2+1: D201
4294967296<5566555656
1110010101110011
0100111110100101
15
0000000000000000
0100111110000000
15 0
S1: D100
S1+1: D101
S2: D200
S2+1: D201
FLOATING LESS THAN Comparison (<F)
Decimal value: 2.3
Decimal value: −3.5
Does not yield an ON condition.
Decimal value: 4,294,967,296 Decimal value: 5,566,555,65
Yields an ON condition.
FSTR(448)
S
C
D
S: First source word
C: First control word
D: First destination word
Variations Executed Each Cycle for ON Condition FSTR(448)
Executed Once for Upward Differentiation @FSTR(448)
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 C D
CIO Area CIO 0 to CIO 6142 CIO 0 to CIO 6141 CIO 0 to CIO 6143
Work Area W0 to W510 W0 to W509 W0 to W511
Holding Bit Area H0 to H510 H0 to H509 H0 to H511
Auxiliary Bit Area A0 to A958 A0 to A957 A448 to A959
Timer Area T0000 to T4094 T0000 to T4093 T0000 to T4095
Counter Area C0000 to C4094 C0000 to C4093 C0000 to C4095
DM Area D0 to D32766 D0 to D32765 D0 to D32767
Indirect DM
addresses in binary
@ D0 to
@ D32767
@ D0 to
@ D32767
@ D0 to
@ D32767
Indirect DM
addresses in BCD
*D0 to *D32767 *D0 to *D32767 *D0 to *D32767
Constants #00000000 to
#FFFFFFFF
(binary)
---
Data Registers ---