
5.9 Table Manipulation Instructions
5.9.8 Write Queue Table (QTBLW and QTBLWI)
5-222
The parameter table is set as shown in the following table.
After changing the contents of MW00000 to MW00002 as shown in the following table, turn ON the switch 1
(DB000001) three times.
The write 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. After three executions, TBL1 will be set with data as shown below.
When the power is turned ON, values of the read pointer and write pointer are undefined. Always execute the QTBLCL instruc-
tion 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
MW00000 11 21 31
MW00001 12 22 32
MW00002 13 23 33
Column
Row
1
(W)
2
(W)
3
(W)
1
2
3
11 12 13
21 22 23
31 32 33
Written on first pass
Written on second pass
Written on third pass
Comentarios a estos manuales