Interface ITComObject
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. |
Comments
The ITComObject interface is implemented by every TwinCAT module. It makes functionalities available regarding the state machine and Information from/to the TwinCAT system.
- Method ITcComObject:TcGetObjectId(OTCID& objId)
- 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