Writing table values with TABDATA WRITE

Application

The function TABDATA WRITE allows you to write a value from a Q parameter into a table.

You can use the TABDATA WRITE function after a touch probe cycle to enter a necessary tool compensation into the compensation table, for example.

Description of function

Depending on the type of column you want to write to, you can use Q, QL, QR, or QS as a transfer parameter.

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 WRITE CORR-TCS COLUMN "DR" KEY "3" = Q1

; Write 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

WRITE

Writing 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 or QS

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