On Tuesday 13 October 2015 10:20:07 Gene Heskett wrote:

> On Tuesday 13 October 2015 08:40:42 andy pugh wrote:
> > On 13 October 2015 at 13:27, Todd                      Zuercher
> >
> > <[email protected]> wrote:
> > > What if you tried "global" named parameters?
> > > #<_name> vs #<name>
> >
> > They are program-global, not system-global.
> > I think persistent numbered parameters are the way to go.
> > http://linuxcnc.org/docs/html/gcode/overview.html#sub:numbered-param
> >et ers
> >
> > Any numbers you add to the .var file become new persistent
> > parameters.
>
> So after re-reading that again, I just added 10, 4990-4999 to that
> file, and re-wrote the code to use them.

But it refuses to run, something about number out of range? So I came 
back in here to send this, tried it from here, and it worked, must have 
had to reinitialize for the added stuff at 4990 on.  And now its all 
working.  And I am going to use that to send a switch to the calibrate 
routine, so that I can re-run it as a subroutine file after I do a tool 
change, to switch it to use the pointed tool target, a separate piece of 
PCB contact stuck to the gauge bar, to find the stickout difference.

This is getting better all the time folks. ;-)  Now I need to find a 
missing decimal point in a z calc, it thinks the described path is 192+ 
inches tall. But thats my problem to solve. :)

> Not tested yet.  I'll use the first 3 for xyz with a 1/4" mill, and
> the next one for a routine that measures the stick diff for the
> roundover tool.  That can even be a separate .ngc utility because
> changing tools mid code every time is a PIMA.
>
> Kewl idea Andy, many thanks. I may yet be off to the races and carving
> good wood instead of white pine test kindling. I have been stumbling
> over this pile of mahogany long enough.  Its height needs to be
> reduced. To zero.
>
> Cheers, Gene Heskett


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>

------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to