
Baumer
Functions
|
8
OM20/ OM30 RS485 with Modbus RTU | V1
Operating Manual
29
Option 2: Enter the filter length as a numerical value
If the predefined filter lengths are not suitable, an individual filter length can be entered for the
Moving Average
and
Moving Median
filters. Especially when it comes to applications without dy-
namic changes in distances, such as the verification of the position of an object, a greater filter
length can improve the performance of the sensor. You can specify the length of the
Moving Av-
erage
and
Moving Median
filters after selecting the
Custom
filter.
n
Moving Median
filter: 1 - 21 values
n
Moving Average
filter: 1 - 256 values
Modbus RTU command – holding register:
Filter
mode
Address 101 – Precision:
Address
Access
Number of
registers
Data type
Description
101
Read/write
1
uint8_t
Select signal filter:
n
0: Standard
n
1: High
n
2: Very High
n
3: Highest
n
4: Custom
Address 102 – Custom Median Filter Length:
Address
Access
Number of
registers
Data type
Description
102
Read/write
1
uint16_t
Only possible with the filter setting
Custom
.
Configurable filter length – Median
Filter:
n
Min. length: 1
n
Max. length: 21
Address 103 – Custom Average Filter Length:
Address
Access
Number of
registers
Data type
Description
103
Read/write
1
uint16_t
Only possible with filter setting
Cus-
tom
.
Configurable filter length – Average
Filter:
n
Min. length: 1
n
Max. length: 256