Skip to main content
Call Eric:863-698-8266
CURRYCONTROLS.COMControls & Automation Knowledge Hub
TroubleshootingTroubleshootingPLC

Retentive Data Lost

The plant came back from a power cycle with zero setpoints, zero totals, and the wrong pump as lead. Which backup failed, which restore overwrote what, and how to get the data back and keep it.

7 min readUpdated Sep 5, 2026Published Sep 5, 2026By Eric Sullivan

Symptom

After a power cycle, a download, or a processor replacement, setpoints read zero or default, totalizers and run hours have reset, alternation starts from the first pump, and operators are re-entering values from memory.

The short answer

Retentive Data Lost

Retained data is lost when the backup that holds it fails, or when something writes over it. A dead battery or a discharged energy storage module leaves nothing after an outage; a download loads the values saved in the project; a memory card set to load on power-up restores the day it was written. Recover from the most recent upload of the controller, then find which of those happened, because the same cause will do it again at the next outage.

Key points

  • A low battery indicator that was lit for months is the usual story. Check it first and check the battery date.
  • A download replaces the data table with the values in the project file. If the project is old, so are the values.
  • A nonvolatile card configured to load on power-up restores whatever it held, however stale.
  • Recovery is from the last upload; if there is none, the values come from operator memory and the narrative.
  • Prevent the next one: replace the battery on schedule, upload after every change, and hold setpoints in SCADA as a second copy.

Possible causes and what to check

Possible causeWhat to check
Battery deadThe battery indicator is lit, and the battery date on the module or in the log is years old. A power cycle with a dead battery clears the retained data.
Energy storage module dischargedThe controller was unpowered for longer than the module holds, days to weeks, or the module has aged and holds less than it did.
Download from a stale projectSomeone downloaded. The project file on the laptop carried the tag values from the day it was saved.
Memory card restoreThe card is set to load on power-up, and it was written at commissioning. Everything since then is gone after every power cycle.
Processor replaced or firmware updatedA new processor has an empty data table, and a firmware update clears it on most platforms. Was an upload taken first?
Tags not retentiveOn a platform where retention is per tag or per area, the tags were never marked. This shows up at the first real power cycle after commissioning.
First-scan logic clearing valuesA routine on the first-scan bit that initializes tags, written for commissioning and left in. It runs on every power-up.
Corrupted memoryA fault code naming memory, after a lightning event or a hardware failure. The data is gone and the processor may be suspect.

Get the plant running first

A plant with zero setpoints is a plant that is not controlling. Before finding the cause, restore operation: load the last upload if there is one, or enter the setpoints from the control narrative and the operators, and check every one against its range before putting anything in auto. Totals and run hours can be reconstructed later from the historian; setpoints cannot wait.

Which one was it

  1. 1

    Look at the battery indicator and the fault log.

    A lit battery light, a low battery entry in the log, or a battery date years past its replacement interval settles it.

  2. 2

    Ask what happened just before.

    A power outage, a download, a processor swap, a firmware update, a card inserted. Each has its own signature, and someone knows.

  3. 3

    Check the memory card setting.

    If a card is installed, read its load configuration and the date it was written. A card set to load on power-up with an old date is the cause, and it will be the cause again.

  4. 4

    Compare the values you have to what was lost.

    Values reset to the project defaults point to a download or a card. Values reset to zero point to a lost data table.

  5. 5

    Check retention configuration.

    On platforms that mark retention per tag or area, confirm the lost tags were marked. If not, the data was never retained and this was the first power cycle to show it.

Recovering the data

From an upload
The best case. An upload taken from the running controller, with its data table, restores everything to the moment it was taken. Restore it and reconcile the setpoints changed since.
From SCADA
Setpoints entered from the HMI are often stored in the SCADA database as well as the controller, and the historian holds the last value of every logged tag. Read them back from there.
From the narrative and the operators
The control narrative lists initial setpoints; the operators know what they changed and why. Slower, and it works.
Totals and run hours
Reconstruct from the historian, from the last report, or from the equipment’s own hour meters. Note the date of the reset on the record so that a future reviewer understands the step in the trend.

Keeping it from happening again

  • Replace the battery on a schedule, with the controller powered, and write the date on it and on the rack drawing. Alarm the low battery bit in SCADA so it cannot be ignored.
  • Upload the controller, including the data table, after every change and on a schedule, and keep the copies somewhere that is not in the panel.
  • Set the memory card to load only on a lost memory, not on every power-up, and rewrite it after every change if it is relied on at all.
  • Before any download, upload first and compare. Before any processor swap or firmware update, upload first.
  • Hold setpoints in SCADA as well, and write them back to the controller on first scan or on operator command, so that a controller that comes up empty is refilled from the host.
  • Remove commissioning initialization logic from the first-scan routine, or guard it so it runs once and never again.

Frequently asked questions

Can I get the setpoints back after the battery died?
From the last upload of the controller, from the SCADA database or historian, or from the control narrative and the operators. The controller itself has nothing to give back.
Why did a download reset my setpoints?
A download writes the whole project, including the tag values saved in the project file, and those are the values from the day it was saved. Upload before you download, and either merge the current values into the project or restore them afterward.
How do I know if my controller has a battery or a capacitor module?
From the processor manual and the module on the front of it. Newer processors mostly use an energy storage module with no replacement; older ones use a lithium battery with a replacement interval. Either way the controller reports its status.
Should setpoints be stored in SCADA as well as the PLC?
Yes. The controller is the authority while running, and SCADA is the backup that refills it after a loss. Write-back on first scan or on an operator command, with the operator confirming, is the usual arrangement.

Direct contact

Have a controls question?

Reach Eric Sullivan directly about anything on this site, a controls or automation topic, or one of his personal projects.