Page 132
Appendix |EtherCAT Documentation
confocalDT 24x1
Object 2181h: Averaging, error processing and statistics
2181
RECORD Averaging/error han-
dling/statistics
ro
Subindices
0
VAR
Number of entries
15
Unsigned8
ro
1
VAR
Measured value
averaging type
x
Unsigned32 rw
2
VAR
Number of values for
moving average
x
Unsigned32 rw
3
VAR
Number of values for
median
x
Unsigned32 rw
4
VAR
Number of values for
recursive average
x
Unsigned32 rw
5
VAR
Statistic depth
x
Unsigned8
rw
6
VAR
Reset statistic
FALSE
BOOL
rw
7
VAR
Error handling
x
Unsigned8
rw
8
VAR
Number of held values x
Unsigned16 rw
9
VAR
Video averaging
x
Unsigned8
rw
10
VAR
Signal for statistics
x
Unsigned8
rw
11
VAR
Reduce video signal
x
Unsigned8
rw
12
VAR
Use spike correction
FALSE
BOOL
rw
13
VAR
Spike correction
evaluation length
x
Unsigned32 rw
14
VAR
Spike correction range xx
FLOAT32
rw
15
VAR
Spike correction count x
Unsigned32 rw
Further details can be found in the section Averaging/ error handling/ statistics, see
and Video averaging, see Chap.
.
Measured value averaging type:
0 - No averaging
1 - Moving average
(Number of values for moving average: 2, 4, 8, 16, 32,
64, 128, 256, 512 and 1024)
2 - Recursive average
(Number of values for recursive average: 2…32768)
3 - Median
(Number of values for median: 3, 5, 7 and 9)
Statistic depth:
0, 2, 4, 8, 16…16384; 0 = infinite
Error handling:
0 - Output of error value
1 - Hold last valid value for a number of measurement values
(Number of held values: 0….1024, 0 = infinite)
Video averaging:
0 - No averaging
1 - Recursive average of 2 video signals
2 - Recursive average of 4 video signals
3 - Recursive average of 8 video signals
4 - Moving average of 2 video signals
5 - Moving average of 4 video signals
6 - Moving average of 3 video signals
7 - Median of 3 video signals
Statistic signal: Measurement, for which the statistics is calculated (only in measurement
program multilayer)