Modelica.Blocks.MathBoolean.OnDelay
Delay a rising edge of the input, but do not delay a falling edge.
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.
Extends from Modelica.Blocks.Interfaces.PartialBooleanSISO_small (Partial block with a BooleanInput and a BooleanOutput signal and a small block icon).
| Type | Name | Default | Description |
|---|---|---|---|
| Time | delayTime | Delay time [s] |
| Type | Name | Description |
|---|---|---|
| input BooleanInput | u | Boolean input signal |
| output BooleanOutput | y | Boolean output signal |