Turn Spindle off while paused

More
19 Aug 2013 03:00 #37822 by rene-dev
Hi,
My mill has no VFD, only a 18 speed gearbox which I can only change while not in motion.
To have a manual spindle override I would like to change gear while paused, but I do not know how
to turn off the spindle while paused.

Thanks,

Rene

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

More
19 Aug 2013 03:30 #37823 by BigJohnT
(MSG, Change to 3)
M5
M0 (code pauses here until start is pressed)
M3

JT

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

More
19 Aug 2013 03:45 #37824 by rene-dev
ok, I get what you are suggesting, but sometimes I need to change the speed in the middle of a program while it is running.
when I hit the pause button, the servos stop, but the spindle keeps running.
sort of like the spindle override slider.
hit pause, change gear, continue. anywhere, anytime.
Is there some easier way than adding some hal component after spindle-on that checks if the program is paused?

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

More
19 Aug 2013 12:23 #37830 by cmorley
Well I cringe a little about suggesting this...
If you are using AXIS....

look in the INI file under [DISPLAY]

look for (and change) or add the line:

MIN_SPINDLE_OVERRIDE = 0

Now you can turn the spindle down to nothing.

Just remember that you can do that at anytime not just while paused!

Chris M

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

More
19 Aug 2013 18:31 - 19 Aug 2013 18:31 #37841 by ArcEye
Hi

Is there some easier way than adding some hal component after spindle-on that checks if the program is paused?


I would have thought that hal was the easier way.

See www.linuxcnc.org/docs/devel/html/gui/halui.html, specifically halui.program.is-paused and halui.program.is-running

One of these could be connected via an or component or an and component, depending upon the logic, along with your spindle feed signal, and would cut the spindle, when program was paused or when it was not running, again logic dependant.

regards
Last edit: 19 Aug 2013 18:31 by ArcEye.

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

Time to create page: 0.117 seconds
Powered by Kunena Forum