WHB04B-6 CNC controller

6 Axis USB Mach3 Wireless Handwheel Controller - Merci Fred! / manual / linuxcnc

see also

caption

LinuxCNC setup

The program xhc-whb04b-6 is bundled with linuxcnc.

Verify that the device appears with lsusb

Then check that it is recognized

$ xhc-whb04b-6 -u # put you in interactive mode

# some output that will be triggered by event on the jog dial
# and the LCD should display selection

Hal configuration

Then Add the relevant part into your .hal files You can use the example here

hal sample
### Hal File xhc_whb04b_6.hal Example
#
# ######################################################################
# load pendant components
# ######################################################################

loadusr -W xhc-whb04b-6 -HsfB

# ######################################################################
# pendant signal configuration
# ######################################################################

# On/Off signals
net machine.is-on halui.machine.is-on whb.halui.machine.is-on
net pdnt.machine.on whb.halui.machine.on halui.machine.on
net pdnt.machine.off whb.halui.machine.off halui.machine.off

...

Misc..?

Written on April 18, 2022, Last update on May 16, 2025
cnc remote