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.
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.
Depending on the type of column you want to write to, you can use Q, QL, or QR as a transfer parameter.
In order to write into a compensation table, you need to activate the table.
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.
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.
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 |