IM 151-7 CPU Not Accessible: MPI Reset and MMC Configuration

David Krause17 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

IM 151-7 CPU Not Accessible: MPI Reset and MMC Configuration

The SIMATIC ET 200S IM 151-7 CPU is an interface module that combines a Profibus DP slave connection with an integrated S7-300-class CPU, used to add local intelligence to an ET 200S station. When a programmed Micro Memory Card (MMC) is inserted, the IM 151-7 CPU no longer powers up as a default MPI node and can become invisible to STEP 7 "Accessible Nodes" scans, even though the power LED is on and the STOP LED is blinking. This article walks through the diagnostic logic, the MRES overall-reset sequence, PG/PC interface configuration, and the integration path to a master CPU 313C.

1. Problem Description

Reported symptoms on a bench-top IM 151-7 CPU (typical order numbers 6ES7151-7AA20-0AB0 or 6ES7151-7AB00-0AB0):

  • PG/PC connected to the IM 151-7 CPU through the MPI/DP port using a Siemens PC adapter (PC Adapter USB, CP 5512, CP 5611, or compatible).
  • STEP 7 (SIMATIC Manager or TIA Portal) "Accessible Nodes" returns an empty list.
  • Removing the MMC restores detection: the CPU then appears as MPI=2 Direct at 187.5 kbit/s.
  • With the MMC inserted, the POWER LED is on and the STOP LED blinks at approximately 0.5 Hz (a slow, even blink).
  • Swapping the MMC has no effect; the new card also blocks MPI access.
  • The CPU must be commissioned so it can later be linked to a master S7-300 CPU 313C.
Key indicator: The CPU is alive (POWER LED lit) but the STOP LED is blinking rather than steady. A blinking STOP LED is the standard ET 200S IM 151-7 / S7-300 signalling for "MMC inserted, no valid project, requesting overall reset" — exactly the state in which the port type and address are read from the MMC and not from firmware defaults.

2. Root Cause Analysis

Per the SIMATIC ET 200S IM 151-7 CPU Interface Module manual, an IM 151-7 CPU that is powered up without an MMC defaults to an MPI interface with:

  • Default MPI address: 2
  • Highest Station Address (HSA): 31
  • Default baud rate: 187.5 kbit/s
  • Default I-slave functionality: not enabled

When an MMC is inserted, the CPU reads its operating mode, MPI/DP configuration, and project data from the card. If the project stored on the MMC contains an HW Config that has reconfigured the X2 MPI/DP port as a Profibus DP slave interface, the CPU boots with a Profibus DP node address and a Profibus baud rate. STEP 7's MPI "Accessible Nodes" scan cannot find a Profibus slave — only MPI masters respond to the MPI poll — so the node appears invisible.

The blinking STOP LED confirms the CPU is in the "STOP caused by missing or invalid MMC project" state. The CPU is not faulty; the port type stored on the card simply does not match the access path the programmer is using.

2.1 Other Possible Root Causes

Cause Indicator Confirmation
MMC project changes port to Profibus DP slave STOP LED blinks, MPI scan empty, Profibus scan also empty if address is non-default Pull the MMC, rescan — node appears at MPI=2
Defective or unsupported MMC STOP LED blinks, ACCESS LED off, no PROFIBUS activity Try a different Siemens MMC (see §5)
Wrong MPI/DP cable or adapter POWER LED on, STOP LED on (not blinking), no response Loop a known-good CPU through the same cable
PG/PC interface set to wrong access point PG/PC interface test fails or hangs Re-assign "PC Adapter (Auto)" / "PC Adapter (MPI)"
Port physically damaged POWER on, STOP steady (not blinking), no link LED on adapter Swap IM 151-7 with a known-good unit
CPU in startup with a request to reset STOP LED blinks at 2 Hz instead of 0.5 Hz Perform MRES per §4

3. Diagnostic LED Patterns on the IM 151-7 CPU

The IM 151-7 CPU front panel has four status LEDs (POWER, STOP, RUN, and the SF/ACCESS combination on later variants). Reading them before any reset prevents you from clearing useful state.

