XHC-WHB04B-6 LinuxCNC not working
26 Jan 2019 19:26 #124922
by nonkeldw
XHC-WHB04B-6 LinuxCNC not working was created by nonkeldw
Hi
I bought me a wireless pendant for using with LinuxCNC. Type: XHC WHB04B-6.
After surfing on the internet I found a GitHub and some threads about this pendant. After the build of the example code, i tested the connection with the pendant. The PC is not able to connect with the wireless stick over the USB connection.
Please find below the already read threads:
forum.linuxcnc.org/24-hal-components/317...hc-whb04b-4?start=20
forum.linuxcnc.org/10-advanced-configura...pulse-coder?start=20
GitHub:
github.com/rubienr/machinekit/blob/featu...c-whb04b-6/README.md
github.com/ctbenergy/linuxcnc/tree/2.7-f...r_comps/xhc-whb04b-6
If you want, I can chare my binary file
Is there anyone that can help me with get this working for LinuxCNC?
Thanks!
I bought me a wireless pendant for using with LinuxCNC. Type: XHC WHB04B-6.
After surfing on the internet I found a GitHub and some threads about this pendant. After the build of the example code, i tested the connection with the pendant. The PC is not able to connect with the wireless stick over the USB connection.
Please find below the already read threads:
forum.linuxcnc.org/24-hal-components/317...hc-whb04b-4?start=20
forum.linuxcnc.org/10-advanced-configura...pulse-coder?start=20
GitHub:
github.com/rubienr/machinekit/blob/featu...c-whb04b-6/README.md
github.com/ctbenergy/linuxcnc/tree/2.7-f...r_comps/xhc-whb04b-6
If you want, I can chare my binary file
Is there anyone that can help me with get this working for LinuxCNC?
Thanks!
Please Log in or Create an account to join the conversation.
29 Jan 2019 17:14 #125179
by andypugh
Replied by andypugh on topic XHC-WHB04B-6 LinuxCNC not working
Which version of linuxCNC are you using?
Does the problem seem to be with LinuxCNC or with the OS wireless connection?
Does the problem seem to be with LinuxCNC or with the OS wireless connection?
Please Log in or Create an account to join the conversation.
29 Jan 2019 19:08 #125194
by nonkeldw
Replied by nonkeldw on topic XHC-WHB04B-6 LinuxCNC not working
Hello
Thanks for your answer. I use LinuxCNC 2.8.0.
At this time it is a HALL component problem. The buttons from the pendant are working ( I checked this with the Hall meter) but the MPG doesn't work... when i check this with the hall meter, the value stays zero. I used the template from Github: github.com/ctbenergy/linuxcnc/blob/2.7-f...ple-configuration.md
I changed al the AXIS tot Joints.
But that doesn't the trick.
Thanks for your answer. I use LinuxCNC 2.8.0.
At this time it is a HALL component problem. The buttons from the pendant are working ( I checked this with the Hall meter) but the MPG doesn't work... when i check this with the hall meter, the value stays zero. I used the template from Github: github.com/ctbenergy/linuxcnc/blob/2.7-f...ple-configuration.md
I changed al the AXIS tot Joints.
But that doesn't the trick.
Please Log in or Create an account to join the conversation.
29 Jan 2019 19:23 #125197
by andypugh
Replied by andypugh on topic XHC-WHB04B-6 LinuxCNC not working
Which pins are you looking at with halmeter? Is it possible that the MPG has more than one set of output pins?
(Looking at the docs, though, it does seem pretty clear that it should be "jog-counts")
(Looking at the docs, though, it does seem pretty clear that it should be "jog-counts")
Please Log in or Create an account to join the conversation.
29 Jan 2019 19:35 #125200
by nonkeldw
Replied by nonkeldw on topic XHC-WHB04B-6 LinuxCNC not working
Joint.0.jog-counts. Stay 0..
Please Log in or Create an account to join the conversation.
29 Jan 2019 19:54 #125201
by andypugh
Replied by andypugh on topic XHC-WHB04B-6 LinuxCNC not working
What is it connected to?
Please Log in or Create an account to join the conversation.
29 Jan 2019 20:14 #125203
by nonkeldw
Replied by nonkeldw on topic XHC-WHB04B-6 LinuxCNC not working
net pdnt.axis.0.jog-counts whb.axis.0.jog-counts joint.0.jog-counts
I think the problem is inside the XHC-WHB04-6 driver?
I think the problem is inside the XHC-WHB04-6 driver?
Please Log in or Create an account to join the conversation.
29 Jan 2019 21:15 #125207
by andypugh
It could well be. I don't actually see where in the code the jog-counts are updated.
Do you get any activity in any of the XYZ selector positions, or the feed / spindle override positions?
Replied by andypugh on topic XHC-WHB04B-6 LinuxCNC not working
I think the problem is inside the XHC-WHB04-6 driver?
It could well be. I don't actually see where in the code the jog-counts are updated.
Do you get any activity in any of the XYZ selector positions, or the feed / spindle override positions?
Please Log in or Create an account to join the conversation.
31 Jan 2019 18:22 #125421
by nonkeldw
Replied by nonkeldw on topic XHC-WHB04B-6 LinuxCNC not working
Hello
Thanks for your answer. Now i go a step further... but is not yet working.
The jog-count (joint.0.jog-counts) is incrementing when i turn right and decrementing when i turn left. So this works now. But the machine is still not moving.
Some data:
joint.0.jog-enable = 1
joint.0.jog-scale = 2
joint.0.jog-vel-mode = 1
Thanks for your answer. Now i go a step further... but is not yet working.
The jog-count (joint.0.jog-counts) is incrementing when i turn right and decrementing when i turn left. So this works now. But the machine is still not moving.
Some data:
joint.0.jog-enable = 1
joint.0.jog-scale = 2
joint.0.jog-vel-mode = 1
Please Log in or Create an account to join the conversation.
31 Jan 2019 18:33 #125424
by andypugh
Replied by andypugh on topic XHC-WHB04B-6 LinuxCNC not working
You could try a smaller jog scale. 2 (mm / in) per count is a lot.
Are you using the 2.8 version of LinuxCNC? If so then you also need to connect the axis..jog-* pins too.
An example:
Are you using the 2.8 version of LinuxCNC? If so then you also need to connect the axis..jog-* pins too.
An example:
setp axis.x.jog-enable 1
setp axis.z.jog-enable 1
net selected-jog-incr joint.0.jog-scale axis.x.jog-scale joint.1.jog-scale axis.z.jog-scale
net jog-x-counts joint.0.jog-counts axis.x.jog-counts <= hm2_7i73.0092.enc2.count
net jog-z-counts joint.1.jog-counts axis.z.jog-counts <= hm2_7i73.0092.enc3.count
Please Log in or Create an account to join the conversation.
Time to create page: 0.127 seconds