ID 20368
Main program not found, syntax error at definition of program. | |||
Description | The called file does not contain a main program definition (%main program name), but only local subroutine definitions, for example. Example: Wrong: %L sub1 N10 G92 X10 Y20 Z30 : N100 M17 %L sub2 N10 G92 X-10 Y-20 Z-30 : N100 M17 N10 X0 Y0 Z0 : N1000 M30 Correct: %L sub1 N10 G92 X10 Y20 Z30 : N100 M17 %L sub2 N10 G92 X-10 Y-20 Z-30 : N100 M17 %Main_program_name N10 X0 Y0 Z0 : N1000 M30 | ||
Response | Class | 2 | Abort NC program processing. |
Solution | Class | 6 | Check and modify NC program. Before the beginning of the main program sequence insert the main program name. Note: The main program definition (%Main program name) can only be omitted if no local sub-routines exist. |
Error type | 1, Error message from NC program. | ||
|