Reconfiguration with and without reset

This sample shows how a filter can be reconfigured during runtime and which options exist to suppress a reset.

Download: Tc3_Filter_bReset.zip (*.tnzip)

Description:

Implementation:

stParams : ST_FTR_IIRCoeff := ( … )
stParams.bReset := FALSE;
fbFilterNoReset.Configure(stConfig := stParams);

Observation:

If you activate the project, you can observe the output signals of the two filter instances in the measurement project. The red signal shows the output signal of the function block instance fbFilterNoReset. The time curve of the signal shows no jump through the reconfiguration. The output signal of the function block instance fbFilterReset, on the other hand, jumps when the reconfiguration is executed, since the filter returns to zero at the time of the reconfiguration (blue signal).

Reconfiguration with and without reset 1:
Signal curves of the output signals during reconfiguration without reset (red) and with reset (blue)
Reconfiguration with and without reset 2:
Signal curves of the output signals during reconfiguration without reset (red) and with reset (blue)

See also: