4-5
Section
Analog Input Functions
84
4. With the fourth cycle, the Data 4 data is stored in the first history buffer.
(Mean value
processing)
Conversion value
Data 4
Data 3
Data 2
Data 1
Mean value = (Data 4 + Data 3 + Data 2 + Data 1)
B
4
5. With the fifth cycle, the data is stored with Data 5 being in the first history
buffer.
(Mean value
processing)
Conversion value
Data 5
Data 4
Data 3
Data 2
Mean value = (Data 5 + Data 4 + Data 3 + Data 2)
B
4
When a disconnection is restored, the mean value processing function begins
again from step 1.
4-5-4 Peak Value Function
The peak value function holds the maximum digital conversion value for every
input (including mean value processing). This function can be used with analog
input. The following diagram shows how digital conversion values are affected
when the peak value function is used.
Peak value hold
Digital conversion value
t (Time)
The peak value function can be set individually for each input number by turning
on the respective bits (04 and 05) in IR word n.
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
00
Bit
Input 2
Input 1
Word n
The peak hold function will be in effect for the
above input numbers while their respective
bits are ON. The conversion values will be
reset when the bits are turned OFF.
For the IR word addresses, n = 100 + 10 x unit number.
For Units #A to #F (10 to 15), n = 400 + 10 x (unit number – 10).