Home > Blog > Mitsubishi servo motor repair and maintenance > Siemens S7-1200 / S7-1500 PLC Diagnostic & Error Codes, Step-by-Step Troubleshooting Guide

Siemens S7-1200 / S7-1500 PLC Diagnostic & Error Codes, Step-by-Step Troubleshooting Guide

By Jennifer Zhang November 7th, 2026 3 views

A Siemens S7 PLC rarely hands you a single fault code the way a drive does. Instead, it reports problems on three layers at once: the LEDs on the CPU front panel, hex Event IDs in the diagnostic buffer inside TIA Portal, and the organization block (OB) the operating system tries to call. Technicians who read only one layer usually replace the wrong part. This guide maps the diagnostic and error codes you actually meet on the S7-1200 and S7-1500 families to real root causes and step-by-step repairs — and when a controller is damaged beyond repair, hardware such as the CPU 1214C DC/DC/DC (6ES7216-2BD23-0XB0) is readily available from our Siemens PLC stock.

How S7-1200 / S7-1500 Diagnostics Are Organized

Every S7 event travels the same path. The operating system detects a condition, assigns it a hex Event ID, writes a timestamped entry into the diagnostic buffer, and requests a specific OB. Open the buffer in TIA Portal under Online & diagnostics → Diagnostics → Diagnostic buffer. Each entry starts with a hex code in the form 16#XXXX, followed by the memory area, access type, address, and the OB the CPU requested. The critical rule: if the requested OB is not loaded in the CPU, the controller goes to STOP. The S7-1500 buffer retains several thousand entries, while the S7-1200 keeps a smaller list, so capture and export the buffer before it is overwritten.

What the CPU LEDs Are Telling You

Siemens S7-1200 CPU 1214C (6ES7214-1AG40-0XB0), rear label and status LEDs view

The official S7-1500 equipment manuals define the LED combinations, and the S7-1200 uses the same logic:

- All LEDs off — missing or insufficient power supply. Verify the 24 V DC feed and the PS power module before blaming the CPU.

- RUN/STOP green, ERROR flashing red — a diagnostics event is pending. The CPU keeps running; open the diagnostic buffer now.

- RUN/STOP green, MAINT yellow lit — maintenance is demanded. The affected hardware must be checked or replaced within a short period; expect a channel-level diagnostic on the I/O module concerned.

- RUN/STOP yellow (STOP), ERROR flashing red + MAINT flashing yellow — the program on the SIMATIC memory card is causing an error, a firmware update has failed, or the CPU has detected an error state. The diagnostic buffer holds the details.

- RUN/STOP flashing yellow/green — the CPU is in startup, transitioning from STOP to RUN.

For module-level faults, use the ModuleStates and DeviceStates instructions (or the TIA Portal device view) to pinpoint which I/O module or PROFINET device is in an error or maintenance state.

Event IDs 16#2942 and 16#2943: I/O Access Errors

Fault manifestations. The buffer shows an entry such as "Event ID 16#2942 — I/O access error, reading, P area, word access, access address: 600 — requested OB: I/O access error OB (OB122)". 16#2943 is the same event for write access. You see scattered data corruption on one station, or the CPU drops to STOP on every occurrence when OB122 is missing. The bursts repeat each scan cycle, alternating read and write on the same address — the signature of a failing driver control-word/status-word handshake.

Root causes. The address in the program points to a module that is not configured, has been removed at runtime, is defective, or sits behind a DP/PROFINET slave that is currently offline so the process image cannot be updated. Wiring faults and connector corrosion on the affected channel produce the same symptom.

Siemens SIMATIC PLC rack with I/O modules removed for inspection

Repair steps. Decode the access address — it is a byte offset, so a word access at 600 touches bytes 600–601. Compare it with the downloaded hardware configuration. Check the module LEDs and the device view for the matching slot. Reseat and re-terminate the wiring; if the fault follows the module during a swap test, replace it — a spare such as the S7-1500 digital input module 6ES7521-1BL10-0AA0. Finally, load OB122 so one faulty channel cannot stop the whole line while you schedule the fix.

Event IDs 16#39C4 / 16#38C4 and 16#39CB: Distributed I/O Station Failures

Fault manifestations. Entries read "Distributed I/Os: station failure — address of the affected DP slave: station number 9 — requested OB: Rack failure OB (OB86)". The leading hex digit tells the direction: 16#39 events are incoming (arriving) faults and 16#38 events are outgoing (departing) — 16#38C4 is the station-return message. On PROFINET the equivalent pair is 16#39CB (IO device failure) and 16#38CB (recovery), while 16#39CA flags a whole PROFINET IO system failure.

