
B-63983EN/02 4.LADDER LANGUAGE
- 271 -
Parameters
(a) Number of data of the data table
Specifies the size of the data table. If the beginning of the data
table is 0 and the end is n, n + 1 is set as the number of data of
the data table.
(b) Data table heading address
Addresses that can be used in a data table are fixed. When
preparing a data table, the addresses to be used must be
determined beforehand, specify the head address of a data table
here. The value which you can set depends on the control
condition "BYT".
BYT=0: 1 to 99
BYT=1: 1 to 9999
(c) Search data address
Indicates the address of the data to be searched.
(d) Search result output address
If the data being searched for is found, the internal number of the
table storing the data is output to this field. This address field is
called a search result output address field.
The search result output address field requires memory whose
size is the number of bytes conforming to the size of the data
specified by BYT.
WARNING
1 You can not specify the table that includes different
kind of address type or discontinuous address area.
In this case, operation is not guaranteed.
2 You have to set the "Number of data of the data
table" and the "Data table heading address" not to
exceed the limit of its continuous address area. If
the table exceeds the limit of the continuous
address area, operation is not guaranteed. For
example, when a range of address R is 0 to 7999
and the control condition "BYT" is set to 0 and the
"Data table heading address" is set to "R7990", you
can set 10 or less to the "Number of data of the data
table".
Search result (W1)
W1 = 0: Search data found.
W1 = 1: Search data not found.