ID 21470

After 'UNTIL' only the condition is permissible.

Description

In the same NC block, a control block instruction was programmed with further NC commands. After a $UNTIL instruction, only the corresponding condition may be programmed.

Example:

Wrong:

N10   G00 X0 Y0 Z0

N20   P2=10

N30   $REPEAT

:

N40   $UNTIL P2 > 20 G01 X100 F1000

:

N1000 M30

Correct:

N10   G00 X0 Y0 Z0

N20   P2=10

N30   $REPEAT

:

N40   $UNTIL P2 > 20

N45   G01 X100 F1000

:

N1000 M30

Response

Class

2

Abort NC program processing.

Solution

Class

3

Check and modify NC program. Move the not permissible NC commands to other NC blocks or delete them.

Error type

1, Error message from NC program.