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 permitted and lead to the output of an error message and streaming mode abort.

Programing Example

prg_example

Jump in the forward direction

1. 1st data package

 

 

 

 

2. 1st data package

 

3. 1st data package

N01 G01 X0 Y0 Z0 F1000

N10 G01 X20

N20 $GOTO N40

N30 G01 Z40

N40: G01 X40

N50 $GOTO N80

N60 G01 Y20

N70 G01 Y40

N80: G01 X-20

N90 G01 X-40

:

M30