Am 15.04.2017 um 16:03 schrieb Gene Heskett: > 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
Hallo Gene, have you looked at the code of combi_dro.py? I use a timer to update the information about coordinate systems and used unints. It should be easy to add a hal pin and convert that code to be a user comp. Norbert ------------------------------------------------------------------------------ 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
