8 write queue table (qtblw and qtblwi), 1 ) operation – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 288

Advertising
background image

5.9 Table Manipulation Instructions

5.9.8 Write Queue Table (QTBLW and QTBLWI)

5-219

Instructions

5

5.9.8 Write Queue Table (QTBLW and QTBLWI)

( 1 ) Operation

Data in a continuous area that starts at a specified register is continuously written to columns in a specified table. The
instruction is processed under the assumption that the data type of the source and destination are the same.
The QTBLW instruction does not change the queue table write pointer. The QTBLWI instruction advances the queue
table write pointer by one row.
If an error occurs when accessing the table, such as a table name error, an out of range row number, or a full queue
buffer, an error is output, no data is written, and the pointer is not advanced.
The contents of the destination registers will be retained.
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 Write Succeeds

[ b ] If the Write Fails

Œ

If the write fails, the table data will retain the contents from before the instruction was executed.

Table Data

Write pointer

First address of source data

Written.

Advanced.

With the QTBLWI
instruction, the
pointer is
advanced after
instruction execution.

With the QTBLW
instruction, the
pointer is not
advanced after
instruction execution.

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: