Parameters
A TcCOM module instance is defined through various parameters.
TwinCAT supports three types of Parameter IDs (PTCID) in the section Configuring the parameter ID.
- "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 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.
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 |
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 the code generation.