View Full Version : Averaging With Proworx 32

November 4th, 2008, 11:04 AM
Does anybody know how to create a 10day rolling average of a scaled analog input using Proworx 32 V 2.1A. Thanks

November 4th, 2008, 11:34 AM
There's no averaging instruction (save for a weight average of 4 load cells under the PCFL instruction).

Afraid you'd have to use maths.

Floating point maths is available under the EMTH instructions.

November 4th, 2008, 01:10 PM
Check out this old thread. (http://www.plctalk.net/qanda/showthread.php?t=7264)

The ladder logic shown has to be slightly modified to make it work.
shift the DIV , XOR , (0003) one column to the right and the order of operation works out.

If you require a walk through explaination of the logic just ask.