POWER STOP RUN SF / BUSF Meaning Action
On Off On Off CPU in RUN with a valid project Try "Accessible Nodes" first; no reset needed
On Blinking slow (0.5 Hz) Off Off STOP — MMC inserted, no valid project; CPU requests overall reset MRES overall reset (§4)
On Blinking fast (2 Hz) Off Off STOP — request for memory reset (firmware-level) MRES, then power cycle if it persists
On On Off Off STOP — user-triggered or fatal STOP Read diagnostic buffer via STEP 7
On Off Off On Group error — wiring, MMC, or HW Config mismatch Check MMC seating, terminal modules, ET 200S backplane
On Blinking Blinking Blinking Firmware update mode Do not power off; complete the update with STEP 7
Off Off Off Off No 24 V supply or polarity reversed Check the power module feeding the ET 200S station

4. Overall Reset (MRES) Procedure

The IM 151-7 CPU borrows the S7-300 MRES sequence. The reset clears the work memory, places the CPU in STOP, and — if the mode selector is then held in MRES during a power cycle — formats a fresh project slot. This is the only safe way to recover an MMC that contains a project re-mapping the X2 port to Profibus DP.

Order of operations matters. If you pull the MMC and then power-cycle, the CPU reverts to MPI defaults — but your project is still on the card. Reinserting the MMC restores the broken configuration. The MRES procedure is what you want when the project is the cause of the problem but you still need a working CPU.

4.1 STEP 7 Classic — MRES Sequence

  1. Set the mode selector to STOP. The STOP LED is on (or blinking, if the CPU is requesting a reset).
  2. Hold the mode selector in the MRES position for at least 3 seconds, then release. The STOP LED should change pattern, indicating the CPU has registered the request.
  3. Within 3 seconds, turn the selector back to MRES and hold it again. The STOP LED will flash briefly and then go to a steady ON, confirming the overall reset.
  4. Release the selector back to STOP. The CPU is now reset; the work memory is empty; the port type reverts to the firmware default (MPI, address 2).
  5. If the STOP LED continues to blink, the reset was not accepted. Repeat the sequence; on the third failure, suspect the MMC (replace it — see §5).

4.2 TIA Portal Equivalent

TIA Portal exposes the same action under Online & Diagnostics → Functions → Reset to factory settings. The "Format PLC" / "Reset memory" options correspond to the MRES behaviour. Use the Online & Diagnostics view, select the IM 151-7 CPU as the online target (it will only be visible if the access path already works), and trigger Reset memory. After the reset, the CPU is back to MPI=2.

4.3 Emergency IP Address Fallback (Reference)

For S7-1200/1500 CPUs, Siemens documents an emergency (temporary) IP address to recover from a network outage. The IM 151-7 CPU does not have an IP-based interface — its only programming port is the MPI/DP physical connector — so this mechanism does not apply. If MPI is unreachable, the MRES procedure is the recovery path.

5. MMC Requirements and Approved Types

Only Siemens-branded MMCs are supported. Third-party SD/MMC cards almost always fail the integrity check and produce a continuous blinking STOP LED.

Order Number Capacity Typical Use
6ES7953-8LF20-0AA0 64 KB Small projects, IM 151-7 CPU standard
6ES7953-8LH20-0AA0 128 KB IM 151-7 CPU standard
6ES7953-8LJ20-0AA0 256 KB IM 151-7 CPU standard
6ES7953-8LL20-0AA0 1 MB IM 151-7 CPU standard
6ES7953-8LM20-0AA0 2 MB IM 151-7 CPU standard
6ES7953-8LP20-0AA0 4 MB IM 151-7 CPU standard
6ES7953-8LF11-0AA0 64 KB Older flash (F-series), pre-firmware 2.x
An MMC pulled from a CPU 314C-2 DP or 315-2 DP usually works in an IM 151-7 CPU provided the capacity is in the table above. The reverse is not always true — the IM 151-7's integrated CPU has a smaller firmware image, and very old MMCs may not be recognized by newer firmware.

6. PG/PC Interface Configuration

After the MRES reset, configure the programming interface to talk MPI at 187.5 kbit/s to the default address 2.

