Machsupport Forum

G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: SamG on September 08, 2009, 10:53:23 AM

Title: What comes first – Main or Subroutines
Post by: SamG on September 08, 2009, 10:53:23 AM
For some Centronics systems, we had to create the toolpath so all subroutines are loaded first and the main driving part is last. But I've notice for the Mach3, the main program needs to be first. Is the a configuration setting in the Mach3 to allow the subroutines be loaded first? (This would certainly save me a LOT of reprogramming efforts.)

Thanks in advance.

Sam
Title: Re: What comes first – Main or Subroutines
Post by: vmax549 on September 08, 2009, 02:18:12 PM
Sam,  Mach follows the Fanuc style where the Main comes first. THe sub can be either at the tail end or in a seperate directory and the M98 call can call it into play.

Hope that helps, (;-) TP