blockAfter
Output is true, after first rising edge of input
Information
Syntax
condition = After(u=...).y;
Description
At the first rising edge of Boolean input u, output y = true (and remains true). If input u = true at initialization, y = true always.
Example
This block is demonstrated with the following example:
results in
![]() |
|
| simulation result |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.BooleanOutput | y | = true, after first rising edge of u |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | u | Boolean input |
