1. Select the target system and compile the project.
2. Enable the TwinCAT configuration, then log in and start the PLC.
3. This C++ TcCOM module requires Windows Test Mode. Activate this to use the module and thus the example.
4. When activating the TwinCAT configuration for the first time, the test certificate must be accepted:
In the online view of the PLC application, the assigned object ID of the C++ object is indicated in the PLC Proxy function block. The interface pointer has a valid value and the method will be executed.