Справочник Пользователя для Mitsubishi Electronics QCPU

Скачать
Страница из 1204
7-157
FDEL(P),FINS(P)
1
2
3
4
6
6
7
8
7
.7 Data T
able 
Oper
ation Instruction
s
7
.7.4 Deletin
g and inser
tin
g data fr
om and in data tables (F
DEL(P),F
INS(P)
)
7.7.4  
Deleting and inserting data from and in data tables 
(FDEL(P),FINS(P))
FDEL(P),FINS(P)
Function
FDEL
(1) Deletes the nth block of data from the data table designated by 
, and stores it at the 
device designated by 
.
After the execution of the FDEL instruction, the data in the table following the deleted block 
is compressed forward by one block.
: 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)
: Head number of the table (BIN 16 bits)
 n
: Location on the table where data is inserted/deleted (BIN 16 bits)
Setting 
Data
Internal Devices 
R, ZR
J
\
U
\G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
––
––
––
––
––
––
n
––
Basic
Process
High
performance
Redundant Universal
n
n
D
D
FDEL, FINS
FDELP, FINSP
Command
Command
S
S
P
indicates an instruction symbol of FDEL/FINS.
S
D
S
D
D
S
+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