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:

IntegerStep.png

Example

See model Modelica.Clocked.Examples.Elementary.IntgerSignals.TimeBasedStep.

Parameters

TypeNameDefaultDescription
Integerheight1Height of step
Integeroffset0Offset of output signal y
SI.TimestartTime0Output y = offset for time < startTime

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.IntegerOutputy (from PartialClockedSO)Connector of clocked, Real output signal