Create project and transformation

The procedure below is an example of creating a user-defined kinematic transformation using Visual Studio 2019,

Step 1- TwinCAT3 XAE project with CNC configuration

Create new project
Create new project
Configure new project
Configure new project
Generate CNC configuration
Generate CNC configuration
Create channel
Create channel
Create axes
Create axes

Step 2: Create user transformation using TwinCAT3 templates.

Create TwinCAT driver project
Create TwinCAT driver project
Create transformation class
Create transformation class
Name transformation class
Name transformation class

This defines the framework for the TcCOM object in Visual Studio.

Step 3: Create the driver

Right-click on the project to “Create” the driver.

Create driver
Create driver