RealToLogicReal to Logic converter |
|
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Conversion of a real input into a digital output without any delay according to:
condition output
first check: input greater upp lupp
second check: input larger low llow
else lmid
If the signal width is greater than 1 this conversion is done for each signal.
| n |
Value: Type: Integer Description: signal width |
|---|---|
| upper_limit |
Value: Type: Real Description: upper limit |
| lower_limit |
Value: Type: Real Description: lower limit |
| upper_value |
Value: Type: Logic Description: output if input > upper_limit |
| lower_value |
Value: Type: Logic Description: output if input < lower_limit |
| middle_value |
Value: Type: Logic Description: output else |
| x |
Type: RealInput[n] |
|
|---|---|---|
| y |
Type: DigitalOutput[n] |