Hold

Hold the clocked, Boolean input signal and provide it as continuous-time output signal (zero order hold)

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This block for Boolean signals works similarly as the corresponding block for Real signals (see RealSignals.Sampler.Hold).

Analog to the corresponding Real signal block example there exists an elementary example for this Boolean block.

Parameters (1)

y_start

Value: false

Type: Boolean

Description: Value of output y before the first tick of the clock associated to input u

Connectors (2)

u

Type: BooleanInput

Description: Connector of clocked, Boolean input signal

y

Type: BooleanOutput

Description: Connector of continuous-time, Boolean output signal

Used in Examples (2)

Sample2

Modelica.Clocked.Examples.Elementary.BooleanSignals

Example of a Sample block for Boolean signals with direct feed-through in the continuous-time and the clocked partition

Hold

Modelica.Clocked.Examples.Elementary.BooleanSignals

Example of a Hold block for Boolean signals

Used in Components (1)

ClockToBoolean

Modelica.Clocked.BooleanSignals.NonPeriodic

Block to translate clock signals to continuous Boolean events (each time the input clock ticks a rising Boolean output edge is produced).