You might also look at the g code generators here

http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Simple_EMC_G-Code_Generators

and take a look at 

http://www.linuxcnc.org/docview/html//gcode_main.html#sub:G92,-G92.1,-G92.2,

http://www.linuxcnc.org/docview/html//gcode_main.html#cha:O-Codes

John

On 14 Dec 2008 at 11:58, BRIAN GLACKIN wrote:

> Up until now, I have been using AC2GC for gcode generation.  While
> this is
> ok, it gets tedious when I am generating multiples of a single part.
> I have
> reviewed the Gcode manual numerous times and cannot get my mind
> wrapped
> around the method for doing this.  I reckon something along the line
> of a
> drilling cycle is in order with a coordinate system change.
> 
> For simplicity, can someone show a looping routine to cut out a
> square 1" X
> 1" path (not worried about tooling offsets) then skip 1/2" on the Y
> axis and
> repeat.  Once it reaches the end of the Y axis (24" in my case), I
> want it
> to index down the X axis and reverse on down the Y axis.  I then
> want to
> repeat this full loop until I exhaust the X axis.
> 
> I actually want to cut more than a simple square, but using it
> should allow
> me to understand the subroutine.
> 
> Thanks.
> 
> Brian
> --------------------------------------------------------------------
> ----------
> 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.visit
> mix.com/
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> 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
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to