
This component will determine which of three ranges the input signal is within, and then output a value corresponding to that region. The regions are defined by a lower input limit and an upper input limit.
The first region is composed of values below the lower limit; the second region is composed of values between the two limits (inclusive); and the third region is composed of values above the upper limit.
If the first and third regions are set to produce the same value, then this component functions as a band detector, outputting one value if the input is between the two limits, and a different value it the input is outside the limits.
Name for Identification |
Text |
Optional text parameter for identification of the component. |
||
Lower Input Limit |
|
REAL |
Variable |
Sets the lower limit of the range (XL) |
|
|
|
|
|
Upper Input Limit |
|
REAL |
Variable |
Sets the upper limit of the range (XU) |
|
|
|
|
|
Output when input is less than the lower limit |
|
REAL |
Variable |
Output when input is less than the lower input limit |
|
|
|
|
|
Output when input is between upper and lower limits |
|
REAL |
Variable |
Output when input is between upper and lower limits |
|
|
|
|
|
Output when input is greater than the upper limit |
|
REAL |
Variable |
Output when input is greater than the upper input limit |
|
|
|
|
|
Dimension |
|
INTEGER |
Literal |
Enter the dimension of the input/output signals. |
|
|
|
|
|
Convert output to nearest integer |
|
Choice |
|
Select Yes or No.
If Yes is selected, the output will be cast using the intrinsic NINT function (nearest integer). |
|
|
|
|
|
Fortran Comment |
|
Text |
|
An optional Fortran comment. The text entered here is included in the project Fortran file |