XHC-WHB04B-6 not increasing MPG counts

More
19 Jul 2025 01:14 - 19 Jul 2025 02:20 #332004 by beefy
Used xhc-whb04b-6 -ue in a terminal window, and can see all buttons working.

However, in the line:
pndnt wheel total counts {counts=0 activeCounter=0 isLeadActive=0}
all the values remain at zero.
Thing is with every click of the MPG there are other digits in the terminal window that are doing something so it appears the MPG clicks are being noticed by the driver.
Watching these digits (which are either 0 or 1 or -1) the 0 digit appears to be incrementing with MPG clicks but immediately returning to 0
The digit which is either +1 or -1 seems to change when I rotate the MPG forward and revere respectively.
So overall it appears the xhc-whb04b-6 driver is actually recognising the MPG pulses but is not incrementing the total pulse count.

I can also use 
xhc-whb04b-6 Ha and then start Halshow.
Once again, all button presses show up in Halshow but counts stays at zero when using the MPG.

My big question is: does the driver need some sort of feedback pins setting from Halui, in order to increment the pin:

whb.axis._<N>_.jog-counts
 
Last edit: 19 Jul 2025 02:20 by beefy.

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

More
19 Jul 2025 18:18 #332030 by Finngineering
Replied by Finngineering on topic XHC-WHB04B-6 not increasing MPG counts
 I bought and received the same type of pendant just a couple of days ago. And I saw the same issue. It appears that the machine-is-on pin needs to be true for XHC-WHB04B-6 to change the counts. And you also need to press the Step button first, as opposed to "Continuous".

I don't remember the exact pin name right now, maybe just whb.machine-is-on, or whb.halui.machine-is-on. You need to set that to true for the counts to actually count (based on my very limited troubleshooting).
 

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

More
19 Jul 2025 22:15 #332040 by beefy
Replied by beefy on topic XHC-WHB04B-6 not increasing MPG counts
Thanks very much Finnengineering.

That's good to hear. I'll have another play with it in Halshow and see if I can set that pin.

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

Time to create page: 0.047 seconds
Powered by Kunena Forum