The stated design uses a Siemens S7-1200 CPU 1212C AC/DC/Rly, a 24 VDC supply, one pushbutton, and one indicator lamp. Do not energize the assembly directly from the supplied description: its input circuit is contradictory, its output circuit omits the relay contact feed/common connection, and it does not provide a verified CPU power-terminal diagram.
Identify the Three Separate Circuits
| Circuit | Evidence provided | Required decision |
|---|---|---|
| CPU power | Connect 24 VDC positive to L+ and negative to M | Confirm this against the exact CPU 1212C AC/DC/Rly terminal diagram before applying power; the evidence does not establish that L+ and M are its CPU supply terminals. |
| Digital input | The pushbutton is described between I0.0 and M, while the operating explanation says L+ passes through the switch to the input. | Resolve the contradiction. Both descriptions cannot represent the same two-wire circuit. |
| Relay output | The lamp is described between Q0.0 and L+. | Identify the relevant relay contact and its feed/common terminal. A relay output requires a complete externally powered load circuit. |
Correct the Digital Input Circuit
The intended input behavior is that pressing the button applies a valid field signal to I0.0 relative to M. The stated connection from I0.0 through the button to M conflicts with the separate claim that current travels from L+ through the switch to I0.0. Use the exact CPU input wiring diagram to select the valid arrangement; do not combine these two descriptions.
Before connecting I0.0, measure the field supply between L+ and M with a multimeter. After wiring, measure I0.0 relative to M with the button released and pressed. The measured state must change, and the PLC input indication for I0.0 must follow that change.
Complete the Relay Output Circuit
The CPU designation supplied by the evidence is CPU 1212C AC/DC/Rly, and the proposed output address is Q0.0. The lamp connection given in the source is incomplete because it identifies Q0.0 and L+ but does not identify the relay feed/common contact or the lamp return path. Determine the applicable relay terminal group from the exact CPU diagram, then route the external lamp supply through the Q0.0 contact and back to the supply so the circuit is complete.
Do not assume that Q0.0 sources 24 VDC by itself. With power isolated, use continuity testing to confirm the intended conductors and rule out shorts. After controlled energization, command Q0.0 and verify both the PLC output indication and lamp operation.
Commission the Wiring
- Confirm that the physical nameplate reads CPU 1212C AC/DC/Rly and obtain its matching terminal diagram.
- Verify the CPU supply terminals and permitted supply type before connecting the stated 24 VDC source. Tighten the terminals with power removed.
- Wire and test I0.0 first. Confirm that its measured voltage and PLC input indication change when the pushbutton operates.
- Identify the relay feed/common terminal for the Q0.0 group, complete the externally powered lamp loop, and then verify that commanding Q0.0 switches the lamp.
FAQ
Can I power a CPU 1212C AC/DC/Rly through L+ and M?
Do not rely on the supplied description alone. Confirm the supply type and power terminals from the terminal diagram matching the exact CPU 1212C AC/DC/Rly nameplate before applying 24 VDC.
Should the S7-1200 pushbutton connect I0.0 to M or L+?
The evidence gives both arrangements and is internally contradictory. Use the exact CPU input diagram, then verify I0.0 relative to M with the button released and pressed.
Why does the lamp not turn on from S7-1200 output Q0.0?
The described circuit omits the relay feed/common connection and a defined return path. Identify the Q0.0 relay group terminals, complete the external supply loop, and verify the output command and lamp voltage.