![LS Industrial Systems XBC-DN10E User Manual Download Page 347](http://html1.mh-extra.com/html/ls-industrial-systems/xbc-dn10e/xbc-dn10e_user-manual_1943831347.webp)
Chapter 6 Instruction and Flag List
XBC E-Type Main Unit
6-230
Ver. 1
6.33.4 FIINS, FIINSP
Instruction
Area Available
Step
Flag
P M K
F
L
T
C
S
Z D.x R.x
Con
st
U
N
D
R
Error
(F110)
Zero
(F111)
Carry
(F112)
FIINS(P)
S
O O O O O O O
-
O
-
-
O O O O O
4~6
O
-
-
D
O O O
-
O
-
-
-
-
-
-
-
-
O O O
N
O O O
-
O O O
-
O
-
-
O O O O O
Operand
Description
Data Type
S
Data value to input
WORD
D
Start position of data table
WORD
N
Position to save the input value in
WORD
[Flag Setting]
Flag
Description
Device Number
Error
If data table’s range exceeds applicable device’s range.
If N value is larger than the present data size (speicified D) + 1
F110
1) FIINS (File Insert)
(1) Inserts specified value S in the N
th
position of specified data table D. The data from the original N
th
will be
pushed out to the next device number.
(2) The value of specified D is number of effective data in data table.
(3) If N=0, the instruction will not be executed.
(4) If data is inserted in data table, the value in data table+1 is removed.
1111
3333
0
D+1
D+2
D+3
D
3
0
-1111
S
.
.
.
.
D+1
D+2
D+3
D
.
.
.
Executed
2222
-1111
2222
3333
1111
0
4
D+4
If N=2, the value S is inserted in D+2.
2) Program Example
(1) When P1000=1234, P1100=3, P1101=1111, P1102=2222, P1103=3333, P1200=3, if input signal P00000
is Off->On, 1234 is inserted at the third position of data table. P1103=1234, P1104=3333 is saved and
P1100. Effective number within data table is increased by 1 and becomes 4.
P00000
FIINSP P1000 P1100 P1200
FIINS
means FIINS
P S
D
FIINSP
S
D
N
N
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...