Median

Median 1:

Implementation of a median filter.

The documentation of the corresponding PLC function block can be found here: FB_FTR_Median

The documentation of the TwinCAT 3 Filter PLC library can be found here: Overview

Configuration parameters

  • SamplesToFilter: number of samples for calculating the sliding average value (often referred to as window size).
  • Initial Values (optional): initial values define the internal state of the filter.

Output values