Omron C200H Operation Manual page 36

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

Advertisement

Functions and Programming
2-3-7 Peak Value Function
Function
Setting Method
Mean and Peak Values
Mean
Mean value #1
value
ON
Peak Value
ON Bit
OFF
Output value
Previous mean value
2-3-8 Limit Warning Function
Function
Setting Method
26
The peak value function holds the maximum output value for every input. This
function can be used in combination with the scaling, mean value, and square
root functions. These functions are performed in the following order:
A/D conversion → square root → scaling → mean value → peak value
The maximum value of the final result will be output to the corresponding word
from IR n+1 through IR n+8.
The peak value function can be used in combination with other functions.
The peak value function is set with bits 00 to 07 of IR (n). Set the corresponding
bit to "1" to enable the peak value function for that input.
Bit 07
06
05
IR (n)
The peak value function will be executed for an input as long as its correspond-
ing control bit is ON. The bits in IR (n) are output bits, so their status can be con-
trolled from the program.
Data will be output as illustrated below when both the mean value and the peak
value functions are used. In this example, mean value #2 will be output as the
first peak value even if mean value #1 is larger because the Peak Value ON Bit
was turned ON after mean value #1 was output.
Mean value #2
Results #1
Results #2
Mean value #1
The limit warning function turns on a warning flag in IR n+9 when the output data
for the corresponding input is outside of the preset range. Bits 08 through 15 of
IR n+9 are the warning flags for inputs 1 through 8.
The limit warning applies to the final data output to words IR n+1 through IR n+8.
Three settings must be made to use the limit warning function. First, the limit
warning mode must be set, then the limit warning function must be enabled for
the desired input(s), and finally the upper- and lower-limit data must be set for
those inputs.
04
03
02
01
00
Mean value #3
Mean value #4
Results #3
Mean value #2
Larger of mean
(1st peak value)
values #2 and #3
Section 2-3
0: Peak value function disabled
1: Peak value function enabled
Mean value #5
Results #4
Largest of mean
values #2 to #4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad002Da002

Table of Contents