kernelv_get_error_id()
Prototype
unsigned long int | kernelv_get_error_id(void); |
Description
Returns the error number of an error message previously read by kernelv_read_error(). If kernelv_read_error() was not called or there is no current error message, the value 0 is returned.
Parameter
-
Return values
Type: unsigned long int
0 if there is no current error message; otherwise the error number.
The individual errors numbers are described in the CNC diagnostics manual ([DIAG]).