XHC WHB04b-6 - Disconnects / freezes?
05 Nov 2024 07:00 #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 or Create an account to join the conversation.
05 Nov 2024 08:46 #313800
by zmrdko
Replied by zmrdko on topic XHC WHB04b-6 - Disconnects / freezes?
i have the same MPG and on linuxcnc 2.9.3 and I am experiencing same disconnects.
I support Mecanix opininon - the MPG should be hard wired.
I support Mecanix opininon - the MPG should be hard wired.
Please Log in or Create an account to join the conversation.
05 Nov 2024 11:48 #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 or Create an account to join the conversation.
06 Nov 2024 10:56 #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
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
Attachments:
Please Log in or Create an account to join the conversation.
Time to create page: 0.081 seconds