On Monday, January 05, 2015 07:45:24 AM Marcus Bowman did opine
And Gene did reply:
> On 5 Jan 2015, at 12:07, Gene Heskett wrote:
> > On Monday, January 05, 2015 05:39:32 AM andy pugh did opine
> > 
> > And Gene did reply:
> >> On 5 January 2015 at 03:29, Gene Heskett <[email protected]> wrote:
> >>> Today I tried to wrap it up in a step & repeat, putting all the
> >>> "bit in wood" into relative moves from where its at, but using
> >>> absolute movements to move to the next place I need another such
> >>> pocket carved.
> >> 
> >> Rather than use relative code for this sort of thing I prefer to
> >> use absolute code assuming that the routine entry point is (0,0)
> >> On entry to the routine I do a G92 X0 Y0
> >> On Exit G92,2
> > 
> > I have read that several times without the light coming on as to
> > what they might be useful for.  Your suggestion to use it for this,
> > plus the reading of it again, it now makes perfect sense.  And it
> > sounds like the perfect fix for my problem.  With my jig mounting,
> > all this stuff marches along in a straight line in the x direction,
> > so no need to fudge y or z.
> > 
> > Cogitating on it over my nightly beer, I think I found yet another
> > way that would work but its not been coded yet, nor has this as I
> > just woke up, haven't even started the coffee yet.
> > 
> > The fact that we have around 10 co-ordinate systems available, I
> > thought of writing a loop at the top of the program to set 5 of
> > them to the correct offsets, and then change the co-ordinate system
> > to use for each invocation of the subroutine.
> 
> I've used that method on occasions, and it works fine, especially if
> you use G10 L2, or the even more convenient G10 L20 commands
> (LinuxCNC version 2.5 onwards) As a general method, I don't find it
> as convenient as G92 at the beginning of a subroutine, and G92.1 at
> the end - with the cutting instructions referenced to 0,0 in the
> subroutine.
> 
> Marcus

It works a treat here in the sim version Marcus.  Wish I had figured it 
out sooner. ;-)
[...]

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to