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-paramet >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. 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 -- "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
