7.11 String Processing Instructions
7.11.11 Floating-point data to character string data conversion
7-199
7
APPLI
C
A
T
IO
N
INSTRUCTIONS
ESTR
ESTR
O
peration Error
In any of the following cases, an operation error occurs, the error flag (SM0) is turned ON, and
the corresponding error code is stored to SD0.
• The
value is not within the range indicated below.
(Error code: 4100)
0,
±
2
-126
±
2
128
• The format specified for
was neither 0 nor 1.
(Error code: 4100)
• The total number of digits specified for
+ 1 is outside the ranges shown below.
(Error code: 4100)
When using floating-point format
When the number of digits for decimal fraction is 0
....................... Total number of digits 2
When the number of digits for decimal fraction is other than 0
....................... Total number of digits (Number of digits for decimal fr3)
When using exponent format
When the number of digits for decimal fraction is 0
....................... Total number of digits 6
When the number of digits for decimal fraction is other than 0
....................... Total number of digits (Number of digits for decimal fr7)
• The number of digits specified for the decimal fraction of the value for
+2 was outside
the ranges shown below.
(Error
code:
4100)
When using the floating-point format
....................... Number of digits for decimal fraction (Total number of digits 3)
When using the exponent format
....................... Number of digits for decimal fraction (Total number of digits 7)
• The device range to store the character string data specified for
exceeds the
corresponding device range.
(Error code: 4101)
• The device specified for
exceeds the corresponding device range. (For Universal
model QCPU only)
(Error code: 4101)
• The value of the specified device is 0, unnormalized number, nonnumeric or
±∞
.
(For Universal model QCPU only)
(Error code: 4140)
s
1
s
1
s
2
s
2
s
2
d
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: ......