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

Page 273

Advertising
background image

5.9 Table Manipulation Instructions

5.9.3 Search for Table Row (TBLSRL)

5-204

( 2 ) Format

∗ 1. Optional.
∗ 2. C and # registers cannot be used.

[ a ] Parameter Table Configuration

[ b ] Error Codes

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

×

×

×

×

×

×

Status

Output data

First address of

parameter table

Table name

First address

of search data

Icon:

Key entry: TBLSRL

Address

Data

Type

Symbol

Name

Specification

I/O

0

L

ROW1

First row number of
table elements

First row number of table elements to search
(1 to 65,535)

IN

2

L

ROW2

Last row number of
table elements

Last row number of table elements to search
(1 to 65,535)

IN

4

L

COLUMN

Column number of
table elements

Column number of table elements to search
(1 to 32,767)

IN

6

W

FIND

Search result

Search result
0: No matching row
1: Matching row 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

Insufficient 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 execution.

Advertising
This manual is related to the following products: