8 Analog I/O Slave Unit
8 - 8
GX-series EtherCAT Slave Unit User’s Manual
Purpose
The function averages the inputs if they fluctuates minutely due to noise and so on as shown in the
figure below, and obtains smooth input values.
Details of functions
This function is used to calculate the average value of analog inputs during a period of up to 64 ms,
and generate it as converted data.
The setting is made with the Analogue Input Moving Average object. You can use the following
formula to calculate the sampling count from the setting of the Analogue Input Moving Average
object and the number of AD conversion available points. Digits below the decimal point are
rounded up.
Sampling count = Setting of the Analogue Input Moving Average [μs]/(Number of AD conversion
available points × 500 μs)
The processing that is performed inside the Unit is shown below for when the sampling count is 4.
At the initial calculation, the initial data is stored in all processing buffers to perform the moving
average processing.
8-3-2 Moving Average
Overview of functions
Actual input
Input after averaging processing
Time
nalog
input value