Subroutine/Looping Calls

From the original Synthetos forum (2011–2025)

Started by boomer3 on in TinyG Support. 2 replies, last activity Aug 2, 2016.

#

Hi guys, in the absence of m97/98/99 and O-codes for running subroutines, do you have any suggestions for what might work well?

For example I would like to run a parametric program that will dragknife cut a large rectangle, step over by a given offset, and repeat that same shape. I was hoping to use some type of subroutine call so that I can cut down on the total G-Code usage in various programs like this.

If this kind of parametric program can't be done with TinyG I will do the old copy paste routine within a G10 offset each time I guess, but then I am limited to the 6 "Pn" coordinate systems right?

Staff #

Are you familiar with Chilipeppr, a GUI CAM interface supporting tinyG and GRBL based machines? It has an extensive macro capability that might help you out.
Start here

https://github.com/synthetos/TinyG/wiki/Chilipeppr

then dig in to the Chilipeppr Forums as well.
There are also numerous Youtube tutorials.

#

I will see what I can do via Chilipeppr, I didn't realize that there were macros to assist this. Thanks.

This topic is from the original forum (August 2016). Your reply starts a new discussion linked to it.

Reply

Different problem? Ask a new question

Back to TinyG Support or latest activity.