A control block statement was programmed in incomplete syntax. A $ENDIF can only be programmed in combination with a previous $IF.
Example:
Wrong:
N10 G00 X0 Y0 Z0 P1=0
N20 G01 X100 F10000
N30 $ENDIF
:
N1000 M30
Correct:
N10 G00 X0 Y0 Z0 P1=0
N15 $IF P1==0
N20 G01 X100 F10000
N30 $ENDIF
:
N1000 M30
For further information see [PROG// Section: The IF - ELSE branch]
|