blockTimer

Timer measuring the time from the time instant where the Boolean input became true
Diagram of Timer

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.

Timer.png

Connectors

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