Mitsubishi Electric FX3G SERIES Programming Manual page 502

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
b) In the case of exponent format
b15
S
+1
S
+2
S
+3
S
+4
S
+5
S
+6
S
• When "2BH (+)" is specified as the sign in the floating point format or when the sign is omitted, a character string is
converted into a positive value.
When "2DH (-)" is specified as the sign, a character string is converted into a negative value.
• When "2BH (+)" is specified as the sign in the exponent format or when the sign is omitted, a character string is
converted into a positive exponent.
When "2DH (-)" is specified as the sign, a character string is converted into a negative exponent.
• 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.
S
b15
S
+1
S
+2
S
+3
S
+4
S
• When "30H (0)" exists between a number and "E" in a character string in the exponent format, "30H" is ignored
during conversion.
b15
20H(space)
2EH(.)
34H(4)
33H(3)
2BH(+)
33H(3)
• A character string can consist of up to 24 characters.
"20H (space)" and "30H (0)" in a character string are counted as one character respectively.
500
b8 b7
20H(.)
2EH(.)
35H(5)
33H(3)
31H(1)
45H(E)
30H(0)
00H
1
3
5 0 3
4
1
2 E
Rounded.
b8 b7
20H(space)
2DH(-)
31H(1)
30H(0)
32H(2)
2EH(.)
31H(1)
33H(3)
00H
0
1
2 3 1
Ignored.
b8 b7
2DH(-)
31H(1)
30H(0)
35H(5)
45H(E)
30H(0)
00H
1
0
4 5 3
E
+
0 3
Ignored.
18.5 FNC117 – EVAL / Character String to Floating Point Conversion
b0
2DH(-)
31H(1)
33H(3)
30H(0)
34H(4)
32H(2)
2DH(-)
32H(2)
0 2
b0
D
Binary floating point
(real number)
b0
+1
D
− 1.0453E+3
18 Floating Point – FNC110 to FNC139
+1
D
D
− 1.35034E − 2
Up to 6 digits are
securely equivalent.
Binary floating point
(real number)
+1
D
− 1.231
D

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents