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:
|
|
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. |