kernelv_program_error_get_linenumber

Prototype

KERNELV_RETURN

kernelv_program_error_get_linenumber(signed long * linenumber);

Description

Returns the programmed BNC line number of the error in the program file.

Parameter

Pointer to the memory location for line number

Return values

Symbol

Value

Meaning

RET_FINISHED

0

The function was executed without error.

ERR_CNC_NO_DATA

-28

The requested data is not available. There is no available NC program specific data relating to an CNC error.