6.1 STEP 7 V5.x (SIMATIC Manager)

  1. Open Start → SIMATIC → STEP 7 → Set PG/PC Interface.
  2. Select the access point: S7ONLINE (STEP 7) → PC Adapter (Auto).
  3. Click Properties:
    • Tab MPI: Transmission rate 187.5 kbps, Highest station address 31, profile MPI.
    • Tab Profibus: Leave as default unless the adapter supports both — set the bus parameters only if STEP 7 reports a bus profile mismatch.
  4. Click Diagnostics → Test. The PG/PC interface test should report "OK" against the IM 151-7 CPU at MPI address 2.
  5. In the SIMATIC Manager, choose PLC → Accessible Nodes. The IM 151-7 CPU should appear with its MPI address, firmware version, and order number.

6.2 TIA Portal

  1. Online → Accessible devices or Project → Devices & networks → Add device → Accessible device.
  2. Set the PG/PC interface type to PC Adapter and the protocol to MPI.
  3. Set transmission rate 187.5 kbps, HSA 31.
  4. Run Show accessible devices. The IM 151-7 CPU is identified by its order number (6ES7151-7...) and its integrated CPU firmware version (visible in the device list).
Auto vs. fixed baud: "PC Adapter (Auto)" negotiates the bus speed. If the IM 151-7 CPU has a project that locks the port to Profibus, the auto-mode will fail to detect it. Force the bus to 187.5 kbps MPI until the project is read back and rewritten with MPI as the interface type.

7. Reading and Rewriting the Project on the MMC

Once "Accessible Nodes" lists the IM 151-7 CPU, do not stop at the read-back. The project on the card is what caused the original symptom. Open PLC → Upload to PG/PG (STEP 7 V5) or Online → Upload from device (TIA) to recover the project, then verify or correct the port type.

7.1 Check the Port Assignment in HW Config

  1. Open the IM 151-7 CPU in HW Config.
  2. Select the X2 (MPI/DP) interface.
  3. Confirm the Interface dropdown: it must read MPI. If it reads Profibus DP slave, the MMC project is the cause of the access loss.
  4. Set the Address to a free MPI address (default 2; on a multi-MPI bus, use a value between 3 and 30).
  5. Save and compile, then download back to the CPU/MMC.

7.2 Re-Commissioning Workflow

  1. MRES (§4) to clear work memory.
  2. PG/PC interface set to MPI 187.5 kbps (§6).
  3. Upload the existing project to recover the S7 program and HW Config.
  4. Edit HW Config so X2 = MPI, address = 2 (or another free address).
  5. Download the corrected project to the IM 151-7 CPU.
  6. Verify "Accessible Nodes" still shows the CPU with the new address.
  7. Mark the MMC with the project name and the date to prevent recurrence.

8. Integrating the IM 151-7 CPU with a Master CPU 313C

The CPU 313C (order number 6ES7313-5BF03-0AB0) has a single integrated MPI/DP port that operates as MPI only out of the box. It does not support Profibus DP master functionality without an expansion. This constraint dictates the choice of integration path.

8.1 Integration Path Matrix

Path Hardware Required Master Function on 313C IM 151-7 CPU Role Notes
MPI global data / SFC 7/8 (S7 communication) CPU 313C (stock) MPI master (passive) MPI participant, address ≠ 2 (e.g. 4) Use SFC 7 ("X_GET") and SFC 8 ("X_PUT") for peer-to-peer S7 communication; or GD circles for cyclic data
Profibus DP master, integrated CPU 313C-2 DP (6ES7313-6CF03-0AB0) or CPU 313C + CP 342-5 (6GK7342-5DA02-0XE0) Profibus DP master Profibus DP slave (X2 = DP slave) Permits a full Profibus DP link; choose this only if you intend to use Profibus DP — otherwise stay on MPI
ET 200S as intelligent slave (I-slave) on Profibus Same as above Profibus DP master I-slave (PROFIBUS) Add the IM 151-7 CPU as an I-slave in HW Config of the master; configure the I-slave transfer areas in the IM's HW Config

8.2 Recommended Path: MPI with S7 Communication

For most users who only have a stock CPU 313C (no DP, no CP 342-5), the simplest link is MPI-to-MPI using S7 communication function blocks. This is the path implied by the original help request ("connect this CPU to main 313C CPU") and it does not require any hardware upgrade.

