SmartSwarm 300 Series
:
83
The following rules are STATEFUL: High Threshold, Low Threshold, High Rate, Low Rate.
The following example shows a register that follows a sinusoidal waveform. The Modbus Master is polling the
register every 200ms. Assume that a “High Threshold” rule is applied, with Threshold = 40 and Hysteresis = 5. The
red dots show samples which are above the Threshold. The red callouts show when MQTT publishes will be
triggered:
Note how only two MQTT messages are published:
●
One when the value changes from below the threshold to above;
●
One when the value changes from above the threshold to below (minus the hysteresis).
The default value of the Hysteresis field is 0 (zero), which means no hysteresis: