1. Problem Summary
The BATF (battery fault) LED on a Siemens SIMATIC S7-300 CPU 315 remains illuminated after the backup battery has been replaced. The PLC continues to execute the user program normally, but every time the supply voltage is removed the work memory is lost and the program must be reloaded from the SIMATIC Memory Card (MMC) or a PG/PC. The fault is not cleared by a power cycle, a STOP/RUN transition, or a memory reset (MRES). This article documents the diagnostic path, the underlying hardware conditions that drive the BATF indicator, and the migration option to a maintenance-free MMC-only CPU variant.
2. BATF LED Behaviour and Definitions
The BATF LED is part of the CPU status display alongside SF, BF, DC5V, FRCE, RUN, and STOP. According to the SIMATIC S7-300 CPU 312 IFM through CPU 318-2 DP manual (chapter 1.3.2), the BATF LED is lit when:
- The backup battery is missing.
- The backup battery is faulty (open-circuit voltage below the internal monitoring threshold).
- The backup battery is not yet charged (relevant for the optional rechargeable buffer on certain older 6ES7-315 variants).
- A rechargeable battery is installed but the user program is not backed up by the rechargeable cell — i.e. the BATF line is also driven when the CPU detects a rechargeable battery where a primary lithium cell is expected for that firmware.
The BATF LED has no effect on the cyclic program execution. It is purely a diagnostic indication. However, a sustained BATF condition means the retentive areas (M, T, C, DB instance data marked as retentive) are not protected against power failure. After every STOP-to-RUN or power-off-to-power-on transition the CPU will start in a cold-restart state.
| Condition | BATF | Retentivity | Program retained? |
|---|---|---|---|
| Battery present, U > 3.0 V, primary lithium | OFF | Yes | Yes |
| Battery missing | ON | No | Yes (in work RAM) |
| Battery present, U < 2.7 V (failing) | ON | No | Yes |
| Rechargeable installed, not charged, firmware expects primary | ON | No | Yes |
| MMC-only CPU (no battery compartment) | OFF | Yes (MMC-backed) | Yes |
3. CPU 315-2 DP Hardware Identification (MLFB)
Always verify the exact MLFB (Maschinenlesbare Fabrikatebezeichnung, the Siemens order number) before ordering parts. The 6ES7-315 family has multiple hardware revisions with different battery requirements and MMC support:
| MLFB | Firmware | Battery required | MMC required | Notes |
|---|---|---|---|---|
| 6ES7 315-2AF03-0AB0 | V1.0 | Yes (primary lithium) | Optional (load memory only) | Early variant |
| 6ES7 315-2AF82-0AB0 | V1.1 | Yes | Optional | Slim front connector |
| 6ES7 315-2AG10-0AB0 | V2.0 | Optional | Required for full operation | MMC mandatory for firmware update |
| 6ES7 315-2AH14-0AB0 | V3.3 | No (MMC backed) | Required | Maintenance-free |
| 6ES7 315-2EH14-0AB0 | V3.3 (PN) | No | Required | PROFINET variant |
Only CPUs from firmware V2.0 onwards (6ES7 315-2AG10 and later) support operation without a backup battery when an MMC is inserted. On older hardware, removing the battery with no MMC installed will drive BATF and clear retentive data on every power-down.
4. Battery Types, Voltage, and Shelf Life Specifications
The Siemens-approved backup cell for the S7-300 family is a 3.6 V lithium-thionyl-chloride (Li-SOCl₂) primary cell. The reference part is 6ES7 971-1AA00-0AA0 (single cell, 2.3 Ah) with a self-discharge rate of approximately 1 % per year at 25 °C. The 6ES7 971-1BA00 and 6ES7 971-1CA00 designations are equivalent in function with different harness lengths.
| Parameter | Value |
|---|---|
| Nominal voltage | 3.6 V |
| Capacity | 2.3 Ah |
| Chemistry | Li-SOCl₂ |
| Backup time, fully charged, 25 °C | ≈ 2 years (CPU-dependent) |
| Open-circuit alarm threshold (BATF triggers) | ≈ 2.7 V |
| Operating temperature | 0 °C … 60 °C |
| Storage temperature | -20 °C … 60 °C (max 12 months before use) |
| Replacement interval (Siemens recommendation) | Every 5 years, preventive |
5. Diagnostic Procedure: Step-by-Step
- Read the MLFB. Open the cabinet, photograph the front of the CPU, and record the 6ES7 order number including the -0AB0 suffix. Without this, you cannot select the correct battery or firmware.
- Pull the existing battery and measure. With the supply OFF, eject the battery from its holder. Set a digital multimeter to DC V and measure the open-circuit voltage. Reading < 2.7 V: cell is dead. Reading 2.7–3.3 V: marginal, will not sustain BATF OFF. Reading 3.4–3.65 V: nominal.
- Inspect the holder. Look for green-white corrosion on the spring contacts, particularly the negative return. Even a fine oxide layer breaks the sense loop and BATF will stay on.
- Inspect the cable harness. The 6ES7 971-1AA00 lead is a 200 mm two-wire harness with a 2-pin Molex-type connector. Wiggle-test with the meter connected — an intermittent open-circuit reading (OL on the meter) indicates a broken conductor at the strain relief.
- Insert a known-good battery. Use a cell with a verified date code and a measured open-circuit voltage > 3.5 V. Match the chemistry exactly: do not substitute an alkaline AA cell or a NiMH rechargeable cell unless the CPU is rated for the rechargeable option (some very early 6ES7-315 revisions shipped with a NiMH back-up that is recharged from the 5 V rail).
- Power-cycle. Apply 24 V DC, observe BATF during power-up. The LED should extinguish within 3–5 seconds of RUN.
- Read the diagnostic buffer. Connect STEP 7 V5.x or TIA Portal and navigate to Online > Diagnostic Buffer (CPU > Diagnostic Buffer). Look for entries with Event ID 13B1 hex (battery voltage low) or 13B2 hex (battery exhausted). See Section 6.
- Force a battery test. From STEP 7, execute PLC > Diagnostics > Battery Test. The CPU draws a brief load through the cell and reports PASS / FAIL.
6. Diagnostic Buffer Event ID Interpretation
The diagnostic buffer is the authoritative record of the battery state. The CPU logs the following events when the battery monitoring hardware transitions state:
| Event ID (hex) | Meaning | BATF LED | Action |
|---|---|---|---|
| 13B1 | Battery voltage below threshold 1 (warning) | ON | Plan replacement within 4 weeks |
| 13B2 | Battery exhausted (warning / fault) | ON | Replace immediately |
| 13B3 | Battery removed (informational) | ON | Confirm intentional removal |
| 13B4 | Rechargeable battery not charged | ON | Allow 24 h charge cycle; replace if persistent |
| 4300 | Backup time expired, retentive data lost | ON after restart | Replace battery; verify project retentivity settings |
If the diagnostic buffer shows repeated 13B1 / 13B2 entries even with a freshly measured-good battery, the cause is almost always the sense-loop contact resistance inside the holder, not the cell itself.
7. Socket and Connector Inspection
The CPU senses the battery by sourcing a small test current (typically 10 µA) through the positive lead and measuring the drop across an internal resistor. Anything above ~2.7 V at the CPU end clears BATF; anything below keeps it lit. The internal resistor is in series with the cell, so any additional resistance in the holder raises the trip threshold.
Field-proven checks:
- Clean the holder with isopropyl alcohol and a non-abrasive swab. Do not use contact cleaners that leave residue.
- Measure the closed-loop resistance of the holder with the battery removed. With a fresh cell inserted, the reading across the two holder pads should be < 0.5 Ω. A reading of 1–5 Ω is enough to hold BATF on.
- Apply a thin film of NO-OX-ID or a similar contact lubricant to the spring pads. Do not use petroleum jelly; it traps chloride ions and accelerates corrosion.
- Bend the spring contacts slightly upward so they exert positive pressure on the cell button. The springs lose tension over years of vibration.
8. Battery Replacement Procedure
- Confirm the cabinet is in a safe state. The CPU may be in STOP, but the outputs retain their last value only if a battery is present.
- Open the hinged battery cover on the front of the CPU.
- Disconnect the 2-pin plug from the CPU. Do not pull on the wires.
- Remove the old cell from the holder.
- Insert the new 6ES7 971-1AA00 cell, observing polarity (red = +, black = −). The connector is keyed.
- Reconnect the plug. Listen for the positive click.
- Close the cover.
- Restore 24 V DC supply. The BATF LED should extinguish within 5 seconds of RUN.
- Clear the diagnostic buffer from STEP 7 to remove the legacy 13B1 / 13B2 entries.
9. MMC Migration Path (Firmware ≥ V2.0)
If the CPU is a hardware revision that supports MMC-only operation, the BATF LED can be permanently cleared by inserting a Siemens MMC (6ES7 953-8LFxx-0AA0 or larger) and re-flashing the project. The CPU stores the user program and retentive data on the MMC, eliminating the need for a battery.
Migration steps:
- Confirm the CPU MLFB supports MMC. See the table in Section 3. The 6ES7 315-2AF03 does not support MMC-only operation and will continue to require a battery.
- Insert the MMC into the slot under the cover. The slot is spring-loaded.
- From STEP 7, select PLC > Download User Program to Memory Card.
- Perform a memory reset (MRES) to wipe work RAM.
- Power-cycle. The CPU reads from MMC and BATF remains OFF because no battery sense current is drawn.
- Verify retentive data retention by removing 24 V DC for 60 seconds, then restoring. The M, T, C, and DB retentive areas should restore to their pre-power-down state.
For older 6ES7 315-2AFxx variants that cannot run without a battery, the only permanent remedy is to replace the CPU with a current MLFB such as 6ES7 315-2AH14-0AB0. This is the long-term Siemens-recommended path for installations where the BATF LED has become a recurring maintenance burden.
10. Verification and Test Sequence
After replacement or migration, run the following verification sequence before returning the system to production:
- Power-up with MMC inserted. Confirm BATF OFF within 5 seconds.
- Read the diagnostic buffer. Confirm no 13B1 or 13B2 events in the last 24 hours.
- Force a battery test from STEP 7: PASS required.
- Power-down test: remove 24 V DC for 60 seconds, restore, confirm retentive values intact.
- Extended power-down test (for critical plants): 8-hour power-down with field measurement of the loaded battery voltage. The voltage at the CPU end should remain > 3.0 V for the entire duration.
- Document the date code and open-circuit voltage of the new battery in the maintenance log. The replacement interval is 5 years preventive.
11. Troubleshooting Matrix
| Symptom | Likely cause | Diagnostic step | Fix |
|---|---|---|---|
| BATF ON, battery < 6 months old, U < 2.7 V | Stored too long before use | Measure U with DMM | Replace with date-coded cell < 12 months from manufacture |
| BATF ON, new battery U = 3.6 V, no buffer events | Holder contact resistance | Measure closed-loop R < 0.5 Ω | Clean contacts; replace holder if worn |
| BATF ON, harness wire broken at strain relief | Mechanical fatigue | Wiggle-test continuity | Replace 6ES7 971-1AA00 harness |
| BATF ON, MLFB does not support MMC | Mandatory battery CPU | Verify MLFB against Section 3 | Install battery; consider CPU upgrade |
| BATF ON, rechargeable NiMH installed where primary expected | Mismatched chemistry | Inspect cell label | Replace with 6ES7 971-1AA00 primary lithium |
| BATF ON only during cold start, OFF when warm | Weak cell, temperature-dependent | Measure loaded voltage at -10 °C | Replace cell |
| BATF ON with fresh MMC, no battery compartment | Firmware older than V2.0 expects battery | Read MLFB / firmware | Upgrade firmware via MMC; or replace CPU |
12. Long-Term Recommendations
For plants with a fleet of S7-300 CPUs, build a battery programme around three rules:
- Date-code on receipt. Reject any backup cell whose manufacture date is more than 12 months before receipt. Open-circuit voltage on receipt must be > 3.5 V.
- 5-year preventive replacement. Replace every backup battery at year 5 regardless of diagnostic buffer state. The marginal cost of a lithium cell is far less than the production loss from a cold-restart during an unplanned outage.
- Migrate at end-of-life. Whenever a CPU 315-2AF is replaced, substitute a current 6ES7 315-2AH14-0AB0 with MMC to eliminate the battery maintenance item entirely.
For the underlying Siemens documentation, refer to the SIMATIC S7-300 CPU 312 IFM to CPU 318-2 DP manual (entry ID 21990218 on Siemens Industry Online Support), the durability and storage-life FAQ (67466247), and the S7-300/400 backup battery replacement FAQ (67466477). The Siemens Function Manual "S7-300 CPU 31xC and CPU 31x: Installation" contains the official replacement procedure and disposal guidance for Li-SOCl₂ cells.
FAQ
Why does the BATF LED stay on after I installed a new battery in my CPU 315-2 DP?
The BATF LED is driven by the battery sense circuit inside the CPU. If the open-circuit voltage at the holder is below ~2.7 V the LED stays on. Causes include a stored-too-long cell (open-circuit voltage < 3.4 V on a brand-new part), corroded holder contacts adding series resistance, or a broken harness wire. Measure the cell voltage with a DMM and the closed-loop resistance across the holder with the cell installed; both readings must be within spec.
Which Siemens order number is the correct replacement battery for a CPU 315?
The reference battery is 6ES7 971-1AA00-0AA0, a 3.6 V / 2.3 Ah lithium-thionyl-chloride primary cell with a 200 mm harness. Equivalent harnesses are 6ES7 971-1BA00 and 6ES7 971-1CA00. Do not substitute alkaline or NiMH cells unless the CPU hardware is rated for the rechargeable option.
Can I run a CPU 315-2 DP without any backup battery?
Only on hardware revisions from firmware V2.0 onwards that support MMC-only operation, such as 6ES7 315-2AG10-0AB0, 6ES7 315-2AH14-0AB0, and 6ES7 315-2EH14-0AB0. Earlier 6ES7 315-2AFxx variants require a battery to retain the program and retentive data across a power-down. Confirm the MLFB and firmware before removing the battery.
Which diagnostic-buffer event ID confirms the BATF condition?
Event ID 13B1 (battery voltage below threshold 1) and 13B2 (battery exhausted) are the two entries that confirm a battery-related BATF. Event ID 13B3 indicates the battery has been removed, and 4300 is logged when the backup time has expired and retentive data has been lost. Read the buffer from STEP 7 via Online > Diagnostic Buffer.
What is the preventive replacement interval for an S7-300 backup battery?
Siemens recommends preventive replacement every 5 years, regardless of the diagnostic buffer state. The nominal backup time is approximately 2 years at 25 °C with a fully charged cell, but cell capacity and loaded voltage both degrade with temperature and time. Logging the date code and open-circuit voltage of every installed battery simplifies the preventive programme.