1. The 4-Section Structure of a PLC Control Panel Wiring Diagram (Power → Input → Output → Communication)
A complete PLC wiring diagram is divided into4 sections, each with a different function, and the reading order is fixed:
| Section | Name | Core content | Typical wire numbers |
|---|---|---|---|
| ① | Power section | Incoming breaker → UPS/switching power supply → PLC main unit power | L1/N/PE → 24VDC/0V |
| ② | Input section | Pushbuttons/sensors → relays → PLC DI terminals | I0.0–I0.7, etc. |
| ③ | Output section | PLC DO terminals → interposing relays → contactors/solenoid valves | Q0.0–Q0.7, etc. |
| ④ | Communication section | PLC communication port → switch → HMI/SCADA host | PROFINET/MODBUS RTU |
2. How to read the power supply section (from incoming line to 24 VDC)
The power supply section starts atIncoming line isolation switchand runs through the circuit breaker, UPS (optional), and switching power supply (AC 220 V → DC 24 V) to feed the PLC CPU and I/O modules. Three things to check:
- Incoming line method: single-phase 220 V or three-phase 380 V, top entry or bottom entry, and whether an isolating switch (QS) with a visible break is fitted.
- Switching power supply capacity: DC 24 V power = PLC CPU consumption + I/O module consumption + sensor consumption + 20% margin. Common choices are 24 V/10 A or 24 V/20 A (a typical Siemens S7-1200 setup uses SITOP PSU6EP1333-2BA00).
- Protection coordination: use a Type C incoming breaker (resistive loads) or Type D (inductive loads), and fit miniature circuit breakers on the switching power supply output to protect each I/O group separately.
3. How to wire the input section (DI) (NPN vs PNP wiring)
PLC digital inputs (DI) use two wiring methods,sinking (NPN)andsourcing (PNP). Wire them the wrong way and no signal gets through:
| Wiring method | Common terminal connection | Signal path | Applicable PLC |
|---|---|---|---|
| Sinking NPN | DI common connected to 0 V | Sensor → DI → 0 V | Mitsubishi FX, some domestic brands |
| Sourcing PNP | DI common connected to 24 V | 24 V → sensor → DI → 0 V | Siemens S7-1200/1500 |
The DI on the Siemens S7-1200 supports bothsinking and sourcingwiring, but the connections differ: for sinking, common M goes to 24 V; for sourcing, M goes to 0 V. Wire it the wrong way and all input indicators stay dark — the program reads no signal. Use 0.75 mm² shielded cablefor signal lines, with the shield grounded at one end only.
4. How to wire the output section (DO) (relay output vs transistor output)
PLC outputs come in two types, and the wiring is completely different:
| Output type | Contact rating | Response time | Typical wiring |
|---|---|---|---|
| Relay output | 2A per point, AC250V or DC30V | ~10ms | DO → intermediate relay coil → contactor |
| Transistor output | 0.5A per point, DC24V | ~0.2ms | DO → solid-state relay or direct drive of a small load |
In actual engineering practiceRecommended: wire DO to an intermediate relay first(e.g., Omron MY2NJ DC24V), then use the intermediate relay contacts to drive the contactor coil or solenoid valve, isolating and protecting the PLC output points.
5. How do you wire the communication segment? (PROFINET/MODBUS wiring rules)
For the communication segment, look atcommunication protocol, wiring topology, terminating resistorthree points:
- PROFINET(Ethernet): use industrial Ethernet cable (4-core shielded twisted pair), connect to the PLC RJ45 port, link the HMI and host computer through a switch, cable length ≤100m.
- MODBUS RTU(Serial): use shielded twisted pair to the RS-485 port (A+/B-), install one 120Ω terminating resistor at each end, up to 32 nodes per bus, cable length ≤1200m.
- Route communication cables and power cables in separate ducts, keep spacing ≥200mm, and cross at right angles to avoid electromagnetic interference.
FAQ FAQ
What do I0.0 and Q0.0 mean on a PLC wiring diagram?
I0.0is input address group 0, bit 0 (e.g., wired to a start button),Q0.0is output address group 0, bit 0 (e.g., wired to an indicator light). Siemens S7-1200 address format is I/Q + byte.bit.
Should PLC inputs be wired to NPN or PNP sensors?
It depends on the PLC type. Siemens S7-1200/1500defaults to source (PNP)wiring, with common terminal M connected to 0V and the sensor outputting a 24V signal to the DI. Mitsubishi FX series defaults to sink (NPN). The two cannot be mixed.
Can PLC outputs be wired directly to a contactor?
Direct connection is not recommended. Although the relay output contact rating is marked 2A, the inrush current when the contactor coil pulls in can reach 5-10A. An intermediate relay should be used for isolation first, otherwise the PLC output points are easily burned out.
Must the PLC wiring diagram be delivered with the cabinet?
Yes, it is required. GB/T 6988.1 requires assembled equipment to ship with wiring diagrams, terminal block diagrams, layout drawings and other accompanying documents, and the drawings must be checked against the actual equipment at acceptance.
Related pages:Technical notes · Products · Industries · Resource center · FAQ · Get a quote