In the same NC block, a control block instruction was programmed with further NC commands. After a $BREAK no further NC commands may be programmed.
Example:
Wrong:
N10 G00 X0 Y0 Z0
N20 P1=5
N30 $SWITCH P1
N60 $CASE 5
N70 G01 X100 F10000
N80 $BREAK G01 Y200 F10000
N90 $DEFAULT
N100 P1=0
N110 $BREAK
N120 $ENDSWITCH
:
N1000 M30
Correct:
N10 G00 X0 Y0 Z0
N20 P1=5
N30 $SWITCH P1
N60 $CASE 5
N70 G01 X100 F10000
N75 G01 Y200 F10000
N80 $BREAK
N90 $DEFAULT
N100 P1=0
N110 $BREAK
N120 $ENDSWITCH
:
N1000 M30
For further information see [PROG// Section: Switch branching]
|