Automatic restart in case of error
Enable and disable error handling in CODESYS to log information about an exception and perform a restart of the controller or the runtime.
How can the controller be automatically restarted in case of an error?
Description
Function description OnExceptionWrapper
OnException(
EventPrm:=EventPrm,
xDebug := FALSE,
xLogExceptionToFile:=TRUE,
xRestartRuntimeOnException := TRUE,
tExceptionFunctionTimeout := TIME#45S0MS
);Enable/disable the exception handling function





Adding the exception handling function










Last updated

