ID 20244

Unexpected CONTINUE. No control blocks valid or open.

Description

A control block statement was programmed in incomplete syntax. A $CONTINUE can only be programmed inside any loop or $SWITCH construct.

Example:

Wrong:

N10   G00 X0 Y0 Z0

N20   $CONTINUE

:

N1000 M30

Correct:

N10   G00 X0 Y0 Z0 P1=1

N20   $DO

N30     P1=P1+1

N40     $IF P1 == 2

N50       $CONTINUE

N60     $ENDIF

:

N100  $ENDDO P1 < 10

:

N1000 M30

For further information see

  • [PROG// Section: Switch branching]
  • [PROG// Section: Counting loops]

Response

Class

2

Abort NC program processing.

Solution

Class

3

Check and modify the program flow sequence. Insert a loop or $SWITCH construct or remove the $CONTINUE command.

Error type

1, Error message from NC program.