7-159
FDEL(P),FINS(P)
1
2
3
4
6
6
7
8
7.7 Data Table Operation Instructions
7.7.4 Deleting and inserting data from and in data tables (FDEL(P),FINS(P))
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]
(2) The following program inserts the data at D0 into the third position at the table R0 to R7
when X10 is turned ON.
[Ladder Mode] [List Mode]
[Operation]
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
Step
Instruction
Device
R1
R2
R3
R4
Data table
1234
4444
4
-123
5000
0
-3210
R5
0
X10:ON
0
R6
R7
R0
R1
R2
R3
R4
Data table
1234
4444
5
-3210
-123
0
R5
0
R6
R7
R0
D0
Data table
range
5000