476
ESTR, ESTRP
Operat
i
on
E
rror
(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
E
xamp
l
e
(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 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 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
I
nstruct
i
on
De
vi
ce
Step
7
3
R12
N
umber
of
d
i
g
i
ts
i
n
dec
i
ma
l
fract
i
on
0
R11
R1
.
0 3 3
T
ota
l
number
of
d
i
g
i
ts
T
ota
l
number
of
d
i
g
i
ts
N
umber
of
d
i
g
i
ts
i
n
dec
i
ma
l
fract
i
on
Con
v
ers
i
on
format
R10
.
0 3 2 7
4
5 7
0
R0
Space
0
Automat
i
ca
ll
y
stored
b8 b7
b0
D1
D2
20
H
(space)
2
E
H
(
.
)
33
H
(3)
00
H
20
H
(space)
30
H
(0)
30
H
(0)
33
H
(3)
D0
b15