Mitsubishi MELSEC Q Series Programming Manual page 594

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

Advertisement

ESTR(P)
(a) The total number of digits that can be designated by
When the number of decimal fraction digits is "0"
When the number of decimal fraction digits is other than "0"
(b) The number of digits of dicimal fraction part that can be designated by
7.
However, the number of digits in the decimal fraction portion should be equal to or less
than the total number of digits minus 7.
(c) The converted character string data is stored at the area starting from the device
number
1) If the 32-bit floating decimal point type real number data is positive in value, the sign
2) The integer portion is fixed to one digit.
3) If the decimal fraction part of the 32-bit floating point type real number is out of the
4) If the number of digits of the decimal fraction part has been set at any value other
7-220
.................... Number of digits (max.: 24)
.................... Number of digits (max.: 24)
as indicated below:
D
before the integer will be stored as ASCII code "20
value, the sign will be stored as "2D
20
(space) will be stored between the integer and the sign.
H
S2
1
S2
12
+1
4
S2
+2
S1
S1
+1
-1 2. 3
4 5 6 7
range of the digits of the decimal fraction part, the lower decimal values will be
rounded off.
S2
1
12
S2
+1
4
S2
+2
S1
S1
+1
-1 2. 3 4 5 6 7
than "0", "2E
" (.) will automatically be stored at the position before the first of the
H
specified number of digits.
1
S2
12
S2
+1
4
+2
S2
+1
S1
S1
-1 2. 3 4 5 6 7
If the number of digits in the decimal fraction part of the number is "0", the ASCII
code "2E
" (.) will not be stored.
H
+1 is as shown below:
S2
2
(Number of decimal fraction digits + 7)
" (space), and if it is a negative
H
" ( ).
H
Total number of digits (12)
Fixed to 1 digit
.
-
1
2 3 4
6 E + 0 1
Filled with 20
(space) codes
H
Total number of digits (12)
.
2 3 4
6 6 7 E +
0 1
-
1
Number of digits
These are cut
in decimal fraction (4)
Total number of digits (12)
-
1
.
2 3 4
6 E +
0 1
Number of digits
in decimal fraction (4)
Automatically added
+2 is from 0 to
S2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents