summaryrefslogtreecommitdiff
path: root/nc_files/nestedcall.ngc
blob: 80a345e93bd0761f828f9fcfeb1972fff3ac8776 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14


G21 (metric)
F100 (note slow feed)

G91 (relative mode)
G1 X10

; this sub switches to G20 (inch) and G90 but protects the caller by M70/M71
; it also switches to a much higher feed
O<g20sub> callsub

G1 X10 (this move still relative and in metric units, note slow feed restored)
m2