Triggered Add
Add input to previous value of output at each trigger
Description
Connections
Parameters
Modelica Standard Library
The Triggered Add component adds the input u to the previous value of the output y when the trigger port has a rising edge.
The output is initialized to y0.
If the reset port is enabled with use reset, then the output is reset to either set (if enabled via use set) or to y0, whenever the reset port has a rising edge.
Name
Modelica ID
u
Integer input signal
y
Integer output signal
trigger
Boolean input
reset
set
Integer input
Default
Units
use reset
false
True (checked) enables the reset port
use_reset
use set
True (checked) enables the set port
use_set
y0
0
Initial and reset value of y if set port is not used
y_start
The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.
See Also
Integer Math
Signal Blocks
Download Help Document