HEIDENHAIN iTNC 530 479
11.15 Freely definable tables
FN 27: TABWRITE: Writing to a freely definable
table
After you have opened a table with FN 27: TABWRITE you can use the
function FN 26: TABOPEN to write to it.
You can define and write in up to 8 column names in a TABWRITE
block. The column names must be written between quotation marks
and separated by a comma. You define the values that the TNC is to
write to the respective column with Q parameters.
Example:
You wish to write to the columns “Radius,” “Depth” and “D” in line
5 of the presently opened table. The values to be written to the table
must be saved in the Q parameters Q5, Q6 and Q7.
Note that by default the FN 27: TABWRITE function writes
values to the currently open table also in the Test Run
mode. The FN18 ID990 NR2 IDX16=1 function enables you
to query in which operating mode the program is currently
running. You can also use a query to avoid values from
being written during a test run. FN 18 ID990 returns the
value 0 if FN27 is running in the Test Run mode, and the
value 1, if it is running in one of the Program Run modes.
You can write only to numerical table fields.
If you wish to write to more than one column in a block,
you must save the values under successive Q parameter
numbers.
53 FN0: Q5 = 3.75
54 FN0: Q6 = -5
55 FN0: Q7 = 7.5
56 FN 27: TABWRITE 5/“RADIUS,DEPTH,D“ = Q5