hit counter script

Fnc210 - Fdel / Deleting Data From Tables - Mitsubishi Electric FX3G SERIES Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
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 value from a data table.
1. Instruction format
FNC 210
FDEL
P
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
S
D
n
Explanation of function and operation
1. 16-bit operation (FDEL and FDELP)
The "n"th data value is deleted from a data table (stored in
"n+1"th data value 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
Related instruction
Instruction
FINS(FNC211)
Mnemonic
16-bit Instruction
FDEL
7 steps
FDELP
Device number storing deleted data value
Head device number in data table
Position of deleted data in table
Digit Specification
S
D
n
Number of
+0
D
stored data
+1
+2
Data table
+3
(having
D
+4
data starting
+5
from
+1)
D
D
number of stored data starting from (
Inserts data into an arbitrary position in a data table.
27 Data Operation 3 – FNC210 to FNC219
27.1 FNC210 – FDEL / Deleting Data from Tables
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Index
Unit
T
C D R U \G
V
Z Modify K
D
and later), and the deleted value is stored in
Data table
-1
5
D
5432
When "n" is "2"
3333
4444
1234
5678
0
D
+1).
Description
Mnemonic
Operation Condition
Data Type
16-bit binary
Others
Con-
Real
Charac-
stant
Number
ter String
H
E
" "
Data table
Number of
+0
4
stored data
+1
5432
+2
4444
Data table
range
+3
1234
+4
5678
+5
0
"0" is stored.
Deleted data
3333
S
→ Refer to the program example.
21
22
23
24
Pointer
25
P
26
S
.
27
28
29
30
643

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents