EasyManua.ls Logo

LS Industrial Systems XBC-DR10E - Data Table Process Instruction

LS Industrial Systems XBC-DR10E
542 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...
Chapter 6 Instruction and Flag List
XBC E-Type Main Unit 6-226 Ve r. 1
6.33 Data Table Process Instruction
6.33.1 FIWR, FIWRP
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)
FIWR(P)
S
O
O
O
O
O
O
O
-
O
-
-
O
O
O
O
O
2~4 O - -
D
O
O
O
-
O
-
-
-
-
-
-
-
-
O
O
O
Operand Description Data Type
S Data to input WORD
D Start position of table WORD
[Flag Setting]
Flag Description Device Number
Error If data table’s range after data is added exceeds applicable device’s range F110
1) Structure of File Table
Table process instruction will be normally executed with the following table format.
(1) Table size depends on how to operate. In data table process related instructions, data table size is decided
through the number of data saved in the device designated as start position of table. Thus, the table needs
to be initialized before use. If table size exceeds applicable device’s range, error will occur. All the table
process instructions attach ‘0’ to the end of the table. However, identification of the end of the table depends
on the number of data that are only specified in table start address.
(2) All the data in the table will be identified in WORD format. If you want to save INT or BYTE type data in the
table, device’s data type shall be changed through MOVE Instruction, etc. In addition, Insert and Delete
operation shall be repeatedly used to save DWORD data. Data table size is unlimited. However, since the
table can’t exceed device area, its maximum size is the value resulted from device’s size (where table is
located) minus table start address .
(3) All the table related instructions can change the number of data, though their error can not be detected. That
is to say, even if user has changed the number of data abitrarily, table process instruction not knowing this
takes it for normal. Consequently, the user is recommended previously to secure table area and table size
then inspect the area before using the table instruction.
FIWR
means FIWR
P
S
D
FIWRP
S
D
Number of data(N)
1
st
data
2
nd
data
Nth data
. . . . .
Specified device No.
0

Table of Contents

Related product manuals