
5.9 Table Manipulation Instructions
5.9.7 Read Queue Table (QTBLR and QTBLRI)
5-218
The parameter table is set as shown in the following table.
Here, switch 2 (DB000002) is turned ON three times. The data that is read changes each time from the first time to the
third time, as shown below.
The read pointer is advanced each time the instruction is executed starting at the first row on the first pass, the second
row on the second pass, and so on, therefore resulting in the table shown above.
When the power supply is turned ON, values of the read pointer and write pointer are undefined. Always execute the QTBLCL
instruction before using the QTBLR, QTBLRI, QTBLW, or QTBLWI instruction.
An operation error may occur if the QTBLR, QTBLRI, QTBLW, or QTBLWI instruction is executed without first executing the
QTBLCL instruction.
Register Data Remarks
DL00010 0
Relative row number
DL00012 1
First column number
DW00014 3
Number of row elements
Register 1st Data 2nd Data 3rd Data
MW00010 11 21 31
MW00011 12 22 32
MW00012 13 23 33
Comentarios a estos manuales