ITcPlcOnline::Reset

Setzt den SPS-Controller zurück. Bei PLC_RESET_TYPE_Origin wird ResetOriginActiveApplicationCommand ausgeführt, sonst (Cold) ResetColdActiveApplicationCommand.

Signatur

HRESULT Reset([in, defaultvalue(PLC_RESET_TYPE_Cold)] PLC_RESET_TYPE resetType);

Parameter

Name

Typ

Beschreibung

resetType

PLC_RESET_TYPE

[in, defaultvalue(PLC_RESET_TYPE_Cold)] Reset-Typ. Siehe PLC_RESET_TYPE.

Rückgabewert

Name

Typ

Beschreibung

(HRESULT)

HRESULT

S_OK bei Erfolg, sonst Fehlercode.

Fehlercodes