TcSetObjId

TcSetObjId 1:

The TcSetObjectId method sets the object ID of the object to the given OTCID.

TcSetObjId 2: Return value

VAR_OUTPUT
    TcSetObjId : HRESULT;
END_VAR

Name

Type

Description

TcSetObjId

HRESULT

Gives information about success of the ID change.

TcSetObjId 3: 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