Triggered Add - MapleSim Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MapleSim : MapleSim Component Library : Signal Blocks : Integer Math : componentLibrary/signalBlocks/mathInteger/TriggeredAdd

Triggered Add

Add input to previous value of output at each trigger

 

Description

Connections

Parameters

Modelica Standard Library

Description

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.

Connections

Name

Description

Modelica ID

u

Integer input signal

u

y

Integer output signal

y

trigger

Boolean input

trigger

reset

Boolean input

reset

set

Integer input

set

Parameters

Name

Default

Units

Description

Modelica ID

use reset

false

 

True (checked) enables the reset port

use_reset

use set

false

 

True (checked) enables the set port

use_set

y0

0

 

Initial and reset value of y if set port is not used

y_start

Modelica Standard Library

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