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

TypeNameDefaultDescription
RealSC_valueFrom 0 to 1

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanInputuConnector of Boolean input signal
Modelica.Blocks.Interfaces.RealOutputyConnector of Real output signal