blockTriggeredAdd

Add input to previous value of output, if rising edge of trigger port

Extends from Interfaces.PartialIntegerSISO (Partial block with a IntegerInput and an IntegerOutput signal).

Parameters

TypeNameDefaultDescription
Booleanuse_resetfalse=true, if reset port enabled
Booleanuse_setfalse=true, if set port enabled and used as default value when reset
Integery_start0Initial and reset value of y if set port is not used

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.IntegerOutputy (from PartialIntegerSISO)
Modelica.Blocks.Interfaces.IntegerInputu (from PartialIntegerSISO)
Modelica.Blocks.Interfaces.BooleanInputtrigger
Modelica.Blocks.Interfaces.BooleanInputreset
Modelica.Blocks.Interfaces.IntegerInputset