Fn28: tabread: reading a freely definable table, Fn28:tabread read from a freely definable table, 10 .8 a d ditional f unctions – HEIDENHAIN TNC 426 (280 476) User Manual
Page 409

382
10 Programming: Q Parameters
1
0
.8 A
d
ditional F
unctions
FN28: TABREAD: Reading a Freely Definable
Table
After you have opened a table with FN 26 TABOPEN, you can use
function FN 28: TABREAD to read from it.
You can define, i.e. read in, up to 8 column names in a TABREAD
block. The column names must be written between quotation marks
and separated by a comma. In the FN 28 block you can define the Q
parameter number in which the TNC is to write the value that is first
read.
Example:
You wish to read the values of the columns “Radius,” “Depth” and
“D” from line 6 of the presently opened table. Save the first value in
Q parameter Q10 (second value in Q11, third value in Q12).
You can read only numerical table fields.
If you wish to read from more than one column in a block,
the TNC will save the values under successive Q
parameter numbers.
56 FN28: TABREAD Q10 = 6/“radius,depth,D”