blockTimer
Timer measuring the time from the time instant where the Boolean input became true
Extends from Modelica.Blocks.Icons.PartialBooleanBlock (Basic graphical layout of logical block).
Information
When the Boolean input u becomes true, the timer starts and the output y is the time that has elapsed since u became true. When the input becomes false, the timer stops and the output is reset to zero.
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Blocks.Interfaces.BooleanInput | u | Connector of Boolean input signal | |
| Blocks.Interfaces.RealOutput | y | Connector of Real output signal |