QUOTE (0hi0 @ Jun 29 2009, 03:53 PM)

Just wondering if anyone has been successful using RSlogix?
I have a potential project where I have to develop a program to control:
Speed
Turbine Inlet Temp
Acceleration
Deceleration
Bleed Valves.
My experience is with CAT Engines controlling Compressors. Anyone have a go by ladder logic to use a a road map? I'm extremely week with PID loops.
I highly suggest you use the PIDE instruction in the function block diagram language rather than the traditional (PLC-5) PID loop which is available in ladder logic.
The PIDE loop has more options, an autotuner, and it is easier to set it up and visualize what it is doing. If you are familiar with the concept of PID loops but have never done it before, then use this one. Everything else I'm about to describe is the same except that you'd do it in function block rather than ladder (or a mix).
If you still want to use the standard PID loop, then if you are not using external backup PID controllers, ignore the "tieback" (program it to a dummy variable). Don't use "integer" files for PID loops, use the PD file structure (much easier, more features). Then do the following:
1. Use the ".SWM" (software manual bit) to switch between auto/manual control. In manual control, use the .SO variable to set the output in manual mode (scaled from 0 to 100%). Do not do this with external programming (this allows bumpless transfer). If you do this, you will get bumpless transfers as a bonus.
2. If you are doing feed forward/feed backward loops, then you WILL need to externally add the feed forward stuff to the PID loop. So you will write the feed forward loop in ladder (probably a compute block), and add the output of the feed forward loop to the PID output, with some clamping to avoid exceeding output limits. With the PIDE instruction, this is built-in so it makes life a bit simpler. If you are doing motion control, this approach is almost a requirement.
3. The set point is ".SP". I'm not entirely sure why the 3 values on the instruction "face plate" are the process variable, control variable, and tie back, when most folks would expect it to be CV, PV, and SP, but that's what it is. So you have to use a move instruction to externally move the desired SP value into the PID loop.
Also if you are weak with PID loops, then keep in mind that tuning is/can be difficult. This is one area where even though I'm not much of an autotuning fan (they can work but only with lots of control over the process), you might be better starting off with an autotuner such as the one AB sells with Logix5K Pro, or the built-in one in the PIDE instruction (CLX processors only), or buying Expertune or something similar. I also highly suggest that even though they are fairly expensive, go to one of the 1-2 day PID loop tuning classes. The much better approach of course is to predetermine all your coefficients with mathematical modelling of your system. Unfortunately though this is often only practical with mechanical systems. With process systems, there are often just too many unknowns or things that can't be easily quantified so tuning is an impossibility.