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: )