logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

limit2 - Limit the output signal to fall between min and max and limit its slew rate to less than maxv

Author

       Jeff Epler

Functions

limit2.N (requires a floating-point thread)

License

       GPL

LinuxCNC Documentation                             2025-08-07                                          LIMIT2(9)

Name

       limit2  -  Limit  the output signal to fall between min and max and limit its slew rate to less than maxv
       per second.  When the signal is a position, this means that position and velocity are limited.

Pins

limit2.N.in float in
       limit2.N.out float out
       limit2.N.load bit in
              When TRUE, immediately set outtoin, ignoring maxv

       limit2.N.min float in (default: -1e20)
       limit2.N.max float in (default: 1e20)
       limit2.N.maxv float in (default: 1e20)

Synopsis

loadrtlimit2[count=N|names=name1[,name2...]]
return

See Also