Skip to content
Industrial Error Code Fixes
Go back

More industrial fault codes

Siemens S7-300/400 CPU Fault Code Guide

⚡ Quick Answer

Siemens S7-300 and S7-400 PLC guide for STOP mode, SF/BF LEDs, hardware errors, OB calls, and diagnostic buffer entries in STEP 7 or TIA Portal.

⚡ AT A GLANCEScroll down for full repair guide
What it meansS7-300 and S7-400 CPUs report faults through front-panel LEDs, the diagnostic buffer in STEP 7 or TIA Portal, and OB calls; SF plus blinking STOP means a hardware or software fault.
Most likely causeMissing OB (most often OB86), I/O access error at a failed or missing module, hardware configuration not matching the physical racks, PROFIBUS DP station failure, or a memory card error.
First checkRead the diagnostic buffer first; it stores the last 100 events, and codes like 16#253A, 16#2521, and 16#4B00 identify the missing OB, failing I/O address, or failed DP address.
⏱Repair time10 minutes to download an empty OB; 30-60 minutes to reseat or replace a module or fix PROFIBUS termination
🔧Part neededMemory card, I/O module, PROFIBUS DP connector with termination, DP cable

Parts to price first

Check the part before you book service.

Siemens S7 memory card

For 16#CAFE CPU memory card errors after removing and reinstalling the card.

PROFIBUS DP connector with termination

Termination must be switched on at both ends of the DP bus to clear BF faults.

PROFIBUS DP cable

Replace damaged cable or broken shielding that causes DP station failures.

Siemens S7-300 I/O module

Match the module at the failing slot from the diagnostic buffer entry.

DRIVE-CLiQ cable

Keep spares; the most common failure point in Siemens servo systems.

Equipment service manual download (eManualOnline)

The full OEM-style workshop manual has the wiring diagram, test values, and the fault table this guide summarizes. Instant PDF download.

Repair intent

Need this fixed instead of diagnosed?

Siemens S7-300 and S7-400 PLC guide for STOP mode, SF/BF LEDs, hardware errors, OB calls, and diagnostic buffer entries in STEP 7 or TIA Portal.

Siemens S7-300 / S7-400 CPU Fault Codes

Siemens S7-300 and S7-400 PLCs indicate faults through front-panel LEDs, the diagnostic buffer (accessible via STEP 7 or TIA Portal), and OB (Organization Block) calls in the user program. Understanding these layers is key to fast diagnosis.

Front Panel LED Status

LEDStateMeaning
RUNGreen solidCPU executing program
STOPYellow solidCPU stopped (no fault)
STOPYellow blinkingCPU in STOP due to fault
SFRed solidSystem/group fault
BFRed solidBus fault (PROFIBUS/DP)
DC5VGreen solid5V internal supply OK
FRCEYellowForce mode active
MAINTYellowMaintenance required

SF + STOP blinking together = hardware or software fault — read the diagnostic buffer immediately.

Reading the Diagnostic Buffer

The diagnostic buffer stores the last 100 events including all faults. Access via:

STEP 7 (Classic):

  1. Open SIMATIC Manager
  2. Right-click CPU → Module Information
  3. Select Diagnostic Buffer tab
  4. Read fault events in chronological order (most recent at top)

TIA Portal:

  1. Open project, go online
  2. CPU → Diagnostics → Diagnostic Buffer
  3. Double-click any event for detailed description

Common S7 CPU Fault Events

Event CodeDescriptionCause
16#A502Startup completeNormal — CPU went from STOP to RUN
16#A503STOP mode enteredManual STOP or fault
16#253AOB not loaded — CPU stopsMissing OB (e.g., OB82 or OB86 not present)
16#2521I/O access errorModule missing or failed at accessed address
16#2522I/O write errorOutput module fault
16#2526Timeout on I/O accessModule not responding
16#A29FConfiguration errorHardware config doesn’t match physical racks
16#4500Rack failureModule in rack not communicating
16#4B00PROFIBUS DP station failureRemote DP device went offline
16#CAFECPU memory card errorRemove and reinstall memory card

OB (Organization Block) Error Handling

The S7 calls specific OBs when faults occur. If the OB is not loaded in the CPU, the CPU goes to STOP mode instead of handling the fault gracefully.

