EasyManua.ls Logo

Mitsubishi MELSEC iQ-F FX5 series

Mitsubishi MELSEC iQ-F FX5 series
888 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 APPLICATION INSTRUCTION
7.7 Real Number Instruction
431
7
With regard to character string, six digits excluding the sign, decimal point and exponent part are valid, and the 7th and later
digits are discarded during conversion.
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. It is handled as negative value during conversion when the sign is set to 2DH (-).
When 20H (space) or 30H (0) exists between numbers except the first 0 in a character string specified by (s), 20H or 30H is
ignored during conversion.
Exponent format
When the character string specified by (s) is in exponent format, the operation is executed as follows.
With regard to character string, six digits excluding the sign, decimal point and exponent part are valid, and the 7th and later
digits are discarded during conversion.
(d)(d)+1
31H (1)
33H (3)
31H (1)
2DH (-)
2EH (.)
36H (6)
31H (1)
30H (0)
35H (5)
38H (8)
32H (2)
-
01-.3 615
(s)
(s)+1
(s)+2
(s)+3
(s)+4
(s)+5
(s)+6
b15 b0
b7b8
00H
1 . 3 0 1 5 6 8 1 2
Single-precision real number
These values are discarded.
20H (space)
20H (space)
(s)
(s)+1
(s)+2
(s)+3
(s)+4
b15 b0
b7b8
00H
(d)(d)+1
31H (1)
32H (2)
2DH (-)
30H (0)
2EH (.)
31H (1) 33H (3)
1
.
2
3 10-
1-.231
Single-precision real number
20H (space)
Ignored
(d)(d)+1
2EH (.)
32H (2)
31H (1)
2DH (-)
33H (3)
2BH (+)
30H (0)
30H (0)
45H (E)
31H (1)
-
021-.3 11+
(s)
(s)+1
(s)+2
(s)+3
(s)+4
(s)+5
(s)+6
b15 b0
b7b8
00H
1 . 3 2 0 1 E + 1 0
31H (1)
E0
Single-precision real number
20H (space)
(d)(d)+1
2EH (.)
35H (5)
33H (3)
31H (1)
45H (E)
-
01-.35 E-234
(s)
(s)+1
(s)+2
(s)+3
(s)+4
(s)+5
(s)+6
(s)+7
b15 b0
b7b8
30H (0)
00H
- 53.1 0 3 4 1 2 E - 0 2
2DH (-)
33H (3)
30H (0)
34H (4)
32H (2)
2DH (-)
32H (2)
31H (1)
Single-precision real number
These values are discarded.
20H (space)

Table of Contents

Related product manuals