Problem Description
When commissioning a Siemens S7-300 CPU 315-2DP (6ES7315-2AFxx-0AB0) as the PROFIBUS DP master with an ET 200S IM 151-1 interface module (6ES7151-1AA05-0AB0) as a DP slave, the diagnostic buffer in STEP 7 / TIA Portal reports "Error in lower-level component" and the CPU's SF (System Fault) LED lights solid while the BF (Bus Fault) LED flashes. The IM 151-1 BF LED also flashes at approximately 0.5 Hz, which Siemens defines as "DP slave not found / bus short circuit or missing termination," rather than a logical parameterization error.
The most common diagnostic buffer entries that produce this LED pattern are listed below. Event IDs follow the STEP 7 v5.x / TIA Portal V11 diagnostic structure for an S7-300 CPU.
| Event ID (hex) | Message text | Operational meaning |
|---|---|---|
| 0x381E | Station failure | Configured DP slave did not respond to polling |
| 0x3842 | DP slave not found | Slave is configured but is not present on the bus |
| 0x3825 | Diagnostic interrupt from DP slave | Slave sent a diagnostic frame (module / channel fault) |
| 0x39B1 / 0x39B4 | I/O access error when reading / writing | Process image could not be updated |
When a CPU 315-2DP and IM 151-1 combination produces simultaneous SF-on / BF-flashing on the master and BF-flashing on the slave, the fault is in roughly 90 % of field cases the physical layer (cable, connector, shield, or termination) rather than the GSD-based parameterization. Logical causes (GSD version mismatch, wrong slot assignment, watchdog time-out) are usually indicated by BF-on solid on the slave and a different diagnostic text such as "Station return with error" or "DP slave defective."
Affected Hardware and Identification
| Component | Order number | Role | Key interfaces |
|---|---|---|---|
| CPU 315-2DP | 6ES7315-2AFxx-0AB0 | DP master (slot 2 in S7-300 rack) | X1 (MPI/DP combined), X2 (DP only) – DP port is the right-hand 9-pin D-sub on the front |
| IM 151-1 (ET 200S) | 6ES7151-1AA05-0AB0 | DP slave interface module | 8-position DIP switch (PROFIBUS address), 9-pin D-sub PROFIBUS port |
| PROFIBUS FC standard cable | 6XV1830-0EH10 | Bus medium | Twisted, shielded, violet, characteristic impedance 150 Ω |
| PROFIBUS FastConnect connector | 6ES7972-0BA52-0XA0 (90°) or 6ES7972-0BB52-0XA0 (35°) | Bus termination & wiring | A1/B1 = IN, A2/B2 = OUT, integrated terminating resistor switch |
For the IM 151-1 variant 6ES7151-1AA05-0AB0, the supported PROFIBUS transmission rate is 9.6 kbps to 12 Mbps (auto-detect). At 1.5 Mbps the segment may be up to 200 m with FC standard cable; at 12 Mbps the maximum is 100 m. Reference: Siemens Support entry 1402443 – ET 200S IM 151-1 manual.
Root Cause Analysis
Six independent physical-layer causes have been observed in field reports of this exact CPU 315-2DP / IM 151-1 error pattern. Each is verifiable without additional hardware beyond a small screwdriver and a multimeter.
- Incoming cable connected to A2/B2 instead of A1/B1. The Siemens FastConnect (FC) connector has two pairs of insulation-displacement contacts. A1/B1 is the incoming bus segment (marked with an arrow on the connector housing pointing IN); A2/B2 is the outgoing bus to the next device. Wiring the master or the slave into A2/B2 while leaving A1/B1 open makes the slave invisible to the master.
- Insulation stripped from the green and red PROFIBUS cores. The FC connector uses insulation-displacement contacts (IDC). The contact blades are designed to pierce the violet PROFIBUS cable jacket and the inner core insulation simultaneously. If the inner insulation is removed manually the wire is too thin to make a gas-tight IDC, the contact resistance rises, and intermittent or permanent BF faults result.
- Transparent wire guide not seated. After inserting the cores into the IDC, the plastic colour-coded insert (red/green) must be pushed down fully and the transparent cover locked. If the cover is loose, the spring pressure on the IDC is lost and the contact opens.
- Shield (screen) not terminated. The braided shield of the PROFIBUS cable must be clamped 360° in the connector back-shell to form a low-impedance screening contact. A shield that is "tied to ground at one end only" is not acceptable on PROFIBUS DP – the shield must be continuous and bonded to the connector shell at every node, and the connector shell must make full metal contact with the D-sub housing.
- Terminating resistor OFF at both end nodes, or ON in the middle. A PROFIBUS segment must be terminated at exactly the two physical end stations. The IM 151-1 must therefore have its terminator ON if it is the last node, and the CPU 315-2DP's connector must have its terminator ON if no further slaves are downstream. Intermediate nodes must have the terminator OFF.
- PROFIBUS address DIP switch set incorrectly. An 8-position DIP switch on the IM 151-1 sets the bus address. Switch positions are binary-weighted, switch 1 = 1, switch 2 = 2, switch 3 = 4, switch 4 = 8, switch 5 = 16, switch 6 = 32, switch 7 = 64, switch 8 = 128. Address 3 = switches 1 + 2 ON, all others OFF. Position 8 on some IM 151-1 hardware revisions is reserved and labelled "not used" – do not set it.
PROFIBUS FastConnect Connector Wiring Procedure
The single most common root cause in the field is incorrect wiring of the FC connector. Use the procedure below for both the CPU 315-2DP end and the IM 151-1 end.
- Strip exactly 35 mm of the violet outer jacket from the PROFIBUS cable. Do not nick the braided shield.
- Fold the braided shield back over the outer jacket. Do not twist it into a pigtail – the shield must remain a continuous tube that the connector clamp can grip 360°.
- Unwrap the foil shield and the inner filler; expose the red and green cores. The cores must remain insulated.
- Insert the red core into terminal A1 and the green core into terminal B1 of the FastConnect connector. With the connector held cable-outlet-down and the D-sub facing you, A1 is on the right and B1 on the left of the inner contact row.
- Close the IDC slider until it clicks. The slider blades must cut through the inner core insulation.
- Place the folded shield braid under the metal clamp in the connector back-shell and tighten the strain-relief screw so the shield is gripped 360°.
- Snap the transparent cover closed. The cover must be flush with the connector body.
- Plug the connector into the device and torque the two retaining screws (UNC 4-40) finger-tight plus 1/4 turn.
Setting the IM 151-1 PROFIBUS Address
Address 3 (decimal) on the 8-position DIP switch of the IM 151-1 is binary 0000 0011. Therefore:
- Switch 1 = ON (value 1)
- Switch 2 = ON (value 2)
- Switches 3 – 8 = OFF
The address set in hardware (DIP switches) and the address configured in STEP 7 / TIA Portal under DP slave > Properties > PROFIBUS address must match. If the CPU's hardware catalog shows the IM 151-1 as a generic "IM 151-1" without a GSD-specific device name, install the GSD file for the IM 151-1 AA05 firmware via Options > Install GSD file in TIA Portal V11. The GSD file is named SIEM80D6.GSD (or the equivalent revision) and is bundled in the ET 200S GSD collection.
Terminating Resistor Configuration
For a single-master / single-slave segment with no further devices downstream:
| Node | Position in segment | Terminating resistor switch |
|---|---|---|
| CPU 315-2DP | Physical start of segment | ON |
| IM 151-1 (6ES7151-1AA05-0AB0) | Physical end of segment | ON |
For a multi-slave segment, only the first and last physical nodes are terminated; intermediate nodes must have the terminator OFF. The FC connector terminator switch is on the top of the connector housing, slides between "ON" and "OFF," and locks with a small screwdriver.
A floating or incorrectly terminated segment will typically produce BF-flashing at 0.5 Hz on the affected devices, exactly the symptom reported with this CPU 315-2DP / IM 151-1 combination. A 150 Ω resistance measured across pins 3 and 8 of the D-sub at each end of the segment (with the bus powered and the two end terminators ON) is the expected value for a healthy terminated segment.
LED Status Reference
LED behaviour on the CPU 315-2DP and IM 151-1 is the fastest field-level diagnostic. Siemens defines the states in the relevant device manuals.
| LED | State | Meaning (Siemens manual definition) |
|---|---|---|
| CPU SF | ON (red, solid) | Group error; entry exists in the diagnostic buffer. Read the buffer to see the exact cause. |
| CPU BF | Flashing 0.5 Hz | DP master cannot find the configured slave – physical layer fault, wrong address, or slave powered off. |
| CPU BF | ON (red, solid) | Bus short circuit or bus wires swapped (A with B). |
| IM 151-1 BF | Flashing 0.5 Hz | DP slave is not in cyclic data exchange – no master polling the slave's address. |
| IM 151-1 BF | ON (red, solid) | Bus wire broken, A/B swapped, or no terminating resistor at the segment end. |
| IM 151-1 SF | Flashing | Module diagnostic present – check the slave's diagnostic buffer / hardware catalog slot assignment. |
| IM 151-1 ON | ON (green) | Power supply OK; logical operation of the IM 151-1 itself. |
For the specific case in this article (CPU SF solid, CPU BF flashing 0.5 Hz, IM 151-1 BF flashing 0.5 Hz) the symptom is a "no response from configured slave" – consistent with a wiring fault that prevents the master's poll frame from reaching the IM 151-1.
Step-by-Step Diagnostic Procedure
Follow the sequence below in order. Each step verifies or eliminates a single physical-layer root cause.
- Power down both devices. With the CPU in STOP or power removed, remove both PROFIBUS connectors and inspect each with a torch. The transparent IDC cover must be fully seated. The shield braid must be visible under the back-shell clamp, not stranded into a pigtail.
- Verify the inner conductor insulation is intact. Cut a 30 mm section out of each connector and confirm the red and green cores still have their coloured insulating layer. If the insulation was stripped, rebuild the connector with a new FC plug and do not re-use the cable end.
- Confirm A1/B1 wiring at both ends. Re-make the connector following the procedure above. The red core must land on A1, the green core on B1. A continuity check from CPU D-sub pin 3 (B-line) to IM 151-1 D-sub pin 3, and pin 8 (A-line) to pin 8, must show < 1 Ω.
- Verify shield continuity. Measure resistance between the D-sub metal shell at the CPU end and the D-sub metal shell at the IM 151-1 end. It must be < 1 Ω and the shield must be continuous along the cable run.
- Check PROFIBUS address. Switch 1 ON, switch 2 ON, all others OFF, on the IM 151-1 DIP. In the TIA Portal V11 hardware configuration, double-click the IM 151-1 in the DP slave list and confirm the PROFIBUS address is set to 3.
- Set terminating resistors. CPU connector terminator = ON. IM 151-1 connector terminator = ON. If a future slave is later added in the middle of the segment, that slave's terminator must be OFF.
- Power up the CPU, then the IM 151-1. Wait 5 seconds for the IM 151-1 to complete its bus initialisation.
- Read the diagnostic buffer. In TIA Portal V11 go Online > Online & diagnostics > CPU 315-2DP > Diagnostic buffer. The expected entry after a successful restart is "DP slave: station return" with Event ID in the 0x381F / 0x3900 range and no entry for 0x381E.
Verification
A correctly commissioned CPU 315-2DP + IM 151-1 segment shows the following steady-state behaviour:
- CPU SF = OFF, CPU BF = OFF, CPU RUN = ON (green).
- IM 151-1 BF = OFF, IM 151-1 ON = ON (green), IM 151-1 SF = OFF.
- Diagnostic buffer last entry: "DP slave: station return" (Event ID 0x381F or similar), no further DP error entries.
- STEP 7 / TIA Portal Online > Monitor / Modify on the IM 151-1 input bytes shows the I/O updating at the configured scan rate.
A quick functional check is to insert a digital input module into slot 1 of the ET 200S, force the input, and read it back in a VAT table at I-address 0. If the input updates, the bus is in data exchange and the physical layer is healthy.
When the Problem Persists After Wiring is Corrected
If BF continues to flash after the connector, shield, address, and termination have all been verified, the fault is no longer physical-layer. Re-check the following in order:
- GSD file revision. The IM 151-1 AA05 supports firmware versions V1.0.x and V2.0.x with different GSD files. Using a V1 GSD against a V2 IM 151-1, or vice versa, can cause parameterisation failure with BF-flashing. Read the firmware version from the label on the IM 151-1 and install the matching GSD.
- PROFIBUS transmission rate. The CPU 315-2DP defaults to 1.5 Mbps. The IM 151-1 auto-detects from 9.6 kbps to 12 Mbps. If the master has been set to a rate the cable length cannot support (e.g., 12 Mbps over 150 m), reduce to 1.5 Mbps or 500 kbps and re-test.
- Slot / module assignment in HW Config. The IM 151-1 power module and any I/O modules plugged into the ET 200S base unit must match the configuration in HW Config exactly. A missing power module in slot 0 causes the IM 151-1 to refuse parameterisation.
- Watchdog time. A watchdog set to 10 ms while the bus is running at 9.6 kbps will time out. Increase the watchdog in the slave properties to 100 ms or 1 s for slow buses.
- Bus cable length vs. baud rate. Siemens PROFIBUS cable length table: 1 000 m @ 9.6 kbps / 187.5 kbps, 400 m @ 500 kbps, 200 m @ 1.5 Mbps, 100 m @ 3 / 6 / 12 Mbps. Reference: Siemens PROFIBUS network manual entry 21859074.
Tools and Spare Parts Checklist
| Item | Order number | Use |
|---|---|---|
| PROFIBUS FC standard cable (violet) | 6XV1830-0EH10 | Spare cable for re-pull |
| PROFIBUS FC connector 90° | 6ES7972-0BA52-0XA0 | Replacement connectors |
| PROFIBUS FC stripping tool | 6GK1905-6AA00 | Correct 35 mm outer-jacket strip |
| PROFIBUS bus terminator (active) | 6ES7972-0DA00-0AA0 | External terminator for testing |
| PROFIBUS diagnostic repeater | 6ES7972-0AB01-0XA0 | Per-segment diagnostics if fault persists |
The FC stripping tool is strongly recommended. Hand-stripping the violet PROFIBUS cable almost always nicks the braided shield and produces intermittent shielding failures that are very difficult to trace.
Safety and Commissioning Notes
FAQ
What does a flashing BF LED on the IM 151-1 mean when connected to a CPU 315-2DP?
A flashing BF LED at approximately 0.5 Hz on the IM 151-1 indicates that the slave is not in cyclic data exchange with the master. In 90 % of field cases with this combination the cause is a physical-layer problem – wrong A1/B1 wiring, missing terminating resistor, or the PROFIBUS address set differently on the DIP switch than in the STEP 7 / TIA Portal hardware configuration.
How do I set PROFIBUS address 3 on the IM 151-1 DIP switch?
Address 3 in binary is 00000011, so switches 1 and 2 must be ON, switches 3 through 8 OFF. Position 8 is reserved on some IM 151-1 hardware revisions and must remain OFF. The address set on the DIP switch must match the PROFIBUS address assigned to the IM 151-1 in the TIA Portal V11 hardware configuration.
Do I need to strip the red and green wire insulation before inserting them into the PROFIBUS FC connector?
No. The PROFIBUS FC connector uses insulation-displacement contacts (IDC) that pierce the inner core insulation automatically when the slider is closed. If the inner insulation is removed manually, the wire becomes too thin to make a gas-tight connection and the bus will fail with BF flashing or solid BF on one or both devices.
Where do I connect the incoming PROFIBUS cable on the Siemens FC connector, A1/B1 or A2/B2?
Always A1/B1. A1 is the red core (B-line) and B1 is the green core (A-line) of the incoming bus segment; A2/B2 is the loop-through to the next downstream device. Wiring the CPU or the IM 151-1 into A2/B2 by mistake will leave the slave invisible to the master and produce the same BF-flashing symptom as a broken cable.
Why does the CPU 315-2DP also show SF solid and BF flashing when the IM 151-1 BF is flashing?
The CPU SF LED is a group-error indicator. When the master cannot find a configured slave, the CPU writes a "Station failure" (Event ID 0x381E) entry to its diagnostic buffer and lights SF. Resolving the physical-layer fault on the IM 151-1 side will clear both the CPU BF and the CPU SF once the IM 151-1 returns to data exchange after the next power cycle.