6 block move instruction (tblmv) – Yaskawa Ladder Works Programming Manual User Manual

Page 169

Advertising
background image

8.6 BLOCK MOVE Instruction (TBLMV)

8-12

8.6 BLOCK MOVE Instruction (TBLMV)

[Outline]

The TBLMV instruction transfers the data of the block elements of the file register table specified by
the table name(Table Name), row number, and column number to another block. Block transfer
between different tables and data transfer within the same table are both possible. If the column
element types of the source and destination blocks are different, an error is reported and data is not
written.
If errors such as invalid table names, invalid row numbers, invalid column numbers, or unmatched
storage destination element type are found, they are reported and data is not written.
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 Inter Table Block Transfer Instruction Parameters

ADR

Type

Symbol

Name

Specification

I/O

0

L

ROW1

Head row number of
table element

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

IN

2

L

COLUMN1

Head column number
of table element

Head column number of the transfer source
table element (1 to 32767)

IN

4

W

RLEN

Number of row
elements

Number of transfer row elements
(1 to 32767)

IN

5

W

CLEN

Number of column
elements

Number of transfer column elements
(1 to 32767)

IN

6

L

ROW2

Head row number of
table element

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

IN

7

L

COLUMN2

Head column number
of table element

Head column number of the transfer destination
table element (1 to 32767)

IN

[Format]

Symbol : TBLMV
Full Name : Table Block Move
Category : TABLE

Icon :

Advertising