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

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
63
I received an email from a student with the following code attached. This is supposed to control a floodgate system, and supposed to be written...
Replies
23
Views
580
Good day all! Can someone help me with the procedure to update Beijers E700 firmware? The Panel I am working on is firmware 2.04v and I would...
Replies
1
Views
56
Has anyone already worked with ALTOPACK equipment, model AVE-PC (VFFS). Year 2009, I need to do a retrofit for this equipment, has anyone already...
Replies
0
Views
62
I am trying to connect with a Schneider plc which has a firmware version only available in Somachine v4.2. In Machine expert After taking upload...
Replies
0
Views
101
Back
Top Bottom