ITComObject interface
The ITComObject interface is implemented by every TwinCAT module. It makes basic functionalities available.
Syntax
TCOM_DECL_INTERFACE("00000012-0000-0000-e000-000000000064", ITComObject)
struct__declspec(novtable) ITComObject: public ITcUnknown
Methods
Name | Description |
|---|---|
Saves the object ID using the given OTCID reference. | |
Sets the object ID of the object to the given OTCID. | |
Saves the object names in the buffer with the given length. | |
Sets the object name of the object to given CHAR*. | |
Initializes a transition to a predefined state. | |
Queries the current state of the object. | |
Queries an object parameter identified with its PTCID. | |
Sets an object parameter identified with its PTCID. | |
Saves the parent object ID with the help of the given OTCID reference. | |
Sets the parent object ID to the given OTCID. |
The ITComObject interface is implemented by every TwinCAT module. It makes functionalities available regarding the state machine and information from/to the TwinCAT system.
- ITcComObject:TcGetObjectId method
- ITcComObject:TcSetObjectId method
- ITcComObject:TcGetObjectName method
- ITcComObject:TcSetObjectName method
- ITcComObject:TcSetObjState method
- ITcComObject:TcGetObjState method
- ITcComObject:TcGetObjPara method
- ITcComObject:TcSetObjPara method
- ITcComObject:TcGetParentObjId method
- ITcComObject:TcSetParentObjId method