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

Page 270

Advertising
background image

5.9 Table Manipulation Instructions

5.9.2 Write Table Block (TBLBW)

5-201

Instructions

5

( 2 ) Format

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

[ a ] Parameter Table Configuration

[ b ] Error Codes

Œ

The error codes apply to all table manipulation instructions.

Status

Output data

First address of

parameter table

First source address

Destination table name

Key entry: TBLBW

Icon:

Parameter Name

Applicable Data Types

B

W

L

F

A

Index

Constant

First source address
(Data)

×

×

×

×

{

*2

×

×

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

First row number of
table elements

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

IN

2

L

COL1

First column number of
table elements

First column number of table elements to move
(1 to 32,767)

IN

4

W

RLEN

Number of row ele-
ments

Number of row elements (1 to 32,767)

IN

5

W

CLEN

Number of column ele-
ments

Number of column elements (1 to 32,767)

IN

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 execu-
tion.

Advertising
This manual is related to the following products: