On 10 May 2013 21:18, Viesturs Lācis <viesturs.la...@gmail.com> wrote:

> What I do not know, how to do properly, is when the subroutine has been
> called once and is finished, machine moves to next point to call the
> subroutine again. How do I move subroutine's coordinate origin to the new
> spot?

What I did when I wanted a set of subs to create connector/switch
cutouts in a matrix was:

1) The main program goes to the centre point of the hole sub and calls the sub.
2) The sub issues G92 X0 Y0, then performs the cuts
3) At the end of the sub it calls G92.2 and returns.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to