Version 3.0.0 Preliminary Documentation – May be Subject to Change 37-46
3.3.17. Object 61A0h: AI Filter Type
All inputs, except for frequency inputs, are sampled every 10ms. This object defines the
filter type that is applied to the input field value. The available filters are
Filter Type 0 = No Filter
Filter Type 1 = Moving Average
Filter Type 2 = Repeating Average
WARNING: Frequency inputs are measured based on the value in object
2090h [Measuring Window]. For best results, filters should not be used for
frequency inputs.
Calculation of the moving average:
Value
N
= Value
N-1
+
The filter constant is defined in object 61A1h
Calculation of the repeating average:
Value =
At every reading of the input value, it is added to the sum. At every N
th
read, the sum is
divided by N, and the result is written to object 7130h [input process value]. The value and
counter will be set to zero for the next read.
Object Description
Index 61A0h
Name
AI Filter Type
Object Type
ARRAY
Data Type
UNSIGNED8
Entry Description
Subindex 0h
Description
Number of entries
Access RO
PDO Mapping
No
Value Range
8
Default Value
8
Subindex
1h to 8h
Description
PV Filter Type, AI 1 to AI 8
Access RW
PDO Mapping
No
Value Range
UNSIGNED8
Default Value
0 (no filter)
(Input – Value
N-1
)
FilterConstant
Input
N
N