ITcPlcOnline::Reset
Resets the PLC controller. If set to PLC_RESET_TYPE_Origin, ResetOriginActiveApplicationCommand is executed, otherwise (Cold) ResetColdActiveApplicationCommand is executed.
Signature
HRESULT Reset([in, defaultvalue(PLC_RESET_TYPE_Cold)] PLC_RESET_TYPE resetType);
Parameter
Name | Type | Description |
|---|---|---|
resetType | [in, defaultvalue(PLC_RESET_TYPE_Cold)] Reset type. See PLC_RESET_TYPE. |
Return value
Name | Type | Description |
|---|---|---|
(HRESULT) | HRESULT |
|
Error codes
DanglingAdapterException: Adapter not connected.