Mitsubishi Electric MELSEC iQ-F FX5 User Manual page 29

Programmable controllers
Hide thumbs Also See for MELSEC iQ-F FX5:
Table of Contents

Advertisement

If the set time is shorter than the scan time, the averaging processing is not executed, but the sampling value
is output. However, only in the first output, the averaged value of the 1st sample and 2nd sample is output.
■Count average
A/D conversion is executed for a set number of times of count average, the averaged value excluding the maximum value and
minimum value is output in digital, and values are stored in the "digital output value", "digital operation value" and "analog
input value monitor".
The time required to store the averaged value obtained by count average in the "digital output value", "digital operation value"
and "analog input value monitor" varies depending on the scan time.
Processing time=Set number of timesScan time
The count average requires a total of at least two values excluding the maximum value and minimum value.
Set the number of times to "4" or larger value.
■Moving average
A/D conversion is executed for a set number of times of moving average, and the averaged value is output in digital, and
values are stored in the "digital output value", "digital operation value" and "analog input value monitor".
Because the target range for averaging processing is moved in each conversion cycle and the averaging processing is
executed using A/D conversion values for the set number of times, the latest "digital output value", "digital operation value"
and "analog input value monitor" can be obtained.
The figure below shows the moving average when the number of times of averaging processing is set to "5".
Digital output value
4000
(1)
2000
0
CH1 Digital output
value
CH1 A/D conversion
OFF
completed flag
Scan time
(3)
(4)
(2)
(5)
(6)
(8) (9)
(7)
(a)
(b)
(c)
0
ON
(12)
(10)(11)
1st storage (a)
2nd storage (b)
3rd storage (c)
Time [ms]
2
2 FX5-4AD-ADP
27
2.3 Functions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents