Studio 5000: Using 1 AOI instance, with a 3D Array.

AutomationTechBrian

Lifetime Supporting Member
Join Date
Jul 2013
Location
St. Cloud, MN
Posts
669
Exposing shades of “newbie”…. I haven’t used arrays much, and I think using one for multi-zone temperature control is probably the solution I need. But my Studio 5000 programming experience is limited, and it would sure be nice to get experienced input before dedicating a chunk of limited time to explore how to make it work.

I’m working on a plastic sheet extruder project… my 3rd in 11 years. But this time, because of the supply issues, I decided to skip the dedicated Eurotherm temperature controllers and utilize the ControlLogix L71S to control all 44 zones. I’ve been working through the learning curve of that decision. First thing I found is that the PV response time to a change in CV was so slow that trying to use the standard PIDE block wouldn’t successfully complete a tune cycle… and that’s after finding out the hard way that PIDE was an add-on feature after v.32. Fortunately, someone else knew about the slow response time issues for barrel zone control and created an AOI to share on the Rockwell site. I flashed the controller back to v.32 and installed the AOIs, one for heat only, and one for heat and cool.

I tested the heat-cool AOI with the first barrel zone, and after learning the quirks of things like task execution time vs. algorithm execution time, I got great results on that first heat-cool zone. It was a huge game changer… a perfect “S” shape heating up to setpoint. But holy smokes… the AOI seems excessively large for adding 44 instances in the program. I just finished adding the first 7 zones and tuning them. My total memory is just over 2MB, and I’ve already used .9. It’s obvious that I need a different strategy.

I remember troubleshooting a machine once that seemed like it used an array, and one instance of an AOI, incrementing through the array with each scan. I didn’t watch that part of the program run, so I can’t confirm that was how it worked. But the array size was about 99, and they certainly didn’t have that many AOI instances in the program. It sure seems logical and probable. I just need someone with more experience to share their thoughts. I’m about to move on to a 23-zone, heat-only part of the extruder, and I thought this might be a good time to figure out my path before going further.

Is incrementally cycling through arrays with each scan a common thing? Are there any “gotchas”? Seems to me there might be a need to load the variables on one scan, and compute on the next scan before incrementing to the next set. (Btw… scan time for the AOI tasks individually is 200ms. 200ms to 500ms is common for the PID calculation on an extruder. A 20ms task is used for the IO output for each zone, using a STRP function block.)

Thoughts?
 
There is a newer better option P_Temp_Intg
I have a few hundred zones spread across many lines.

I think you can get the package on the sample code site?
 
If you cannot find please message me and we can connect. I just updated my email so should get messages?
 
You're killing me! I'm driving home from the job site, and I'm so excited I had to pull over at a rest stop to reply.

Yes, that is the very one that I'm using. I downloaded it then installed the latest version, 2.2, in my aoi Library. I do, and will continue to have some questions as I build experience with it. I love how well it works. A real game changer. How do you use it? I started out giving each instance a descriptive tag, like ExA_BZ1, in separate page, in a 200ms Task. But my lack of experience in studio 5000 makes me wonder if this is a waste of memory. There was a noticeable jump in used memory after putting in those first seven Barrel zones.

Thoughts? ( I'll be home in an hour, LOL)
 
I'm not getting notifications for the private messages in my normal Gmail account. I see there are three messages I haven't read. I did reply without reading them. Because of construction, my 1 hour ride home is closer to a 2-hour commute. I gave you my phone number, feel free to call.
 

Similar Topics

Studio 5000 & PF 525, Ethernet Comms, Encoder FB, Using Motor RPM as speed reference I'm trying to figure out how to send a speed reference in...
Replies
6
Views
937
I'm looking at trying to program Relay Ladder Logic to average out a value for X amount of time. In this application I'm looking to have an...
Replies
8
Views
3,044
Dear Network, My purpose is to test a application created with Studio 5000 view designer using view 5000 Emulator and Logix Emulator. I created...
Replies
3
Views
6,106
Hi all, I recently was upgraded from Win7 machine to a Win10 machine with lots of horsepower. Last Friday, I tried exporting a routine and when I...
Replies
9
Views
4,678
Hello All!! Sorry, the topic was a mistake I meant to say with a physical HMI! I have seen this question asked elsewhere, but I can't find the...
Replies
4
Views
2,763
Back
Top Bottom