Diagnosing SM326F 6ES7 326-1BK02-0AB0 Internal Power Supply

David Krause14 min read
PLC HardwareSiemensTroubleshooting
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Diagnosing SM326F 6ES7 326-1BK02-0AB0 Internal Power Supply Faults

The SIMATIC SM326F 6ES7 326-1BK02-0AB0 (F-DI24×DC24V) is a fail-safe digital input module used in S7-300F / S7-400F safety controllers. This article documents the field procedure for isolating intermittent "Internal power supply failed" diagnostics logged in the CPU diagnostic buffer, fired as Event ID 3842 with OB82 diagnostic-interrupt execution, and mirrored in the WinCC / Process Historian as a failure event for the connected field devices.

1. Problem Description

Two physically identical SM326F modules installed in the same PROFIBUS-DP slave (DP address 3) generate the following sequence inside the S7 CPU diagnostic buffer:

  1. The CPU raises Event 3842 - "Module/submodule has triggered a diagnostic interrupt: diagnostic status has changed."
  2. OB82 executes (diagnostic interrupt OB). The incoming and outgoing event buffers in OB82's start information indicate a transition between "module OK" and "module fault".
  3. The diagnostic byte reports Internal power supply failed on the affected FDI module.
  4. Within milliseconds the same module logs an outgoing diagnostic interrupt, indicating the fault has cleared.
  5. The corresponding PROFIBUS slave appears in the Process Historian as page 35340 with a device-side failure message for the wired sensors.

A third identical SM326F (installed on a different DP slave) does not produce this entry, which rules out a CPU-level or project-wide configuration error and points the investigation toward the local power environment of DP slave 3.

2. Module Identification and Key Specifications

Parameter Value
Order number (MLFB) 6ES7 326-1BK02-0AB0
Designation SM326F, F-DI24×DC24V
Functional class Failsafe digital input module
Number of inputs 24 (10 of which are SIL2/Cat.3 / SIL3 capable, depending on wiring)
Nominal supply voltage L+ / M 24 V DC (range 20.4 V – 28.8 V)
Internal current consumption (from L+) approx. 350 mA
Power dissipation typ. 8 W
Bus interface Backplane (S7-300) and PROFIBUS-DP (via IM153-x on ET200M)
Diagnostic capability Wire break, short circuit, internal supply failure, channel-fault, module-fault
Diagnostic interrupt Configurable in HW Config (default: enabled)
Supported OBs OB82 (diagnostic interrupt), OB83 (insert/remove), OB85 (not loaded), OB122 (periphery access)
The "BK02" suffix is the second hardware release of the F-DI24×DC24V. It is functionally compatible with "BK01" in STEP 7 V5.5 / TIA Portal, but the GSD file revision must match the IM153 used on the ET200M station. Mixing revisions on the same DP slave is a common source of spurious diagnostic entries.

3. Diagnostic Buffer Mechanics on S7-300/400

The CPU diagnostic buffer is a ring buffer in non-volatile RAM (or MMC, depending on CPU) that stores the most recent diagnostic events in chronological order. Event 1 is always the newest entry. Each entry contains:

  • Time stamp (CPU time, resolution 1 ms)
  • Event ID (decimal code, see STEP 7 help or TIA Portal Web Server - Diagnostics Buffer)
  • OB that was (or would have been) executed
  • Module logical address (base address of the F-module)
  • Channel / submodule number
  • Plain-text description (language-dependent on the engineering station)

For Event ID 3842 the standard interpretation is:

"A module/submodule has triggered a diagnostic interrupt to indicate that its diagnostic status has changed. There is no disruption, no maintenance requirement and no maintenance request."

This event is the trigger, not the actual fault. The actual fault description is contained in the Channel Diagnostics record (DS0 / DS1) that the CPU reads from the module in the same OB82 call. The text "Internal power supply failed" is therefore decoded from DS1 byte 0 / 7 of the SM326F.

3.1 OB82 Start Information Layout

Byte Meaning (incoming / outgoing)
OB82_EV_CLASS B#16#38 = incoming, B#16#39 = outgoing
OB82_FLT_ID B#16#0A (basic diagnostic interrupt) or B#16#0B (extended)
OB82_PRIORITY 26 (default, configurable in HW Config)
OB82_IO_FLAG B#16#54 = input, B#16#55 = output
OB82_MDL_ADDR Logical base address of the module (PII word)
OB82_MDL_DEFECT TRUE if module fault (bit 1 of DS0)
OB82_INT_FAULT TRUE if internal fault (bit 2 of DS0) - this is the bit set by the SM326F during the inrush event
OB82_EXT_FAULT TRUE if external fault (bit 3 of DS0)
OB82_PNT_INFO TRUE if channel-level information is present (always for F-DI)
OB82_DIAGFLT_USED Bit map of which DS1 bits are valid

