Changes

no edit summary
Line 52: Line 52:  
[[Image:Fmb120_on_delta_change.png|x150px|none]]
 
[[Image:Fmb120_on_delta_change.png|x150px|none]]
 
==Avg Const==
 
==Avg Const==
If ''Avg Const'' value is 10, new value must be present for 1 second to register the change to a new value. Internal sampling is done every 40 ms, so 25 samples are taken per second. To configure 5 seconds of averaging multiply 10 by 5 yielding 50 as ''Avg Const'' value. The same logic works if the device is in [[{{{model|FMB1YX}}}_Sleep_modes#Deep_Sleep_mode|Deep Sleep mode]].<br />Averaging follows RC exponential curve, see image below:
+
This parameter defines how long a new value must persist to be recognized as a change.
 +
===For Digital Inputs:===
 +
If ''Avg Const'' value is 10, new value must be present for 1 second to register the change to a new value. Internal sampling is done every 40 ms, so 25 samples are taken per second. To configure 5 seconds of averaging multiply 10 by 5 yielding 50 as ''Avg Const'' value. The same logic works if the device is in [[{{{model|FMB1YX}}}_Sleep_modes#Deep_Sleep_mode|Deep Sleep mode]].<br />
 +
For Boolean values of 5τ, values is used, that means value change is taken when new values is averaged to more than 99.3%.
 +
===For AIN values:===
 +
Averaging follows RC exponential curve, see image below:
 
[[Image:Fmb120_avg_const.png|300px|none]]
 
[[Image:Fmb120_avg_const.png|300px|none]]
For Boolean values of 5τ, values is used, that means value change is taken when new values is averaged to more than 99.3%.
+
It prevents quick, noisy value changes from triggering events.
 
+
<br>[[File:Alert.png|x30px|]]'''''NOTE: Average Constant is not used as an activation timer or delay timer. But it is used as a filter.'''
[[File:Alert.png|x30px|]]'''''NOTE: Average Constant is not used as an activation timer or delay timer. But it is used as a filter.'''
   
''
 
''