508
8 APPLICATION INSTRUCTION
8.9 Real Number Instruction
• 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.
• String data in the exponent format is handled as positive value during conversion when the sign of the exponent part is set
to 2BH (+) or when the sign is omitted. When 2DH (-) is specified as the sign, a character string is converted into a negative
value.
• 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.
• When 30H (0) exists between a number and "E" in a character string in the exponent format, 30H is ignored during
conversion.
Operation error
(1): These values are discarded.
(2): Single-precision real number
(1): Ignored
(2): Single-precision real number
Error code
(SD0/SD8067)
Description
2820H
00H does not exist in the corresponding device range starting from (s)
3401H
Characters other than 30 (0) to 39 (9) exist in a character string specified by (s)
2EH (.) exists in two or more positions in a character string specified by (s)
Any character other than 45H (E), 2BH (+), or 2DH (-) exists in the exponent part specified by (s), or two or more exponent parts exist
3405H
The number of characters after (s) is 0 or more than 24
(d)
(d)+1
2EH (.)
35H (5)
33H (3)
31H (1)
45H (E)
-
0
1
- . 3 5
E - 2
3 4
(s)
(s)+1
(s)+2
(s)+3
(s)+4
(s)+5
(s)+6
(s)+7
b15
b0
b7
b8
30H (0)
00H
-
5
3
.
1
0 3 4 1 2 E - 0 2
2DH (-)
33H (3)
30H (0)
34H (4)
32H (2)
2DH (-)
32H (2)
31H (1)
(2)
(1)
20H (SP)
(d)
(d)+1
2EH (.)
34H (4)
33H (3)
2DH (-)
30H (0)
2BH (+)
33H (3)
35H (5)
45H (E)
30H (0)
-
4
0
1
-
.
+
5
E
(s)
(s)+1
(s)+2
(s)+3
(s)+4
(s)+5
(s)+6
b15
b0
b7
b8
00H
31H (1)
3
3
1 . 0 4 5 3 E + 0 3
(2)
20H (SP)
(1)
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: ......