3 ) programming example – Yaskawa MP900 Series Ladder Programming Manual User Manual
Page 277

5.9 Table Manipulation Instructions
5.9.4 Search for Table Column (TBLSRC)
5-208
( 3 ) Programming Example
In the following programming example, a search is made for search data 34 in MW00000 in part of a row of array table
data TBL1.
The parameter table is set as shown in the following table.
The contents of table data TBL1 are given below. (Table elements are integer data.)
A match for 34 (MW00000) was found in column number 4 in the search area, so DW00001 is set to 4.
Register
Data
Remarks
DL00010
3
Row number of table elements
DL00012
2
First column number of table elements
DL00014
5
Last column number of table elements
Column
Row
1 2 3 4 5
1 11
12
13
14
15
2 21
22
23
24
25
3 31
32
33
34
35
4 41
42
43
44
45
5 51
52
53
54
55
Area to search
This manual is related to the following products: