is there driver for the new XHC-WHB04B-4

More
7 years 5 months ago #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

Please Log in to join the conversation.

More
7 years 5 months ago #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 to join the conversation.

More
6 years 9 months ago #154669 by jarcysgru
Hello, please describe how to run MPG
XHC-WHB04B-4 USB cable.
Step by step .

Please Log in to join the conversation.

More
6 years 9 months ago #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.

smalla wrote: 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 to join the conversation.

More
6 years 8 months ago #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.

Attachment not found



I had running spindle control according to this guide on Linuxcnc 2.7.14 and it was OK

Please Log in to join the conversation.

More
6 years 8 months ago #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 to join the conversation.

Time to create page: 0.099 seconds
Powered by Kunena Forum