How to configure a XHC-WHB04B pendant ?

More
5 years 11 months ago #188856 by Nordbär
Hi guys,

i installed a WHB04B pendant in the famous LinuxCNC-V2.8 with help of Peter's (Talla83) Utube-video and the included driver. I followed also the V2.8 documentation.
Have the 4-axis pendant version (LHB04B) with USB-cable and the basic functions are working well, can home all, jog every of the 4 axis, switch diverent coordinate systems, start GCode, etc. (very usefull for a 68.- € pendant with display, delivery included ;--))

But for example: why can i assign Macro1- and Macro2-buttons with functions (e.g. G0 X0 Y0) but not Macro3- and Macro4-buttons ? (Macro5-button works, but not button8 ...)

When i try to find out something, as a newbie i get very fast lost in time and space of the LinuxCNC-universe.

Where to find informations about this topic or who can tell me more please ?

Cheers, Norbert

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

More
5 years 11 months ago #189271 by tommylight
The following user(s) said Thank You: Nordbär

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

More
5 years 10 months ago - 5 years 10 months ago #192039 by Nordbär
Hello 'Tommylight',

thank you for advice, i still working on the 37 links i got from this.

This is what i wanted to say, as a normal user it takes a lot of time to get into this theme (and i actually do not want to become a 'specialist' ;--)

It is difficult to see wich information belongs and wich one is outdated and not valid or usefull or ment for something else, a lot of terms that you have never heard before ...

Some things i could adjust till now, but a lot is not clear (different versions / buttons of the pendant ?, auto-mode and the other modes ? etc.)

i think anyone installing this good pendant has nearly the same problems.
Last edit: 5 years 10 months ago by Nordbär.

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

More
More
5 years 10 months ago - 5 years 10 months ago #192065 by alkabal
github.com/LinuxCNC/linuxcnc/blob/2.8/sr...ple-configuration.md


This file is near a ready to use hal file to add to your config.

Download and rename the file example-configuration.md to xhc-whb04b-6-mill.hal put this in your config folder.

So basically you only need to download this file : (untested wget command...)
Code:
cd your_config_directory wget -O xhc-whb04b-6.hal https://github.com/LinuxCNC/linuxcnc/raw/master/src/hal/user_comps/xhc-whb04b-6/example-configuration.md mv example-configuration.md xhc-whb04b-6.hal


Edit your "know as working config.ini"
nano your_config.ini

for adding
Code:
[HALUI] MDI_COMMAND=(debug,macro0) MDI_COMMAND=(debug,macro1) MDI_COMMAND=(debug,macro2) MDI_COMMAND=(debug,macro3) MDI_COMMAND=(debug,macro4) MDI_COMMAND=(debug,macro4) MDI_COMMAND=(debug,macro6) MDI_COMMAND=(debug,macro4) MDI_COMMAND=(debug,macro8) MDI_COMMAND=(debug,macro9) MDI_COMMAND=(debug,macro10) MDI_COMMAND=(debug,macro11) MDI_COMMAND=(debug,macro12) MDI_COMMAND=(debug,macro13) MDI_COMMAND=(debug,macro14) MDI_COMMAND=(debug,macro15) MDI_COMMAND=(debug,macro16)

and add to HAL section (i think before POSTGUI_HALFILE)
Code:
HALFILE = xhc-whb04b-6.hal

thats all ! (i hope :laugh: )
Last edit: 5 years 10 months ago by alkabal.
The following user(s) said Thank You: Donno, Nordbär

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

More
5 years 9 months ago #193786 by Alltrades
Thank you alkabal, tried it and it makes my pendant work.

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

Time to create page: 0.142 seconds
Powered by Kunena Forum