Configuration in HW Config of the Master (313C)

  1. Open the S7 project for the CPU 313C.
  2. In the master HW Config, the 313C's X1 (MPI/DP) must be set to MPI with the master MPI address (typically 2).
  3. Add a new MPI node: Insert → Station → SIMATIC 300 Station for the IM 151-7 CPU or use Insert → Partner → MPI if the IM 151-7's project is standalone.
  4. Set the partner MPI address to match the IM 151-7 CPU (4 by default if you have moved it off 2).
  5. Save and compile the master project.

Communication Block Pattern (STEP 7 Classic, STL)

// Master call: read 10 bytes from IM 151-7 CPU DB100 starting at byte 0
CALL "X_GET" , DB103      // SFC 7, instance DB auto-generated
  REQ       := TRUE       // Rising edge starts the job
  CONT      := TRUE       // Keep the connection
  DEST_ADDR := W#16#4     // MPI address 4 (= IM 151-7 CPU)
  REMOTE_VAR:="DB100.AREA"// ANY pointer to remote DB100.DBX0.0 BYTE 10
  BUSY       :=X_WORK
  RD         :=X_DONE

Where REMOTE_VAR is an ANY pointer built in the usual form:

// Build ANY: DB 100, area DB, byte 0, bit 0, length 10
P#DB100.DBX0.0 BYTE 10

For cyclic bidirectional data, pair the read with SFC 8 ("X_PUT") and trigger it from a 100 ms OB1 cycle flag.

Verifying the Link

  1. Both CPUs in RUN (RUN LEDs on, no SF/BUSF).
  2. Open the master project online: PLC → Accessible Nodes lists the IM 151-7 CPU at the configured MPI address.
  3. Open the master diagnostic buffer: there should be no communication errors and the SFC 7/8 instance DB should show BUSY = 0, DONE = 1.
  4. Force a known pattern into IM 151-7 DB100.DBX0.0 from its online project; the same bytes appear in the master's receive area.

9. Verification Matrix

Check Expected Result Tool Pass Criterion
PG/PC interface diagnostic Bus test reaches IM 151-7 CPU at MPI=2 Set PG/PC Interface → Diagnostics → Test "Test OK" with MPI=2 visible
Accessible Nodes IM 151-7 CPU listed with firmware and order number SIMATIC Manager / TIA Portal Visible at expected MPI address
CPU LEDs POWER on, STOP off, RUN on (or controlled STOP), SF off Visual No SF, no blinking STOP
Diagnostic buffer No MMC errors, no HW Config errors PLC → Diagnostics/Settings → Diagnostic Buffer Last entry is the expected STOP/RUN transition
MPI loop test Bus monitor sees telegrams at 187.5 kbps from MPI=2 Bus monitor (e.g. Amprolyzer, NetAnalyser) Active periodic traffic from IM 151-7
Cross-CPU S7 communication X_GET returns DONE=1; data matches expected Variable table in master project Read data byte-equal to source
MMC readout after download Project re-stored with X2 = MPI, address = 4 Upload from device Uploaded project matches what was downloaded

10. Troubleshooting Matrix — Persistent Failure

If the IM 151-7 CPU remains unreachable after the procedure above, work through this matrix before declaring hardware failure.

Observed Likely Cause Next Action
MRES ignored, STOP LED keeps blinking Defective MMC; CPU cannot write the new header Pull MMC, retry MRES without MMC. If MRES works, replace the MMC (see §5)
PG/PC test fails with "bus short circuit" Terminator issue or shield short in the MPI cable Disconnect all other MPI nodes; test with a known-good 9-pin MPI cable with termination enabled at one end only
Accessible Nodes empty despite good cable and MRES PG/PC interface bound to wrong COM/USB or wrong protocol Check Windows device manager for the PC Adapter; re-install the SIMATIC PC Adapter driver
CPU visible at a non-default MPI address (e.g. 4) Project on MMC has a custom MPI address Browse "Accessible Nodes" with "Show all" / targeted search by address
CPU goes back to blinking STOP after every power cycle MMC is write-protected or the project is corrupt Re-image the MMC using STEP 7 "PLC → Download to Memory Card" with a fresh project; verify the card is not write-protected
CPU appears, project upload fails with signature error Know-how protection enabled with forgotten password Cannot be recovered without the password; clear with MRES + re-download only the unprotected blocks
STOP LED blinks at 2 Hz even with MMC removed Memory reset request at firmware level MRES, then power-cycle; if it returns, escalate to Siemens support with the diagnostic buffer
CPU visible only on Profibus, not on MPI Project on MMC pins X2 to Profibus and locks the address Use a CP 5512/CP 5611 with Profibus driver and search the Profibus network; once found, rewrite the project to MPI

