> I ran your test code and sure enough when G64 is modal the > way you program it will cut the corner. A couple of things to > keep in mind when programming g code. > > Always retract some distance above the material before doing > a lateral move. I usually use > .25 above the material as a safe Z height. YMMV on your machine.
Yes, the sample code does that. It is for a lathe, so I'm retracting X, before moving to another XZ position. The retraction was a parting tool coming out of a deep slot, which is why the rounded corners freaked me out. > Always include in the first lines of code the things you must > have like G61.1 G21 etc. Will do. I just need to get into the habit of doing it now. > Once a code is modal you don't need to repeat except for clarity G0 X2 > Z2 > X4 > > is the same as > > G0 X2 > G0 Z2 > G0 X4 Is that a prefered standard? I find being explicit about the type of move clearer in my mind. Thanks, Frank ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users