
8.8 QUEUE TABLE WRITE Instructions (QTBLW, QTBLWI)
8-16
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 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.
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, insufficient
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.
Table of Queue Table Write Instruction Parameters
ADR Type
Symbol Name Specification I/O
0 L ROW
Relative row number
for table elements
Relative row number of the target table elements
(1 to 65535)
IN
2 L
Head column number
of table element
Head column number of the target table element
(1 to 32767)
IN
4 W CLEN
Number of column
elements
Number of column elements to be continuously
written(1 to 32767)
IN
5 W Reserve
6 L RPTR Read pointer Read pointer of the queue after execution OUT
8 L WPTR Write pointer Write pointer of the queue after execution OUT
[Format]
Symbol : QTBLW
QTBLWI
Full Name : Queue Table White
Queue Table Pointer Clear
Category : TABLE
Icon :
,
Komentarze do niniejszej Instrukcji