RestartSystem
Method for stopping with subsequent start of the TwinCAT system via COM/DCOM.
HRESULT RestartSystem(
[in,optional] VARIANT restParm,
);
Parameters
restParm | [in,optional] |
Return Values
HRESULT == S_OK | TwinCAT restart successful. |
HRESULT == E_FAIL | Error during TwinCAT system restart. |
Comments
RestartSystem stops and starts the TwinCAT system on the computer on which the TcSystemServer object was instantiated. All messages are registered in the Windows events display of that computer. If RestartSystem returns an error, the TwinCAT system in question will be in stop state.