A control block statement was programmed in incomplete syntax. A $ENDSWITCH can only be programmed in combination with $SWITCH.
Example:
Wrong:
N10 G00 X0 Y0 Z0
N20 P1=5
N30 $ENDSWITCH
:
N1000 M30
Correct:
N10 G00 X0 Y0 Z0
N20 P1=5
N30 $SWITCH P1
:
N40 $ENDSWITCH
:
N1000 M30
For further information see [PROG// Section: Switch branching]
|