blockSC_crack
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 is started and the output "y" is the time from the time instant where u became true. The timer is stopped and the output is reset to zero, once the input becomes false.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | SC_value | From 0 to 1 |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.BooleanInput | u | Connector of Boolean input signal | |
| Modelica.Blocks.Interfaces.RealOutput | y | Connector of Real output signal |