Activating analog filters
If you want to use anti-aliasing filters, these are set up as configuration output and configured as Off-task connector (OTC) or function block.
First, drag the output signals defined in the I/O Configurator to the margin of the programming surface, in this example “X2_EnableFilter_Ch00” for the analog input 0.
Create a new off-task connector in the programming window, assign a meaningful name, e.g. “filter” and select the type Input. The data type must also be defined as a BOOL.
Meaning of the default values for the anti-aliasing filter:
FALSE = switched-off
TRUE = switched-on
Now, connect the OTC and the signal on the margin of the programming surface.
The configuration of the following functions is similar to the analog filter configuration as described above. The meaning of the parameters in detail:
Digital anti-aliasing filter (DigitalFilterMode)
The digital anti-aliasing filter can only be enabled when sampling rate > 500 Hz.
0: Off (default setting)
2: Digital anti-aliasing filter activated (once for all channels)
Data type: DINT
Cutoff frequency of the digital anti-aliasing filter (AntiAliasingFrequency)
= 0: Auto = 1/3 of the sampling rate (default setting)
> 0: Cutoff frequency in Hz (permissible values: 100 Hz … 0.5*sampling rate)
Data type: LREAL
Setting of the interval for power frequency measurement (PwrFrwqMode)
1: Measuring interval 1 s
2: Measuring interval 10 s (according to DIN EN 61000-4-30)
Data type: USINT





