Hello Guest it is March 28, 2024, 07:53:52 PM

Author Topic: Is it possible to call an external gcode file from within a gcode file?  (Read 2416 times)

0 Members and 1 Guest are viewing this topic.

I am trying learn if it is possible to call an external Gcode file from within a Gcode file that is running.  What I am trying to do is be able to make a macro from a pattern repeating file that will call up the external pattern and repeat it the number of times entered into Gcode.

Regards,

Larry

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Is it possible to call an external gcode file from within a gcode file?
« Reply #1 on: November 17, 2011, 08:15:04 PM »
Yes it is called a SUB. You store the SUB in the SUB directory and call it with the M98 sub call in the Gcode program.

You can find more info in the Mach3 manual.

(;-) TP

Re: Is it possible to call an external gcode file from within a gcode file?
« Reply #2 on: November 20, 2011, 08:26:19 AM »
Great, Thanks

Larry