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:
Example
See model Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | widthTicks | 1 | Width of one pulse in clock ticks |
| Integer | periodTicks | 2 | Number of clock ticks for one period |
| Integer | startTick | 1 | Clock tick at which the first pulse starts |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.BooleanOutput | y (from PartialClockedSO) | Connector of clocked, Real output signal |