RSLogix 500 PID

iMalinko

Member
Join Date
Mar 2016
Location
Massachusetts
Posts
13
Hi, all.

I am new to AB PLCs, and I've been a shadow on these forums looking for information. I've been wanting to set up a PID loop, and I wanted a little help of help, or at least confirmation in terms of concept of what I'm doing.

I am attempting to control a power controller that utilizes a 0 - 5 VDC signal, so 0 - 16380.

I have a feed source of water, which varies but bounces around 1,800 to 2,400 uS. I want the desired product (from the component) to be 300 uS. The component will utilize the power controller signal to increase/decrease the power required to get the 300 uS output. Ideally, I'd want to have this 300 value be a number that I key in from my HMI (which I have already set up).

So, how would I set this up?

I know that I need 23 blocks to use a PID controller. I know the Process Variable needs to be the feed, and I know the control variable needs to be 300, or whatever I enter it on the HMI.

Would I use E = SP - PV?

Output min and max would be 0 - 100%
Setpoint min and max would be 0 - 16380

I guess I don't know what to make setpoint SP or process variable PV in the PID setup.

Any help, or guidance to articles would be appreciated. I've been looking at examples/other posts in terms of their application.
 
Hi, all.

I am new to AB PLCs, and I've been a shadow on these forums looking for information. I've been wanting to set up a PID loop, and I wanted a little help of help, or at least confirmation in terms of concept of what I'm doing.

I am attempting to control a power controller that utilizes a 0 - 5 VDC signal, so 0 - 16380.

I have a feed source of water, which varies but bounces around 1,800 to 2,400 uS. I want the desired product (from the component) to be 300 uS. The component will utilize the power controller signal to increase/decrease the power required to get the 300 uS output. Ideally, I'd want to have this 300 value be a number that I key in from my HMI (which I have already set up).

So, how would I set this up?

I know that I need 23 blocks to use a PID controller. I know the Process Variable needs to be the feed, and I know the control variable needs to be 300, or whatever I enter it on the HMI.

Would I use E = SP - PV?

Output min and max would be 0 - 100%
Setpoint min and max would be 0 - 16380

I guess I don't know what to make setpoint SP or process variable PV in the PID setup.

Any help, or guidance to articles would be appreciated. I've been looking at examples/other posts in terms of their application.

Your process variable is the analog input from the measuring device. You do not set this. The Setpoint is what you would LIKE the Process Variable to be.

Whether you're using E=SP-PV or E=PV-SP depends on how your controller works. E=SP-PV means that if the PV is lower than the SP, the output will INCREASE. If your controller increases flow with a higher signal voltage, then that is what you want to use. If your controller decreases flow as the signal increases, then you'll want to use the Direct-Acting, or E=PV-SP.

EDIT: I've attached the most helpful files I've found to date for this. I've used the Micrologix Tuning example before and got a near-perfect tuning for a heating setup with it.
 
Last edited:
Thanks for the attachments. I'll review, and see what I can learn.

So this process is interesting. The input will always be higher than the set point. Ideally, I want the power controller to increase and decrease the power applied so we can get the outlet as close to 300 as possible.

For example, the more power I have, the lower the outlet would be. The less power I have, the higher the outlet would be.

I am assuming I have to use E=SP-PV
 
All,

I've reviewed the material, and looked at examples, and I still have a few questions.

For the PID instruction (under File/Misc); I see the fields:
PID File
Process Variable
Control Variable

What is PID File?

Also,

I have two sensors -- a feed sensor (which measures a number between 500 - 2000 and varies). In my PLC, it is F8:0

I have a product sensor -- this is what the actual output is (going through my component). This is F8:3.

I have a keypad input on my HMI. N7:36. This is what I want my set point to be.

Do I have enough for these fields? I guess I just don't know where I can put my set point value into.
 

Similar Topics

Hi, Long time not in the forum, and not in the programming. I´m getting back. I was issued a conversion from RSLogix 500 to RSLogix 5000 (studio...
Replies
0
Views
1,289
I have 3 valves that I need to open for 1 minute every 30 minutes, but not all at the same time. I have one TON timer (Start Blowdowns Timer)...
Replies
15
Views
4,611
Hi good people I have a question regarding a program on a machines heater control, I have 3 x heater contactor controlled via a plc It looks...
Replies
5
Views
1,783
Hello All, This forum has been of great help for me As i mentioned in my earlier posts that I am a learner so pardon me if I ask silly questions...
Replies
9
Views
3,190
I am attempting to use the PID instruction in RSLogix 500, with a Micrologix 1400 PLC. I have I:2.3 (4 - 20 mA) scaled for 0 to 10000, and stored...
Replies
7
Views
6,242
Back
Top Bottom