Resume with spindle inhibit

More
22 Dec 2020 18:09 #192841 by underscore
I'm considering automatically stopping the spindle during a pause of the program by simply connecting

halui.program.is−paused and spindle.0.inhibit

. If I paused during a G1, for example, would linuxcnc wait until the spindle is back at speed when I resume the program or instantly resume feeding?

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

More
22 Dec 2020 19:12 #192847 by Todd Zuercher
I don't think it would in that case. I think Linuxcnc only waits for the spindle at speed signal after an M3 or an S-code that changes the commanded spindle speed.

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

More
22 Dec 2020 21:41 #192871 by underscore
This is what I found in the man-page:

spindle.M.at−speed IN BIT
Motion will pause until this pin is TRUE, under the following conditions: before the first feed move after each spindle start or speed change; before the start of every chain of spindle−synchronized moves; and if in CSS mode, at every rapid−>feed transition.


I might have to look at the source code unless someone who's more familiar with the code knows the answer on top of their head.

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

More
22 Dec 2020 22:18 #192881 by cmorley
Replied by cmorley on topic Resume with spindle inhibit
It will not wait for up to speed.
The following user(s) said Thank You: underscore

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

Time to create page: 0.062 seconds
Powered by Kunena Forum