EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Deletion of Data from Data Tables, Insertion of Data in Data Tables

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
504
7 APPLICATION INSTRUCTIONS
7.7 Data Table Operation Instructions
Deletion of data from data tables, insertion of data in data tables
FDEL(P), FINS(P)
Processing details
FDEL
Deletes the nth block of data from the data table designated by (D), and stores it at the device designated by (S). After the
execution of the FDEL instruction, the data in the table following the deleted block is compressed forward by one block.
FINS
Inserts the 16-bit data designated by (S) at the nth block of the data table designated by (D). After the execution of the FINS
instruction, the data in the table following the inserted block is all dropped one position.
(S): Head number of the devices where data to be inserted is stored (BIN 16 bits), head number of the devices where the data to be deleted will be stored (BIN
16 bits)
(D): Head number of the table (BIN 16 bits)
n: Location on the table where data is inserted/deleted (BIN 16 bits)
Setting
data
Internal device R, ZR J\ U\G Zn Constant
K, H
Others
Bit Word Bit Word
(S)  
(D) 
n 
Basic
Process
High
performance
Redundant
Universal
LCPU
n
n
D
D
FDEL, FINS
FDELP, FINSP
Command
Command
S
S
P
indicates an instruction symbol of FDEL/FINS.
+1
+2
+3
+4
Data table
5432
3333
4
4444
1234
0
4444
+5
0
+1
+2
+3
+4
Data table
5432
3333
3
1234
0
0
+5
0
Stores 0.
D
D
D
D
D
D
D
D
D
D
D
D
S
If n=3, data
at +3 is deleted.
D
D
D
D
D
D
D
S
+1
+2
+3
+4
Data table
Number of stored
data blocks
5432
1234
3
123
0
0
4444
+5
0
+1
+2
+3
+4
Data table
5432
4444
4
1234
123
0
+5
0
D
D
D
D
D
D
If n=2, data is inserted to +2.
D
Data table range

Table of Contents

Related product manuals