632
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
27 Data Operation 3 – FNC210 to FNC219
27.1 FNC210 – FDEL / Deleting Data from Tables
27.1
FNC210 – FDEL / Deleting Data from Tables
Outline
This instruction deletes an arbitrary data from a data table.
1. Instruction format
2. Set data
3. Applicable devices
Explanation of function and operation
1. 16-bit operation (FDEL and FDELP)
"n"th data is deleted from a data table (stored in
and later), and the deleted data is stored in
.
"n+1"th data and later in the data table are shifted forward one by one, and the number of stored data is
subtracted by "
−
1".
Caution
• The device range used in a data table should be controlled by the user.
The data table has
data starting from the next device (
+1) after
indicating the number of
stored data.
→
Refer to the program example.
Operand Type
Description
Data Type
Device number storing deleted data
16-bit binary
Head device number in data table
n
Position of deleted data in table
Oper-
and
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
X Y M T C S D
.b KnX KnY KnM KnS
T
C
D
R U
\G
V
Z Modify K
H
E
"
"
P
3 3 3 3
3
3 3 3 3
3
n
3 3
3 3
Mnemonic
Operation Condition
16-bit Instruction
7 steps
FDEL
FDELP
Mnemonic
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
32-bit Instruction
⎯
⎯
P
FNC 210
FDEL
S
D
S
D
D
S
Command
input
FNC210
FDELP
S
D
n
+0
Data table
+2
+3
+4
D
+1
+5
3333
4444
5
5432
1234
5678
...
0
...
Data table
(having
data starting
from +1)
D
D
Device range used in
data table
+0
Data table
+2
+3
+4
D
+1
+5
4444
1234
4
5432
5678
0
...
3333
...
-1
Deleted data
S
"0" is stored.
Data table
range
Number of
stored data
Number of
stored data
When "n" is "2"
D
D
D