TcSetObjId

The TcSetObjectId method sets the object ID of the object to the given OTCID.
Return value
VAR_OUTPUT
TcSetObjId : HRESULT;
END_VARName | Type | Description |
|---|---|---|
TcSetObjId | HRESULT | Gives information about success of the ID change. |
Inputs
VAR_INPUT
objId : OTCID;
END_VARName | 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 |