C++-samples | Sample11: Module communication: method call PLC module to C++ ... 1. Start the TMC editor by double-clicking on StateMachineDrv.tmc . 2. Select Data Types within the TMC editor. 3. Add a new interface by clicking on Add a new interface . р A new entry IInterface1 is then listed. 4. Open IInterface1 by double-clicking in order to change the properties of the interface. 5. Enter a meaningful name - in this sample "IStateMachine". р The interface has been created. Step 4: add methods to the interface 1. Click on Edit Methods... to get a list of the methods of this interface: Click on the + button to create a new default method, Method1. TwinCAT 3 262 Version: 1.19.1