FallingEdge

Output y is true, if the input u has a falling edge, otherwise it is false (y = edge(not u))

    FallingEdge

Library

Modelica/Blocks/MathBoolean

Description

A falling edge of the Boolean input u results in y = true at thistime instant. At all other time instants, y = false.

The usage is demonstrated, e.g., in exampleModelica.Blocks.Examples.BooleanNetwork1.

Parameters

FallingEdge_0

NameLabelDescriptionData TypeValid Values

mo_pre_u_start

pre_u_start

Value of pre(u) at initial time

Scalar

true
false

FallingEdge_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

'not_u'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

u

implicit

Boolean input signal

input

1

y

implicit

Boolean output signal

output

1

See Also