Deleting/Inserting Data From/To Data Table - Mitsubishi MELSEC-Q Series Programming Manual

Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

FDEL, FINS
7.7.4

Deleting/inserting data from/to data table

FDEL(P)
FINS(P)
Structured ladder
FDEL
EN
ENO
s
n
Input argument,
EN:
s:
n:
Output argument,
ENO:
d:
Setting
data
s
n
d
Function
FDEL(P)
Deletes the nth block of data from the data table specified for
the device specified for
After the execution of the FDEL(P) instruction, (n+1)th data and the following data in the table are
compressed forward by one block.
d
d
+1
d
+2
d
+3
d
+4
d
+5
If n=3, data
at
+3 are deleted.
d
7.7 Data Table Operation Instructions
7-122
7.7.4 Deleting/inserting data from/to data table
ST
ENO:=
FDEL
d
Executing condition
Start device number which stores insert data
Start device number which stores delete data
Position of the table where data are inserted or deleted
Execution result
Start number of the table
Internal device
R, ZR
Bit
Word
.
s
Data table
4
5432
3333
4444
1234
0
0
P: Executing condition
instructions.
FDEL
FINS
(EN, s, n, d);
:Bit
:ANY16
:ANY16
:Bit
:ANY16
J
\
U
\G
Bit
Word
d
Data table
d
3
5432
d
+1
d
3333
+2
1234
d
+3
d
0
Stores 0.
+4
d
0
+5
0
s
4444
FDEL, FINS
Universal
Performance
UD
:
indicates any of the following
FDELP
FINSP
Constant
Zn
Others
K, H
, and stores the deleted data to
High

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qcpu

Table of Contents