blockDelayedRising
Output y is true after a duration of a rising input edge and false after a falling input edge
Information
Syntax
condition = DelayedRising(u=..., duration=...).y;
Description
Output y = true, after a rising edge of the input u and after u remains true for at least the defined duration . After a falling edge of u, y = false immediately.
Example
This block is demonstrated with the following example:
results in
![]() |
|
| simulation result |
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | duration | Duration after rising edge of u |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.BooleanOutput | y | = true, after rising edge of u for given duration |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | u | Boolean input |
