2 block write instruction (tblbw) – Yaskawa Ladder Works Programming Manual User Manual

Page 161

Advertising
background image

8.2 BLOCK WRITE Instruction (TBLBW)

8-4

8.2 BLOCK WRITE Instruction (TBLBW)

[Outline]

The TBLBW instruction writes the contents of a continuous region starting with the specified
register(Write Data) to the file register table elements in block format that are specified by table
name(Table Name), row number, and column number. The data is processed assuming that the type of
the table elements in the storage destination register is the same as that of the table elements in the
storage source register.
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 writing 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 Write 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 :TBLBW
Full Name:Table Block Write
Category :TABLE

Icon :

[Parameter]

Parameter Name

Setting

Table Name

Table name

Write 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

Advertising