Mean Value Processing - Omron SYSMAC C200H-AD003 Operation Manual

Analog i/o units
Hide thumbs Also See for SYSMAC C200H-AD003:
Table of Contents

Advertisement

Using the Functions

2-5-3 Mean Value Processing

DM (m+2)
DM (m+3)
DM (m+4)
DM (m+5)
DM (m+6)
DM (m+7)
DM (m+8)
DM (m+9)
The Analog Input Unit can compute the mean value of the conversion values of
analog inputs that have been previously sampled. Mean value processing in-
volves an operational mean value in the history buffers, so it has no affect on the
data refresh cycle. (The number of history buffers that can be set to use mean
value processing is 2, 4, 8, or 16.)
Conversion data
When "n" number of history buffers are being used, the first conversion data will
be stored for all "n" number of history buffers immediately data conversion has
begun or after a disconnection is restored.
When mean value processing is used together with the peak value function, the
mean value will be held.
To specify whether or not mean value processing is to be used, and to specify the
number of history buffers for mean data processing, use a Peripheral Device to
make the settings in DM m+2 through DM m+9 as shown in the following table.
Word
Function
Input 1 mean value processing
Input 2 mean value processing
Input 3 mean value processing
Input 4 mean value processing
Input 5 mean value processing
Input 6 mean value processing
Input 7 mean value processing
Input 8 mean value processing
For the DM word addresses, m = 1000 + 100 x unit number (Units #A to #F = Unit
numbers 10 to 15).
Note After making the DM settings from a Peripheral Device, it will be necessary to
either power up the PC again or turn ON the Special I/O Unit Restart Bit in order
to transfer the contents of the DM settings to the Special I/O Unit. For details re-
garding the Special I/O Unit Restart Bit, refer to 2-7-4 Restarting Special I/O
Units.
Buffer 1
Buffer 2
Buffer 3
(Mean value
processing)
Buffer 4
Buffer n
(Discarded)
0000: No mean value processing
0001: Mean value processing with 2 buffers
0001: Mean value processing with 2 buffers
0002: Mean value processing with 4 buffers
0002: Mean value processing with 4 buffers
0003: Mean value processing with 8 buffers
0003: Mean value processing with 8 buffers
0004: Mean value processing with 16 buffers
0004: Mean value processing with 16 buffers
Section
2-5
Conversion value
(Values stored in IR
words n+1 to n+8)
Set value
p
g
23

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c200h-da003Sysmac c200h-da004Sysmac c200h-mad01

Table of Contents