EasyManuals Logo

Avtron ADDvantage-32 User Manual

Default Icon
290 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #174 background imageLoading...
Page #174 background image
Control Block Description ADDvantage-32
4-112
4.67 SNAPAVG
1. Inputs
INP: Analog
TICS: Analog
RES: Bit
HLD: Bit
RET: Bit
2. Outputs
OUT: Analog
TTL: Analog
CNT: Analog
3. Implementation
The SNAPAVG block is used to get an average of a value with a specific time frame.
The block has two internal count values to enable the block to function on short windows
or longer windows.
TICS is internally limited to positive whole numbers.
On power up if RET is High, then the internal Count2 and Sum2 is set equal to Outputs
CNT and TTL. Otherwise they are set equal to zero. Also, internal Count1 and Sum1 is
set to zero on powerup. All three outputs go to zero on powerup also.
When the RES bit is high, then both counters and sums are set equal to zero.
When the hold bit is high, both counters and sums are held at their current value.
If both RES and HLD are low, then:
Every time the block is executed, INP is added to the internal Sum1. Also, the
internal value Count1 is incremented.
When Count1 is greater than TICS, then:
Sum2 = Sum1 / Count1
Count2 is incremented
Sum1 and Count1 is reset to zero.
OUT = Sum2 / Count2
TTL = Sum2
CNT = Count2

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Avtron ADDvantage-32 and is the answer not in the manual?

Avtron ADDvantage-32 Specifications

General IconGeneral
BrandAvtron
ModelADDvantage-32
CategoryControl Unit
LanguageEnglish