is there driver for the new XHC-WHB04B-4

More
11 May 2019 11:35 - 11 May 2019 11:36 #133444 by careyer
Thank you @smalla,

my problem is that somehow I am stuck at 2.7.14 (the latest iso image). Somehow it won't update / upgrade via apt-get. I have no idea how to update to LinuxCNC v2.8. I would really like to do so because I like the layout of the new XHC-WHB04B-4 even better than the older model. Can you point me to the right direction how to perfom the update to 2.8? Thanks!!

Best regards
Thomas
Last edit: 11 May 2019 11:36 by careyer.

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

More
11 May 2019 13:40 #133447 by szechyjs
If you are on Ubuntu you can use my nighty builds of 2.8.

launchpad.net/~szechyjs/+archive/ubuntu/linuxcnc-daily

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

More
12 Jan 2020 13:35 #154669 by jarcysgru
Hello, please describe how to run MPG
XHC-WHB04B-4 USB cable.
Step by step .

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

More
17 Jan 2020 14:01 #155061 by InnerBushman
Hello, I'm also on 2.7.14 and would like to configure the driver for this wireless pendant. Unfortunately reading this thread i was unable to locate any files necessary.

My code should work with the WHB04B-4 with some USB ID changes in the code, but only with LinuCNC v 2.8.

Smalla, can you provide the the code for XHC-WHB04B as an attachment here on the forums? I was unable to find it in your github project. Thanks in advance!

Cheers,
Bushman

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

More
05 Feb 2020 21:20 - 05 Feb 2020 21:28 #156606 by jarcysgru
Hello, I started XHC-WHB04B-4 I tested working but I had to install Linuxcnc 2.9 on Debian 7
Gives the link and my poor quality video

www.cnc.info.pl/mpg-linuxcnc-2-9-usb-cnc...dant-t103332-60.html
www.machmaker.pl/1_10_5_instrukcja-insta...stemie-debian-7.html


Now I have a problem how to set the huanyang spindle control via RS-485 in Linuxcnc 2.9 and that's because I don't know how to mark in the configuration card that has changed take it.



I had running spindle control according to this guide on Linuxcnc 2.7.14 and it was OK
Attachments:
Last edit: 05 Feb 2020 21:28 by jarcysgru.

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

More
06 Feb 2020 22:32 #156660 by jarcysgru
This is my mistake with Huanyang RS-485.
Debug file information:
./custom.hal:8: Pin 'motion.spindle-forward' does not exist

custom.hal
loadusr -Wn vfd hy_vfd -n vfd -d /dev/ttyUSB0 -p none -r 9600

net spindle-cmd-rpm-abs => vfd.speed-command
net spindle-cw motion.spindle-forward => vfd.spindle-forward
net spindle-ccw motion.spindle-reverse => vfd.spindle-reverse
net on motion.spindle-on => vfd.spindle-on



custom_postgui.hal
net spindle-cmd-rpm-abs => pyvcp.spindle-speed

net spindle-at-speed => pyvcp.spindle-at-speed-led
net spindle-at-speed => vfd.spindle-at-speed


setp vfd.enable 1

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

Time to create page: 0.163 seconds
Powered by Kunena Forum