Hello, I'm a novice seeking advice. I need to claculate and display a running average for the number of items passing by on a conveyor. The input is simply "on" when an item passes. I need to calculate the average rate over the past minute.
I can conceive a method for sampling every minute, but it would be preferred to keep a "live" running average that counts the number of items passed in the previous 60 seconds at all times.
Hardware: AB Micrologix 1200; Inview panel display 2706-P42R for message display.
Thanks in advance for any help.
I can conceive a method for sampling every minute, but it would be preferred to keep a "live" running average that counts the number of items passed in the previous 60 seconds at all times.
Hardware: AB Micrologix 1200; Inview panel display 2706-P42R for message display.
Thanks in advance for any help.