elzdad02 Member E Join Date Nov 2008 Location Illinois Posts 1 Nov 4, 2008 #1 Does anybody know how to create a 10day rolling average of a scaled analog input using Proworx 32 V 2.1A. Thanks
Does anybody know how to create a 10day rolling average of a scaled analog input using Proworx 32 V 2.1A. Thanks
PeterW Member P Join Date Jun 2006 Location Calgary, AB Posts 2,531 Nov 4, 2008 #2 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.
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.
Sliver Member Join Date Feb 2004 Location Kingston, Ontario Posts 488 Nov 4, 2008 #3 Check out this old thread. 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. Brian. Last edited: Nov 4, 2008
Check out this old thread. 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. Brian.