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

Input

NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.

Change the following contents as needed:

  • Tools
  • Cutting parameters
  • Feed rates
  • Clearance height or safe position
  • Machine-specific positions (e.g., with M91)
  • Paths of program calls

Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.

In addition, test the NC programs using the simulation before the actual program run.

 
Tip

With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.

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 Table access TABDATA TABDATA ADD

The NC function includes the following syntax elements:

Syntax element

Meaning

TABDATA

Syntax initiator for accessing table values

ADD

Add 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

Text or string parameter

KEY

Row number

Number, text, or variable

Number

Value to be added

Number or numerical parameter