forked from LinuxCNC/linuxcnc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move remap to unclaimed Gcode in sim config at sim/axis/remap/stop-re…
…adahead
- Loading branch information
Showing
4 changed files
with
9 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 7 additions & 8 deletions
15
configs/sim/axis/remap/stop-lookahead/nc_files/examples.ngc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,23 @@ | ||
; | ||
; demo for stopping interpreter readahead | ||
; | ||
; assuming the G70 line is commented out, what would happen is: | ||
; assuming the G70.9 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 | ||
; if G70.9 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 | ||
|
||
|
||
G70.9 (dont lookahead further) | ||
o10 if [#<_task> EQ 1] (this avoids an abort message when starting the config) | ||
(abort, aborting) | ||
o10 endif | ||
m2 |