Interface of the methods
Methods to be implemented
The following methods must be implemented for Dynamic Contour Control (TcCncDynContourControlInterface.h):
- virtual HRESULT TCOMAPI CalculateOnNewGeometry(PTcDynContourCtrlParam dcc)=0;
- virtual HRESULT TCOMAPI CalculateOrientation(PTcDynContourCtrlParam dcc)=0;
- virtual HRESULT TCOMAPI CalculateOffset(PTcDynContourCtrlParam dcc)=0;
CalculateOnNewGeometry | The calculation takes place for every new geometrical element. The method calculates a normalisation factor depending on the current geometrical transition (see table below) and the tool parameters. Input: Current parameters of Dynamic Contour Control |
CalculateOrientation | The calculation takes place for every new position The method calculates the new orientation compensation depending on the current position. Input: Current parameters of Dynamic Contour Control |
CalculateOffset | The calculation takes place for every new position The calculation of the axis offsets in the MCS is dependent on the previously calculated compensation orientation. Axis offsets are superimposed on the axis positions. Input: Current parameters of Dynamic Contour Control Note: If offsets are superimposed in a kinematic transformation, the offsets of this function must have the value 0. |
Geometrical transition value | Meaning |
|---|---|
0 | Position change |
1 | Standstill in linear motion |
2 | Standstill in circular motion |
3 | Transition from linear motion to linear motion |
4 | Transition from circular motion to linear motion |
5 | Transition from linear motion to circular motion |
6 | Transition from circular motion to circular motion |