Analog filter (0BA7 and later versions only)

Short Description

The Analog filter function block is used to smooth the analog input signal.

Connection

Description

Input Ax

Input Ax is one of the following analog signals:

  • AI1 to AI8 (*)

  • AM1 to AM16 (if 0BA7), or AM1 to AM64 (if 0BA8)

  • NAI1 to NAI32

  • AQ1 and AQ2 (if 0BA7), or AQ1 to AQ8 (if 0BA8)

  • NAQ1 to NAQ16

  • The block number of a function with analog output

Parameter

Sn (Number of samples): determines how many analog values are sampled within the program cycles that are determined by the set number of samples. LOGO! samples an analog value within every program cycle. The number of program cycles is equal to the set number of samples.

Possible settings:

8, 16, 32, 64, 128, 256

Output AQ

AQ outputs an average value of the analog input Ax over the current number of samples, and it is set or reset depending on the analog input and the number of samples.

* AI1 to AI8: 0 to 10 V corresponds with 0 to 1000 (internal value).

Parameter

You can set the number of samples to the following values:

After you set the parameter, the analog filter calculates the average value of the samples and assigns this value to AQ.

Timing diagram

Description of function

The function outputs the average value after sampling the analog input signal according to the set number of samples. This SFB can reduce the error of analog input signal.

Note

There are a maximum of eight analog filter function blocks available for use in the circuit program in LOGO!Soft Comfort V7.0 or V8.0.

Special Functions Overview