Wizards | TwinCAT Module Class Editor (TMC) 2. Click on the + button to generate a new default method, "Method1". 3. Double-click on the method or select a node in the tree to open the details. 4. Give the default "Method1" a more meaningful name. 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" "INTEGER". 6. Edit the parameter by clicking on the name "Parameter1". р The "Normal Type" can also be changed to "Pointer" and so on – the data type itself can also be selected.
р In this case "NewState" is the new name – the rest of the settings are not changed. TwinCAT 3 98 Version: 1.19.1