ID 20933

Variable was not declared in the current subroutine level.

Description

The V.L. Variable or V.CYC. variable to be deleted was not declared in the subroutine. It can only be deleted if it was declared in the subroutine.

 

Invalid subroutine:

%L sub      (subroutine)

N500 F2000

N510 #DELETE V.L.LOC_VAR

N520 M17

Corrected subroutine:

%L sub  (subroutine)

N410 #VAR

N420  V.L.LOC_VAR   (Deklaration der Variablen)

N430 #ENDVAR

N500 F2000

N510 #DELETE V.L.LOC_VAR

N520 M17

Main program:

%test.nc

N10 #VAR

N20  V.L.LOC_VAR

N30 #ENDVAR

N100  LL sub   (call subroutine)

N1010 G0 X0 Y0

N1099 M30

Response

Class

2

Abort NC program processing.

Solution

Class

3

Modification of the subroutine in the NC program.

Error type

1, Error message from NC program.