Cannot Change PID setup while online?

amcraw16

Member
Join Date
Jan 2021
Location
Hanover, Pennsylvania
Posts
2
Usually I just read other posts on here but I simply cannot find the answer to my problem this time.

I have a PLC-5 40E. There is a PID that controls a burner and we need to adjust the P and I in the setup.
When I change the values in the PID setup screen, they never actually change in the data file. Same for editing them right in the PD data file.

Then we tried changing the PID settings offline and downloading to the controller. Even then, the old PID settings remain. What gives? How can I adjust the PID settings, preferably online if possible?
 
Sounds like they may be being written from a MSG (in another PLC) or some form of HMI that is persistent, or even a local recipe that is moving data.
 
You are both right. Thanks for the simple pointers.
Every scan cycle the PD data file was being written to by floating point values. Doesn't seem to be any particular reason, the PID is not controllable by HMI.
 
WAG... not sure if this is the case but a lot of the time I will put things like this in registers so when tuning its easier and faster to change a register than it is to pull up a PID and modify the parameters, same thing with steppers when you have several its a LOT easier to have a spread sheet that you can make changes to and not have to search the program for parts when commissioning
 
WAG... not sure if this is the case but a lot of the time I will put things like this in registers so when tuning its easier and faster to change a register than it is to pull up a PID and modify the parameters, same thing with steppers when you have several its a LOT easier to have a spread sheet that you can make changes to and not have to search the program for parts when commissioning

This would be my guess too, HMI (or other source) writing to NX:X which is getting written to the actual word containing the PID parameters.
 
WAG... not sure if this is the case but a lot of the time I will put things like this in registers so when tuning its easier and faster to change a register than it is to pull up a PID and modify the parameters, same thing with steppers when you have several its a LOT easier to have a spread sheet that you can make changes to and not have to search the program for parts when commissioning

I had a few projects that used a LOT of PID's and I put tags in MOV blocks to send parameter changes to P, I and D. Worked well; when I was online and needed to modify a setting I just wrote in what I needed without having to go off line or open the PID as you mentioned. If the PID was named "PID_GasValve" then I made a tag "Gas_Valve_kp" for moving changes to "PID_GasValve.KP". That worked and I see no reason it couldn't be written from an HMI, however that might be quite risky.
 

Similar Topics

Hello. I cannot change the SendClock settings for a PROFINET IO device. I need to slow down the CODESYS PROFINET IO controller. What am I doing...
Replies
0
Views
202
Hi , I am working on Siemens CPU 315-2DP(6es7315-2af03-0ab0) while working online i try to modify bool value memory address M33.3,M34.0 but it is...
Replies
1
Views
2,329
I have a pair of fuji frenic mini c2 drives on exhaust fans, and I can't change any parameters. F00 is set to 1 X1 is set to WE-KP Jumper is on...
Replies
3
Views
2,089
I'm trying to simply change a timer preset value from 100 to 500 (x .01 sec) using RSLogix 500. It allows me to highlight the value and type in...
Replies
5
Views
7,940
I've just changed the IP address for PLC 5/40 with 1785 ENET but I found somethin wrong on RSLinx classic. Last IP is 172.26.52.1 and the new IP...
Replies
8
Views
9,012
Back
Top Bottom