8 APPLICATION INSTRUCTION
8.9 Real Number Instruction
507
8
■
Decimal point format
• When the character string specified by (s) is decimal point 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.
• 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.
(1): Single-precision real number
(1): These values are discarded.
(2): Single-precision real number
(1): Ignored
(2): Single-precision real number
(1): Single-precision real number
(s)
(s)+1
(s)+2
(s)+3
(s)+4
b15
b0
b7
b8
00H
(d)
(d)+1
31H (1)
30H (0)
38H (8)
2DH (-)
2EH (.)
37H (7)
32H (2)
31H (1)
0 7 8 1 2
.
1
-
7
1
- . 0 8
1 2
(1)
(d)
(d)+1
31H (1)
33H (3)
31H (1)
2DH (-)
2EH (.)
36H (6)
31H (1)
30H (0)
35H (5)
38H (8)
32H (2)
-
0
1
-
. 3
6
1 5
(s)
(s)+1
(s)+2
(s)+3
(s)+4
(s)+5
(s)+6
b15
b0
b7
b8
00H
1 . 3 0 1 5 6 8 1 2
(2)
(1)
20H (SP)
20H (SP)
(s)
(s)+1
(s)+2
(s)+3
(s)+4
b15
b0
b7
b8
00H
(d)
(d)+1
31H (1)
32H (2)
2DH (-)
30H (0)
2EH (.)
31H (1)
33H (3)
1 . 2 3 1
0
-
1
-
. 2
3 1
(2)
20H (SP)
(1)
(d)
(d)+1
2EH (.)
32H (2)
31H (1)
2DH (-)
33H (3)
2BH (+)
30H (0)
30H (0)
45H (E)
31H (1)
-
0
2
1
- . 3
1
1
+
(s)
(s)+1
(s)+2
(s)+3
(s)+4
(s)+5
(s)+6
b15
b0
b7
b8
00H
1 . 3 2 0 1 E + 1 0
31H (1)
E
0
(1)
20H (SP)
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......