I've been doing cascaded loops for awhile, so hopefully I don't need a primer on the control theory What I'm specifically after is the mechanics of setting up the PID in RSLogix5000 (not to be confused with PIDE, a customer request). I've done them in PLC5 and SLC5, no problems. Here's the two points I'm interested in:
According to the instruction help and one example given, you configure the PID blocks themselves and tell the Master its the Master and tell the Slave it is the slave and point it to the Master PID control word. Easy enough. However, the example shows a tag for the Master Control Variable. I'm assuming this is just a throw away tag as by linking the two PIDs with the Master/Slave attributes, the Master.CV automatically gets sent to the Slave.SP. At least that's how I read the manual and the example shown. So, the Master CV tag really is just a dummy placeholder?
Next question, is how do I disable the Master and throw the Slave into single PID operation. There are times when there is no Master PV to measure and we need to control the slave loop by the slave PV only. In the past, I just turn off the Master loop, and move a different SP into the Slave. But since the Master/Slave link seems to be behind the scenes, how do I ensure that the slave SP is not coming from the Master PID control word?
I think I could accomplish both of the above by just treating each PID block as a Master (as far as RSLogix5000 is concerned) and copy the Master CV tag to the Slave SP tag when in cascade, and use an external SP copied to the Slave SP when not in cascade.
Anyone done this specifically with PID in ladder in RSLogix5000?
According to the instruction help and one example given, you configure the PID blocks themselves and tell the Master its the Master and tell the Slave it is the slave and point it to the Master PID control word. Easy enough. However, the example shows a tag for the Master Control Variable. I'm assuming this is just a throw away tag as by linking the two PIDs with the Master/Slave attributes, the Master.CV automatically gets sent to the Slave.SP. At least that's how I read the manual and the example shown. So, the Master CV tag really is just a dummy placeholder?
Next question, is how do I disable the Master and throw the Slave into single PID operation. There are times when there is no Master PV to measure and we need to control the slave loop by the slave PV only. In the past, I just turn off the Master loop, and move a different SP into the Slave. But since the Master/Slave link seems to be behind the scenes, how do I ensure that the slave SP is not coming from the Master PID control word?
I think I could accomplish both of the above by just treating each PID block as a Master (as far as RSLogix5000 is concerned) and copy the Master CV tag to the Slave SP tag when in cascade, and use an external SP copied to the Slave SP when not in cascade.
Anyone done this specifically with PID in ladder in RSLogix5000?