how about using sub programs?
the main program would then call for example program 1 then stop on a M00 and on next press of start button start 2 which is the reverse
Hello,
I'm hoping this is a simple question but I can't seem to find an answer through searches.
I have a quantity of parts to machine with 2 independant operations requiring different tools. This requires the program to make 2 tool changes.
I figure that if I have a second program that does the operations in reverse order then I could reduce the tool changes to 1/program and then just alternate between programs.
I have a HAAS TM1 mill. Does anyone know if it's possible to queue up programs to run like this without having to go to the usb stick to re-load the next program each time?
The other option would be, I guess, to make a program double-length with a stop in the middle for a part change. Is that how this is normally done instead?
Any guidance would be very much appreciated!
Thanks, Simon.
Similar Threads:
how about using sub programs?
the main program would then call for example program 1 then stop on a M00 and on next press of start button start 2 which is the reverse
Post up your code and I will try to help. Lots of ways to skin this cat but lets do it the easy way first.
Gary
I think mbservice (above) has the easiest idea: use subprograms. Do something like this:
M98 P100
M98 P200 L2
M98 P100
M30
That way you call program 100, then call program 200 twice. Really, you could leave off the last M98, since the next time you run the program, it will call O100 again. Hope that helps.
________________________________________________
My blog: http://www.fletch1.com