Mitsubishi Electric MELSEC iQ-F FX5 User Manual page 31

Analog control - intelligent function module
Hide thumbs Also See for MELSEC iQ-F FX5:
Table of Contents

Advertisement

■Count average
Executes A/D conversion for a set number of times and performs the averaging processing on the total value excluding the
maximum and minimum values. The averaged value is stored in the digital output value and the digital operation value.
The time taken to store the count average value obtained by the processing in the buffer memory area varies depending on
the number of channels where the conversion is enabled.
Processing time = Set number of times  (Number of A/D conversion enabled channels  Conversion speed)
Ex.
The following table shows the processing time with the setting below.
Item
Number of channels where the A/D conversion is enabled
Set number of times
5 (times)  (4 (CH)  80 (s)) = 1600 (s) = 1.6 (ms)
An average value is output every 1.6 ms.
Because the count average requires a sum of at least two counts excluding the maximum and minimum
values, the set number of times should be four or more.
■Moving average
Converted values for the specified number of times captured every sampling period are averaged and stored in the digital
output value and the digital operation value. The target range for averaging processing moves at each sampling processing,
thereby allowing the latest digital output value to be obtained.
The following figure shows the moving average processing of when the set number of times is five.
Digital output value
32000
16000
0
'CH1 Digital output value'
(Un\G400)
'A/D conversion completed flag'
OFF
(Un\G69, b14)
Number of A/D conversion enabled channels
(3)
(4)
(2)
(5)
(1)
(6)
(a)
(b)
0
ON
Data transition in buffer memory
1st storage (a)
2nd storage (b)
(1) + (2) + (3) + (4)+ (5)
(2) + (3) + (4) + (5)+ (6)
5
Setting
Four channels (CH1 to CH4)
Five times
× Conversion speed
(8)
(9)
(12)
(7)
(10) (11)
1st storage (a)
2nd storage (b)
3rd storage (c)
Time [s]
(c)
3rd storage (c)
(3) + (4) + (5) + (6)+ (7)
5
5
1
1 FX5-4AD
29
1.4 Functions

Advertisement

Table of Contents
loading

Table of Contents