Variable x limitation:
if x > max, then:
y = max
hi = true
lo = false
otherwise, if x < min, then:
y = min
hi = false
lo = true
otherwise:
y = x
hi = false
lo = false
| Function Menu | Block Diagram |
|---|---|
![]() |
![]() |
| Name | Type | Description |
|---|---|---|
x |
float int32 |
Input variable |
max |
float int32 |
Maximum value |
min |
float int32 |
Minimum value |
| Name | Type | Description |
|---|---|---|
y |
int32 float |
If x is less than min, the output will be min.If x is greater than max, the output will be max.Otherwise, the output will be the value of x. |
hi |
bool |
The input value is greater than the maximum |
lo |
bool |
The input value is less than the minimum |
The type of the output value is determined by the type of the value at input x.
Not available