MAX PID in Contrologix

The Plc Kid

Member
Join Date
Feb 2009
Location
Macon, Georgia
Posts
3,233
What is the safe max amount of pid loops that i can put into a contrologix processor without overloading it? These will all be steam valve controlled temp loops (Air Zones).

I will be using the top of the line contrologix controller whatever model that may be. There will be other logix ran in the processor.

I pretty much know i will need multiple processors i am just trying to determine the correct amount of loops per processor.

What is a safe number?
 
That depends entirely on how fast you need to scan them, and how much memory you have.

I routinely run 25 or so 'slow' temperature PID's, in a periodic task with a 90ms period. Each time through, I update two of the PID's, so each one's update time is set to 13*90ms or 1.17 seconds.

In the same PLC, I run 8 or 9 faster PID's, scanned every pass through a 20ms task.

Remember, CLX is fast, and there are ways of optimizing the scans. Start with your required update rate first.

FWIW, two sheets of FBD PIDE's and associated logic (SRAMP, and some logic) runs on average in 1.5ms on an L62.
 
Being that these are air zones in what is basiclly a oven so to speak the temp can vary +/- 3 degrees and still be okay so i don't think they need to be real fast.

Total on this line they will be about 85 zones like this.

I was thinking of having some processor just for pid temp control in the remote racks and all the non temp control I/O in that rack owned by another processor.
 
I thought i saw mention somewhere of a L7 series processor debut at automaton fair?

This project will really get uder way jan 2011.

Just working on a rough budget now.
 
Last edited:
I have a L61 processor running the following PIDE loops. All are scanned every pass at their required scan rate.
50ms = 7
250ms = 16
500ms = 7

I used to have 500ms loops running at 250ms, but since the chests are so big, doubling the scan time didn't change the control one bit. I actually don't think that I change the CPU usage either.
CPU usage = 55%
This processor runs the papermill which consists of 13 drives, 30 PID loops, 31 motors.

Being a novice, I wouldn't have thought that my code is fully optimised compared to what the vets could do to it.

Depending upon what else is on the PLC and desired scan time, you could try a single processor
 
Last edited:
If these are basic PIDE loops I don't see any reason why you can't do all 85 in less than 100 mS on an L61. If you run them on a one second update then 90% of your CPU time is dedicated to something besides PID.
 
They are all air zones which have a 4-20 controlled valve to regulate the amount of steam into the coils to heat the zone.

They are heat only no cooling.
 
All of them update at 150ms? If so i guess i was worried for no reason then.

Craig are you running much other non pid related logic on that processor also?

I remember on slc if you had too many pid loops you would have some funky things happening sometimes. I guess thats just not the case with contrologix.
 
I will still most likey go with 2 processors though. I don't want to put all those pid loops on the guard logix processor.

I can put pid loops and all auxilliary drives on another processor.
 
L7s failed first testing I think. So the scheduled release is delayed.

Pretty much what I've seen they're 2x more powerful than the l6's

Probably should contact someone from RA about it, you may even be able to get a demo model.
 
Your other option I suppose is an industrial computer with softlogix.

Or you could OPC with a vb program or something, not sure about the comms speed of that though.

EDIT: Should have read the post.
 
I have roughly 100 PID loops in a L63, with thousands of rungs of code (700 analog transmitters with scaling and alarming, 300 discretes, 50 motors, 50 valves, all the control logic), and we have no problem. Average scan time is about 75 ms.
 

Similar Topics

Hello all, I'm having issues with a PID and trying to tune it. I just do not understand why my CV goes to 105 with the settings I have. Config...
Replies
14
Views
1,580
I have a client that is asking to control the minimum and maximum speed of a 2 HP VFD controlled motor. Yes, it can be done on the VFD itself, but...
Replies
2
Views
1,807
I am working with a FB 58 TCONT_CP with sample time set to 1 second P GAIN set to 10, I to .13, D to .79. I am controlling a process...
Replies
2
Views
2,062
Hi, I'm new to versamax plc,can any one help me to do a PID control loop in Ge versamax plc?
Replies
5
Views
2,547
I need to control about 12 pid loops in a program i am writing. My questions are: 1) is there a max. Number of pid instructions that can be...
Replies
1
Views
2,333
Back
Top Bottom