Manual speed control using XHC-HB04 pendant

  • javanree
  • javanree's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
17 Aug 2016 18:51 #78955 by javanree
I am running a small 3040 mill as a 3-axis machine using LinuxCNC 2.7.6 on Wheezy
I've hooked up an XHC-HB04 (wired) pendant over USB and most functions are working perfectly

There's only one thing I'd like to be able to change :

When in manual mode I can start and stop the spindle, but I'd like to be able to switch the rotary to 'spindle' and then use the jog wheel to increase / decrease spindle speed and ultimately also not see a spindle RPM percentage in the display but the set spindle RPM (I'm using PWM on LPT pin 17 to control the spindle, no feedback. Minimum RPM is set to 3000 rpm in the configuration)

Is this even possible?

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

More
17 Aug 2016 23:23 #78964 by andypugh
Replied by andypugh on topic Manual speed control using XHC-HB04 pendant

Is this even possible?


It doesn't seem impossible, but it might take some effort.

I think I would do it with a simple custom HAL component that watches xhc-hb04.jog.counts and xhc-hb04.enable-spindle-override, latching the counts and setting an output to 3000 when the enable-spindle-override pin goes to true, and then increasing the output speed command as the counts increase.
You could do it all with existing HAL components, but it would get a bit involved.

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

  • javanree
  • javanree's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
19 Aug 2016 07:39 #79039 by javanree
Replied by javanree on topic Manual speed control using XHC-HB04 pendant
Thanks for the suggestions
Looks like I have some studying on HAL to do
Will post if I've made any progress

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

Time to create page: 0.100 seconds
Powered by Kunena Forum