Problem Overview
When commissioning or maintaining a Siemens SIMATIC S7-300 station built around a CPU 315-2 PN/DP (MLFB 6ES7315-2EH14-0AB0 or earlier 6ES7315-2EH13-0AB0 / 6ES7315-2AG10-0AB0), an analog signal module can be physically mounted, mechanically latched, and yet still raise a diagnostic message in STEP 7 (SIMATIC Manager) v5.x or TIA Portal V13+ that reads:
"The above-defined module is configured but not available"
This diagnostic is reported from the online view of the hardware configuration (HW Config) when the controller attempts to enumerate the I/O on the backplane bus and cannot reconcile the expected slot population with the actually installed module. The most common occurrences on the affected station are with the SM-331 AI 8x12 (8-channel, 12-bit analog input, MLFB 6ES7331-7KF02-0AB0) and the SM-332 AO 8x13 (8-channel, 13-bit analog output, MLFB 6ES7332-5HF00-0AB0). The same symptom applies to most other SM-331/332/334 variants and to digital SM-321/322/323 modules whenever the backplane bus path is broken or the project configuration drifts from the installed hardware.
Reference: S7-300 Module Specifications Manual (entry ID 8859629).
Hardware Identification and MLFB Reference
Always begin by capturing the full MLFB (Maschinenlesbare Fabrikatebezeichnung) from the front-panel labeling of every module in the rack. The MLFB determines firmware compatibility, channel count, resolution, diagnostics capability, and which slot it may legally occupy. For the modules in this case the relevant catalog data is:
| Module | MLFB | Function | Resolution | Channels |
|---|---|---|---|---|
| SM 331 AI 8x12 | 6ES7331-7KF02-0AB0 | Analog input | 12 bit | 8 AI in 4 groups |
| SM 331 AI 8x13 | 6ES7331-1KF01-0AB0 | Analog input (older) | 13 bit | 8 AI in 4 groups |
| SM 332 AO 8x13 | 6ES7332-5HF00-0AB0 | Analog output | 13 bit | 8 AO |
| CPU 315-2 PN/DP | 6ES7315-2EH14-0AB0 | CPU with PN/DP | - | 384 DI / 384 DO max |
Cross-check each MLFB with the configuration loaded in HW Config. Mismatched MLFBs (for example a 6ES7331-1KF02-0AB0 in the project versus a 6ES7331-7KF02-0AB0 in the rack) will report the same "configured but not available" diagnostic even with a healthy backplane bus, because the slot ID the CPU expects to read does not match the device descriptor returned by the module.
Diagnostic Message: "Module Is Configured But Not Available"
The diagnostic text comes from the online Module Information dialog, accessible by right-clicking the slot in HW Config and selecting Module Information > Diagnostics after going online with the CPU. The buffer entry is logged as event ID 0xC1 / SF (System Fault) in the CPU diagnostic buffer. The accompanying cause text typically reads "Module failure" or "Module does not exist" depending on the STEP 7 version.
STEP 7 decodes the event as follows:
- 0xC1 + 0xBF: "Module error / module not available / module does not respond" — the CPU polled the slot during the cyclic I/O update and received no valid identifier frame on the backplane bus.
- 0xC1 + 0x33: "Wrong module in slot" — the module answered but its device descriptor did not match HW Config (this is the most easily confused sibling diagnostic).
Reference: S7-300 CPU 315-2 PN/DP Operating Instructions (entry ID 13242790).
Root Cause Analysis Matrix
| # | Cause | Diagnostic Indicator | Fast Check |
|---|---|---|---|
| 1 | Backplane bus connector (U-shaped) missing, bent, or reversed | SF on CPU + target slot; "Module does not exist" | Remove the U-connector and visually inspect contacts |
| 2 | MLFB in HW Config differs from installed module | "Wrong module" event in diagnostic buffer | Compare each character of the MLFB on the side label |
| 3 | Module not fully seated (latch not engaged) | All slots to the right also fail or report "not available" | Press latch downward until it clicks |
| 4 | Defective module (failed electronics, blown input fuse on AI) | Slot reports diagnostic regardless of which neighbor is tested | Swap with a known-good module |
| 5 | 24 V load supply missing on the module's sensor/load voltage tap | SM-331 with isolated 24 V missing, but bus communication present | Check L+ / M terminal voltage, look for SF LED only on group |
| 6 | Project not downloaded to CPU, or wrong PC/PG target selected | Multiple "configured but not available" across all configured slots | PLC > Download to Target, verify Accessible Nodes |
| 7 | Firmware mismatch (module is newer than the version listed in HW Config) | CPU shows "Firmware update required" or module ID is unknown | Right-click slot, Module Information, Firmware tab |
Prerequisites for Troubleshooting
- STEP 7 V5.5 SP4 / SP5 with HW Config updated, or TIA Portal V13 SP1 or later with the correct HSP (Hardware Support Package) installed for the SM-331/332 variants in use.
- Approved Siemens MPI or PROFINET PC/PG cable (USB-MPI, 6ES7972-0CB20-0XA0, or Ethernet through the PN interface of the CPU).
- Source project ("offline" STEP 7 archive) containing the S7 program, the HW Config of the station, and the symbolic table.
- Appropriate access level on the CPU. The default password for a clean CPU 315-2 PN/DP is "runner"; protected projects may require a project-specific password.
- Spare U-shaped backplane bus connectors (Siemens MLFB 6ES7390-0AA00-0AA0) and, ideally, a known-good SM-331 or SM-332 module for cross-testing.
Step-by-Step Diagnostic Procedure
Step 1 - Go online and read the CPU diagnostic buffer
- Open the project in STEP 7 or TIA Portal.
- Select the CPU 315-2 PN/DP and choose PLC > Accessible Nodes or Online > Go Online.
- Open PLC > Module Information. Read the Diagnostic Buffer tab and note the most recent event, its event ID (decimal or hex), and the slot number cited.
- Confirm that the buffer entry references the slot where the SM-331 or SM-332 is physically installed (slot 4 through slot 11 in a typical S7-300 rack, since slots 1, 2, and 3 are reserved for power supply, CPU, and IM).
Step 2 - Compare the installed MLFB to the HW Config
- Open HW Config.
- Double-click the slot in question and read the Order Number / MLFB in the properties dialog.
- Physically read the MLFB on the right side panel of the installed module.
- If they differ, correct the HW Config to match the installed module and download the configuration again (PLC > Download to Target > To Target System).
Step 3 - Verify the U-shaped backplane bus connector
- Power off the rack.
- Remove the SM-331 (or SM-332) being investigated by unlatching the top and bottom latches.
- Inspect the U-shaped bus connector seated in the rear of the module. Verify the contacts are clean, not bent, and that the connector is fully inserted into the plastic guide.
- Re-seat the connector into the next module's slot and reinstall the affected module. Confirm the latches click and that the module is flush with its neighbors.
Reference: S7-300 Module Specifications - backplane bus wiring rules (entry ID 8859629).
Step 4 - Power-cycle and observe the module LEDs
- Apply 24 V DC to the PS-307 power supply and the CPU.
- Watch the front-panel LEDs of the SM-331 / SM-332 during the CPU's startup phase. The expected sequence is SF off, BF (if Profibus) off; a steady SF immediately after startup indicates the module is responding on the backplane bus but reporting an internal fault. No LED activity at all on a fully seated module typically points to a backplane bus or 24 V supply problem.
- Note: SM-331 AI 8x12 (6ES7331-7KF02-0AB0) does not provide per-channel fault LEDs; instead the SF LED reflects the group-diagnostic state. Check the diagnostic buffer for the channel-level reason.
Step 5 - Module swap test
- Replace the suspect module with a known-good spare of the exact MLFB.
- Power-cycle the CPU and go online.
- If the spare is recognized and the diagnostic clears, the original module is defective. Dispose of or return the defective module per the local warranty procedure (Siemens RMA).
- If the spare still reports "configured but not available", the problem is on the rack side: re-check the bus connector, the 24 V supply, the slot mechanics, and the project configuration.
Verifying Hardware Configuration in STEP 7 / TIA Portal
For the CPU 315-2 PN/DP, the configuration in HW Config must be downloaded to the CPU before the slot will be recognized. Use the following sequence:
- Open HW Config in STEP 7 V5.5 or the Device View in TIA Portal.
- Drag the correct MLFB from the catalog onto each slot. For the analog modules in this case, set the measurement type and range per channel group. For example, for 4-wire RTD on a 6ES7331-7KF02-0AB0 choose RTD under the relevant group, select the platinum standard (Pt100 or Pt1000), and set the smoothing to match the application.
- Compile and save the project.
- Select the CPU and choose PLC > Download to Target. In TIA Portal this is Online > Download to Device.
- After download, select PLC > Module Information and verify the General tab shows the correct order number and the Diagnostics tab is empty.
Reference: S7-300 CPU 315-2 PN/DP manual - configuration download procedure (entry ID 13242790).
Backplane Bus Connector Inspection
The U-shaped backplane bus connector (MLFB 6ES7390-0AA00-0AA0) is the most common single point of failure on a service call. The connector is keyed to prevent reversed insertion, but the plastic housing can crack under torque, and the gold fingers can oxidize after long storage in a humid cabinet. Replace the connector whenever:
- The module was stored for more than 12 months in an uncontrolled environment.
- The connector has been removed and reinserted more than 10 times (the contact plating wears).
- The connector shows any visible deformation of the U shape or any discoloration of the contact springs.
Module Swap Test Procedure
When two identical MLFBs are available, the swap test isolates the module from the rest of the system in under five minutes. Perform the test in this order:
- Identify a known-good module with the same MLFB and the same firmware version (the firmware version is printed on the front label as FW: x.y).
- Power off the rack.
- Swap the suspect module with the known-good module. Keep the wiring on the terminals and transfer it to the spare module.
- Power the rack back on. Wait for the CPU RUN or STOP indicator.
- Go online and read the diagnostic buffer. A clean buffer means the original module was defective. A persistent diagnostic means the slot, the bus connector, or the HW Config is at fault.
Online Module Information Interpretation
The Module Information dialog (called from HW Config or from the device view) provides six tabs of useful data:
| Tab | Useful Field | What to Look For |
|---|---|---|
| General | Order Number, Firmware | Matches the label on the physical module |
| Diagnostics | Channel diagnostic | Group-level overflow, wire break, configuration error |
| Diagnostic Buffer | Event list | SF or "module does not exist" event on the affected slot |
| Performance | Cycle time, OB1 execution time | Sanity check that analog processing time is reasonable |
| Communication | Connection list | Confirm PG/PC connection is up |
| Stack | Stacks at time of STOP | Skip if the CPU is in RUN |
Commissioning Verification Checklist
- CPU 315-2 PN/DP transitions to RUN and the SF LED remains off.
- All configured SM-331 / SM-332 slots respond in Accessible Nodes and report no diagnostic in the Module Information dialog.
- For each AI channel, force a known signal (for example, a 4 mA / 20 mA current) and verify the raw value in the corresponding input word (IW) of the process image matches within 0.1 percent. The default analog input range for 6ES7331-7KF02-0AB0 is 0 to 10 V or 4 to 20 mA depending on the wiring and the configuration.
- For each AO channel, set a value in the output word (QW) and measure the output voltage or current at the terminal block.
- Trigger a power-cycle and confirm the modules enumerate without errors.
- Document the final HW Config and back it up with the S7 program archive.
FAQ
What does the diagnostic "module is configured but not available" mean on an S7-300?
It means the CPU polled the slot during the cyclic backplane bus update and received no valid identifier frame from the module. Common causes are a missing or damaged U-shaped backplane bus connector (6ES7390-0AA00-0AA0), a module that is not fully seated, a defective module, or an MLFB mismatch between HW Config and the installed hardware. Check the diagnostic buffer for the related event ID 0xC1 first.
How do I find the correct MLFB for my SM-331 AI 8x12 module?
The MLFB is printed on the right side panel of the module. For the 12-bit, 8-channel variant the common catalog number is 6ES7331-7KF02-0AB0, while the 13-bit predecessor is 6ES7331-1KF01-0AB0. Cross-reference against the S7-300 module specifications manual under entry ID 8859629 to confirm features and channel grouping.
Can I hot-swap a SM-331 module while the CPU is in RUN?
Why does the CPU still report "configured but not available" after I redownloaded HW Config?
Redownloading HW Config fixes the configuration side, not the hardware side. After download, recheck the seating of the module, the U-shaped bus connector, the 24 V supply on the sensor/load terminals, and the SF LED on the module. If the SF LED is off and the slot still fails, the module itself is most likely defective and should be swapped with a known-good spare of the same MLFB.
What is the difference between 6ES7331-1KF01-0AB0 and 6ES7331-7KF02-0AB0?
Both are 8-channel analog input modules. The 6ES7331-1KF01-0AB0 is the older 13-bit design (8 AI in 4 groups, no channel-level diagnostics) and the 6ES7331-7KF02-0AB0 is the 12-bit successor that supports wire-break diagnostics on selected ranges. They are not pin-compatible for all wiring schemes, so replacing one with the other in the field requires a HW Config update and a project download.