9 table manipulation instructions, 1 read table block (tblbr), 1 ) operation – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 266

Advertising
background image

5.9 Table Manipulation Instructions

5.9.1 Read Table Block (TBLBR)

5-197

Instructions

5

5.9 Table Manipulation Instructions

5.9.1 Read Table Block (TBLBR)

( 1 ) Operation

The TBLBR instruction moves the block of the table data that is specified by the table name, row number, and column
number to a continuous area that starts at the first destination address. The data is stored in the destination area accord-
ing to the data type of the elements that were read.
If an error occurs when accessing the table, such as data that is outside of the valid range or not enough data length at
the destination, an error is output and no data is read. The contents in the destination area will remain unchanged.
If the instruction ends normally, the number of words that were moved is output, and the Status bit is turned OFF. If an
error occurs, an error code is output and the Status bit is turned ON.

[ a ] If the Move Succeeds

[ b ] If the Move Fails

Œ

If the move fails, the destination area will retain the contents from before the instruction was executed.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

Columns →

(W) (W) (L) (L) (W)

Rows

7

8

9

12

13

Data type for each column

Block specified in parameter table

First destination address

MW††††

ML†††† + 1

ML†††† + 3

MW†††† + 5

14

ML†††† + 6

ML†††† + 8

Table Data

Data is stored according to

the data type of the table data.

Transferred.

Number of

words moved

Output data

Status

0 (OFF)

Error code

Output data

Status

1 (ON)

Advertising
This manual is related to the following products: