1 block read instruction (tblbr) – Yaskawa Ladder Works Programming Manual User Manual
Page 159

8.1 BLOCK READ Instruction (TBLBR)
8-2
8.1 BLOCK READ Instruction (TBLBR)
[Outline]
The TBLBR instruction consecutively reads file register table elements in block format that are
specified by table name(Table Name), row number, and column number. It then stores the elements in
a continuous region starting with the specified register(Read Data). The type of the element being
read is automatically determined according to the specified table. The type of the storage destination
register is ignored and the read data is stored according to the table element type without converting
the data type.
If errors such as invalid table names, invalid row numbers, invalid column numbers, or insufficient
storage register data length are found, they are reported and the contents of the storage destination
register is retained without reading the data.
Upon normal termination, the number of words transferred is set in the [Output], and the [Status] is
turned OFF.
When an error occurs, the corresponding error code is set in the [Output], and the [Status] is turned ON.
Table of Block Read Instruction Parameter
ADR
Type
Symbol
Name
Specification
I/O
0
L
ROW1
Table element beginning
row number
Target table element beginning row number
(1 to 65535)
IN
2
L
COL1
Table element beginning
column number
Target table element beginning column
number (1 to 32767)
IN
4
W
RLEN
Number of row elements
Number of row elements (1 to 32767)
IN
5
W
CLEN
Number of column elements
Number of column elements (1 to 32767)
IN
[Format]
Symbol : TBLBR
Full Name : Table Block Read
Category : TABLE
Icon :
[Parameter]
Parameter Name
Setting
Table Name
Table name
Read Data
· Register address (except for # and C registers)
· Register address with subscript
Parameter
· Register address
· Register address with subscript
[Output]
· Any integer type register (except for # and C registers)
· Any integer type register with subscript
· Subscript register
* possible to omit
[Status]
· Any bit type register (except for # and C registers)
· Any bit type register with subscript
* possible to omit