Reading these fields in OB82 with SCL/ST makes it possible to filter power-supply-failure events from real channel faults, and to write them to a discrete alarm buffer that is not mixed with safety-related process alarms.

4. Why the SM326F Reports "Internal Power Supply Failed"

The SM326F supervises two internal rails:

  1. L+ / M - the 24 V fed to the front connector and routed through an internal PTC + EMC filter.
  2. Sensor supply Vs1 / Vs2 - two separately switched 24 V outputs used to feed the connected NAMUR / 24 V sensors (SIL2/SIL3 inputs use both Vs rails cross-wise).

The module generates a "Internal power supply failed" diagnostic when any of the following conditions is true for longer than the configured debounce time (typ. 2–5 ms):

  • L+ drops below ~18 V (brown-out detection).
  • Vs1 or Vs2 short-circuit current exceeds the internal limit (typ. 1.1 A per rail).
  • Internal 5 V logic rail collapses due to inrush from a parallel module on the same ET200M backplane.
  • EMC event on the backplane induces a watchdog reset of the module's diagnostic ASIC.

Because the trigger is debounced and re-evaluated at the next diagnostic scan (typ. 10 ms), the module can self-clear the diagnostic the instant the rail recovers. The CPU sees a paired in/out sequence tens of milliseconds apart - exactly the symptom described in the source case.

An internal-power-supply diagnostic on an F-module is not a safety-relevant fault. The fail-safe logic continues to drive the inputs to their safe state. However, the PROFIBUS slave is required to publish the event so that the safety program can perform the configured discrepancy-time check on the affected channels.

5. Root-Cause Matrix

Rank the following candidates by frequency observed in field service reports for the 6ES7 326-1BK02-0AB0.

# Cause Indicator in buffer / OB82 Quick test
1 Shared 24 V supply under-sized / near foldback current limit on the ET200M OB82_INTERNAL_FAULT toggles during heavy load transitions; other DP slaves unaffected if powered separately Measure L+ on the front connector with a true-RMS multimeter and an oscilloscope, trigger on a known plant inrush (motor start, heater step)
2 Missing or high-impedance PE / functional earth on the ET200M subrack Fault coincides with switching of large contactors / VFDs Verify PE bonding ≤ 1 Ω; add a star-washer on the subrack mounting screws
3 Two identical F-modules with different hardware (FW) revisions mixed in the same ET200M Diagnostic only on the older one; replaced unit behaves the same as the good unit Read the IMPLICAT firmware/version in HW Config → Module properties → Identification
4 Sensor cable short / sensor supply Vs overloaded by a defective field device Event preceded by channel-level "Wire break" or "Short circuit" on the same module Disconnect sensors one by one; measure Vs1 / Vs2 current with clamp meter
5 PROFIBUS slave (IM153-2) intermittent bus drop Diagnostic interrupt comes paired with DP station failure on the same timestamp Read diagnostic repeater counters; check bus termination and shielding
6 Aging module (electrolytic capacitor wear) Frequency increases with module temperature Replace module; if fault follows the physical slot, hardware is confirmed

6. Pre-requisites for Diagnosis

  • STEP 7 V5.5 SPx or TIA Portal V15.1+ with the F-Configuration Pack matching the F-library used in the safety program (Distributed Safety F-Configuration Pack or F-Configuration Pack for TIA Portal).
  • Online connection to the S7 CPU (Ethernet or MPI/DP).
  • Read access to the Process Historian / WinCC archive that recorded page 35340.
  • Digital multimeter (true-RMS, ≥ 10 MΩ input) and a portable oscilloscope (≥ 20 MHz, isolated channels).
  • Spare SM326F 6ES7 326-1BK02-0AB0 module with the same FW revision as the installed one.
  • Pinout of the front connector (24-pin) and the ET200M wiring diagram.

7. Step-by-Step Diagnostic Procedure

Step 1 - Capture the diagnostic buffer

  1. Go online with the CPU.
  2. Right-click the CPU → Diagnostics Buffer.
  3. Filter for events with ID 3842 and incoming/outgoing pairs.
  4. Note the timestamps; correlate with the Process Historian event (page 35340) and with the plant operating state (motor start, valve actuation, etc.).

