
4.LADDER LANGUAGE B-63983EN/02
- 268 -
Parameters
(a) Format designation
Specifies data length. Specify byte length in the first digit of the
parameter.
1: 1 byte length
2: 2 bytes length
4: 4 bytes length
(b) Storage address of number of data in data table
Specifies address in which number of data in the data table is set.
This address requires memory of number of byte according to the
format designation.
Number of data in the table is n + 1 (head number in the table is
0 and the last number is n). The value which you can set depends
on the "(a) Format designation".
1 byte length: 1 to 255
2 bytes length: 1 to 16384
3 bytes length: 1 to 16384
(c) Data table head address
Sets head address of data table.
(d) Search data address
Address in which search data is set.
(e) Output address of search result
After searching, if search data is found, the table number where
the data is stored will be output. The searched table number is
output in this search result output address. This address requires
memory of number of byte according to the format designation.
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 "Storage address of number of
data table elements" and the "Data table head
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 "Format specification" is set
to 1 and the "Data table head address" is set to
"R7990", you can set 10 or less to the "Storage
address of number of data table elements".
Search result (W1)
W1 = 0: Search data found.
W1 = 1: Search data not found.