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
R4
Data table
-123
4444
5
3210
1234
0
4444
R5
5432
X10:ON
0
R6
R7
R0
R1
R2
R3
R4
Data table
-123
3210
4
1234
5432
0
R5
0
0
R6
R7
R0
D0
Data table
range
Data table
range