XHC-WHB04B-6 and LinuxCNC 2.9.1

More
2 years 11 months ago - 2 years 11 months ago #285306 by SkyMoCo
I bought a new XHC-WHB04B-6 pendant and have the buttons working and display reporting the correct positions,  but I cannot get the dial to work.

When I run the xhc-whb04b-6 in event mode (xhc-whb04b-6 -eu)  I see events getting generated when I turn the dial.

When I run the  xhc-whb04b-6 in hal mode (xhc-whb04b-6 -p), I see events for the other buttons and when I switch the setting to select the various axis, but I do not see any events when I turn the dial.   I assume I should...

Attached are my hal files and outputs from the above two commands.

Anyone else have this working and be willing to see if they get hal events?    That would at least give me somewhere to start digging.

 
Last edit: 2 years 11 months ago by SkyMoCo. Reason: Fixed spacing

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

More
2 years 11 months ago #285338 by SkyMoCo
 Getting closer, there must be something in my config as the events from spinning the jog wheel are getting through as the "jog counts" counter is incrementing.

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

More
2 years 11 months ago #285567 by rodw
Are you in the right mode to enable Jogging? (Teleop)

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

More
2 years 11 months ago #285571 by SkyMoCo
Ah, thanks. I found my problem. Not sure where this line came from but when I removed it my jog dial started worked. Just needed the right hint.

This is the line I removed. Not sure if shows this way on the screen, but this is one line...
net pdnt.mode.is-manual halui.mode.is-manual whb.halui.mode.is-manual whb.halui.mode.is-teleop

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

More
2 years 10 months ago #287882 by poesel
I have nearly the same problem as the OP (same pendant, buttons are working). I see the events from the dial when I run 'xhc-whb04b-6 -p', but there is nothing in hal. 'whb.axis.x.jog-counts' stays zero.
Attached are the .hal files. Any pointers to what is wrong are appreciated.

Thanks.
 

File Attachment:

File Name: Janus_2023-12-11.hal
File Size:8.91 KB

File Attachment:

File Name: custom.hal
File Size:182 B

File Attachment:

File Name: WHB04B-6.hal
File Size:12.8 KB

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

More
2 years 9 months ago #290391 by CNC_Tux
Hello friends of LinuxCNC,
i have exactly the same problem, with the XNC-WHB04B-6 ....... all buttons and switches are working, but i cant move any axis with the jogwheel. I think something is wrong in the code, because today i tested different versions of LinuxCNC
LinuxCNC 2.9.2 the WHB04B-6 jogwheel isnt working
LinuxCNC 2.8.4 the WHB04B-6 jogwheel isnt working
LinuxCNC 2.8.3 the WHB04B-6 jogwheel is working !!

Has anybody a solution to fix this problem ?
Thank you so much in advance for further informations.
best regards
Reinhard

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

Time to create page: 0.304 seconds
Powered by Kunena Forum