blockPulse

Generate pulse signal of type Boolean

Extends from BooleanSignals.Interfaces.PartialClockedSO (Block with clocked single output Boolean signals).

Information

The block is similar to the block in Modelica.Blocks.Sources.BooleanPulse, but adapted to work in clocked partitions (by internal sampling of the continuous time variable).

The Boolean output y is a pulse signal:

TickBasedSources_Pulse.png

Example

See model Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.

Parameters

TypeNameDefaultDescription
IntegerwidthTicks1Width of one pulse in clock ticks
IntegerperiodTicks2Number of clock ticks for one period
IntegerstartTick1Clock tick at which the first pulse starts

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanOutputy (from PartialClockedSO)Connector of clocked, Real output signal