ID 21469

Unexpected UNTIL. Does not match the current control block.

Description

A control block statement was programmed in incomplete syntax. A $UNTIL can only be programmed in combination with a previous $REPEAT.

Example:

Wrong:

N10   G00 X0 Y0 Z0 P1=1

N20   $UNTIL P1>2

:

N1000 M30

 

Correct:

N10   G00 X0 Y0 Z0 P1=1

N15   $REPEAT

:

N20   $UNTIL P1>2

:

N1000 M30

Response

Class

2

Abort NC program processing.

Solution

Class

3

Check and modify the program flow sequence. Insert the $REPEAT instruction or delete the $UNTIL.

Error type

1, Error message from NC program.