Floating-Point To Ascii: Fstr(448) - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Floating-point Math Instructions

3-15-25 FLOATING-POINT TO ASCII: FSTR(448)

Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
FLOATING LESS THAN Comparison (<F)
15
S1 :D00100
0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
S1+1:D00101
0 1 0 0 0 0 0 0 0 0 0 1 0 0 1 1
Decimal value: 2.3
15
S1 :D00100
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
S1+1:D00101
0 1 0 0 1 1 1 1 1 0 0 0 0 0 0 0
Decimal value: 4,294,967,296
Expresses a 32-bit floating-point value (IEEE754-format) in standard decimal
notation or scientific notation and converts that value to ASCII text.
This instruction is supported by CS1-H, CJ1-H, CJ1M, and CS1D CPU Units
only.
FSTR(448)
S: First source word
S
C: First control word
C
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 0000 to
CIO 6142
Work Area
W000 to W510
Holding Bit Area
H000 to H510
Auxiliary Bit Area
A000 to A958
Timer Area
T0000 to T4094
Counter Area
C0000 to C4094
DM Area
D00000 to D32766 D00000 to D32765 D00000 to D32767
EM Area without bank E00000 to E32766 E00000 to E32765 E00000 to E32767
0
15
S2 :D00200
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
S2+1:D00201
1 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0
Decimal value: 3.5
2.3> 3.5
Does not yield an ON condition.
0
15
S2 :D00200
1 1 1 0 0 1 0 1 0 1 1 1 0 0 1 1
S2+1:D00201
0 1 0 0 1 1 1 1 1 0 1 0 0 1 0 1
Decimal value: 5,566,555,656
4294967296<5566555656
Yields an ON condition.
Step program areas
Subroutines
OK
S
C
CIO 0000 to
CIO 6141
W000 to W509
H000 to H509
A000 to A957
T0000 to T4093
C0000 to C4093
Section 3-15
0
FSTR(448)
@FSTR(448)
Not supported.
Interrupt tasks
OK
D
CIO 0000 to
CIO 6143
W000 to W511
H000 to H511
A448 to A959
T0000 to T4095
C0000 to C4095
641

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents