kernelv_get_error_severity()
Prototype
int (unsigned) | get_error_severity(vnck: ctypes.CDLL ); |
Description
Returns the error remedy class of an error message previously read by kernelv_read_error(). If no error message was read or there is no current error message, the value -1 is returned.
Parameter
Name | Type | Meaning |
vnck | ctypes.CDLL | Instance of the loaded KernelV DLL. |
Return values
Type: int (signed)
-1 if there is no current error message; otherwise the error remedy class (see also [DIAG]).
Error remedy class | Internal error remedy |
0 | Error message acts as a warning; automatically an internal troubleshooting takes place. |
2 | Requires a complete reset of the NC channel. |
5 | Requires a complete reset of the NC channel. |
6 | Requires a repeated start-up of the CNC kernel. |
7 | Requires a repeated start-up of the entire NC kernel after switch-off. |