11. Field-Proven Caveats

  • Pulling the MMC is not a fix. It exposes the firmware default, but as soon as the MMC is reinserted the project reloads and the problem returns. The project itself has to be edited.
  • CP 5512 is MPI+Profibus. If the IM 151-7 CPU has been reconfigured to Profibus, scanning with the CP 5512 set to Profibus is the only way to find it. Scanning only MPI will fail.
  • HSA must match. If the IM 151-7 CPU's project has been edited to HSA = 15, the PG/PC interface must also be set to HSA = 15, otherwise "Accessible Nodes" can return false negatives.
  • Passwords survive MRES. Know-how-protected blocks stay protected after a memory reset. The CPU remains accessible (project loads), but the protected blocks are unreadable.
  • Firmware version matters. An MMC written by a CPU 314C-2 DP with firmware V3.x may not boot in an IM 151-7 CPU with firmware V2.x. Use the correct firmware line for the card, or reflash the CPU before inserting the card.
  • Power supply to the ET 200S rack. A weak 24 V supply can cause the IM 151-7 CPU to behave as if the MMC were missing (intermittent boot). Verify ≥ 22 V at the power module terminals with the station under load.
  • Backplane and terminal modules. A missing or mis-seated terminal module downstream of the IM 151-7 CPU causes group-error SF LED, not a STOP blink. If SF is on in addition to STOP blinking, re-seat the I/O modules first.

12. Summary Workflow

  1. Observe LEDs — POWER on, STOP blinking confirms the CPU wants a reset.
  2. Set PG/PC interface to PC Adapter (MPI) at 187.5 kbps, HSA 31.
  3. MRES the IM 151-7 CPU with the MMC inserted.
  4. Re-open Accessible Nodes; the CPU should appear at MPI=2.
  5. Upload the project, verify X2 = MPI, save, download back to the CPU.
  6. Configure the master CPU 313C's MPI/DP port as MPI.
  7. Use SFC 7 (X_GET) / SFC 8 (X_PUT) for cross-CPU data exchange; or migrate to a Profibus DP master (CPU 313C-2 DP or CP 342-5) if higher throughput is required.

Why does the IM 151-7 CPU only appear in "Accessible Nodes" when the MMC is pulled?

Without an MMC, the IM 151-7 CPU boots to its firmware defaults: MPI, address 2, 187.5 kbps. With an MMC, it reads the port type and address from the project on the card. If that project has set X2 to Profibus DP slave, MPI scans cannot see the CPU even though it is alive (POWER on, STOP blinking).

What does a blinking STOP LED mean on the IM 151-7 CPU?

A slow (0.5 Hz) blink means the CPU is in STOP and is requesting an overall reset — typically because the MMC is present but no valid project is loaded, or the project on the MMC is incompatible. Perform MRES to clear the work memory, then re-download the project.

How do I reset the IM 151-7 CPU to MPI defaults?

Turn the mode selector to STOP, hold MRES for at least 3 seconds, release, then within 3 seconds hold MRES again. The STOP LED will switch pattern to a brief flash and then stay on, confirming the overall reset. The port reverts to MPI, address 2, 187.5 kbps.

Can the stock CPU 313C be a Profibus DP master?

No. A stock CPU 313C (6ES7313-5BF03-0AB0) has a single integrated port that runs as MPI only. To act as a Profibus DP master you need either a CPU 313C-2 DP (6ES7313-6CF03-0AB0) or a CP 342-5 (6GK7342-5DA02-0XE0) added to the rack.

What is the easiest way to exchange data between the IM 151-7 CPU and a CPU 313C?

Use MPI on both sides and S7 communication: call SFC 7 (X_GET) in the master to read from the IM 151-7 CPU and SFC 8 (X_PUT) to write. Both CPUs are passive MPI participants; the connection is set up by the call. No additional hardware is required.

Back to blog