On 12 Nov 2009 at 10:34, Frank Tkalcevic wrote:

> > 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.

My brain was in "Mill Mode" so I was thinking Z not X. :)
You would always want to start the feed move before you get to the 
material and your exit move to clear the material by some safe margin. 
> 
> > 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.

The prefered standard is what ever is easy for you to read :) and understand.

John

------------------------------------------------------------------------------
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

Reply via email to