blockVariableBooleanPulse
Generate pulse signal of type Boolean
Extends from Modelica.Blocks.Interfaces.partialBooleanSource (Partial source block (has 1 output Boolean signal and an appropriate default icon)).
Information
The Boolean output y is a pulse signal:
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | startTime | 0 | Time instant of first pulse |
| Modelica.Units.SI.Time | sampleInterval | 1e-2 |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Blocks.Interfaces.BooleanOutput | y (from partialBooleanSource) | Connector of Boolean output signal | |
| Modelica.Blocks.Interfaces.BooleanInput | pwm | ||
| Modelica.Blocks.Interfaces.IntegerInput | period | Pulse time in microseconds | |
| Modelica.Blocks.Interfaces.IntegerInput | width | Pulse width in microseconds |