7.11 String Processing Instructions
7.11.11 Floating-point data to character string data conversion
7-197
7
APPLI
C
A
T
IO
N
INSTRUCTIONS
ESTR
ESTR
For example, when the total number of digits is 12, the number of digits for decimal fraction
is 4, and 12.34567 is specified, the operation results would be stored to the devices
following
as shown below.
(a) The total number of digits that can be specified for
+1 is as shown below.
When the number of digits for decimal fraction is 0
.................... Number of digits (max.: 24) 2
When the number of digits for decimal fraction is other than 0
..................... Number of digits (max.: 24) (Number of digits for decimal fr 7)
(b) The number of digits for decimal fraction that can be specified for
+2 is from 0 to 7.
However, the number of digits for decimal fraction should be equal to or less than the
total number of digits minus 7.
When using exponent format
.
S
ign
(
integer part
)
00
H
A
utomaticall
y
store
d
at
the en
d
of character string
S
ign
(
exponent part
)
E
Floating-point real num
b
er
A
utomaticall
y
a
dd
e
d
ASC
II co
d
e for the
(
total num
b
er of
d
igits -
2)
th
d
igit
4
5
H
(
E
)
ASC
II co
d
e for the
(
total num
b
er of
d
igits -4
)
th
d
igit
ASC
II co
d
e for the
(
total num
b
er of
d
igits -
6)
th
d
igit
ASC
II co
d
e for the
(
total num
b
er of
d
igits -
10)
th
d
igit
ASC
II co
d
e for
d
ecimal
point
(
.
)(2
E
H
)
ASC
II co
d
e for the
(
total num
b
er of
d
igits -
5)
th
d
igit
ASC
II co
d
e for the sign
(
Exponent part
)
ASC
II co
d
e for the
(
total num
b
er of
d
igits -
7)
th
d
igit
ASC
II co
d
e for the
(
total num
b
er of
d
igits -
11)
th
d
igit
d
s
1
d
d
d
d
d
d
Total num
b
er of
d
igits
[
1
]
[
0
] Exponent format
Num
b
er of
d
igits in
d
ecimal fraction
[
2
]
s
2
s
2
s
2
ASC
II co
d
e for the sign
ASC
II co
d
e for the
(
total num
b
er of
d
igits -
1)
th
d
igit
+
1
+
3
+
2
+4
+
5
+
6
b15
b8b7
b0
d
12
4
[
2
]
.
S
ign
(
integer part
)
A
utomaticall
y
a
dd
e
d
S
ign
(
exponent part
)
1
[
1
]
[
0
]
Floating-point real num
b
er
00
H
12
.
3
4
5 6 7
1
2 3
4
6
E
0 1
2
D
H
(
-
)
31
H
(1)
32
H
(2)
3
4
H
(
4
)
4
5
H
(
E
)
30
H
(0)
20
H
(
space
)
2
E
H
(
.
)
33
H
(3)
36
H
(6)
2C
H
(
+
)
31
H
(1)
s
2
d
d
d
d
d
d
d
s
1
s
2
s
2
+
1
+
2
+
3
+4
+
5
+
6
b15
b8b7
b0
-
+
-
s
2
s
2
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......