Mitsubishi Electric R60AD8-G User Manual page 25

Melsec iq-r series channel isolated analog-digital converter module
Table of Contents

Advertisement

When the number of processing times is less than 4 due to the set time, a time average setting range error
(error code: 192H) occurs. The value 0 is stored in the following buffer memory areas.
• 'CH1 Digital output value' (Un\G400)
• 'CH1 Digital operation value' (Un\G402)
• 'CH1 Digital output value (32 bits)' (Un\G410, Un\G411)
■Count average
The A/D converter module executes the A/D conversion for a set number of times, and performs the averaging processing on
the total value excluding the maximum and the minimum values. The processed values are stored in the buffer memory area.
The time taken for the mean value calculated through the average processing to be stored in the buffer memory changes
depending on the number of channels where the A/D conversion is enabled.
Processing time = Set number of times  (Number of 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)  10 (ms)) = 200 (ms)
A mean value is output every 200ms.
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
The A/D converter module averages digital output values taken at every sampling period for a specified number of times, and
stores the mean value in the buffer memory area. Since the averaging processing is performed on a moving set of sampling,
the latest digital output values can be obtained.
The following figure shows the moving average processing of when the set number of times is five.
Digital output value
32000
(1)
16000
0
0
'CH1 Digital output value'
(Un\G400)
'A/D conversion
OFF
completed flag' (XE)
1st storage (a)
(1) + (2) + (3) + (4)+ (5)
Sampling cycle
(3)
(4)
(2)
(5)
(6)
(7)
(a)
(b)
(c)
0
ON
Data transition in buffer memory
2nd storage (b)
(2) + (3) + (4) + (5)+ (6)
5
5
Setting
Four channels (CH1 to CH4)
Five times
(8)
(9)
(12)
(10) (11)
1st storage (a)
2nd storage (b)
3rd storage (c)
Time [ms]
3rd storage (c)
(3) + (4) + (5) + (6)+ (7)
5
1 FUNCTIONS
1.4 A/D Conversion Method
1
23

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R60ad16-g

Table of Contents