Axis Spindle Override Slider

More
24 Aug 2017 19:37 #97972 by photomankc
I've got my spindle controls hooked up and working for on/off and fwd/rev (got to work up the nerve to connect the PWM outputs on the MX4660 to the KBIC unit for speed) but I noticed that even though the spindle-override components in HALUI are active and work, the slider is not displayed in AXIS for adjusting that. I've got plans to use an MPG widget to control that value but would like for the slider to also be present where the other override sliders are located. What does AXIS need to see before that appears in the GUI?

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

More
30 Aug 2017 13:03 #98206 by andypugh
It looks like it needs to see one of the motion.spindle-speed-out... pins
github.com/LinuxCNC/linuxcnc/blob/master...cripts/axis.py#L3983

Add a line
net spindle-dummy motion.spindle-speed-out-rps-abs
to the main HAL file (or, if you are actually using that pin, use one of the other ones in line 3983)

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

More
30 Aug 2017 14:18 - 31 Aug 2017 13:47 #98212 by photomankc
I ran into that solution quite by accident. The PWM did not like negative values and would not respond to CCW commanded speed. I hooked up to the ABS pin to solve that issue. I later noticed that the slider was now visible but I had made a number of changes and was not sure what did it. At first I thought it was an update to the latest version but now I see I just hooked up to the right pin.

Thanks!
Last edit: 31 Aug 2017 13:47 by photomankc.

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

Time to create page: 0.084 seconds
Powered by Kunena Forum