8 queue table write instructions (qtblw, qtblwi) – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual

Page 189

Advertising
background image

1.8 Table Data Manipulation Instructions

1-179

1

„

Program Example

Column element data (element format assumed to be integer) from the table defined as
TABLE1 is stored for the number of column elements beginning with MW00100 using
DW00010 to DW00014 as a parameter table.

1.8.8 QUEUE TABLE WRITE Instructions (QTBLW, QTBLWI)

„

Outline

The QTBLW/QTBLWI instruction writes the contents of the continuous region starting with
the specified register (Write Data) to the file register table column elements specified by
table name (Table Name), row numbers, and column numbers. The data is processed assum-
ing 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.

The QTBLW instruction does not change the queue table write pointer. The QTBLWI
instruction advances the queue table write pointer by one row.

If errors such as invalid table names, invalid row numbers, invalid column numbers, insuffi-
cient storage register data length, or full queue buffers are found, they are reported, data is
not written, and the queue table write pointer does not advance.

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 . The pointer value does not change.

Advertising
This manual is related to the following products: