- Posts: 43
- Thank you received: 0
XHC WHB04b-6 - Disconnects / freezes?
1 year 11 months ago #313798
by CNC_Tux
Replied by CNC_Tux on topic XHC WHB04b-6 - Disconnects / freezes?
Hello Community,
i ve the same problem with disconnects and freezes of the WHB04-6 and i think its not a matter of the Linuxcnc Version, its a matter of the source code of the WHB04.
I use Linuxcnc 2.8.4 and gmoccapy with a XHC-WHB04-6 and its working in manual mode very well, but if i move the Jogwhheel in the Mode MDI or in Auto will switch the WHB04 to manual mode.
The problem start if i use the mode Auto and a program is running and i move in this time the Jogwheel ... then i get a fault message " its impossible to switch from Auto to manual mode in a running program" after will freeze the WHB04 in.
I search in the HAL for a solution, but the switch function is programed ( so i suppose ) in the source code.
I think the fault chain start earlier, with the functions "mpg" , "con" and "stp"
With the function "mpg" (directly after start of gmoccapy) is working the Jogwheel at the feeding rate ..... after press on the Button "con" or "stp" is impossible to switch back to "mpg".
Have anybody a solution for this kind of problem?
Thank you so much in advance
Best regards
Reinhard
i ve the same problem with disconnects and freezes of the WHB04-6 and i think its not a matter of the Linuxcnc Version, its a matter of the source code of the WHB04.
I use Linuxcnc 2.8.4 and gmoccapy with a XHC-WHB04-6 and its working in manual mode very well, but if i move the Jogwhheel in the Mode MDI or in Auto will switch the WHB04 to manual mode.
The problem start if i use the mode Auto and a program is running and i move in this time the Jogwheel ... then i get a fault message " its impossible to switch from Auto to manual mode in a running program" after will freeze the WHB04 in.
I search in the HAL for a solution, but the switch function is programed ( so i suppose ) in the source code.
I think the fault chain start earlier, with the functions "mpg" , "con" and "stp"
With the function "mpg" (directly after start of gmoccapy) is working the Jogwheel at the feeding rate ..... after press on the Button "con" or "stp" is impossible to switch back to "mpg".
Have anybody a solution for this kind of problem?
Thank you so much in advance
Best regards
Reinhard
Please Log in to join the conversation.
1 year 11 months ago #313803
by CNC_Tux
Replied by CNC_Tux on topic XHC WHB04b-6 - Disconnects / freezes?
Hello zmrdko,
have you an example for me, how is to do?
Thank you so much in advance
Best regards
Reinhard
have you an example for me, how is to do?
Thank you so much in advance
Best regards
Reinhard
Please Log in to join the conversation.
1 year 11 months ago #313887
by zmrdko
Replied by zmrdko on topic XHC WHB04b-6 - Disconnects / freezes?
you need to buy something like this.
then you take it apart and find out how its wired.
Usually the side button enables the MPG encoder - for safety.
and then you have to connect all wires to your mesa card or whatever interface are you using.
and make hal file for it:
linuxcnc.org/docs/html/examples/mpg.html
Attachment not found
then you take it apart and find out how its wired.
Usually the side button enables the MPG encoder - for safety.
and then you have to connect all wires to your mesa card or whatever interface are you using.
and make hal file for it:
linuxcnc.org/docs/html/examples/mpg.html
Please Log in to join the conversation.
Time to create page: 0.113 seconds
