LIMIT2(9)

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

πŸ’– 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.in float in β€” the input signal walks in here πŸšͺ
  • limit2.N.out float out β€” and the limited, rate-capped, well-behaved version comes out here ✨
  • limit2.N.load bit in β€” when this is TRUE, she immediately sets out to in, straight up ignoring maxv. zero chill, no ramp, just vibes. πŸ™ˆ
  • limit2.N.min float in (default: -1e20) β€” the floor, the lower bound, the "you shall not pass downward" 🫢
  • limit2.N.max float in (default: 1e20) β€” the ceiling, the upper bound πŸ‘‘
  • limit2.N.maxv float 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