Call or text 469-316-8517Mon–Fri 9 AM–3:30 PM CT In stock – zero lead timeFree US shipping
Menu
Industrial electrical control panel with PLC modules, power supplies and terminal wiring

Troubleshooting

Siemens S7-300 / S7-400 SF and BF LEDs: what they mean and how to read the diagnostic buffer

A red SF or BF LED on an S7-300 tells you something is wrong and roughly where; the diagnostic buffer tells you what. Here is what each LED means on S7-300 and S7-400 CPUs, how to read the buffer in STEP 7, the usual causes and the first checks.

By Kunj Tapiawala, KIV Parts · Published · 8 min read

The short answer

On an S7-300 CPU, a red SF (system fault) LED is a group error: a hardware fault or a program or parameter error somewhere in the station, and the CPU may still be in RUN. A red BF (bus fault) LED points at a PROFIBUS DP or PROFINET interface: steady usually means a cable or interface problem, flashing means a configured station isn't answering. S7-400 CPUs use INTF and EXTF instead of SF, and BUS1F, BUS2F and BUS5F for the interfaces. The CPU's diagnostic buffer says what actually happened.

This covers Siemens SIMATIC S7-300 (6ES7 31x) and S7-400 (6ES7 41x) CPUs programmed with STEP 7. See also reading Siemens order numbers.

Key takeaways

  • S7-300: SF covers hardware and software errors. S7-400: INTF (internal) and EXTF (external).
  • BF steady: the bus or interface itself. BF flashing: a station or IO device that doesn't answer.
  • Read and save the diagnostic buffer before you power-cycle, reset memory or swap a module.

The S7-300 CPU LEDs

LEDColorWhat it means (our words)
SFRedA hardware fault or software error – one group indicator for the station.
BF, BF1–BF3RedA bus fault at interface X1, X2 or X3 (PROFIBUS DP or PROFINET, by CPU).
MAINTYellowA maintenance request is pending (PROFINET CPUs).
DC5VGreenLit when the CPU's internal 5 V supply is present.
FRCEYellowA force job is active; flashing at 2 Hz is the node flash test.
RUNGreenRUN; flashes during startup.
STOPYellowSTOP, HOLD or startup; slow flashing asks for a memory reset.

SF with STOP means the CPU stopped because of an error. If SF, DC5V, FRCE, RUN and STOP all flash, the CPU has an internal system error: Siemens says to set the mode switch to STOP, cycle power, read the diagnostic buffer and contact Siemens.

S7-400: INTF, EXTF and BUSxF

  • INTF: an internal error, such as a programming or parameter error or a cycle-time overrun.
  • EXTF: the cause is outside the CPU – a module diagnostic interrupt, a module pulled or inserted, a failed rack, DP segment or PROFINET IO system, an I/O access error or a backup battery problem.
  • BUS1F / BUS2F / BUS5F: the MPI/DP, PROFIBUS DP and PROFINET interfaces. Lit: an error at that interface. Flashing: one or more devices on it aren't responding.
  • Power supply: on PS 405/407 supplies, red BAF means the backup voltage is too low, yellow BATTF or BATT1F/BATT2F a battery that is empty, missing or reversed – when the BATT.INDIC switch is set to monitor it.

Common causes of SF (or INTF/EXTF)

  • A missing error OB. For most events, if the OB the event calls isn't loaded, the CPU goes to STOP: OB 85 (access to a missing or faulty module during the process image update), OB 121 (programming error), OB 122 (I/O access error), OB 86 (failed DP slave, rack or IO device), OB 82 (diagnostic interrupt), OB 80 (cycle time exceeded).
  • A missing or faulty module, one removed or inserted in RUN, or a loose connector.
  • Configuration mismatch: HW Config doesn't match the rack. Diagnose Hardware marks a module that is missing or of a different type.
  • A faulty memory card: an S7-300 CPU goes to STOP and asks for a memory reset.
  • Backup battery (S7-400): a discharged battery lights EXTF; the CPU stays in RUN even without OB 81. S7-300 CPUs with a Micro Memory Card need no backup battery.

BF steady or flashing

  • PROFIBUS, steady: a broken or shorted cable, a DP interface fault, or different transmission rates on one bus.
  • PROFIBUS, flashing (CPU as master): a station failed, a configured slave can't be reached, or the configuration is wrong. By default a master CPU still starts with a slave missing, BF flashing.
  • PROFINET, steady: no link to the subnet or switch, wrong speed or no full duplex; Siemens' checklist includes a switch rather than a hub, at 100 Mbit/s full duplex.
  • PROFINET, flashing: one or more assigned IO devices have failed or can't be addressed.
Dense multicolored control wiring landed on an older terminal frame
Bus and field wiring are the first things to check when a BF LED lights

