Triggered Add - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

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 .

If the reset port is enabled with use reset, then the output is reset to either set (if enabled via use set) or to , whenever the reset port has a rising edge.

Connections

Name

Description

Modelica ID

Integer input signal

u

Integer output signal

y

Boolean input

trigger

Boolean input

reset

Integer input

set

Parameters

Name

Default

Units

Description

Modelica ID

use reset

 

True (checked) enables the reset port

use_reset

use set

 

True (checked) enables the set port

use_set

 

Initial and reset value of  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

 


Download Help Document