XHC-WHB04B-6 LinuxCNC not working

More
7 years 9 months ago #125203 by nonkeldw
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?

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

More
7 years 9 months ago #125207 by andypugh

nonkeldw wrote: 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.

More
7 years 9 months ago #125421 by nonkeldw
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

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

More
7 years 9 months ago #125424 by andypugh
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:
Code:
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.

More
7 years 9 months ago #125487 by nonkeldw
Hello
Thanks, the machine is now reacting on the pendant. But the scale is not yet correct interpreted. The scale stay on 2, it is not changing with the button. When I run the code in debug mode the driver reacts on the change... but there is no change in LinuxCNC

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

More
7 years 8 months ago #126335 by andypugh
This sounds like a HAL connection problem to the jog scale inputs

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

Time to create page: 0.445 seconds
Powered by Kunena Forum