How to read the diagnostic buffer in STEP 7

  1. In SIMATIC Manager, open the project online or find the CPU under Accessible Nodes.
  2. Select the CPU, choose PLC > Diagnostics/Settings > Module Information and open the Diagnostic Buffer tab.
  3. Entry 1 is the newest. Times come from the CPU clock, so set it.
  4. Select an entry for the event ID, the mode change it caused, the block and address involved and whether the event is coming or going; Help on Event explains it.
  5. If the CPU stopped because an error OB was not loaded, the entry before is the real error; Open Block and the Stacks tab show where.
  6. Save As keeps the buffer as a text file.

The buffer can't be cleared and survives a memory reset; when full, the oldest entry drops out. S7-300 CPUs with a Micro Memory Card keep only the last 100 entries through a power cycle. PLC > Diagnostics/Settings > Diagnose Hardware lists every module the CPU reports as faulty.

First checks

  1. Read and save the diagnostic buffer.
  2. Check DC5V and the power supply, then each module's own LEDs.
  3. For BF, walk the bus: connectors seated, no breaks or shorts, correct addresses, every slave or IO device powered.
  4. Compare the rack with HW Config: order number and slot of every module.
  5. On an S7-400, check BAF and BATTF on the power supply.
  6. Replacing a module? Match order number and product version; see S7-300 lifecycle status if it is no longer sold new.

Safety first: only qualified personnel should work in the cabinet. Switch off and lock out the rack's supply and any separately powered I/O before you pull or plug modules or bus connectors, following Siemens' instructions and your site's lockout/tagout procedure. Never force outputs, jumper interlocks or bypass a safety circuit to get a station running.

Need program changes instead? Our engineering team does PLC programming on Siemens systems too.

Parts that commonly fail

CPUs, signal modules, PROFIBUS connectors and interface modules, power supplies and memory cards are the hardware behind many of these LEDs. The order numbers we have the most of in stock right now:

Stock changes every day. Every listing is photographed, so check the catalog number, series or product version and firmware on the label photo before you buy.

Not listed, or need several? Send us the part number and we'll check our shelves and our sourcing network and quote it in writing.

Sources

Every code, LED state and menu path on this page was checked against Siemens' own documents, listed below, and is described here in our own words. Manuals change between editions and firmware revisions: for your exact catalog or order number, check the current edition.

  1. Siemens, SIMATIC S7-300 CPU 31xC and CPU 31x: Technical specifications, manual A5E00105475-12, 03/2011, entry 12996906.
  2. Siemens, SIMATIC S7-300 CPU 31xC and CPU 31x: Installation, operating instructions A5E00105492-12, 03/2011, entry 13008499.
  3. Siemens, S7-400 Automation System, CPU Specifications, manual A5E00850746-10, 08/2011, entry 53385241.
  4. Siemens, S7-400 Automation System Module Data, reference manual A5E00850736-08, 11/2016, entry 1117740.
  5. Siemens, Programming with STEP 7 V5.5, manual A5E02789666-01, 05/2010, entry 45531107.

Frequently asked questions

What does a red SF LED mean on an S7-300 CPU?

SF is the S7-300's group fault indicator: Siemens describes it as a hardware fault or a software error, and internal and external faults share the one LED. The CPU can still be in RUN while it is lit. Read the CPU's diagnostic buffer to find which module or which program error set it.

What is the difference between BF lit and BF flashing?

On a PROFIBUS DP interface, a steady BF points to the bus or the interface itself: for example a broken or shorted cable, or transmission rates that don't match. A flashing BF means the bus is up but at least one configured station isn't answering, or the configuration is wrong. On a PROFINET interface, steady means no usable link to the network and flashing means one or more IO devices can't be reached.

Does an S7-400 CPU have an SF LED?

No. S7-400 CPUs split it in two: INTF for internal errors such as programming or parameter errors, and EXTF for errors whose cause is outside the CPU module, such as a module diagnostic interrupt, a rack or station failure or a discharged backup battery. Bus faults show on BUS1F, BUS2F and, on PN CPUs, BUS5F.

Where do I find the diagnostic buffer in STEP 7?

In SIMATIC Manager, go online to the CPU, choose PLC > Diagnostics/Settings > Module Information and open the Diagnostic Buffer tab. Select an entry to see its event ID, the block and address involved and whether the event is coming or going; Help on Event explains it, and Save As writes the buffer to a text file.

Need a replacement S7-300 or S7-400 module?

Send the order number and product version – we'll check our shelves and our sourcing network and quote it in writing. Need the program fixed instead? KIV Industrial Engineering does PLC and HMI programming.

More guides

All guides & resources

KIV Industrial Parts is an independent seller of surplus industrial parts and is not affiliated with, or an authorized distributor of, any manufacturer named here. Brand names and part numbers are used only to identify products; they are trademarks of their owners. See our trademark notice.