Pendant - xhc-hb04 - Jog increments options change

More
03 Feb 2022 22:59 #233925 by eriksalo
I have an xhc-hb04 pendant and it's terrific.  I use it every time I use my milling machine.

One thing that I don't like about it is when jogging, there are 4 step options:  1, 5, 10 and 20 thousandths of an inch.

The problem for me is sometimes I accidentally select "20 thousandths" when I really wanted to go down to "1 thousandth."  I've done this twice and ruined my probe tip.

How do I recompile the code so that it only cycles through the three increments that I want (1, 5, 10) and not through the standard four (1, 5 , 10, 20)?

Thanks in advance

Please Log in or Create an account to join the conversation.

More
28 Feb 2022 22:33 #236044 by andypugh
There are a number of stepsize sequences, but none match what you want:
github.com/LinuxCNC/linuxcnc/blob/2e75b0...omps/xhc-hb04.cc#L92

You could edit that part of the code, then (in theory) recompile.

There is a separate makefile for the hxc-whb04b-6 but that doesn't sound like what you have. I feel that would make compiling it outside of the LinuxCNC source tree easier.

I have never tried compiling just a single C++ component, so can't help further.

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum