Mitsubishi MELSEC iQ-F FX5 series Programming Manual page 434

Melsec iq-f fx5 series
Hide thumbs Also See for MELSEC iQ-F FX5 series:
Table of Contents

Advertisement

• 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.
b15
(s)
20H (space)
(s)+1
2EH (.)
(s)+2
34H (4)
(s)+3
33H (3)
(s)+4
2BH (+)
(s)+5
33H (3)
(s)+6
-
1 . 0 4 5 3 E + 0 3
Operation error
Error code
Description
(SD0/SD8067)
2820
00H does not exist in the corresponding device range starting from (s)
3401
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
3405
The number of characters after (s) is 0 or more than 24
7 APPLICATION INSTRUCTION
432
7.7 Real Number Instruction
b8
b7
b0
2DH (-)
31H (1)
30H (0)
35H (5)
45H (E)
30H (0)
00H
Ignored
(d)+1
(d)
-
1
.
0
4
5
3
E
+
3
Single-precision real number

Advertisement

Table of Contents
loading

Table of Contents