MAVE - RSlogix 5000

DBLD99

Member
Join Date
Oct 2003
Location
USA
Posts
230
I am trying out the MAVE instruction to give me a 24 Hour Rolling Average and a 1 Hour rolling Average for the same Input. I have it in a periodic 1 Minute task and it working great with the first array at 1440 and the second at 60.

One thing I cant seem to find in the documentation is..After the 1 Hour and the 24 Hour period do I have to reset the StorageArray to 0 in order to get a new 24 and 1 Hour average?

I found an article on AB's website that in order to reset this instruction I would have to put the IN = 0 and the INITIALIZE =1 for a scan then back to 0?
 
How you selected 1440 for 24 hours?

How to know after how much tome the controller pushes data to the array? If i select second will it be 3600*24. If so, will it be more accurate than 1440 avg sampling. Pl let me know.


no reset needed

the initialize resets the array to 0 and restarts the moving average
 

Similar Topics

Hi all, First post in this forum. I am having trouble with a moving average (MAVE) instruction on an RSLogix 5000 controller. I have very...
Replies
3
Views
6,461
I am trying to use the moving average instruction. Getting a little caught up on the details. What is the "Storage Array" and what type of tag...
Replies
2
Views
2,649
I have been averaging a number of values using the MAVE function and have been having good luck with them. The question I have is the time it...
Replies
3
Views
2,249
I have a Mave instruction running but I do not see an Average all I see is 50 in and the same number going out, what am i doing wrong ?? INPUT =...
Replies
2
Views
1,813
Hello I'm having some problems setting up a MAVE block. I have searched the forum but most of the threads have ended/died without a solid...
Replies
4
Views
2,866
Back
Top Bottom