Writing table values with TABDATA WRITE

Application

Use the function TABDATA WRITE to write a value 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. Alternatively, you can define the value directly in the NC function TABDATA WRITE.

Input

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

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

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

= or SET UNDEFINED

Write the table value or assign the status undefined

Number, Name or QS

Table value

Fixed or variable number or name

Only if = has been selected

Note

 
Notice
Caution: Significant property damage!
Undefined fields in the preset table behave differently from fields defined with the value 0: Fields defined with the value 0 overwrite the previous value when activated, whereas with undefined fields the previous value is kept. If the previous value is kept, there is a danger of collision!
  1. Before activating a preset, check whether all columns contain values.
  2. For undefined columns, enter values (e.g., 0)
  3. As an alternative, have the machine manufacturer define 0 as the default value for the columns