Jump to label

$GOTO

Using the $GOTO command, it is only possible to jump in the forward direction.

Jumps in the backward direction are not allowed and lead to output of an error message and cancellation of the streaming mode.

Programming example: Jump in the forward direction

(data packet 1)
N01 G01 X0 Y0 Z0 F1000
N10 G01 X20
(data packet 2)
N20 $GOTO N40
N30 G01 Z40
(data packet 3)
N40:
G01 X40
N50 $GOTO N80
N60 G01 Y20
N70 G01 Y40
N80: G01 X-20
N90 G01 X-40
:
M30