Varispeed Control

More
27 Feb 2018 22:33 #106677 by Sbray
Varispeed Control was created by Sbray
I recently retrofitted a Hurco knee mill using a Mesa 5i25-7i77. This machine has a motor drive by contractors that moves the variable speed pulley to adjust speed. The rest of the machine works very well but I need to set the speed manually. I would like to control this via linuxcnc. I am working on integrating an encoder to measure spindle speed and I was planning to activate these via a relay as they are 110v for control. Is there a good way to link the an output from Hal for speed increase and decrease when an ā€œSā€ command is issued?

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

More
05 Mar 2018 21:32 #106979 by andypugh
Replied by andypugh on topic Varispeed Control
Would imagine that you would do this with a wcomp HAL component.

linuxcnc.org/docs/2.7/html/man/man9/wcomp.9.html

You could either calculate the ratio of requested speed to actual speed and work as a percentage (there is no divide in HAL, you need to use the invert and mult2 components.) with fixed limits on the wcomp, or connect the limits of wcomp to the commanded speed +/- an offset (using 2 x sum2)
Then drive the motors one way with wcomp.0.under and the other way with wcomp.0.over.

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

Time to create page: 0.065 seconds
Powered by Kunena Forum