SetWithin
.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
IN |
ANY |
|
|
|
Input. |
MIN |
ANY |
|
|
|
Low limit of the interval. |
MAX |
ANY |
|
|
|
High limit of the interval. |
VAL |
ANY |
|
|
|
Value to apply when inside the interval. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Q |
ANY |
|
|
Result. |
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.
Truth Table
In |
Q |
---|---|
IN < MIN |
IN |
IN > MAX |
IN |
MIN < IN < MAX |
VAL |
FBD Language Example
Not available.
FFLD Language Example
Not available.
IL Language Example
Not available.
ST Language Example
Not available.