Adding table values with TABDATA ADD

Application

Use the TABDATA ADD function to add a value to an existing table value.

You can use the TABDATA ADD function to update a tool compensation value after a measurement has been repeated, for example.

Description of function

Depending on the type of column you want to write to, you can use Q, QL, or QR as a transfer parameter. Alternatively, you can define the value directly in the NC function TABDATA ADD.

In order to write into a compensation table, you need to activate the table.

Selecting a compensation table with SEL CORR-TABLE

Input

11 TABDATA ADD CORR-TCS COLUMN "DR" KEY "3" = Q1

; Add the value from Q1 to row 3, column DR, of the compensation table

To navigate to this function:

Insert NC function All functions FN Special functions Functions TABDATA TABDATA ADD

The NC function includes the following syntax elements:

Syntax element

Meaning

TABDATA

Syntax initiator for accessing table values

ADD

Adding a value to a table value

CORR-TCS, CORR-WPL or PRESET

Write a value to a compensation table *.tco or *.wco or to the preset table

COLUMN

Column name

Fixed or variable name

KEY

Row number

Fixed or variable name

Number

Value to be added

Fixed or variable number