C++-samples | Sample11: Module communication: method call PLC module to C++ ... 5. Subsequently, you can add parameters by clicking on Add a new parameter or edit parameters of the SetState method. р The new parameter, Parameter1, is generated by default as Normal Type INT . 6. Click on the name "Parameter1" and change the name in the edit box to "State". 7. After Start, Stop and SetState have been defined, define a further method. 8. Rename it "GetState". 10. Change Normal Type to Is Pointer. 9. Add a parameter and name it "pState" (which is conceived to become a pointer later on). TwinCAT 3 264 Version: 1.19.1