Scaling AB 5/02

pault

Member
Join Date
Jan 2009
Location
NC
Posts
6
Hi there. New to the site and hope someone can help. I have a scaling issue. I am using a flow meter for input and using a 4-20ma output for a positioner valve with I/P. Can't get the thing setup up right to scale. Please help
 
I have AB 5/02 proc. with Panelview 350. Just started with company and they threw me in to a mess.
PID
control block N11:0
process variable I:4.1
control variable N7:15
control block length 23
SCL
source N7:15
rate 16762
offset 8929
dest o:8.1
MOV
source3278
dest O:8.1
hope that helps
 
What analog output card ( module) are you using.
Post your .RSS file if you can. ( zip it first then post)
 
do you want to "just get the job done" and get on with your life - or do you want to dig into the subject of scaling? ...

if you're looking for information to help you along the "learning curve" the information ("Scaling Part 1" and "Scaling Part 2") on my website should answer all of your questions ... look in the "Sample Lessons" area ...

of course regardless of what path you're trying to follow, you'll definitely need the "specifications" type material that my distinguished colleagues have already requested ... basic idea: different modules and different applications require different configurations ... (one size doesn't fit all) ...

going further:

process variable I:4.1

that particular part of your PID setup looks highly suspicious ... most input modules don't have the capability of putting out a range of 0 to 16383 - and THAT is the ONLY input range that will allow your PID to give optimum control ...

reality check: in most SLC systems, you have to scale the signal coming from the input module before it goes to the PID ... you also usually need to scale the output also ... we'll be able to tell more about your system once you post your code ...

hope this helps ...
 
Last edited:
I am having to install zip on this computer will get the file as soon as its done. I am using RSLogix 500. The I:4.1 is coming straight from a flow meter and they are trying to scale the output to open and close the water valve.
 
I am having to install zip on this computer will get the file as soon as its done. I am using RSLogix 500. The I:4.1 is coming straight from a flow meter and they are trying to scale the output to open and close the water valve.

As an option to a real zip file. You can just change the extension of your .RSS file to "zip". But if you do that let the forum know.
 
First thing first -- you desperately need to add some documentation to that program!!!

Then, I think the major problem is that you need to scale your input. You're telling your PID in rung 76 that its setpoint is 120, which appears to be a scaled value. The PV is 4440, which is a raw value that is way out of the bounds that you have configured in your PID.

The reason the output is 6242 is because the SCL destination is being overridden in run 78 because the value is out of range.


All of your PIDs appear to have this same issue.
 
As others have pointed out you need to first rescale the raw flow meter input to something the PID instruction wants ( 0-16383 value for PV input)
See example PDF below for scaling values and PID setpoint setup.
This example is just for the one input you have questions about, I agree with OZEE the rest of the PID instructions all seem to have major issues along these same lines.
If you are close to Charleston,SC give Ron Beaufort a call. A short trip down there would be very valuable.
 
Last edited:
Thanks to all of you for the help. I will be working on this matter more tomorrow. I believe all the programs they have here are the same. It is taking me a little while to figure out what is what. I will let you know what I come up with.
 

Similar Topics

I want to measure the tank level and get the sensor output to the PLC. Below are the details : Tank Height =0 - 3m, the sensor is stalled 0,2m...
Replies
14
Views
503
Hi, I have a ControlLogix system with 1756-IF16 analogue inputs. I can't scale the inputs at the card as there is a requirement to facilitate...
Replies
10
Views
201
I know nothing about simaticnet OPC server. I do know Kepware. I would only ever scale raw to engineering in the PLC, but it is possible to scale...
Replies
5
Views
216
Hi all. I'm working on a rehab and I'm trying to figure stuff out. See screenshot at the bottom. Local:5:I.Data[6] in BTD instruction is a...
Replies
6
Views
705
Hello all, First post here. Hitting a wall with finding info on this topic online, and none of my coworkers have a clue. I have a PanelView...
Replies
10
Views
1,340
Back
Top Bottom