ITcSysManager::StartRestartTwinCAT
Triggers a restart of the TwinCAT runtime on the target system. For a remote target, an AMS control command is sent; locally, the SystemServer COM server is addressed. In UI builds, a confirmation dialog appears first.
Signature
HRESULT StartRestartTwinCAT();
Parameter
(none)
Return value
|
Name |
Type |
Description |
|---|---|---|
|
(HRESULT) |
HRESULT |
|
Error codes
-
E_ACCESSDENIED: System Manager is disabled or the system service is unavailable.
See also
- IsTwinCATStarted
- ActivateConfiguration