Fnc210 - Fdel / Deleting Data From Tables - Mitsubishi Electric MELSEC FX3U Programming Manual

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents