Adding table values with TABDATA ADD

Application

The function TABDATA ADD allows you to add a value from a Q parameter to a value contained in the table.

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 5, column DR, of the compensation table

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

Q/QL/QR

Type of variable and number that contains the value to be added