Automation Interface

ITcSysManager::StartRestartTwinCAT

The StartRestartTwinCAT() method starts or restarts the TwinCAT System. If TwinCAT is already started, the function performs a restart, if TwinCAT is stopped it performs a start.

HRESULT StartRestartTwinCAT();

Return Values

S_OK
function returns successfully.
E_FAIL
TwinCAT could not be started.