Data Retention on EEPROM?

shoelesscraig

Member
Join Date
Apr 2009
Location
LA
Posts
382
Ok, quick question. I've got a SLC 5/03. One of the data tables is used to track "all time highs" of certain variables. In other words, the highest that a particular set of integers has ever been. Everything works fine, but when the power is cycled, which doesn't happen very often but happens nonetheless, it resets all of these numbers. The EEPROM loads the stored program (along with the data files). So, I'm not getting the true "highest" values if a new value has been set since the EEPROM was saved.

Is there a way to stop this? I've read about data file protection, but I don't really know if this is what I'm looking for. I just want to NOT lose my "all time highs" with a power cycle. Any suggestions? And yes, all of the values I want to keep are in the same data file.
 
Ok, so with all of the gurus on here, no one knows the answer to this question??? I'm not buying it. Where's Ron Beaufort when you need him!?!? (Or Okie, Mickey, Peter...the list goes on),
 
Ok, quick question. I've got a SLC 5/03. One of the data tables is used to track "all time highs" of certain variables. In other words, the highest that a particular set of integers has ever been. Everything works fine, but when the power is cycled, which doesn't happen very often but happens nonetheless, it resets all of these numbers. The EEPROM loads the stored program (along with the data files). So, I'm not getting the true "highest" values if a new value has been set since the EEPROM was saved.

Is there a way to stop this? I've read about data file protection, but I don't really know if this is what I'm looking for. I just want to NOT lose my "all time highs" with a power cycle. Any suggestions? And yes, all of the values I want to keep are in the same data file.


I think this will work. If you are not saving the Data to an entirely separate Data Table, then create a new Data Table and modify your program to save your highest values to it. Under the Data File Properties, at the bottom of the dialog, there is a Protection section. Check Memory Module. My understanding is this will protect your Data during a normal Memory Module Loads. However, it will not protect it if the Load is caused by a Memory Corruption. All these changes must be done Offline and Downloaded to the PLC.

Search for Data File Protection in the SLC500 Help.

Stu.....
 
Last edited:
Thanks Stu. I'll go ahead and try doing what you said. It was my understanding that you had to either click "static" or "constant" as your protection type for that data file, and selecting "memory module" just added the static or constant protection to the EEPROM as well. But, I may be misunderstanding. I'll try to post what I find.
 
Another thing you may want to do is only load from EEPROM on a memory corruption. Do this by setting S:1/10 and leave the other EEPROM bits at zero.

Then it should very rarely happen, and you can monitor the state of S:5/8 (as long as it was saved with a 0 there) to detect when an EEPROM load has occurred.
 
Another thing you may want to do is only load from EEPROM on a memory corruption. Do this by setting S:1/10 and leave the other EEPROM bits at zero.

Then it should very rarely happen, and you can monitor the state of S:5/8 (as long as it was saved with a 0 there) to detect when an EEPROM load has occurred.

Good idea. This may be the ticket...
 

Similar Topics

Hi, We are using a ISAGraf soft logic Package to develop small programs for Water and WasteWater Treatment plants using T4e Telemetry units...
Replies
0
Views
1,616
I'm a newbie with the Motorola ACE3600 and have an issue with data retention. These RTUs have a battery backup but if the AC is down long enough...
Replies
14
Views
6,425
Is there any other reason besides re-downloading that I would be losing my actual values and reverting to my initial values in my DB's with a...
Replies
9
Views
3,485
Hello I have a s7-1200 and I would like to read the tags present in this controller with my controllogix controller. The two controllers don't use...
Replies
5
Views
118
Hi folks, I'm not as accustom with Siemens & WinCC, however I've been asked to increase the amount of data an existing application is logging...
Replies
2
Views
65
Back
Top Bottom