Averaging With Proworx 32

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.
 
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:

Similar Topics

Hi, I have a bit of PLC experience in Siemens and have unfortunately been blessed with working on Automation Studio and B&R which has been a big...
Replies
5
Views
1,390
The PLC code calculates oil flow rate and outputs it on D420. It is represented on the HMI as a vertical bar. Problem is that the operator says...
Replies
33
Views
5,025
Hello, I am working with a laser encoder that is providing the speed of a fiber strand to our AB 1756-L61 PLC. In order to calculate the amount...
Replies
3
Views
3,180
Hi ;Configure A1s64AD card in slot 3 is as attached. This is averaging count. my signals are coming in at channel 3 and 4. There are spiking so i...
Replies
1
Views
1,641
Hi, folks. Thanks for taking the time to read this. I need to average 5 numbers, they being an accumulated value (mSec) from a timer. My director...
Replies
19
Views
5,671
Back
Top Bottom