WOLFRAM SYSTEM MODELER
ChangingEdgeOutput y is true, if the input u has either a rising or a falling edge and otherwise it is false (y=change(u)) |
SystemModel["Modelica.Blocks.MathBoolean.ChangingEdge"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
A changing edge, i.e., either rising or falling, of the Boolean input u results in y = true at this time instant. At all other time instants, y = false.
The usage is demonstrated, e.g., in example Modelica.Blocks.Examples.BooleanNetwork1.
pre_u_start |
Value: false Type: Boolean Description: Value of pre(u) at initial time |
---|
u |
Type: BooleanInput Description: Boolean input signal |
|
---|---|---|
y |
Type: BooleanOutput Description: Boolean output signal |
Modelica.Blocks.Examples Demonstrates the usage of blocks from Modelica.Blocks.MathBoolean |
Modelica.Clocked.BooleanSignals.NonPeriodic Block to translate clock signals to continuous Boolean events (each time the input clock ticks a rising Boolean output edge is produced). |