WOLFRAM SYSTEM MODELER

Pulse

Generate pulse signal of type Boolean

Wolfram Language

In[1]:=
SystemModel["Modelica_Synchronous.BooleanSignals.TickBasedSources.Pulse"]
Out[1]:=

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:

Example

See model Modelica_Synchronous.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_Synchronous.Examples.Elementary.BooleanSignals

Example of using the clock tick based Boolean Pulse source block