EasyManuals Logo

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 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
Page #476 background imageLoading...
Page #476 background image
474
ESTR, ESTRP
3) If the number of digits following the decimal point has been set at any value other than "0", "2E
H
" (.) will
automatically be stored at the position before the first of the specified number of digits.
If the number of digits in the decimal fraction part is "0", the ASCII code "2E
H
" (.) will not be stored.
4) If the total number of digits, excluding the sign, the decimal point and the decimal fraction part, is greater than
the integer part of the 32-bit floating point type real number data, "20
H
(space)" will be stored between the sign
and the integer part.
5) The value "00
H
" is automatically stored at the end of the converted character string.
For example, in a case where there are 12 digits is total, with 4 digits in the decimal fraction portion, and the value
designated is -12.34567, the operation results would be stored in the area starting from in the following manner:
8 (Total number of digits)
2 (Number of digits in decimal fraction)
+2
Automatically added
Number of digits
in decimal fraction
0: Decimal point format
+1
+1
1-.23
-1 . 2
3
4
56
Total number of digits
S2
S1
S2
S2
S1
8
2
+2
Number of digits
in decimal fraction
Filled with 20
H
(space) codes
0
+1
+1
1-.23
-1 .
2
3
4
56
Total number of digits
S2
S2
S2
S1 S1
When using exponent format
ASCII code for the sign
b15 b8b7 b0
Total number of digits
Number of digits in decimal fraction
+2
.
Sign (integer part)
+1
00H
Automatically stored at
the end of character sting
+2
+3
+4
+5
+6
Sign (exponent part)
E
Exponent format
+1
32-bit floating-point real number
Automatically added
+1
ASCII code for the
(total number of digits -2)th digit
45H (E)
ASCII code for the
(total number of digits -4)th digit
ASCII code for the
(total number of digits -6)th digit
ASCII code for the
(total number of digits -10)th digit
ASCII code for the
(total number of digits -1)th digit
ASCII code for decimal point (.)
(2E
H
)
ASCII code for the
(total number of digits -5)th digit
ASCII code for the sign
(Exponent part)
ASCII code for the
(total number of digits -7)th digit
ASCII code for the
(total number of digits -11)th digit
S1
S2
D
S2
S2
S1
D
D
D
D
D
D
D
12
4
+2
.
Sign
(integer part)
Automatically added
Sign
(exponent part)
+
1
+1
32-bit floating-point real number
+1
b8 b7
b0
00H
+1
+2
+3
+4
+5
+6
-1 2
.
34
5
67
1- 2346E 0
1
2DH (-)
31
H (1)
32
H (2)
34
H (4)
45
H (E)
30
H (0)
20
H (space)
2E
H (.)
33
H (3)
36
H (6)
2C
H (+)
31
H (1)
S2
S1
D
D
D
D
D
D
D
b15
S1
S2
S2

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-Q/L and is the answer not in the manual?

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals