C++-samples | Sample11: Module communication: method call PLC module to C++ ... Step 11: creating an instance of the C++ module 1. Right-click on the C++ project and select Add New Item... to create a new module instance. 2. Select the module that is to be added as a new instance – in this case CStateMachineModule. 3. Assign the instance to a task: TwinCAT 3 271 Version: 1.19.1