Wizards | TwinCAT Module Class Editor (TMC) TwinCAT supports three types of Parameter IDs (PTCID) in the section Configuring the parameter ID [ } 117] . "User defined" (default value for new parameters): A unique parameter ID is generated, which can be used in the user code or in the instance configuration for specifying the parameter. "Predefined...": Special PTCIDs provided by the TwinCAT 3 system (e.g. TcTraceLevel). "Context-based…": Automatically assign values of the configured context [ } 131] to this parameter. The selected property is applied to the PTCPID. It overwrites the defined standard parameters and the instance configuration parameter (parameter (Init)).
The parameters and their configuration are described in more detail below. Parameters : Shows the implemented parameters of the module. Name : Name of the interface. Parameter ID : Unique ID of the parameter. Specification : Data type of the parameter. Size : Size of the parameter. Other sizes are possible for x64. Context : Context ID of the parameter. Disable Code Generation : Enable/disable code generation. 11.3.4.2.1 Add / modify / delete parameters | Add / modify / delete parameters The properties and functionalities of a TwinCAT class can be added, edited and deleted with the aid of the TwinCAT Module Class (TMC) Editor. This article describes: TwinCAT 3 112 Version:
1.19.1 Symbol Function Add a new parameter Deletes the selected type Moves the selected element down one position Moves the selected element up one position Select byte alignment Align the selected data type Reset data format of the selected data type