Instance data of the compensation
Working data of the compensation
Implementation of the compensation can provide any parameters as working data. The compensation is always invoked cyclically in the position controller as long as the compensation is enabled.
The data provided by the CNC in cyclic operation are the axis positions and the software limit switches of the axes.
TcMcComBase – structure to transfer error information
In the event of an error this structure can be filled to output compensation error information via the CNC.
It forms the basis for the structures
and
The data provided by the CNC in cyclic operation are the axis positions and the software limit switches of the axes.
TcMcComExtCompParameter – structure for cyclic exchange
Axis positions are provided in the array cyclic_i of length dim_cyclic_i in unit 10^-8 mm or °. The calculated offset is expected in the array cyclic_o in the same unit.
The array parameter contains the software limit switches of all axes. The order is then [A1 swe pos, A1 swe neg, A2 swe pos, …].
TcMcComCmdParameter – structure to transfer NC messages
The NC command #EXTCOMP ON/OFF [ID<0> STRING=<string> VALUE= <value>] sends a string consisting of 24 characters and a double value to the compensation.