L35E PID Problems

Critt

Member
Join Date
Apr 2006
Location
Ontario
Posts
153
Hello everyone and thanks for all the help over the years

I am currelty working on upgrading a water Plant PLC's from Micro 1500 to AB L35E. My problem is the PID instructions in the mirco are used to control flow and level to two filtration tanks. 4 PID's total. I have converted the logic and placed the PIDs in a period task. I just can't seem to get the flow or levels nailed down and working rather than they are jumping all over.

I am about to attach the logic just waiting for my membership upgrade to go through to I can attach it...

Any help would be great...
 
just waiting for my membership upgrade to go through to I can attach it...

not sure what you mean by that??? ...

have you tried zipping the ACD file and then doing an attachment? ...

I just can't seem to get the flow or levels nailed down and working rather than they are jumping all over.

just a guess ... the PIDs in the MLX1500 use only the ISA/Dependent Gains equation ... the CompactLogix can use that format - but the default setting is for the AB/Independent Gains equation (basing this on my memory here) ...

so ...

maybe you used the original settings for the tuning - but you need the correct values for the new "flavor" equation instead ...

or ...

change to the Dependent Gains equation and see if that helps ...

DISCLAIMER: this is all GUESSWORK until we see the new program ... suggestion: post the old RSS file too ... that might come in handy ...
 
Last edited:
if the ACD file is too big, do a File > Save As operation and save it as an L5K format ... those are usually MUCH smaller ...

then zip and post that file and we can go from there ...
 
first things:

yes, your RSLogix5000 is set up for Independent ... suggest you change that to Dependent ...

you have your Loop Update Time set for 1.0 seconds ... suggest you change that to 0.1 second to match your Periodic Task rate ...

out of time ...

if the ideas above don't get things rolling, I'd look into your scaling next if I were you ...

gotta go ... wish I had more time to play ...
 
Another comment to add to Ron's...

I couldn't open the L5K file effectively (don't have rev 19 nstalled yet).

But if you entered the PID gain constants as Kc=400 and Ti=200 as they are in the 500 data table, you really want 4.00 and 2.00 instead. That will make it go nuts for sure.
 
Actually the Tuning Parameters Constants (gains) do no not quite match the Logix500 project ones:


Filter1 Flow MicroLogix Kc=0.20;Ti=0.75;Td=0 CompactLogix Kp=0; Ki=0; Kt=0

Filter1 Level MicroLogix Kc=4.00;Ti=2.00;Td=0 CompactLogix Kp=0.25;Ki=0; Kt=0

Filter2 Flow MicroLogix Kc=0.20;Ti=0.75;Td=0 CompactLogix Kp=0.15;Ki=0; Kt=0

Filter2 Level MicroLogix Kc=4.00;Ti=2.00;Td=0 CompactLogix Kp=0.25;Ki=0; Kt=0
 
Last edited:
The PID gain constants in the 1500 are as follows

Level Control
kc=4.00, Ti=2.00,Td=0.00, Loop time=0.1, E=PV-SP, Smax=1600, Smin=250

Flow Control
kc=0.20, Ti=0.75,Td=0.00, Loop time=0.1, E=SP-PV, Smax=500, Smin=0
 
The ouputs was going all over the map so I lowered them closer to zero because I was trying to find out if I needed to start from new or use the existing ones...
 
OK, based on this data... (thanks dmargineau)
Filter1 Flow MicroLogix Kc=0.20;Ti=0.75;Td=0 CompactLogix Kp=0; Ki=0; Kt=0

Filter1 Level MicroLogix Kc=4.00;Ti=2.00;Td=0 CompactLogix Kp=0.25;Ki=0; Kt=0

Filter2 Flow MicroLogix Kc=0.20;Ti=0.75;Td=0 CompactLogix Kp=0.15;Ki=0; Kt=0

Filter2 Level MicroLogix Kc=4.00;Ti=2.00;Td=0 CompactLogix Kp=0.25;Ki=0; Kt=0

Do everything Ron suggested: Loop update = Periodic Task time, Dependent gains. However, if you are still overreacting and oscillating with your Ki = 0, those probably are not the culprits. (With Ki > 0, the Loop update mismatch will have a dramatic effect.)

So, I will concur with Ron again, look to your input and output scaling. It seems like you are introducing excess gain somehow. Scaling is the next obvious place to check.
 
Can I use the same gain setpoints from the micro to the Compact logix?
I have made the changes int he program and will be onsite next week to test...

On some PID post the guys show graphs of their setpoint and such... any chance someone could tell me how to do that?

Another question, in the Micro program the is a mul and div instruction for getting the Feed forward Bias... How does this convert to the Compact? IS the FF only used in Manual mode and since my loop is auto not used?
 
Last edited:

Similar Topics

Hello, We have had a machine running for the last 10 years. It has 2 x Kinetix 300 drives. Around a year ago, one of the drives failed. We were...
Replies
1
Views
424
Hi All Trying to get the PLC to send a commant to the printer to prinnt a lable. evarything is setup except RS linnx cannot see the printers and...
Replies
0
Views
383
Hi All I'm trying to connect two zebra printers to th PLC through Ethernet. I can ping the Printer through my laptop connected to the private...
Replies
0
Views
359
Hi, I recently tried to change the IP address of my 1769-L35E Series A, since doing this the MS indicator is flashing red and the NS indicator is...
Replies
3
Views
933
Hi, I have a compactlogix L35E and my analog input signals are bouncing all over. It's a 1769-IF8 card. We measured the signal at the wire going...
Replies
5
Views
1,920
Back
Top Bottom