On Saturday 15 April 2017 19:35:45 John Figie wrote:

> Gene
>
> I don't know if this helps.  There are some global parameters you can
> read witin your g code program.
>
>
>    -
>
>    #<_metric> - Return 1 if G21 is on, else 0.
>    -
>
>    #<_imperial> - Return 1 if G20 is on, else 0.
>
> John.

Its a last ditch thought, but not as dynamic as I'd like. I'd like very 
much if it was real time as I have used that switch in the middle of a 
gcode program more than once.

Thanks John.

> On Apr 15, 2017 9:05 AM, "Gene Heskett" <[email protected]> wrote:
> > Greetings everybody;
> >
> > I think I asked about this once before, but do not recall getting an
> > answer I could use, so asking again.
> >
> > My jog wheel code currently has no way to switch between inches and
> > mm's, either for the motion stepsize, or for the displayed step
> > size.  So I need a pair of pins exposed that tally the G20-G21
> > status, to be used as a step size modifier, and a pin from the view
> > mode tallying whether the backplot dro is in mm's or inches.
> >
> > I would use the G20-21 tally to change the step size to mm's, and
> > the view tally to change the size of step display.
> >
> > If those pins can be exposed for my use, it would solve the last
> > problem, that of needing to maintain 2 configs whose only difference
> > would be a a pair of setp statements. That doesn't strike me as
> > being a long term viable solution.
> >
> > Can this be done, or is it hidden in the #5xxx data and I've not
> > found it?
> >
> > 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>
> >
> > ------------------------------------------------------------
> > ------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Emc-developers mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/emc-developers
>
> ----------------------------------------------------------------------
>-------- Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers


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>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to