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.TimeBasedPulse.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | width | 50 | Width of pulse in % of period |
| SI.Time | period | Time for one period | |
| SI.Time | startTime | 0 | Time instant of first pulse |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.BooleanOutput | y (from PartialClockedSO) | Connector of clocked, Real output signal |