Turn Spindle off while paused
19 Aug 2013 03:00 #37822
by rene-dev
Turn Spindle off while paused was created 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
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.
19 Aug 2013 03:30 #37823
by BigJohnT
JT
Replied by BigJohnT on topic Turn Spindle off while paused
(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.
19 Aug 2013 03:45 #37824
by rene-dev
Replied by rene-dev on topic Turn Spindle off while paused
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?
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.
19 Aug 2013 12:23 #37830
by cmorley
Replied by cmorley on topic Turn Spindle off while paused
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
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.
19 Aug 2013 18:31 - 19 Aug 2013 18:31 #37841
by ArcEye
Replied by ArcEye on topic Turn Spindle off while paused
Hi
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
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.408 seconds