ID 20218
Unexpected ENDIF. Does not match the current control block. | |||
Description | A control block statement was programmed in incomplete syntax. A $ENDIF can only be programmed in combination with a previous $IF. Example: Wrong:
N10 G00 X0 Y0 Z0 P1=0
N20 G01 X100 F10000
N30 $ENDIF
:
N1000 M30
Correct:
N10 G00 X0 Y0 Z0 P1=0
N15 $IF P1==0
N20 G01 X100 F10000
N30 $ENDIF
:
For further information see [PROG// Section: The IF - ELSE branch] | ||
Response | Class | 2 | Abort NC program processing. |
Solution | Class | 3 | Check and modify the program flow sequence. Insert the $IF instruction or delete the $ENDIF. |
Error type | 1, Error message from NC program. | ||
|