Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: scrambled on February 08, 2013, 11:32:20 PM

Title: Linking three programs
Post by: scrambled on February 08, 2013, 11:32:20 PM
I am needing help figuring something out.   I have several thousand pieces of 4 x 4 x 1/4 square tube that I need to notch on three sides.

How can I right / link three separate programs together so that the first program runs completely, then stops at a wait point.   I then manually rotate the tub in a jig.   Press an aux. start button and program #2 runs.   Then #3.

After the third program runs the flame cutter goes home and starts over with program #1 on the next start button push.



Thanks


Steve


Sent from my iPhone using Tapatalk
Title: Re: Linking three programs
Post by: Chaoticone on February 08, 2013, 11:38:34 PM
Steve, could you not just make it one program and add M1 (optional stops) where you want them?

Brett
Title: Linking three programs
Post by: scrambled on February 09, 2013, 12:41:54 AM
Is that what I need?   Is the m1 a wait for the start button.   I am not sure what I need.



Steve


Sent from my iPhone using Tapatalk
Title: Re: Linking three programs
Post by: Chaoticone on February 09, 2013, 09:02:36 AM
I think so.  When your gcode ges t0 M1 (as long as your optional stop is enabled), it pauses, in its current state and will continue to run the code on a press of cycle start.  When the M1 is called, say you have the spindle on and down in the part, that is where it will pause.  So, be sure the machine is in the state you want it to be in when the M1 is called.

Brett
Title: Re: Linking three programs
Post by: scrambled on February 09, 2013, 02:46:47 PM
thanks-

I will try it


Steve