Root causes. Damaged bus cable, missing or wrong termination at the segment ends, corroded connectors in wash-down areas, a failing 24 V supply on the remote head, or an ET 200SP/ET 200M station whose interface module has died. Intermittent failures that migrate between stations usually point to incorrect termination rather than one bad device.

Repair steps. Note the station number and the incoming/outgoing pair, then measure the segment: check termination resistors at both physical ends, inspect connectors, and swap the suspect head with a known-good module — a replacement ET 200SP digital input 6ES7131-6BF01-0BA0 covers the most common field-station failure.

Sealed Siemens ET 200S IM 155 interface module, part number 6ES7155-1AA03-0XB0

If the timestamps show a failure followed by a return within seconds, treat it as transient and focus on cabling and EMC rather than the device itself. Load OB86 so the CPU can log and ride through slave dropouts.

Event ID 16#253A and Memory Card Errors: Program-Side Faults

Fault manifestations. A programming error surfaces as OB121 being called, or — if the block handles the error locally with GET_ERR_ID — as a returned ID such as 16#253A, which the Siemens documentation translates as "global data block does not exist". Memory card trouble shows up as the STOP + ERROR flashing red + MAINT flashing yellow LED combination, with buffer entries about the SIMATIC memory card.

Root causes. Access to a DB that was never downloaded or was deleted, array or pointer out of range, a card removed during a write, or a card whose program fails the consistency check after download.

Repair steps. Compile the whole program with "Program blocks" selected to expose consistency errors, then double-click the buffer entry — TIA Portal jumps to the offending instruction. Correct the addressing or download the missing DB. For card errors, power down, reinsert or replace the SIMATIC memory card, and reload the program with "Software changes only" to preserve retentive data.

Why the CPU Dropped to STOP: the Missing OB

A STOP entry at the top of the buffer is usually not the disease — it is the symptom of a requested OB that was not loaded. The map is short: OB80 for time errors, OB82 for diagnostic interrupts, OB85 for program execution errors such as a failed process-image update, OB86 for rack and station failures, OB121 for programming errors, and OB122 for I/O access errors such as 16#2942. When an event fires and its OB is absent, the CPU goes to STOP. Loading a minimal OB set on every S7-1200 and S7-1500 — even as empty blocks that just log to a DB — converts hard stops into logged, recoverable events. Many first-time users load OB122 alone and stay in STOP because the same module also raised an OB82 event.

Preventive Maintenance

Sealed spare Siemens S7-1200 analog input module SM 1231 (6ES7231-4HD32-0XB0) in original packaging

Export the diagnostic buffer monthly and trend the Event IDs — a rising count of 16#2942 bursts predicts an I/O module failure weeks before it stops production. Re-torque bus connectors annually, verify termination after every panel modification, and keep the CPU firmware and the SIMATIC memory card program version matched to the TIA Portal project. Keep cold spares for the failure-prone consumables: I/O modules, ET 200 heads, and at least one CPU per critical line — for larger machines, a CPU 1517-3 PN/DP (6ES7517-3uq10-0ab0) on the shelf pays for itself quickly. Browse the full Siemens PLC range to match your existing configuration.

FAQ

What does Event ID 16#2942 mean on an S7-1200?

It is an I/O access error while reading the peripheral (P) area. The CPU tried to read a module that was absent, faulty, or behind an offline slave, and requested OB122.

Can I keep the CPU in RUN while 16#2942 keeps appearing?

Yes — load OB122 — but treat that as a temporary measure. The code means hardware or configuration trouble, and the affected process data is invalid until the cause is fixed.

The ERROR LED flashes red but the CPU stays in RUN. Is that serious?

It is a pending diagnostics event, not a stop condition. Read the buffer: MAINT-class issues allow short-term operation, but the hardware should be checked promptly.

Why does my S7-1500 show STOP with both ERROR and MAINT flashing?

That combination points to an error in the program on the SIMATIC memory card or a failed firmware update. Inspect the card, reload the project, and confirm the firmware version.

Where can I get replacement S7-1200 / S7-1500 parts quickly?

Test Well Electronics stocks tested Siemens CPUs, I/O modules, and ET 200 components with same-week shipping — see the PLC collection or contact us with your exact 6ES7 part number for a same-day quotation.

Inovance MD500 / MD380 Inverter Fault Codes, Step-by-Step Repair & Maintenance Guide
Previous
Inovance MD500 / MD380 Inverter Fault Codes, Step-by-Step Repair & Maintenance Guide
Read More
Servo Motor No Torque Output: Causes & Step-by-Step Repair Guide
Next
Servo Motor No Torque Output: Causes & Step-by-Step Repair Guide
Read More