.\"******************************************************************* .\" .\" This file was extracted from hal/components/limit2.comp using halcompile.g. .\" Modify the source file. .\" .\"******************************************************************* .TH LIMIT2 "9" "2024-03-13" "LinuxCNC Documentation" "HAL Component" .SH 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. .SH SYNOPSIS .HP .B loadrt limit2 [count=\fIN\fB|names=\fIname1\fB[,\fIname2...\fB]] .SH FUNCTIONS .TP \fBlimit2.\fIN\fB\fR (requires a floating-point thread) .SH PINS .TP .B limit2.\fIN\fB.in\fR float in \fR .br .ns .TP .B limit2.\fIN\fB.out\fR float out \fR .br .ns .TP .B limit2.\fIN\fB.load\fR bit in \fR When TRUE, immediately set \fBout\fB to \fBin\fR, ignoring maxv .TP .B limit2.\fIN\fB.min\fR float in \fR(default: \fI-1e20\fR) .br .ns .TP .B limit2.\fIN\fB.max\fR float in \fR(default: \fI1e20\fR) .br .ns .TP .B limit2.\fIN\fB.maxv\fR float in \fR(default: \fI1e20\fR) .SH AUTHOR Jeff Epler .SH LICENSE GPL