Repeating gcode #1890
karriforesthermit
started this conversation in
Show and tell
Repeating gcode
#1890
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
For what it is worth I have been making this modification to bCNC for several years every time I upgrade to a new version. May be it is time to suggest making it permanent.
Often I want to make repeated passes of the same gcode, perhaps some repositioning between passes. Uses include: milling at a lower depth each pass; offsetting and milling multiple parts; rotating and milling the next gear tooth. This can be achieved by judicious use of a G92 at the top of the gcode and final repositioning at the end of the gcode. I find this approach much more flexible and convenient than building all the passes into one huge gcode.
My modification is to change the RUN command to accept to arguments: RUN
For example, RUN 17 M4, repeats the gcode 17 times, then turns off the coolant when done.
Here is the trivial modification to Sender.py:
Sender.py.diff.txt
K
Beta Was this translation helpful? Give feedback.
All reactions