My lathe is set up with the Touchy interface. However I am not using
the touchy jog-counts input as I have 4 separate wheels for jogging  X
and Z and for spindle and feed override. (I don't currently have a way
to alter maxv or to move the restart point, but I haven't felt the
need yet)

I was having a problem with my lathe booting up with feed and spindle
overrides set very low[1] and was finally prompted to try to get
Touchy to report the current override value in the case where it was
set from another source.

I added a couple of lines around line 798 in touchy.py

 +             self.fo_val = s.feedrate * 100
 +             self.so_val = s.spindlerate * 100
                set_label(self.wTree.get_widget("fo").child, "FO:
%d%%" % self.fo_val)
                set_label(self.wTree.get_widget("so").child, "SO:
%d%%" % self.so_val)
                set_label(self.wTree.get_widget("mv").child, "MV: %d"
% self.mv_val)

Experiment shows that with this change Touchy displays over-rides
sourced from halui as well as internally. (ie, both Touchy and halui
count pins can change the setting, and Touchy reports both)

I think this is better, but I am cautious of pushing it as a
modification in case it is a bad idea in a way that I can't see.


[1] Fixed by setting the halui.xxx-override.count-enable pin false
then to true only in in the postgui, the Mesa card jogwheel counts on
smart-serial boards don't reset between startups so the system can see
a large delta at time.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

------------------------------------------------------------------------------
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
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to