SetWithin
Inputs
IN : ANY Input
MIN : ANY Low limit of the intervalMAX : ANY
High limit of the intervalVAL : ANY
Value to apply when inside the interval
Outputs
Q : ANY Result
Truth Table
In | Q |
---|---|
IN < MIN | IN |
IN > MAX | IN |
MIN < IN < MAX | VAL |
Remarks
The output is forced to VAL when the IN value is within the [MIN ... MAX] interval. It is set to IN when outside the interval.