Ace Dynamic Comp Index  June 2020
Niagara-4.9
control::Hysteresis Class Reference

Detailed Description

Applies hysteresis to an input value to set a boolean out.

NOTE: If "Rising Edge" > "Falling Edge", then out behaves "normally", ie

out switches to "true" when in rises above "Rising Edge", and switches back
to "false" when in falls below "Falling Edge"
Falling    Rising
Edge       Edge
|----------|-------
|          |
--------|----------|

NOTE: If "Rising Edge" < "Falling Edge", then out behaves "inverted", ie

out switches to "false" when in rises above "Falling Edge", and switches back
to "true" when in falls below "Rising Edge"
Rising     Falling
Edge        Edge
--------|----------|
|          |
|----------|-------

NOTE: If "Rising Edge" == "Falling Edge", this object become a simple

comparator, where if in > Rising Edge, then out = true

Properties


double in

Facets: @input @summary

bool out

Default: false
Facets: @readonly @summary

double risingEdge

Default: 50.0
Facets: @config @defaultOnClone

double fallingEdge

Default: 50.0
Facets: @config @defaultOnClone