blockShiftSample

Shift the clocked Boolean input signal by a fraction of the last interval and provide it as clocked output signal

Information

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

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

Parameters

TypeNameDefaultDescription
Shift first clock activation for 'shiftCounter/resolution*interval(u)' seconds
IntegershiftCounter0Numerator 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)