r/PLC • u/Innumera • 14h ago
PLC Question Always upload plc project before monitoring?
Just wondering what's considered good practice when it comes to going online to monitor a plc. Either opening the latest project file before going online vs always transferring to the PC first so you're guaranteed to have the latest version (in this case there's only 1 workstation used to connect to the PLC).
9
Upvotes
3
u/PLCGoBrrr 14h ago edited 14h ago
Always make sure the code on the controller is saved before making any changes. I usually rev the filename every time I go online with a controller and it's proved out very helpful at times when I'm not sure when a thing changed. Now with AI I could ask it to look for a change and wouldn't need to dig through the files myself.
18
u/HeavyPersonality4428 14h ago
Really depends on PLC brand. Rockwell controllers will correlate the offline copy to the online project if there are minor changes, otherwise you’ll be prompted to upload before going online if the changes are too great. Other PLCs behave differently.
5
u/green_gold_purple 14h ago
It depends on the PLC. I consider it best practice in general to load the program that's on the PLC. If it's the same, you've lost nothing. If somebody has made an edit, or you have not synchronized your PC or anything else, you eliminate the possibility of overwriting newer changes. Also by doing this, you can monitor before making any changes.
3
u/-xX--Xx- 14h ago
If you're going online with an S7 it will show you where the offline project is different from what's in the PLC and you can then just upload the difference.
2
u/Constant_Barber_5198 13h ago
Something no one has mentioned is that it depends on the emvironment as well. Some places make heavy use of sd cards and often change programs. Some controllers like old panasonics will show an incorrect data table!
So you have to understand the platform behavior and also use judgement.
2
u/Legitimate-Sorbet526 5h ago
Always upload first. You want whatever is running on the PLC as a starting point. You never know when someone swaps an IO point or two at 1:03 AM and doesn’t update the prints. You don’t want to find that out…granted you said “monitoring “, but oftentimes my “monitoring” works out to active changes.
How about this…always get what is running on the PLC before making active changes offline.
1
u/dfw-dashcam 45m ago
Central repository for offline files with change control comments for each revision. When going online always upload. Code compare if online differs from offline. Sometimes you'll need to upload even when no code changes have occurred. Don't keep an SD card in the PLC, can roll back to an older version if not updated correctly.
1
u/Flimsy-Process230 4h ago
Never upload to PLC when going online. Best practice is to have an offline copy that is identical to what you have in the PLC. If there are random changes that are not backed up, start there.