OBTriggerCommon Requirement
OB80Cycle time fault (watchdog)Needed if cycle time can be exceeded
OB81Power supply faultNeeded for redundant power supply systems
OB82Diagnostic interruptNeeded for intelligent I/O modules with diagnostics
OB83Insert/remove moduleNeeded for hot-plug capable systems
OB84CPU hardware faultRare, needed for fault-tolerant systems
OB85Program sequence faultLoad OB to prevent CPU stop on error
OB86Loss of rack / DP stationMost commonly missing — add empty OB86
OB122I/O access errorLoad to prevent stop on missing I/O

Technician Tips

Siemens SINAMICS and SINUMERIK alarms use a 5-digit numbering system. The first digit indicates the source: 2xxxx = drive, 3xxxx = NCK, 4xxxx = PLC. View the drive’s own fault code on the BOP-2 operator panel before referencing the CNC alarm — the drive sub-code is often more specific than the CNC alarm description. Alarm 25000 (drive fault) with a sub-code of 30001 means “motor encoder 1 faulty” — check the encoder cable before replacing the motor. Siemens drives with DRIVE-CLiQ communication require the optical cables to be properly terminated — a loose connector produces intermittent 25000 alarms that appear at random.

Prevention: Maintain spare DRIVE-CLiQ cables in your cabinet. They’re the most common failure point in Siemens servo systems.

Need Replacement Parts?

Before ordering, match the replacement part to the model number, electrical rating, and failure symptom. Check current prices on Amazon - prices and availability change frequently.

Fastest fix for “OB not loaded” stops: Create an empty OB with the required number and download it to the CPU.

PROFIBUS DP Fault (BF LED)

The BF LED indicates a PROFIBUS bus fault. Common causes:

Diagnostic: Read the diagnostic buffer for event 16#4B00 — it includes the DP address of the failed station.

I/O Access Error (16#2521)

The CPU tried to read or write an I/O address that doesn’t exist or belongs to a failed module.

Fix:

  1. Check the physical hardware at the failing slot number (diagnostic buffer includes slot/address)
  2. Remove and reseat the module
  3. Verify the STEP 7 hardware configuration matches physical rack layout
  4. If module is failed, replace it

Watchdog / Cycle Time Fault (OB80)

Default cycle time on S7-300: 150 ms. S7-400: 6000 ms. If exceeded, OB80 is called. If OB80 is missing, CPU stops.

Fix:

  1. Load an empty or logging OB80
  2. Increase maximum cycle time in CPU properties (right-click CPU → Object Properties → Cycle/Clock Memory)
  3. Optimize scan-heavy loops — avoid large FOR loops in OB1

S7-400H (Redundant) Specific Faults

S7-400H fault events include redundancy state changes:

These are not always errors — some are expected during updates or hardware changes. Check if the switchover was planned.

Quick FAQ

What does SF plus a blinking STOP LED mean on a Siemens S7 CPU?

SF (system fault) together with a blinking STOP LED means the CPU went to STOP because of a hardware or software fault. Read the diagnostic buffer immediately in STEP 7 (CPU, Module Information, Diagnostic Buffer tab) or TIA Portal (CPU, Diagnostics, Diagnostic Buffer).

Why does the S7 CPU stop with event 16#253A OB not loaded?

The CPU tried to call an organization block that is not loaded, so it stopped instead of handling the fault. OB86 (loss of rack or DP station) is the most commonly missing one. The fastest fix is to create an empty OB with the required number and download it to the CPU.

What does I/O access error 16#2521 mean?

The CPU tried to read or write an I/O address that does not exist or belongs to a failed module. Check the physical hardware at the slot in the diagnostic buffer entry, reseat the module, verify the STEP 7 hardware configuration matches the physical rack layout, and replace the module if it has failed.

What causes the BF LED on an S7-300 or S7-400?

BF indicates a PROFIBUS bus fault: a DP slave powered off or disconnected, missing termination resistors at both bus ends, damaged cable or broken shielding, a DP address conflict, or a speed mismatch. Diagnostic buffer event 16#4B00 includes the DP address of the failed station.

How do I fix an OB80 cycle time watchdog fault?

Load an empty or logging OB80 so the CPU does not stop, increase the maximum cycle time in CPU properties (Cycle/Clock Memory), and optimize scan-heavy code by avoiding large FOR loops in OB1. Default cycle time is 150 ms on S7-300 and 6000 ms on S7-400.


Share this post on:

Previous Post
Siemens SIPROTEC Protective Relay Faults: Complete Guide
Next Post
Siemens S7-300 Fault Codes - CPU SF BF and Diagnostic Buffer Guide