Special functions | Accessing table values
Adding a table value
The function TABDATA ADD allows you to add a value from a Q
parameter to a value contained in the table.
Depending on the type of column you want to write to, you can use
Q, QL, or QR as a transfer parameter.
In order to write into a compensation table, you need to activate the
table.
You can use the TABDATA ADD function to update a tool
compensation value after a measurement has been repeated, for
example.
Procedure
Proceed as follows:
Press the SPEC FCT key
Press the PROGRAM FUNCTIONS soft key
Press the TABDATA soft key
Press the TABDATA ADDITION soft key
Press the soft key for the desired table (e.g.,
CORR-TCS)
Enter the column name
Confirm with the ENT key
Enter the line number of the table
Confirm with the ENT key
Enter the Q parameter
Confirm with the ENT key
Example
12 SEL CORR-TABLE TCS "TNC:\table\corr.tco"
13 TABDATA ADD CORR-TCS COLUMN "DR" KEY "3" = Q1
HEIDENHAIN | TNC 620 | Klartext Programming User's Manual | 01/2022
Activate the compensation table
Add the value from Q1 to line 3, column DR, of the
compensation table
10
405