Recommended way to implement spindle enable conditions?

More
10 Jul 2026 11:26 #347658 by TripleM
Hi everyone,I'd like to add some safety conditions for enabling the spindle on my lathe.The spindle should only be allowed to start if all required conditions are met, for example:
  • The auxiliary drives are enabled.
  • The chuck is clamped (clamping pressure is present).
  • (I may add more conditions later.)
My first idea was to simply combine these signals with one or more
and2
components and use the result as the spindle enable signal.Something along the lines of:
net spindle-enable-request ...
net aux-drives-on ...
net chuck-clamped ...

and2.0.in0 <= spindle-enable-request
and2.0.in1 <= aux-drives-on
...
Is this the usual way to implement this in LinuxCNC, or is there a better or more recommended approach?How have you implemented spindle interlocks on your machines?Thanks!

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

Time to create page: 0.140 seconds
Powered by Kunena Forum