ID 20375
There are valid open control blocks at program end. | ||||
Description | A valid control block statement (for example, $IF-$ENDIF) was not closed in a main program or subroutine, i.e. an assigned $ENDIF is missing. Valid means, that the programmed mathematical condition is true and the NC blocks in this branch of the control block sequence are executed. Example: Wrong: N10 G00 X0 Y0 Z0 N20 P1=1 P2=2 N30 $IF P1 == 1 N40 Y100 N50 $IF P2==4 N60 Z200 N70 $ENDIF : N100 X100 : N1000 M30 ← $ENDIF of $IF P1.. missing. Correct: N10 G00 X0 Y0 Z0 N20 P1=1 P2=2 N30 $IF P1 == 1 N40 Y100 N50 $IF P2==4 N60 Z200 N70 $ENDIF N80 $ENDIF : N100 X100 : N1000 M30 | |||
Response | Class | 1 | Continue NC program processing. | |
Solution | Class | 1 | Check and modify NC program. Close the control block statement correctly. Complete the missing $ENDIF/$ENDSWITCH... . | |
Parameter | %1: | Error value [-] | ||
Number of open control blocks | ||||
%2: | Current value [-] | |||
Initial keyword of incomplete control block statement (e.g. $IF) | ||||
%3: | Expected value [-] | |||
Closing keyword of control block sequence (e.g. $ ENDIF) | ||||
Error type | 1, Error message from NC program. | |||
|