Step 2 - Decode the channel diagnostics

  1. From the diagnostic buffer entry, double-click the line. STEP 7 opens the Module Information dialog.
  2. Switch to the Channel Diagnostics tab.
  3. Confirm that the active diagnostic is "Internal power supply failed" rather than "Sensor supply Vs1 short circuit" or "Sensor supply Vs2 short circuit".

Step 3 - Verify the 24 V supply on the module

  1. Open the front cover of the SM326F.
  2. Measure L+ / M on the front connector (pins 1 and 20) with the multimeter. Expect 24.0 V ± 5 % (20.4 V – 28.8 V).
  3. Repeat on the second affected module and on the third (working) module.
  4. Switch the multimeter to MIN/MAX and leave it latched through one full production cycle.

Step 4 - Oscilloscope capture

  1. Connect a differential probe (or two passive probes with common ground referenced to the PE bar) across L+ / M at the front connector.
  2. Set time base to 100 ms/div, vertical to 2 V/div, single-shot trigger on a falling edge below 20 V.
  3. Run the plant. The dip that correlates with the OB82 entry is typically 18–19 V and 1–4 ms long.

Step 5 - Cross-check the ET200M power budget

  1. Open the ET200M station in HW Config.
  2. Sum the power consumption from backplane bus for every module on the same IM153-x.
  3. Confirm the total does not exceed the IM153-x budget (1.5 A for IM153-2 BA, 2.0 A for IM153-2 AA, 5.0 A for IM153-2 BA / BX with the active backplane).

Step 6 - Compare the two affected modules with the good one

  1. Physically swap a faulty module with the good one on the same ET200M.
  2. Power-cycle the station.
  3. Monitor the diagnostic buffer for 1 hour of normal operation.
  4. If the diagnostic now appears on the new slot, the module is defective - replace it.
  5. If the diagnostic stays with the original slot, the power environment is at fault - inspect wiring, fuses, and the upstream 24 V supply.

Step 7 - Inspect the power supply path

  1. Trace the 24 V feed from the SITOP / power supply to the ET200M terminal block.
  2. Check the protective device: miniature circuit breaker (MCB) rating, electronic fuse trip curve, or PTC reset state.
  3. If the MCB is rated close to the calculated load (e.g. 4 A for a 3.2 A load), nuisance trips and foldback events are common during inrush. Replace with a C-curve MCB or an electronic fuse with 1.5× headroom.
  4. Verify that the same 24 V feed is not shared with a DC motor drive or a heating element that has its own inrush characteristic.

Step 8 - Review grounding and shielding

  1. Confirm that the ET200M subrack is bonded to the cabinet PE bar with a short, low-impedance strap.
  2. Confirm that the PROFIBUS cable shield is clamped at both ends (EMC practice) and that the shielding bus is isolated from signal conductors at the sensor end.

8. Verification

After the corrective action, monitor for at least 24 hours of production with the diagnostic buffer and Process Historian both live.

Verification check Pass criterion
OB82_INTERNAL_FAULT counter in OB82 handler No increments
Process Historian page 35340 No new entries for affected device tags
CPU diagnostic buffer Last Event 3842 / 3843 is older than 24 h before the change
L+ / M measured with MIN/MAX multimeter Min ≥ 22.0 V, Max ≤ 27.5 V
Scope capture over 1 h No transient below 20 V
F-library compilation Signatures unchanged, no new F-CRC errors

9. Optional: Suppress the Diagnostic Interrupt

If the diagnostic is non-critical and reappears after root-cause analysis has been exhausted, the diagnostic interrupt can be masked in HW Config:

  1. Open the SM326F in HW Config → Object Properties → Diagnostics.
  2. Uncheck "Internal power supply failure".
  3. Recompile and download the HW configuration.
Disabling the diagnostic interrupt also disables the corresponding F-channel diagnostic - the safety program will no longer be notified of a real internal supply collapse. Use this only after a documented risk assessment and a confirmed root cause that is not safety-relevant.

An alternative is to keep the interrupt enabled but ignore it in the F-runtime group. The F-Configuration Pack provides a wrapper that filters incoming diagnostics before they reach the F-shutdown logic.

10. Sample OB82 Filter in SCL

The following SCL block separates "internal power supply" events from channel-level events so they can be archived independently.

