Sampling processing
Analog input values are converted at each sampling cycle and stored in the buffer memory as digital output values. The
conversion cycle is the sampling cycle.
Setting method
Set "Average processing setting" to "Sampling processing".
[Navigation window] [Parameter] [Module Information] Module model name [Basic setting] [A/D conversion
method]
Averaging processing
The A/D converter module performs the averaging processing on digital output values for each channel. The averaged values
are stored in the buffer memory.
The following three types of averaging processing are provided.
• Time average
• Count average
• Moving average
Time average
The A/D conversion is performed for the setting time and the averaging processing is performed on the total value excluding
the maximum and the minimum values. The averaged values are stored in the buffer memory.
■Setting time
The setting range of the time (for averaging) is 320 to 5000ms.
■Number of processing times
The processing times within the setting time are as follows.
• Number of processing times (times) = Setting time/Sampling cycle
Ex.
The following shows the number of processing times with the setting below.
Item
Setting time
500 (ms)/80 (ms) = 6.25 (times) (Value after the decimal point is omitted.)
Conversion is processed six times and the mean value is output.
Count average
The A/D conversion is performed for the set number of times and the averaging processing is performed on the total value
excluding the maximum and the minimum values. The averaged values are stored in the buffer memory.
The time taken to store the average value obtained by the averaging processing in the buffer memory area is as follows.
• Processing time = Set number of times Sampling cycle
Ex.
The following shows the processing time with the setting below.
Item
Set number of times
5 (times) 80 (ms) = 400 (ms)
A mean value is output every 400ms.
1 FUNCTIONS
26
1.5 A/D Conversion Method
Setting
500ms
Setting
Five times