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
- Before activating a preset, check whether all columns contain values.
- For undefined columns, enter values (e.g., 0)
- As an alternative, have the machine manufacturer define 0 as the default value for the columns