I do the same thing on my plasma cutter, jog to the start point and use the G92 magic.
JT On 8/14/2013 1:45 PM, andy pugh wrote: > On 14 August 2013 19:16, Kenneth Lerman <kenneth.ler...@se-ltd.com> wrote: > >> Of course, if you think like a programmer and don't want to know >> anything about G92 or stuff like that, you just write a gcode subroutine >> to make the part. The subroutine takes two arguments, the X and Y >> coordinates of the (center, edge, whatever) the part. > I have subroutines like this for connector cutouts, but they don't > even take a position parameter. > > You position the tool where you want the feature (typically with > G-code) and then call the sub. > The first thing that the sub does is G92 the as-called position to > zero, then it cuts the shape, then it clears the G92 offset. > ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users