iMalinko
Member
I am attempting to use the PID instruction in RSLogix 500, with a Micrologix 1400 PLC.
I have I:2.3 (4 - 20 mA) scaled for 0 to 10000, and stored as F8:3.
So, when I have the PID instruction -- I know I need to re-scale F8:3 for 0 - 16383, correct? What should I store this as? The output of this SCP?
Also, on my HMI -- I have a set point that is N7:36. Basically, I want this as my set point for my PID. This is real number 300 -- do I have to scale this with SCP instruction? And if so, how do I use that in my PID instruction? I read somewhere that the PID instruction takes a few parameters (numbers) and one of these are the set point? What should I be aware of?
The last question is -- how do I set up the "PID file" Example, the PD:10 section? How do I define is, or is there a way I should define it?
I have I:2.3 (4 - 20 mA) scaled for 0 to 10000, and stored as F8:3.
So, when I have the PID instruction -- I know I need to re-scale F8:3 for 0 - 16383, correct? What should I store this as? The output of this SCP?
Also, on my HMI -- I have a set point that is N7:36. Basically, I want this as my set point for my PID. This is real number 300 -- do I have to scale this with SCP instruction? And if so, how do I use that in my PID instruction? I read somewhere that the PID instruction takes a few parameters (numbers) and one of these are the set point? What should I be aware of?
The last question is -- how do I set up the "PID file" Example, the PD:10 section? How do I define is, or is there a way I should define it?