blockStep
Generate step signal of type Integer
Extends from Interfaces.PartialClockedSO (Block with clocked single output Integer signal).
Information
The block is similar to the block in Modelica.Blocks.Sources.IntegerStep, but adapted to work in clocked partitions (by internal sampling of the continuous time variable).
The Integer output y is a step signal:
Example
See model Modelica.Clocked.Examples.Elementary.IntgerSignals.TimeBasedStep.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | height | 1 | Height of step |
| Integer | offset | 0 | Offset of output signal y |
| SI.Time | startTime | 0 | Output y = offset for time < startTime |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.IntegerOutput | y (from PartialClockedSO) | Connector of clocked, Real output signal |