AfterUntil block
Requirements.TimeLocators.AfterUntil
ยท source
Output is true, after rising edge of input 1 until the rising edge of input 2
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 |
Inputs
| Name | Type | Description |
|---|---|---|
u1 input | Boolean | Boolean input 1 |
u2 input | Boolean | Boolean input 2 |
Components and variables
| Name | Type | Description |
|---|---|---|
y | Modelica.Blocks.Interfaces.BooleanOutput | = true, after rising edge of u1 until rising edge of u2 |

