2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual
Page 276

5.9 Table Manipulation Instructions
5.9.4 Search for Table Column (TBLSRC)
5-207
Instructions
5
( 2 ) Format
∗ 1. Optional.
∗ 2. C and # registers cannot be used.
[ a ] Parameter Table Configuration
[ b ] Error Codes
Status
Output data
First address of
parameter table
Table name
First address
of search data
Icon:
Key entry: TBLSRC
Parameter Name
Applicable Data Types
B
W
L
F
A
Index
Constant
First address of
search data (Data)
×
×
×
×
{
×
×
First address of
parameter table (Prm)
×
×
×
×
{
×
×
Output data (Out)
*1
×
{
*2
×
×
×
{
×
Status (Sts)
*1
{
*2
×
×
×
×
×
×
Address
Data
Type
Symbol
Name
Specification
I/O
0
L
ROW1
Row number of table
elements
Row number of table elements to search
(1 to 65,535)
IN
2
L
COLUMN1
First column number of
table elements
First column number of table elements to search
(1 to 32,767)
IN
4
L
COLUMN2
Last column number of
table elements
Last column number of table elements to search
(1 to 32,767)
IN
6
W
FIND
Search result
Search result
0: No matching column
1: Matching column exists
OUT
Error Code
Error Name
Meaning
0001 hex
Table undefined
The target table is undefined.
0002 hex
Outside range of row numbers
The row number of the table element is outside the target table.
0003 hex
Outside range of column num-
bers
The column number of the table element is outside the target table.
0004 hex
Incorrect number of elements
The number of target elements is invalid.
0005 hex
Insufficient storage area
The storage area is insufficient.
0006 hex
Unexpected element type
The data type specified for the element is wrong.
0007 hex
Queue buffer error
An attempt was made to read from an empty queue buffer, or to write to a
full queue buffer by advancing the pointer.
0008 hex
Queue table error
The specified table is not a queue table.
0009 hex
System error
An unexpected error was detected in the system during instruction execu-
tion.