XHC-WHB04B-6 and LinuxCNC 2.9.1

More
13 Nov 2023 19:29 - 13 Nov 2023 19:30 #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.

 
Attachments:
Last edit: 13 Nov 2023 19:30 by SkyMoCo. Reason: Fixed spacing

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

More
14 Nov 2023 04:20 #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.
Attachments:

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

More
16 Nov 2023 02:53 #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
16 Nov 2023 04:02 #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
11 Dec 2023 20:39 #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:9 KB

File Attachment:

File Name: custom.hal
File Size:0 KB

File Attachment:

File Name: WHB04B-6.hal
File Size:13 KB
Attachments:

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

More
10 Jan 2024 18:30 #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.

More
11 Jan 2024 09:00 #290410 by CNC_ANDI
hello i have the same handwheel... works fine for me

followed this guide

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

More
11 Jan 2024 19:15 #290446 by CNC_Tux
Hello Andi,
thank you so much, i know the Video of talla83, this guy is a pretty well teacher of Linuxcnc.
Today i tested a lot of things it different versions of Linuxcnc, and i have a hot suspect of the source of this problem.
With the version 2.8.4. with a configuration of a Mesa 7i76e is working very well, with the same configuration but with a Mesa 7i96S doesnt work the Jogwheel of the xhc-whb04b-6.
I rewritten the configuration by of the Mesa 7i76e to a Mesa 7i96S manually and its working too.
My big suspect is the pncconf program, i am sure here get the Hal a value that prevented to work the xhc-whb04b-6.
Tomorrow i will check something about the values in the hal, because i need to understand the source of the problem.
I will report my experience.
I see, a lot of people here has exactly the same problem.

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

More
12 Jan 2024 08:51 #290482 by CNC_Tux
Now i found the reason about working and not working of the Jogwheel of the xhc-whb04b-6.
Its a issue with MESA 7i96S.
MESA 7i76e works without any problems, but with a MESA 7i96S is possible as well.
in a old configuration i found in the Hal ( was for MESA 7i76e ) "[HMOT](CARD0)"
in the new configuration i found "hm2_7i96s"
[HMOT](CARD0) is working in both configurations with the xhc-whb04b-6
i testet in the Linuxcnc Versions 2.8.4 and 2.9.2 .. in both Versions is working
My Configurations was made with Pncconf
The Inputs and outputs is to write in this way for using with 7i96s :
"[HMOT](CARD0).ssr.00.out-02"  for output
"[HMOT](CARD0).inm.00.input-01" for input

My suspect is the issue the driver for the MESA Card 7i96S !
The solution is to change "hm2_7i96s" to "[HMOT](CARD0)" in your Hal
The following user(s) said Thank You: CNC_ANDI

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

More
13 Jan 2024 17:15 #290571 by poesel
@CNC_Tux where did you change that?

The only reference to 'hm2_7i96s' I found in my configs is in my ini. I tried to exchange it as per above but that didn't work.

Can you maybe post your configs here? Thanks.

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

Time to create page: 0.143 seconds
Powered by Kunena Forum