5 block clear instruction (tblcl) – Yaskawa Ladder Works Programming Manual User Manual

Page 167

Advertising
background image

8.5 BLOCK CLEAR Instruction (TBLCL)

8-10

8.5 BLOCK CLEAR Instruction (TBLCL)

[Outline]

The TBLCL instruction clears the data of the block element of the file register table specified by a
table name(Table Name), row number, and column number. If the element type is a character string,
space is written. If the element type is a numeric value, 0 is written.
If both the table element leading row number and the table element leading column number are 0, the
entire table is cleared.
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 data is not written.

Upon normal termination, the number of words cleared 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 Clear Instruction Parameters

ADR

Type

Symbol

Name

Specification

I/O

0

L

ROW

Head row number of
table element

Head row number of the target table element
(1 to 65535)

IN

2

L

COL

Head column number of
table element

Head column number of the target table element
(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 :TBLCL
Full Name:Table Block Clear
Category :TABLE

Icon :

[Parameter]

Parameter Name

Setting

Table Name

Table name

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