XHC-WHB04B-6 LinuxCNC not working

More
26 Jun 2020 17:59 #172810 by alkabal
What is exactly the problem ?

reported error ?

Have you see for make jog to work you need to push Continous or Mpg button because default mode is feed override from wheel

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

More
27 Jun 2020 09:07 #172844 by 00alkskodi00
in simulation mode s working all, i neam the problem is in my config
Attachments:

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

More
27 Jun 2020 12:02 #172852 by alkabal
you can try to edit your hal file

#******************************
# connect miscellaneous signals
#******************************

#  ---HALUI signals---

#net joint-select-a        halui.axis.x.select
net x-is-homed            halui.joint.0.is-homed
net jog-x-pos             halui.axis.x.plus
net jog-x-neg             halui.axis.x.minus
net jog-x-analog          halui.axis.x.analog
#net joint-select-b        halui.axis.y.select
net y-is-homed            halui.joint.1.is-homed
net jog-y-pos             halui.axis.y.plus
net jog-y-neg             halui.axis.y.minus
net jog-y-analog          halui.axis.y.analog
#net joint-select-c        halui.axis.z.select
net z-is-homed            halui.joint.2.is-homed
net jog-z-pos             halui.axis.z.plus
net jog-z-neg             halui.axis.z.minus
net jog-z-analog          halui.axis.z.analog
net jog-selected-pos      halui.axis.selected.plus
net jog-selected-neg      halui.axis.selected.minus
net spindle-manual-cw     halui.spindle.0.forward
net spindle-manual-ccw    halui.spindle.0.reverse
net spindle-manual-stop   halui.spindle.0.stop
net machine-is-on         halui.machine.is-on
net jog-speed             halui.axis.jog-speed 
net MDI-mode              halui.mode.is-mdi

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

More
27 Jun 2020 12:06 - 27 Jun 2020 12:07 #172853 by alkabal
in your log from terminal you can see "
./xhc_whb04b_6.hal:39: Pin 'halui.axis.x.select' was already linked to signal 'joint-select-a'"

Did you really need "joint-select-b" for other hal include ?
Last edit: 27 Jun 2020 12:07 by alkabal.

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

More
03 Jul 2020 15:45 - 03 Jul 2020 15:47 #173531 by photomankc
So I'm seeing a significant problem with the pendant not responding to the first press of a button or quite a few clicks on the wheel. This seems to occur anytime I use anything on my mill (pyVCP panel button, or pendant button) that runs MDI commands. The first time I do it it works fine, but then the jog wheel doesn't respond for a long time, sometimes a couple of spins, then suddenly starts.

That's a really sucky condition. Also, buttons don't seem to respond to a press, but it seems to be the named buttons (IE Safe-Z, W-Home) that behave this way. You have to press 2 or 3 times to get them to finally send a HAL signal. The little block indicating transmit happens but nothing gets to HAL. I've watched on the scope and this has been fairly repeatable.

It's not a reception problem. it can be in the same position and work the jog dial all afternoon but as soon as you execute something that goes into MDI mode to run, the problems begin.

Anyone else experiencing this?

The jog wheel taking several seconds to start moving is the worst part. That's not a good situation if a larger incremental value is selected as you never know how many clicks you need to give it before it starts moving and then it may go a lot further than you planned.
Last edit: 03 Jul 2020 15:47 by photomankc.

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

More
04 Jul 2020 09:09 #173589 by alkabal
Hi

For now the only suggestion is remove temporarily your pyvcp and try to add only the pendant with exemple hal unmodified.

I does not have the same problem.

br

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

More
04 Jul 2020 09:46 #173590 by 00alkskodi00
After comment in my HAL
#net joint-select-a        halui.axis.x.select
#net joint-select-b        halui.axis.y.select
#net joint-select-c        halui.axis.z.select
linuxcnc start normal, but a can not move with X Y Z axis on pedant

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

More
26 Jul 2020 13:15 #175895 by crowloy
Having an issue with is-mdi already being assigned. I've inserted a pic of the error. The link to the github page does not include a example .hal file.There is a kind of readme md file for the example hal file, but the pin definitions are all jumbled
Attachments:

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

More
29 Jul 2020 00:31 #176315 by alkabal
Hi

I think you simply need to remove the "setp MDI-mode halui.mode.is-mdi" from you main ini file that is not really used.

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

More
20 Aug 2020 14:36 - 20 Aug 2020 14:40 #178831 by romeofox
The hal component (xhc-whb04b-6) seems to react too slowly or not correctly with my machine. For the knobs this is inconspicuous, but during the normal rotation of the handwheel much too few impulses are transmitted (e.g. whb.axis.0.jog-counts).

I tried it with V2.8 and V2.9 as well as Debian 9 and Debian 10.
But maybe it is also due to the usb controller of my mainboard J5005-ITX.

Is this known/is there already a solution for this?

Regards, Robert
Last edit: 20 Aug 2020 14:40 by romeofox.

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

Time to create page: 0.148 seconds
Powered by Kunena Forum