Len, Take the time to learn G54,G55 etc offsets. Once you learn them you will NEVER want to use anything else. try this assuming your home position the center of your table in XY and the Z up position put this next line on the first line of your program G10 L2 P2 X-1.0 Y-1.0 Z-1.0
put G55 on the second line - it doesn't have to be on the second line - you can put it on the first motion line the G10 line doesn't have to be in the first line - it writes the XYZ values into the parameters for G55 your zero will be the coordinates X-1.0 Y-1.0 Z-1.0 (from home position) home your machine and start your program play with the numbers to see what effect they have on the zero position L3 is G56 L4 is G57 On Tue, Dec 16, 2008 at 10:44 PM, Len Shelton <[email protected]> wrote: > Thanks, but no. I still want to just end the program where it sets the stop > button so to speak, without jacking with my offsets, and restoring manual > control. > > And without me having to save my offsets, and then restore them at the > beginning of the file. With the method that Ray described with G92.2 and > G92.3, its still several un-necessary steps I think. I mean, what if it is > the first time you run the program? Would you have to set the offsets with > G92 in MDI and then save with G92.2 in MDI, then place G92.3 at the > beginning of every file? > > It'd be less tedious if I could just end the program, leave my offsets as > they were, jog the head out of the way (without having to hit the stop > button first), swap the stock, then hit start again. > > I could write the routine into the postprocessor to do what I need (maybe), > but I use the same CAM software for different purposes where the retract > vector is different depending on which machine and which operation. > > Let me also point out I have been a long time user of EMC (love it!), but I > just recently started using home switches and I am searching for their > usefulness. Previously without home switches, I just zeroed off of a part, > and never had to jack with offsets. At this point, they make no sense and > are cumbersome to have. I am hoping that there's just some connection I am > not making and it will all of a sudden make sense once I get that clue that > connects the dots. > >>Len > > -----Original Message----- > From: Chris Radek [mailto:[email protected]] > Sent: Tuesday, December 16, 2008 9:52 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] end of program > > On Tue, Dec 16, 2008 at 08:23:38PM -0600, Len Shelton wrote: >> I pulled M60 from this documentation: >> http://linuxcnc.org/docs/html/gcode_main.html#sub:M0,-M1,-M2, > > Oh! My mistake - I was trying G60 instead of M60. > > Have any of the answers given you a solution to the original > problem? > > Chris > > ---------------------------------------------------------------------------- > -- > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
