Steve Etter
Lifetime Supporting Member + Moderator
Hi all,
I am trying to program a PID loop in a GE Fanuc 90-30 PLC. I am making pretty good progress with the majority of variables (PV, CV, SP) but I am having a bit of trouble in the actual application of the little guy.
My goal is to sum the PID's CV with a hard setpoint and to then output a modified signal. Because of the application, I need to turn the PID loop off and on at various times. Each time the loop is turned off, I need for the CV value to immediately go to zero so that the next time it is turned back on, the modified output will ramp back up or down as necessary using the PID. Typically I have had some sort of reset available. With the Fanuc's loop I cannot seem to find one.
What I am getting now is that when I turn off the PID, the CV value retains its last calculation and when I turn it back on it picks up where it last left off and this stored value is immediately added to the hard setpoint to create my modified signal.
Is there as reset I cannot find or am I just going about this all wrong?
If anyone has some help out there, I would appreciate it.
Steve
I am trying to program a PID loop in a GE Fanuc 90-30 PLC. I am making pretty good progress with the majority of variables (PV, CV, SP) but I am having a bit of trouble in the actual application of the little guy.
My goal is to sum the PID's CV with a hard setpoint and to then output a modified signal. Because of the application, I need to turn the PID loop off and on at various times. Each time the loop is turned off, I need for the CV value to immediately go to zero so that the next time it is turned back on, the modified output will ramp back up or down as necessary using the PID. Typically I have had some sort of reset available. With the Fanuc's loop I cannot seem to find one.
What I am getting now is that when I turn off the PID, the CV value retains its last calculation and when I turn it back on it picks up where it last left off and this stored value is immediately added to the hard setpoint to create my modified signal.
Is there as reset I cannot find or am I just going about this all wrong?
If anyone has some help out there, I would appreciate it.
Steve