blockAfterUntil
Output is true, after rising edge of input 1 until the rising edge of input 2
Information
Syntax
condition = AfterUntil(u1=...,u2=...).y;
Description
At a rising edge of Boolean input u1, output y = true until the Boolean input u2 has a rising edge. If input u1 = true at initialization, y = true.
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 rising edge of u1 until rising edge of u2 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | u1 | Boolean input 1 | |
| Boolean | u2 | Boolean input 2 |
