TcSetObjState

The TcSetObjState method initializes a transition to the given state.
Return value
VAR_OUTPUT
TcSetObjState : HRESULT;
END_VAR
Name | Type | Description |
---|---|---|
TcSetObjState | HRESULT | Gives information about success of the state change. |
Inputs
VAR_INPUT
state : TCOM_STATE;
ipSrv : ITComObjServer;
pInitData : POINTER TO TComInitDataHdr;
END_VAR
Name | Type | Description |
---|---|---|
state | TCOM_STATE | Displays the new state. |
ipSrv | ITComObjServer | Object description |
pInitData | POINTER TO TComInitDataHdr | Points to a list of parameters (optional). |
Requirements
TwinCAT Version | Hardware | Libraries to be integrated |
---|---|---|
TwinCAT 3.1, Build 4020 | x86, x64, ARM | Tc3_Module |