808D ADVANCED Page 87 Programming and Operating — Turning
Additional
Information
Part 2
s
SEQUENCE
N10 G0 X...Z...
...
...
N40 GOTOF LABEL0; jumps to label LABEL0
…
...
N70 LABEL0: R1=R2+R3
N80 GOTOF LABEL1; jumps to label LABEL1
N90 LABLE2:
M30; program ends
N110 LABEL1:
...
N130 GOTOB LABEL2 ; jumps to label LABEL2
Program execution
Unconditional jump example
Using “;” code at the begin-
ning of the program block
N95, this string will be
skipped without execution.
Using “;” code to add a
remark to the N85 func-
tion, without any influence
on the execution.
“;” code
Using “;” code at the
beginning of the block
can skip this string.
“;” can also be used to
add remarks to the
block.
See the figure on the
right for an example of
use.
N5 G90 G500 G71
N10 T1 D1 M6
N15 S3000 M3 G94 F300
N20 G00 X50 Z5
N25 G01 Z-20
N30 Z5
...
N85 T2 D1 M6 ; change tools
N90 S3000 M3 G94 F300
; N95 G00 X60 Z10
...
Method 1
Program
skip