A control block statement was programmed in incomplete syntax. A $BREAK can only be programmed within a loop or $SWITCH construct.
Example:
Wrong:
N10 G00 X0 Y0 Z0
N20 $BREAK
:
N1000 M30
Correct:
N10 G00 X0 Y0 Z0 P1=1
N20 $SWITCH P1
N30 $CASE 2
N35 G01 X100 F10000
N40 $BREAK
:
N100 $ENDSWITCH
:
N1000 M30
For further information see [PROG// Section: Switch branching]
|