Change
Output y is true, if the input u has a rising or falling edge (y = change(u))
Library
Modelica/Blocks/Logical
Description
The output is true if the Boolean input has either a rising edge from false to true or a falling edge from true to false, otherwise the output is false.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_pre_u_start | pre_u_start | Start value of pre(u) at initial time | Scalar | true |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_u | u | u | Structure | |
mo_u/fixed | fixed | Cell of scalars | true | |
mo_u/start | start | Cell of scalars | ||
mo_y | y | y | Structure | |
mo_y/fixed | fixed | Cell of scalars | true | |
mo_y/start | start | Cell of scalars |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
u | implicit | Connector of Boolean input signal | input | 1 |
y | implicit | Connector of Boolean output signal | output | 1 |