Test PID Code for SLC-500

How can I test some PID code I have written for a SLC-500 in RSLogix500, without having an actual processor to test on. I have used Emulate500 to date, but was having issues getting the PID block to function. I learned that, it will not run on Emulate500 (meaning, Emulate500 will not do any calcs, move CV, etc). Is there any other software or recommendations on how I can test my code, other than on a physical controller?
Thanks!!
 
Are you using a PID instruction, or did you construct a PID algorithm from ladder elements?

The reason I ask is that Emulate500 does not emulate the PID instruction, but one that it is straightforward to implement the PID algorithm using basic instructions that Emulate500 does emulate.
 
You have two problems. No PLC and no model to test it on. The good news is that the SLC/500 PID uses a relatively standard ISA PID with dependent gains and time constants in minutes. In other words it is easy to write PID in Excel or some other language to simulate how the PID works. The real problem is simulating the system to test it on.

I have wondered if people are willing to buy an Arduino or Raspberry PI if it had the ability to simulate temperature control and other systems. It would require a good quality analog input and analogue output. I think I would lean towards the Raspberry PI.

It amazes me tha the SLC500 simulator can simulate a PID when it is so easy to do.
 

Similar Topics

Hi everyone, I am interested in learning about PID Loops. I have not used one in any of my programming yet but want to be ready should it come...
4
Replies
3,005
Views
Hello, I've been tinkering with PIDs for a while now and have a pretty good understanding of all of the terms. I typically set my initial (first...
5
Replies
3,145
Views
I need to make a PID loop to control a 4-20 mA signal to a recycle valve that controls a pressure. Is there a way to test the PID controller...
12
Replies
5,070
Views
I'm not a controls guy, so go easy on wording. I'm building a lightweight Windows utility for engineering workstations and need to observe how...
9
Replies
409
Views
I'm looking for some equipment to test and play with HART. Trying to learn the process world just a little at a time. I have HART configuration...
5
Replies
328
Views
Top