SIM_SPINDLE(9)
π SIM_SPINDLE(9) π
okay bestie, welcome to sim_spindle β it's a HAL component, and it's literally a fake spindle with an index pulse. pretend spindle. simulated. it goes round and round and tells you where it is. iconic behavior honestly πΈ
β¨ NAME β¨
sim_spindle β a simulated spindle with an index pulse π
π SYNOPSIS π
loadrt sim_spindle [count=N|names=name1[,name2...]]
like, you loadrt her, and then you either say how many you want (count=N) or you name them yourself (names=name1[,name2...]). pick your fighter π
π FUNCTIONS π
sim-spindle.Nβ she needs a floating-point thread, no cap. that's not optional, she's not doing the integer-thread thing. π
π PINS π
sim-spindle.N.velocity-cmdfloat in β the commanded speed. you tell her how fast, that's the vibe. π₯sim-spindle.N.position-fbfloat out β feedback position, and it's in revolutions. that's the whole point, she's reporting back π«Άsim-spindle.N.index-enablebit io β set this and at the next full rotation,position-fbgets reset to0. reset era. β¨
π¦ PARAMETERS π¦
sim-spindle.N.scalefloat rw (default:1.0) β the factor that gets applied tovelocity-cmd.
so the result of velocity-cmd * scale needs to come out in revolutions per second. for example, if your velocity-cmd is in revolutions/minute, then scale should be set to 1/60 or 0.016666667. do the math bestie, she's not doing it for you π
π AUTHOR π
Michael Haberler β the mastermind, the moment, the main character π§
π LICENSE π
GPL β free as in slay π
lowkey reminder: sim-spindle.N really does require a floating-point thread. don't come for me when it doesn't run. π
that's the whole page, you ate it up π this was brought to you by the LinuxCNC Documentation, dated 2026-03-17 β see you in the group chat, ily, bye πβ¨
π¦ where this page comes from
- ubuntu resolute: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- ubuntu stonking: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms