473
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
18 Floating Point – FNC110 to FNC139
18.5 FNC117 – EVAL / Character String to Floating Point Conversion
11
FN
C30-
FN
C39
R
o
ta
tion and
Sh
ift
12
FNC
4
0
-FNC49
D
a
ta
Op
e
ra
tio
n
13
FNC5
0
-FNC5
9
H
igh Speed
Pr
ocessi
ng
14
FM
C6
0
-F
NC6
9
H
and
y
In
st
ru
cti
o
n
15
FNC7
0
-FNC7
9
Ex
te
rn
a
l F
X
I
/O
D
evi
ce
16
FNC8
0
-FNC8
9
Ext
e
rnal
FX
D
evi
ce
17
F
N
C1
00
-F
NC
10
9
Da
ta
Tr
ansf
e
r 2
18
FN
C
110-FN
C
13
9
Fl
oat
ing P
o
in
t
19
FN
C
140-FN
C
149
Da
ta
O
per
at
io
n
2
20
FN
C
15
0-F
N
C
159
P
o
si
tioni
ng
C
ont
ro
l
b) In the case of exponent format
• When "20H (space)" or "30H (0)" exists between numbers except the first "0" in a character string specified
by
, "20H" or "30H" is ignored during conversion.
• When "30H (0)" exists between a number and "E" in a character string in the exponent format, "30H" is
ignored during conversion.
• A character string can consist of up to 24 characters.
b15
b8 b7
b0
+1
+2
+3
+4
+5
+6
Rounded.
+1
Binary floating point
(real number)
−
1.35034E
−
2
20H(space)
2EH(-)
00H
35H(5)
33H(3)
2DH(-)
31H(1)
33H(3)
30H(0)
31H(1)
45H(E)
32H(2)
34H(4)
32H(2)
30H(0)
2DH(-)
5 0 3
3
4
2 E
1
1
0 2
S
S
S
S
S
S
S
D
D
S
b15
b8 b7
b0
+1
+2
+3
Ignored.
+1
Binary floating point
(real number)
−
1.231
20H(space)
31H(1)
32H(2)
31H(1)
2DH(-)
30H(0)
2EH(.)
33H(3)
2 3 1
1
0
00H
+4
S
S
S
S
S
D
D
b15
b8 b7
b0
Ignored.
+1
−
1.0453E+3
20H(space)
2EH(.)
34H(4)
33H(3)
2DH(-)
31H(1)
30H(0)
35H(5)
2BH(+)
33H(3)
30H(0)
45H(E)
4 5 3
0
E
0 3
+
1
00H
D
D