24 AVE for Cntrlgx

burnbomb

Member
Join Date
Nov 2005
Location
Appleton WI
Posts
9
First time, so give me both barrels!

Trying to do 24 hour average in Contrologix.
Using a AVE block with a 1 hour array, collecting
data every minute, then doing a 24 hour AVE once a day.

Don't know how to setup array for analog in.

In PLC's, I am up to BTR and BTW, as this is what I use
to communicate to the Foxboro I/A system, my other
job. (wish rockwell had a AVE function block like TOT,
i built a Totalizer in ladder logic, wasn't pretty).

TIA
 
i believe you just need to use two FIFO stacks to hold your data, one 60 elements long, and one 24 elements long. use the FFL/FFU commands to move a data point into the first stack once a minute, then have another stack that receives the result of the AVE command once an hour. at the end of the day, run another AVE on the 24 element stack holding the hourly data. the FFL/FFU commands in ControlLogix accept integers or reals, so there should be no data type issues (unlike PLC-5)
 
There is a TOT Totalizer function in the ControlLogix function-block diagram language.

It might not fit your requirements for averaging, but it's a built-in function that you don't have to write yourself.

I realize that you might not have the FBD language editor enabled, but I wanted to set the record straight on the Logix support for a totalizer function.
 

Similar Topics

Hello all, I know its not good practice to have duplicate destructive bits when writing plc code, but I'm wondering about writing to the same tag...
Replies
2
Views
112
Hi I have a ifix 5.5 application where the operator opens a valve by clicking on a screen object. I can trace from object to data base that it is...
Replies
2
Views
43
Hi i using Kinetik 300 2097 driver control by EIP with using move absolute and incremental for motion , but i want to add same driver and motor as...
Replies
0
Views
64
I have an HMI 2711R - T4T Series B, and I want to know which PLCs, besides Micro 820, can communicate with it.
Replies
2
Views
112
Back
Top Bottom