7.7 Data Table Operation Instructions
7.7.4 Deleting/inserting data from/to data table
7-123
7
APPLI
C
A
T
IO
N
INSTRUCTIONS
FDEL, FINS
FDEL, FINS
FINS(P)
(1) Inserts the 16-bit data specified for
in the nth block of the data table specified for
.
After the execution of the FINS(P) instruction, the data in the table following the inserted
block are all dropped one position.
O
peration Error
In any of the following cases, an operation error occurs, the error flag (SM0) is turned ON, and
the corresponding error code is stored to SD0.
• The nth position from
is larger than the data storage number at the execution of the
FDEL(P) instruction.
(Error code: 4101)
• The nth position from
is larger than the "data storage 1" at the execution of
the FINS(P) instruction.
(Error code: 4101)
• The value of n exceeds the device range of the table
at the execution of the FDEL(P)
or FINS(P) instruction.
(Error code: 4101)
• The FDEL(P) or FINS(P) instruction is executed when n 0.
(Error code: 4100)
• The FDEL(P) instruction is executed when the value of
is 0.
(Error code: 4100)
• The data table range exceeds the corresponding device range when the FDEL(P) or
FINS(P) instruction is executed.
(Error code: 4101)
s
d
d
d
d
d
d
d
s
+1
+2
+3
+4
Data
ta
bl
e
N
um
b
er
of
store
d
d
ata
bl
oc
k
s
5432
1234
3
123
0
0
4444
+5
0
+1
+2
+3
+4
Data
ta
bl
e
5432
4444
4
1234
123
0
+4
0
d
d
d
d
d
d
I
f
n
=2, d
ata
are
i
nserte
d
to
+2.
d
Data
ta
bl
e
range
d
d
d
d
Содержание MELSEC Q Series
Страница 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Страница 2: ......
Страница 14: ...A 12 MEMO ...
Страница 340: ...6 178 MEMO MTR ...
Страница 708: ...7 368 MEMO ...
Страница 776: ...8 68 MEMO ...
Страница 796: ...9 20 MEMO ...
Страница 804: ...App 8 MEMO ...
Страница 812: ...Index 8 MEMO ...
Страница 815: ......