![LS Industrial Systems XBC-DN10E User Manual Download Page 346](http://html1.mh-extra.com/html/ls-industrial-systems/xbc-dn10e/xbc-dn10e_user-manual_1943831346.webp)
Chapter 6 Instruction and Flag List
XBC E-Type Main Unit
6-229
Ver. 1
6.33.3 FILRD, FILRDP
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)
FILRD(P)
S
O O O O O O O
-
O
-
-
O O O O O
2~4
O
O
-
D
O O O
-
O
-
-
-
-
-
-
-
-
O O O
Operand
Description
Data Type
S
Start position of data table
WORD
D
Position to save in the value read from data table
WORD
[Flag Setting]
Flag
Description
Device Number
Error
If data table’s range exceeds applicable device’s range
F110
Zero
If no data is available in data table
F111
1) FILRD (Last File Read)
(1) Reads the last data from specified data table S to D. The number of data in table decreases by 1 and the
other data remains the same.
(2) The specified S is number of effective data in data table.
(3) If number of data is decreased by 1, the value is filled by 0 in data table size +1.
1234
3456
0
3
0
3456
D
1234
2345
0
S+1
S+2
S+3
S
2
0
.
.
.
.
Executed
2345
S+1
S+2
S+3
S
.
.
.
.
2) Program Example
(1) When P1000=3, P1001=1111, P1002=2222, P1003=3333, if input signal P00000 is Off->On, 3333, the last
data of data table, is saved at P1100, data table is decreased as 1, P1000=2, P1003=0 is saved.
P00000
FILRDP P1000 P1100
FILRD
means FILRD
P S
D
FILRDP
S
D
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...