LIMIT2(9)
π NAME π
ok so limit2 β HAL Component, bestie. it's the little icon that keeps your output signal locked between min and max, and ALSO caps how fast it can move so the slew rate stays under maxv per second. and if the signal happens to be a position? then congrats, you're limiting position and velocity at the same time. she does both. periodt. π
β¨ SYNOPSIS β¨
loadrt limit2 [count=N|names=name1[,name2...]]
π¦ FUNCTIONS π¦
limit2.Nβ this one NEEDS a floating-point thread, no exceptions bestie, she will not run anywhere else π
π PINS π
so like, every pin gets the .N suffix because you can have a whole squad of them (that's the count/names thing, iykyk π):
limit2.N.infloat in β the input signal walks in here πͺlimit2.N.outfloat out β and the limited, rate-capped, well-behaved version comes out here β¨limit2.N.loadbit in β when this is TRUE, she immediately setsouttoin, straight up ignoringmaxv. zero chill, no ramp, just vibes. πlimit2.N.minfloat in (default:-1e20) β the floor, the lower bound, the "you shall not pass downward" π«Άlimit2.N.maxfloat in (default:1e20) β the ceiling, the upper bound πlimit2.N.maxvfloat in (default:1e20) β max slew rate per second, i.e. how fast she's allowed to move π₯
ok real talk: those defaults are HUGE numbers (1e20), so out of the box she's basically not limiting anything. if you actually want limits, you gotta set them yourself, bestie. no cap.
πΈ AUTHOR πΈ
Jeff Epler β the icon who wrote her. respect. π
β LICENSE β
GPL β free and open, slay. π
ok that's the whole manual page for limit2 from the LinuxCNC Documentation, dated 2026-03-17 β and honestly? she ate. go limit something, bestie π§ππ
π¦ 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