EasyManuals Logo

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 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 #593 background imageLoading...
Page #593 background image
7-219
ESTR(P)
1
2
3
4
6
6
7
8
7.11 Character string processing instructions
7.11.11 Conversion from floating decimal point to character string data (ESTR(P))
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
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

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

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

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals