Mitsubishi MELSEC-Q/L Programming Manual page 426

Table of Contents

Advertisement

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.
Error
code
The FDEL or FINS instruction was executed when n = 0.
4100
The FDEL instruction was executed when the value of
The Nth position from
the execution of the FDEL instruction.
The Nth position from
at the execution of the FINS instruction.
4101
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.
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]
[Operation]
Data table
R0
5
R1
-123
R2
4444
Data table
R3
3210
range
R4
1234
R5
5432
R6
0
R7
0
424
Error details
is larger than the number of data storage at
D
is larger than the "number of data storage + 1"
D
.
D
[List Mode]
Step
X10:ON
Q00J/
Q00/
QnH
Q01
was 0.
D
Instruction
Device
Data table
R0
4
R1
-123
R2
3210
Data table
range
R3
1234
R4
5432
R5
0
R6
0
R7
0
D0
4444
QnPH QnPRH
QnU
LCPU

Advertisement

Table of Contents
loading

Table of Contents