Import up to TwinCAT 3.1 4022.xx

This article describes how a TC3-C++ driver can be imported and integrated into a PC/IPC controller with TwinCAT 3 XAE (without full version of Visual Studio).
The binary TC3-C++ driver was previously implemented and exported on another PC.

The following steps have to be carried out

1. Copy the TC3-C++ driver on the second IPC with TwinCAT XAE without the full version of Visual Studio into the destination folder ..\TwinCAT\3.x\CustomConfig\Modules. The TestDriver.zip archive is unpacked in this sample.
Import up to TwinCAT 3.1 4022.xx 1:
The TestDriver (in the subfolders RT and UM) and the corresponding TwinCAT module Class *.tmc file TestDriver.tmc are then available.
Import up to TwinCAT 3.1 4022.xx 2:
2. Start the TwinCAT XAE environment and create a TwinCAT 3 project.
3. Right-click System->TcCOM Objects and select Add New Item....
Import up to TwinCAT 3.1 4022.xx 3:
The new CTestModule module is listed in the dialog box that appears.
4. Create a module instance by selecting the module name and continue with OK.
The instance of the TestModule module now appears under TcCom Objects.
5. Create a new task.
6. Go to the context of the module instance and link the C++ module instance with the previously added Task 1.
7. Activate the configuration.