Q-Code User Manual
Ver. 7.0 2021/11/30
224
TableName:
name of table defined in
[Table]
.
X:
represents the address of X axis;
Y:
represents the address of Y axis.
Xi:
save the High-Byte of obtained data to Xi.
Note: NX1 does not support this command.
4.16.14 Table(TableName, X, Y, Xh, Xl)
Table(TableName, X, Y, Xh, Xi) command is for direct data addressing and it can be used to read the
entry of table defined in
[Table]
section.
TableName:
name of table defined in
[Table]
.
X:
represents the address of X axis.
Y:
represents the address of Y axis;
Xh:
save the High-Byte of obtained data to Xh.
Xl:
save the Low-Byte of obtained data to XI.
Note: NX1 does not support this command.
Ex.
[Table]
Trans:
{
[0x001, 0x003, 0x005, 0x007, 0x009],
[0x004, 0x005, 0x3F6, 0x008, 0x010],
[0x000, 0x001, 0x002, 0x003, 0x0F4]
}
[Path]
P1 : TableL(trans,2,1,X2)
;
X2=0xF6.
P2 : TableH(trans,2,1,X2)
; X2=0x03.
P3 : Table(trans,2,1,X2,X3)
; X2=0x03
,
X3=0xF6.
4.16.15 Ret = TableName[X][Y]
Alternative syntax as mentioned Table(TableName, X, Y, Ret) command.
Note: NY4 / NY5 / NY5+ / NY6 / NY7 / NY9T do not support this command.