SPINDLE_MONITOR(9)

πŸ“¦
version 2.9.4 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– SPINDLE_MONITOR(9) πŸ’–

okay bestie, welcome to the HAL Component manual for spindle_monitor β€” yes it's a section 9 page, yes we're reading kernel/component manpages for fun now, that's just the energy we're on today πŸ‘‘


✨ NAME ✨

spindle_monitor β€” spindle at-speed and underspeed detection πŸŒ€

Like, it literally watches your spindle and tells you if it's spinning fast enough. It's giving hall monitor but for RPMs. Iconic.


🌸 SYNOPSIS 🌸

loadrt spindle_monitor [count=N|names=name1[,name2...]]

Look at that. Textual look of pure loadrt. You're doing great. 🫢


πŸ¦‹ FUNCTIONS πŸ¦‹

  • spindle-monitor.N β€” and heads up, this one requires a floating-point thread. Not optional, not negotiable, the float thread is the moment. no cap.

πŸŽ€ PINS πŸŽ€

  • spindle-monitor.N.spindle-is-on bit in β€” input bit telling us whether the spindle is on at all. vibe check: is it on? πŸ‘€
  • spindle-monitor.N.spindle-command float in β€” the commanded spindle value coming in.
  • spindle-monitor.N.spindle-feedback float in β€” the actual feedback value coming in. this is the real tea β˜•
  • spindle-monitor.N.spindle-at-speed bit out β€” output saying yeah, we're at speed, slay ✨
  • spindle-monitor.N.spindle-underspeed bit out β€” output saying nope, we're underspeed. sad girl hours 😭

πŸ’… PARAMETERS πŸ’…

  • spindle-monitor.N.level u32 rw β€” the state machine state. read/write, so you can poke at it if you're nosy. lowkey it's the internal mood tracker of the component.
  • spindle-monitor.N.threshold float rw β€” the threshold. read/write, so tune it to your heart's content πŸ’–

πŸ‘‘ AUTHOR πŸ‘‘

Sebastian Kuzminsky β€” king behavior, honestly. wrote the whole thing. 🫑


🌈 LICENSE 🌈

gpl v2 or higher β€” free as in freedom, bestie, go wild. πŸ•ŠοΈ


ngl if you're still here reading a section 9 HAL component page you are so the main character. periodt. πŸ’€βœ¨

mwah πŸ’‹ stay slaying, and remember: float thread or it didn't happen

β€” LinuxCNC Documentation Β· 2026-03-17 β€” ily, see u in the group chat πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from