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