summaryrefslogtreecommitdiff
path: root/configs/sim/axis/remap/stop-lookahead/nc_files/examples.ngc
blob: b6482ad0a00e6b0f03c170788a06a3c462d0ba97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
;
; demo for stopping interpreter readahead
;
; assuming the G70 line is commented out, what would happen is:
;
; the interpreter parses and queues the msg commands, then encounters abort
; and immediately flushes the interpreter queue
; consequence: the message from (msg,xx) dont appear since they are flushed before they can be executed by
; task and the gui.
;
; if G70 is active, this means interpreter readahead stops at that very line until all preceding
; commands have been executed 
; hence the messages appear in that case

(msg,one)
(msg,two)
(msg,three)

G70 (dont lookahead further)

(abort, aborting)
m2