424
FDEL, FDELP, FINS, FINSP
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 deletes the second data from the table R0 to R7 and stores the deleted data at D0 when X10 is
turned ON.
[Ladder Mode]
[List Mode]
[Operation]
Error
code
Error details
Q00J/
Q00/
Q01
QnH
QnPH QnPRH
QnU
LCPU
4100
The FDEL or FINS instruction was executed when n = 0.
The FDEL instruction was executed when the value of was 0.
4101
The Nth position from is larger than the number of data storage at
the execution of the FDEL instruction.
The Nth position from is larger than the "number of data storage + 1"
at the execution of the FINS instruction.
The value of n in the case of the FDEL, FINS instruction exceeds the
device range of the table .
The data table range exceededs the range of the corresponding device
at execution of the FDEL or FINS instruction.
D
D
D
D
Step
Instruction
Device
R1
R2
R3
R
4
Data
tab
l
e
-
123
4444
5
3210
123
4
0
4444
R5
5
4
32
X10
:
O
N
0
R6
R7
R0
R1
R2
R3
R
4
Data
tab
l
e
-
123
3210
4
123
4
5
4
32
0
R5
0
0
R6
R7
R0
D0
Data
tab
l
e
range
Data
tab
l
e
range