OnDelayDelay a rising edge of the input, but do not delay a falling edge. |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
A rising edge of the Boolean input u gives a delayed output. A falling edge of the input is immediately given to the output.
Simulation results of a typical example with a delay time of 0.1 s is shown in the next figure.
The usage is demonstrated, e.g., in example Modelica.Blocks.Examples.BooleanNetwork1.
delayTime |
Value: Type: Time (s) Description: Delay time |
---|
u |
Type: BooleanInput Description: Boolean input signal |
|
---|---|---|
y |
Type: BooleanOutput Description: Boolean output signal |
Modelica.Blocks.Examples Demonstrates the usage of blocks from Modelica.Blocks.MathBoolean |