RSLogix5000 PID PV Scaling Question

bbopn

Lifetime Supporting Member
Join Date
Jun 2003
Location
Tulsa, OK
Posts
37
Greetings All,

I have a quick question regarding the PV scaling parameters in regards to PID Settings. I searched through all the manuals I could search for at AB as well as the knowledge base, but didn't find any definitive answer to my hopefully easy question.

Here's the particulars:

Processor: 1756-L61 ControlLogix5561 Controller
AI Card: 1756-IF8 Module
Transmitter: 0 - 100" LT

Here's the config settings for Ch2 of the IF8 card via screen shot:

456001228_598ee29cc3.jpg



Here I set the Engineering Units for the 0 to 100" that relates to the 4 to 20mA. In the settings of the PID instruction I'm using... specifically the PV settings I'm kind of thrown off regarding the "unscaled" and "scaled" parameters. In other words I'm scaling the value via Ch2's AI config. What needs to go in the PID PV settings? Here's my lame guess:

456001236_6df95855aa_o.jpg


Would this be correct? Any help or insight would be appreciated.

Regards,
Bobby
 
You are correct. If the analog input is scaled to engineering units, then the unscaled and engineering unit scale in the PID configuration are identical.
 
You are correct. If the analog input is scaled to engineering units, then the unscaled and engineering unit scale in the PID configuration are identical.

Hi Danny,

I agree 100% with your answer and would like to expand it and see if you agree:

"...then the unscaled and engineering unit scale in the PID configuration are identical AND EQUAL TO THE ANALOG INPUT RANGE".

Let's say the analog input was scales to 0-600 PSI.

Then .MINI = .MINS = 0 and .MAXI = .MAXS = 600.

If you don't do that (let's say, you leave them both equal to 0-4095), then the calculated error fed to the PID calculation is wrong. Please refer to the top diagram on page 526 of Publication 1756-RM003O-EN-P - November 2012.

The "Convert Units to %" block calculates Error(in EU) × 100/(.MAXS - ,MINS).

If .MAXS and .MINS don't match the scaling range, then the error in % will be wrong.

What do you think?

Thank you
 
RS5000 PID Blocks

Hey, I was looking for this equation and found on a old RS5000 Manual.
the MAXI , MINI, MAXS and MAXS are shown in the picture below and they are very critical for tunning and for PID performance.

The PID algorithm makes the calculations below

ERROR% = ERROR_EU *(100)/(MAXS - MINS)

PV_EU (shown in the pop up from PID) = (PV_inputfromPID - MINI)*(MAXS - MINS)/(MAXI - MINI) + MINS

PID_RockwellRS5000.JPG
 

Similar Topics

Hello, I have a program that monitors pressure in a manifold discharge pipe. Pressure in the pipe should be less then 7.5 PSI. If the pressure is...
Replies
17
Views
12,736
Hello all, I cant figure out why my PID is oscillating between 0 and 100 percent. My set point is steady and whenever I take my PID out of...
Replies
4
Views
3,465
Hello, Question: (Temp is whats being controlled here by 3 fans) Using a PID; can I set my output (CV) to be 100% at a specific input (PV)? In...
Replies
9
Views
2,229
Hello, I have already searched for that in the forum but did not get any satisfying answer, so here it goes: I have a 1769-L36ERM that controls...
Replies
4
Views
3,108
Dear all I would like to ask you for help in solving one algorithm, because I never worked with cascade PID. I have to realize heating valve...
Replies
12
Views
8,316
Back
Top Bottom