Troubleshooting
Why S7-1200 expansion module inputs and outputs do not update
Short answer
Green input LEDs with bits stuck at 0, and output coils that go green while the module LED stays dark, mean the CPU never updates the expansion I/O: the signal modules are missing from the downloaded device configuration, a bus slider is not engaged, or the module supply is open. Check configuration, sliders and supply, then compile, download hardware and software together and prove it in a watch table.
On this page
- Why do input LEDs light while the input bits stay 0?
- Why does an output coil go green while the module LED stays dark?
- Is every expansion module in the downloaded device configuration?
- Are the bus sliders fully engaged between all the modules?
- Is the module supply present on L+ and M?
- How do you compile and download the hardware configuration?
- How do you prove the expansion I/O in a watch table?
- What is the decision for each symptom?
- Questions asked
Green input LEDs with bits stuck at 0, and output coils that go green in online monitoring while the terminal stays dead, mean the CPU never sees the expansion modules: the on-board I/O works because it lives on the CPU itself, while every signal module depends on a configuration download, an engaged bus connector and its own supply feed. On a station built from a CPU 1214C DC/DC/DC, four SM 1221 input modules and one SM 1222 output module, this pattern is almost always a commissioning miss rather than a hardware fault, so replacing modules will not change it. Work through the checks below in order and re-test after each download.
Why do input LEDs light while the input bits stay 0? #
The input LED is driven locally by the module from the field signal, so a lit LED proves only the sensor wiring; the bit updates in the program only when the module sits in the downloaded device configuration, the bus connector is engaged and the module supply is intact.
The LED circuit does not take part in the backplane handshake, which is why the LED can track the sensor perfectly while the process image never moves. The tell in this fault report is the pattern: on-board inputs work, every expansion point is dead, and swapping modules changes nothing. That combination rules out the modules themselves and points at the project-level configuration, the mechanical bus connection or the module supply — the only three things a signal module needs to appear in the process image.
Why does an output coil go green while the module LED stays dark? #
The monitoring view shows the program bit, not the physical channel: when the module is missing from the downloaded configuration or unpowered, the CPU writes the 1 to an address that reaches no transistor, so the logic looks healthy and the terminal stays dead.
This is the classic commissioning symptom on a first S7-1200 build, and the same test that exposes it on inputs exposes it here. Before changing anything, also compare the absolute address in the rung with the address shown for that module in the device configuration overview: a program driving Q8.0 while the module actually sits at a different byte produces exactly this picture, coil green and terminal dead.
Is every expansion module in the downloaded device configuration? #
Open the CPU's device configuration and compare it with the physical rail: all five signal modules — four SM 1221 inputs and one SM 1222 output — must be present in the exact physical slot order, and that hardware must be compiled and downloaded before the CPU updates any of their points.
A CPU accepts a program-only download without complaint, which is why a clean download message says nothing about the hardware. Modules are added from the hardware catalog under the S7-1200 signal modules group, in the order they sit on the rail beside the CPU. An undeclared module never enters the process image; a declared module that does not match the physical build appears as a configuration mismatch in the CPU's online diagnostics. Either state leaves the points you programmed pointing at nothing.
Are the bus sliders fully engaged between all the modules? #
Slide the bus connector at the top of each module fully into its neighbor until it locks flush; a half-engaged slider leaves the module powered with working LEDs but transfers no data, which reproduces the lit-LED, dead-bit symptom exactly.
Switch the supply off before you touch the sliders. Each slider travels only the width of one module, so a correctly mated string shows no visible gap from the CPU through the last module, and every connector sits flush and locked. A partially inserted connector produces intermittent contact faults that look like wiring problems, so verify the whole string, not just the module you suspect.
Is the module supply present on L+ and M? #
Each signal module needs its own 24 V DC on the L+ and M terminals of its terminal block; the bus connector carries data, not power, so an open feed leaves the channels dead even when the module is configured and seated.
The wiring diagrams in the S7-1200 documentation put L+ and M at the start of every digital module's terminal block, so measure at each module rather than trusting the supply. Feed each module from its own pair of wires or daisy-chain from the previous module's terminals, and confirm the feed is actually landed under the terminal screw. For how the module supply, the sensor supply and the field wiring interact on a discrete card, see How discrete PLC I/O modules isolate and switch field signals.
How do you compile and download the hardware configuration? #
Fix all three physical and configuration items first, then compile the hardware configuration and download hardware and software to the CPU together; a hardware-only or software-only download leaves the project and the device disagreeing.
- Confirm all five modules are present in the device configuration, in the physical slot order.
- Confirm every bus connector is locked flush and every terminal block has its supply feed landed.
- Compile the hardware configuration.
- Download hardware and software to the CPU and let it finish without a topology or mismatch warning.
- Go online and open the diagnostics view: every module should report fault-free status before you test I/O.
How do you prove the expansion I/O in a watch table? #
Enter the expansion addresses in a watch table and exercise one point per module: an input bit must follow the field switch within one scan cycle, and a written 1 must light the corresponding output LED on the module.
Worked example with the addressing. On this station the 1214C DC/DC/DC on-board I/O sits at I0.0–I1.5 and Q0.0–Q1.1, and the CPU assigns the expansion addresses automatically — read the start addresses from the device configuration overview, which are project-specific. As an illustration, suppose the overview shows the first SM 1221 starting at byte 8: 16 inputs ÷ 8 points per byte = 2 bytes, so the four input modules occupy I8.0–I9.7, I10.0–I11.7, I12.0–I13.7 and I14.0–I15.7, which is 4 × 2 = 8 bytes, and the SM 1222 output module lands at Q8.0–Q9.7. Your program must read and write those addresses, not the on-board ones.
The test itself: put I8.0 and Q8.0 in the table, actuate the sensor wired to I8.0 and watch the value column change, then write TRUE to Q8.0 and confirm the module LED turns on and the terminal carries voltage. If the LED lights but I8.0 stays FALSE, go back to the bus connector and the device configuration; the module is alive but silent on the backplane.
What is the decision for each symptom? #
LED lit with the bit dead means the module is powered but absent from the process image, so the fix is configuration, bus connector and supply, then a combined hardware and software download.
- Input LED on, input bit stuck at 0, replacement module identical: add the modules to the device configuration, lock every bus connector, verify the module feeds, and download hardware and software together — stop swapping modules.
- Output coil green, module LED dark: run the same three checks and compare the rung address against the overview; a correct build drives the terminal on the next write.
- A module flagged in the online diagnostics after download: slot order or catalog article mismatch — align the configuration with the physical rail and download again.
- Every check passes and the bit still will not move: only then treat the module itself as suspect and replace it.
Questions asked
Do I need to power the system down before moving a bus slider?
Yes. Switch off and lock out the supply before sliding a bus connector: the connector mates backplane contacts inside the string, and moving it under power risks bent contacts and intermittent faults that mimic wiring problems. Slide it fully home until it locks flush, reapply power, then compile and download the hardware configuration again before testing.
Why did the download report no errors if the hardware was missing?
Because the project downloaded only the program blocks. A software-only download compiles the logic but carries no hardware configuration, so the CPU accepts it and runs the on-board I/O while every expansion address stays unmapped. Adding the signal modules in the device configuration and downloading hardware and software together is what closes that gap.
Does swapping a suspect SM 1221 or SM 1222 ever fix this symptom?
Rarely. When a replacement module in the same slot shows the identical dead I/O, the fault sits in the device configuration, the bus connector or the module supply, not in the hardware. Swap modules only after all three checks pass; otherwise you chase a healthy module with a commissioning problem.
Can the expansion modules sit in any physical order?
No. The CPU maps the signal modules in physical order starting at the first slot beside it, and the device configuration must match that order. If two modules trade places, every address downstream of the swap moves with them, and a program written to the old absolute addresses then drives the wrong points.