Resume with spindle inhibit

More
5 years 10 months ago #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 to join the conversation.

More
5 years 10 months ago #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 to join the conversation.

More
5 years 10 months ago #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 to join the conversation.

More
5 years 10 months ago #192881 by cmorley
Replied by cmorley on topic Resume with spindle inhibit
It will not wait for up to speed.

Please Log in to join the conversation.

Time to create page: 3.666 seconds
Powered by Kunena Forum