modelPulseWidthVar
Generates a boolean pulse signal with adjustable pulse width and period
Extends from Modelica.Blocks.Icons.DiscreteBlock (Graphical layout of discrete block component icon).
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | dutyCycle | ||
| Modelica.Blocks.Interfaces.RealInput | periodTime | ||
| Modelica.Blocks.Interfaces.BooleanInput | active | ||
| Modelica.Blocks.Interfaces.BooleanOutput | y | PWM output | |
| Modelica.Blocks.Interfaces.BooleanInput | reset | Begin new pwm cycle | |
| Interfaces.PwmControlBusConnectorOut | pwmControlBusConnectorOut |