Mitsubishi MELSEC Q Series Programming Manual page 598

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

EVAL(P)
(b) When using exponent format
(3) Excluding the sign, decimal point, and exponent portion of the result, 6 digits of the character
string designated by
will be effective; the 7th digit on later digit will be cut from the result.
(a) When using decimal point format
(b) When using exponent format
(4) In the decimal point format, if "2B
omitted, conversion is made assuming a positive value.
If "2D
value.
(5) In the exponent format, if "2B
designation of sign is omitted, conversion is made assuming a positive value.
If "2D
assuming a negative value.
7-224
b15
b8
b7
S
20
(space)
H
S
+1
2E
(.)
H
S
+2
32
(2)
H
S
+3
31
(1)
H
S
+4
2B
(+)
H
S
+5
30
(0)
H
S
+6
00
H
1
1
. 3 2 0 1 E + 1 0
to be converted to a 32-bit floating decimal point type real number
S
b15
b8b7
S
20
(space)
H
S
+1
31
(1)
20
H
H
S
+2
33
(3)
H
S
+3
31
(1)
H
S
+4
36
(6)
H
S
+5
31
(1)
H
S
00
+6
H
-
1
. 3 0 1 5 6 8 1 2
b15
b8b7
S
20
(space)
H
S
+1
2E
(.)
H
S
+2
35
(5)
H
S
+3
33
(3)
H
S
+4
31
(1)
H
S
+5
45
(E)
H
S
+6
30
(0)
H
S
+7
00
H
-
1
. 3 5 0 3 4 1 2 E
These are cut
" (-) is specified for the sign, the character string is converted assuming a negative
H
H
" (-) is specified for the sign in the exponent portion, the character string is converted
H
b0
2D
(-)
H
31
(1)
H
D
+1
33
(3)
H
-1. 320 1E + 10
30
(0)
H
45
(E)
H
32-bit floating-point
31
(1)
H
real number
b0
2D
(-)
H
(space)
D
+1
2E
(.)
H
-1. 3 0 1 5 6
30
(0)
H
35
(5)
H
32-bit floating-point real number
38
(8)
H
32
(2)
H
These are cut
b0
2D
(-)
H
31
(1)
H
D
+1
33
(3)
H
-1 . 350 34 E- 2
30
(0)
H
34
(4)
H
32-bit floating-point
32
(2)
H
real number
2D
(-)
H
32
(2)
H
-
0
2
" (+) is specified for the sign or if the designation of sign is
H
" (+) is specified for the sign in the exponent portion or if the
D
D
D

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents