blockBackSample

Shift clock of Boolean input signal backwards in time (and access the most recent value of the input at this new clock)

Information

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

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

Parameters

TypeNameDefaultDescription
Booleany_startfalseValue of output y before the first clock tick of the input u
Shift first clock activation backwards in time for 'shiftCounter/resolution*interval(u)' seconds
IntegerbackCounter0Numerator of shifting formula
Integerresolution1Denominator of shifting formula

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanInputuConnector of clocked, Boolean input signal
Modelica.Blocks.Interfaces.BooleanOutputyConnector of clocked, Boolean output signal (clock of y is faster than clock of u)