ID 20237
Unexpected ENDWHILE. Does not match the current control block. | |||
Description | A control block statement was programmed in incomplete syntax. A $ENDWHILE can only be programmed in combination with a previous $WHILE. Example: Wrong:
N10 G00 X0 Y0 Z0 P1=1
N20 $ENDWHILE
:
N1000 M30
Correct:
N10 G00 X0 Y0 Z0 P1=1
N15 $WHILE P1>0
:
N20 $ENDWHILE
:
N1000 M30
For further information see [PROG// Section: Verification of running condition at loop start] | ||
Response | Class | 2 | Abort NC program processing. |
Solution | Class | 3 | Check and modify the program flow sequence. Insert the $WHILE instruction or delete the $ENDWHILE. |
Error type | 11, Error message from NC program. | ||
|