ID 20369

Global subroutine not found, syntax error at definition of program.

Description

The called file of the global subroutine does not contain a corresponding program definition (%Glob_Program name ), but only local subroutine definitions, for example.

Example:

Wrong:
(Global subroutine, separate file):
%L sub1
N10   G92 X10 Y20 Z30
:
N100 M17
N10 X0 Y0 Z0
:
N1000 M17
Correct:
%L sub1
N10   G92 X10 Y20 Z30
:
N100 M17
%Glob_program_name
N10 X0 Y0 Z0
:
N1000 M17

Response

Class

2

Abort NC program processing.

Solution

Class

3

Check and modify NC program. Insert the name of the global subroutine before the start of the corresponding program sequence.

Note:

The program definition (%Glob_program_name) can only be omitted if no local sub-routines exist.

Error type

1, Error message from NC program.