In the same NC block, a control block instruction was programmed with further NC commands. After a $ELSE no further NC commands may be programmed.
Example:
Wrong:
N10 G00 X0 Y0 Z0 P1=0
N20 $IF P1
N30 G01 X100 F100
N40 $ELSE G01 X200 F500
N50 $ENDIF
:
N1000 M30
Correct:
N10 G00 X0 Y0 Z0 P1=0
N20 $IF P1
N30 G01 X100 F100
N40 $ELSE
N45 G01 X200 F500
N50 $ENDIF
:
N1000 M30
For further information see [PROG// Section: The IF - ELSE branch]
|