Interface methods
Methods to be implemented
The following methods must be implemented when creating a compensation (TcNcKinematicsInter-faces.h):
virtual HRESULT TCOMAPI computeStartOffsets(PTcMcComExtCompParameter p) = 0;
virtual HRESULT TCOMAPI computeOffsets(PTcMcComExtCompParameter p) = 0;
virtual HRESULT TCOMAPI writeNcCmd(PTcMcComCmdParameter s) = 0;
virtual HRESULT TCOMAPI initCompensation(PTcMcComExtCompParameter p) = 0;
computeStartOffset | Calculate the offset of an unknown axis position which reaches the axis positions transferred to the method when it is compensated (axis position + calculated offset). This method is used to enable the compensated position. This results in no movement when the compensation is enabled. |
computeOffsets | Calculate the offset for the transferred axis position. |
writeNcCmd | The method of the user-specific commands from the NC program is received and processed. |
initCompensation | Function to initialise the compensation. |