{S7_block := 'FB500', S7_family := 'OB82_FILTER'}
FUNCTION_BLOCK FB500
VAR
    cntInternal : INT;  // counter of internal supply diagnostics
    cntChannel  : INT;  // counter of channel-level diagnostics
END_VAR
BEGIN
    // Called from OB82
    IF #OB82_INT_FAULT AND NOT #OB82_MDL_DEFECT THEN
        // Pure internal supply event - do not passivation
        cntInternal := cntInternal + 1;
        // write to log buffer or HMI tag for Process Historian
    ELSIF #OB82_PNT_INFO THEN
        // Channel-level event - hand to F-runtime group
        cntChannel  := cntChannel + 1;
    END_IF;
END_FUNCTION_BLOCK

11. Sample WinCC / Process Historian Tag Update

To record the OB82 timestamp and slot number in the historian, expose a small tag block from the OB82 handler:

// Tag name in WinCC: 'FDI_Slave3_PSU_EventCount'
// Update source: DB500.DBD0 (DWORD) - count
// 'FDI_Slave3_LastTime' - DATE_AND_TIME stamp
// 'FDI_Slave3_LastSlot' - INT slot number

On the Process Historian side, create a query that filters page 35340 by tag prefix FDI_Slave3_ and correlates with OB82 timestamp to surface the actual cause. This is more robust than reading the page number directly because the page number is an internal archive pointer.

12. When to Open a Siemens Support Request

Open a SIMATIC Support Request (SIOS) when one of the following is true after completing Steps 1–8:

  • Both the slot and the module have been swapped and the fault follows the module, but the replacement module reproduces the fault within 24 h.
  • The L+ supply is within spec and the power budget is in headroom, yet the diagnostic reappears.
  • The diagnostic is intermittent and not correlated to any plant event that the engineering team can identify.
  • Multiple ET200M stations on the same DP master report the same event at the same timestamp.

Attach the exported diagnostic buffer (CSV), the oscilloscope capture (CSV from the scope), and the HW Config screenshot of the affected ET200M station. Reference the F-library version and the STEP 7 / TIA Portal version. This will let the Siemens F-Application Support team reproduce the issue on a test bench.

13. Summary Field Procedure

  1. Capture and decode the diagnostic buffer; confirm the text "Internal power supply failed" on the SM326F.
  2. Verify L+ / M on the front connector with a multimeter and oscilloscope.
  3. Audit the ET200M power budget and the upstream 24 V fuse / MCB rating.
  4. Swap the suspect module with the known-good unit on the same station to localise the fault.
  5. If the fault follows the module, replace it. If the fault follows the slot, repair the power environment.
  6. Verify with a 24-hour live test that OB82 / OB121 is no longer triggered and that the Process Historian page 35340 stays clean.

This sequence covers the three most common root causes for the symptom pattern described in the source case: under-sized 24 V supply, mixed hardware revisions, and a defective F-DI module.

FAQ

What does Event 3842 with OB82 mean on an S7-300/400?

Event 3842 indicates a diagnostic interrupt OB (OB82) executed because a module's diagnostic status changed. The exact fault description (e.g. "Internal power supply failed") is decoded from the module's channel-diagnostic record (DS1) and shown in the Module Information dialog, not in the event text itself.

Is "Internal power supply failed" on SM326F 6ES7 326-1BK02-0AB0 a safety-relevant fault?

No. The fail-safe logic continues to operate and the inputs are driven to the safe state. The diagnostic is required so the safety program can perform the configured discrepancy-time check on the affected channel, but the F-runtime group will not passivate the module purely on this event.

How can I distinguish an internal supply failure from a sensor-supply short circuit?

Open the channel diagnostics from the diagnostic buffer entry. "Internal power supply failed" points to the module's L+ rail, while "Sensor supply Vs1 short circuit" or "Sensor supply Vs2 short circuit" points to the channel-side rail feeding the field device. The SM326F has two separate Vs rails; channel-level diagnostics will list the affected input group.

Can I disable the internal-power-supply diagnostic interrupt?

Yes, in HW Config under module properties → Diagnostics, uncheck the corresponding entry. Siemens documents this as a valid workaround after a documented risk assessment. Disabling the interrupt also suppresses the related F-channel diagnostic, so the safety program will not see a real internal supply collapse.

What is page 35340 in the Process Historian?

It is the page number of a specific archive segment that the historian uses to index failure events for the devices wired to the affected FDI modules. The page number is an internal pointer; to read the actual cause, correlate the page's timestamp with the S7 CPU's diagnostic buffer and with the historian's tag values for the affected device.

Back to blog