TcSetObjId

The TcSetObjectId method sets the object ID of the object to the given OTCID.
Return value
VAR_OUTPUT
TcSetObjId : HRESULT;
END_VAR
Name | Type | Description |
---|---|---|
TcSetObjId | HRESULT | Gives information about success of the ID change. |
Inputs
VAR_INPUT
objId : OTCID;
END_VAR
Name | Type | Description |
---|---|---|
objId | OTCID | The OTCID to be set |
Requirements
TwinCAT Version | Hardware | Libraries to be integrated |
---|---|---|
TwinCAT 3.1, Build 4020 | x86, x64, ARM | Tc3_Module |