In the same NC block, a control block instruction was programmed with further NC commands. After a $ENDWHILE no further NC commands may be programmed.
Example:
Wrong:
N10 G00 X0 Y0 Z0
N20 P1=1
N30 $WHILE P1
:
N40 $ENDWHILE G01 X200 F500
:
N1000 M30
Correct:
N10 G00 X0 Y0 Z0
N20 P1=1
N30 $WHILE P1
:
N40 $ENDWHILE
N50 G01 X200 F500
:
N1000 M30
For further information see [PROG// Section: Verification of running condition at loop start]
|