476
ESTR, ESTRP
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into
SD0.
Program Example
(1) The following program converts the 32-bit floating point type real number data which had been stored at R0 and R1 in
accordance with the conversion designation that is being stored at R10 to R12, and stores the result following D0 when
X0 goes ON.
[Ladder Mode] [List Mode]
[Operation]
Error
code
Error details
Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4100
The value is not within the following range:
0, 2
-126
| | < 2
128
The format specified by is other than 0 and 1.
The total number of digits specified by + 1 is outside the following
ranges:
When using decimal point format
When the number of decimal fraction digits is "0"
.....Total number of digits 2
When the number of decimal fraction digits is not "0"
.....Total number of digits (Number of decimal fraction digits + 3)
When using exponent format
When the number of decimal fraction digits is "0"
.....Total number of digits
6
When the number of decimal fraction digits is not "0"
.....Total number of digits
(Number of decimal fraction digits + 7)
The number of digits for the decimal fraction portion specified by +2
is outside the following ranges:
When using the decimal point format
.....Number of decimal fraction digits (Total number of digits -3)
When using the exponent format
.....Number of decimal fraction digits
(Total number of digits -7)
The value in more than 24 digits was specified.
4101
The range of the devices that store the character string specified in
exceeds the range of the corresponding device.
The range of the device specified by exceeds the range of the
corresponding device.
–– –– –– ––
4140
The specified device value is
-0, unnormalized number, nonnumeric, or
±.
S1
S1
S2
S2
S2
D
S2
Instruction Device
Step
7
3
R12
Number of digits
in decimal fraction
0
R11
R1
. 033
Total number of digits
Total number of digits
Number of digits
in decimal fraction
Conversion format
R10
.
03
2
7
4
570
R0
Space
0
Automatically stored
b8 b7 b0
D1
D2
20H (space)
2E
H (.)
33
H (3)
00
H
20H (space)
30
H (0)
30
H (0)
33
H (3)
D0
b15