# ID 20245

'CONTINUE' must be programmed exclusively in NC-block.
Description | In the same NC block, a control block instruction was programmed with further NC commands. After a $CONTINUE no further NC commands may be programmed. Example: Wrong: N10 G00 X0 Y0 Z0 N20 $FOR P1=1, 10, 2

N30 $IF P1 == 8

N40 $CONTINUE G01 X100 F10000

N50 $ENDIF

:

N100 $ENDFOR

:

N1000 M30

Correct:

N10 G00 X0 Y0 Z0

N20 $FOR P1=1, 10, 2

N30 $IF P1 == 8

N35 G01 X100 F10000

N40 $CONTINUE

N50 $ENDIF

:

N100 $ENDFOR

:

N1000 M30

For further information see [PROG// Section: Counting loops]

Response | Class | 2 | Abort NC program processing.
Solution | Class | 3 | Check and modify NC program. Move the not permissible NC commands after $CONTINUE to other NC blocks or delete them.
Error type | 1, Error message from NC program.