TwinCAT C++ Project Wizard

After the creation of a TwinCAT project you can add a C++ project with the help of the TwinCAT C++ Project Wizard:

1. Right click on the C++ icon and select Add new Item… to start the C++ project wizard.
TwinCAT C++ Project Wizard 1:
TwinCAT offers three C++ projects:
- Driver Project: Projects containing one or more executable modules.
Beckhoff recommends avoiding this project type in future and instead using versioned C++ projects, for which the code is loaded via the TwinCAT Loader.
- Versioned C++ Projects: Projects that involve revision control. So you obtain the opportunity to switch between versions at runtime.
- Static library: Projects with C++ functions that are used by (different) TwinCAT C++ drivers.
TwinCAT C++ Project Wizard 2:
2. Select one of the project templates and specify a name and location.
The TwinCAT C++ project is created
In the case of a driver, the TwinCAT C++ class wizard is started.