User Manual

LOGO! functions
4.4 Special functions list - SF
LOGO!
Manual, 06/2014, A5E33039675
237
4.4.36
Average value
Short description
The average value function calculates the average value of an analog input over a
configured time period.
Symbol in LOGO!
Wiring
Description
En A change in status from 0 to 1 transition at input En
starts the average value function.
A change in status from 1 to 0 at input En holds the
analog output value.
R
A signal at input R clears the analog output value.
Ax Input Ax is one of the following analog signals:
AI1 to AI8 (*)
AM1 to AM64
NAI1 to NAI32
AQ1 to AQ8
NAQ1 to NAQ16
Block number of a function with analog output
Parameter
St
(Sampling time): you can set the timebase to s
(seconds), d (days), h (hours), or m (minutes).
Range of values:
St = s: 1 to 59
St = d: 1 to 365
St = h: 1 to 23
St = m: 1 to 59
Sn
(Number of samples):
Range of values:
St = s: 1 to St*100
St = d: 1 to 32767
St = h: 1 to 32767
St = m and St ≤ 5 minutes: 1 to St*6000
St = m and St ≥ 6 minutes: 1 to 32767
Retentivity:
/ = no retentivity
R = retentivity
Output AQ Outputs the average value of input Ax over
configured time sampling period.
* AI1 to AI8: 0 V to 10 V corresponds with 0 to 1000 (internal value).
Timing diagram (example)