TcCOM parameters

TcCOM transformation parameter

Besides the channel or tool-specific parameters, which are made available via the CNC, further individual parameters can be passed on to the transformation. These are initialised during configuration of the TcCOM object.

Transformation parameters via TcCOM
Transformation parameters via TcCOM

The TcCOM parameters required for the transformation can be defined in the TMC Editor:

TMC Editor
TMC Editor

Use the TwinCAT TMC Code Generator (right-click on the TcCnCTrafo project -> TwinCAT TMC Code Generator) to automatically add the parameters in the TMC file to the class for the transformation CtcCncTrafo1 as member variables, e.g. m_Parameter. They can then be used in forward and backward transformation.