Pulse

Generate pulse signal of type Boolean

Information

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

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 (3)

widthTicks

Value: 1

Type: Integer

Description: Width of one pulse in clock ticks

periodTicks

Value: 2

Type: Integer

Description: Number of clock ticks for one period

startTick

Value: 1

Type: Integer

Description: Clock tick at which the first pulse starts

Connectors (1)

y

Type: BooleanOutput

Description: Connector of clocked, Real output signal

Used in Examples (1)

TickBasedPulse

Modelica.Clocked.Examples.Elementary.BooleanSignals

Example of using the clock tick based Boolean Pulse source block