Check the HMI programming cable power pin first

7 min read · Published November 8, 2026

A cable that fits the connector and wires the data pins can still fail to program a panel that takes its programming-mode power through the same cable. Read the pin tables for the exact panel model, measure the power pin at the panel end, and use the cable the manual names. Never jumper a supply onto a pin unless the manual prints its voltage, polarity and current.

A compact text panel will not take a project. The cable fits the connector, the programming software opens the port, and the transfer still fails. Before you touch the software, look at one conductor. Many small panels draw their programming-mode power through the programming cable, and a spare cable sold for a different panel in the same family can leave that power pin unconnected. The data pins line up and the connector clicks in, but the panel cannot answer, because nothing arrives on the pin that feeds it. This article shows how to compare the panel's published connector table with the cable's published pin table, how to measure the power pin at the panel end with a meter, and where to stop and order the cable the manual names.

Why a cable that fits can still fail

On a small text panel, the programming connector often does more than carry data. The documented failure pattern works like this: the panel takes its programming supply through the cable, on one numbered pin of the connector. A cable built for a neighbouring panel in the same product family wires the data pins and the ground pin and leaves the power pin with no conductor at all. The shell matches, so the cable plugs in and feels right. The software opens the port and sends its handshake. The panel, with no supply on its power pin, cannot start up for the transfer and never answers. The software times out, and the blame lands on the panel or the software version. The fault is one missing conductor.

In the widely documented case behind this pattern, the panel's programming supply enters on pin 5 of its programming connector, and the older cable carries no connection on that pin. Pin numbers are not portable: pin 5 is signal ground on the standard 9-pin RS-232 connector at the PC, where pin 2 is received data and pin 3 is transmitted data. The same number marks a different job on every connector, so the manual for the exact panel model is the only table that counts.

Symptoms and what each one points to

  • The panel stays dark while only the programming cable is connected to the PC. The panel draws its programming power through the cable and the power pin is carrying nothing. Go straight to the pin table comparison below.
  • The panel is lit from its own supply, the port opens, and the transfer times out. The panel never answered. A dead power pin produces this, and so does a failing USB serial adapter; USB serial adapter timeout when programming a text panel covers that side. The meter reading separates the two causes: 0 V on the power pin is the cable, a live pin points at the adapter and the port.
  • The software fails as it opens the port, before it sends anything. That is a port or driver fault, one layer below the panel. CODESYS COM.Open error 5004 on a serial port is an example of a failure at this layer.
  • The transfer starts and then delivers garbage or drops characters. That points to wiring standard, cable length or grounding. RS-232 to RS-422 cable distance for an HMI panel link covers the wiring mismatches that produce it.

Read the two pin tables first

Every panel manual prints a table for its programming connector showing what each pin does, and every properly documented programming cable has a published pin table. Put them side by side.

In the panel's table, find the pin that is not data. It is printed as a supply: a voltage value or a label such as power. Documented layouts vary widely. One compact panel family carries +15 V on pin 1 of its 5-pin programming connector, with RXD on pin 2, TXD on pin 3, ground on pin 4 and pin 5 not connected. Another family takes its programming supply on pin 5. Same job, different pin, different voltage.

In the cable's table, look for a conductor on that exact pin. A cable listed for data only shows RXD, TXD and ground and nothing on the supply pin. If the cable's table shows no conductor on the panel's power pin, the cable cannot power the panel, and retrying does not change it. Set the cable aside and order the one the panel documentation names.

If the cable's documentation is missing, the meter decides. Measure before anything touches that pin.

Measure the power pin at the panel end

Set a multimeter to DC volts and connect the cable between the PC and the panel. Black lead on the connector's ground pin, red lead on the pin the manual marks as the supply. Open the programming software so it holds the port open, then read.

A live power pin reads the value printed in the panel's manual. A data pin idles negative: EIA/TIA-232 defines valid data levels between 3 and 15 V in magnitude, and an idle line sits at the negative marking level, so a reading below 0 V tells you the pin is wired as data. A power pin that reads 0 V has no source behind it, which means the cable does not carry that conductor.

If the idle reading is 0 V, measure again while the software holds the port open. Some programming cables hold their supply on the port's control lines and only feed it with the port open. A pin that stays at 0 V with the port open fails the cable.

Example: the spare cable that fits the panel but cannot power it

The cabinet holds a compact text panel and a spare programming cable that came with an older, larger text panel from the same family. The panel will not program.

Inputs

  • Panel manual, published table for the programming connector: the programming supply enters on pin 5, and the panel draws its programming-mode power through the cable, so pin 5 must be live for a transfer to start.
  • Cable, published pin table: conductors on the data pins and the ground pin; pin 5 listed as not connected.
  • Meter: digital multimeter on DC volts.

Rule: a panel powered through the programming cable starts a transfer only if the cable carries the supply on the panel's power pin. The panel requires 1 live conductor on pin 5.

Arithmetic

  • Conductors on the power pin required by the panel's table: 1.
  • Conductors on the power pin carried by the cable: 0.
  • Missing: 1 − 0 = 1, and the missing conductor is the whole fault.
  • Confirmation at the bench: black lead on the ground pin, red lead on pin 5 at the panel end, cable connected, port held open. The meter reads 0.0 V. A live supply reads the value printed in the panel's manual for this model; a data pin would sit below 0 V. 0.0 V on the power pin is an open conductor.

Result: the connector fits and the data path is intact, but the cable delivers 0 of the 1 conductors the panel requires on its supply pin. The panel stays dark during programming and the software times out waiting for an answer.

Decision: the cable fails for this panel. The threshold is simple: 0 V on the power pin with the port open fails the cable, and a reading at the manual's printed value passes it on to the transfer test. Retries on this cable are finished. Use the cable the panel documentation names for programming, and keep the old cable with the panel it was sold for.

Fix it: the documented cable, labelled and stocked

Pull or order the cable the panel documentation names for programming. Check its published pin table against the panel's table once, at the bench, while nothing is running: one conductor on the power pin, at the printed voltage.

One safety note belongs here. Do not feed the power pin from a bench supply and do not rewire the old cable unless the panel maker's instructions print the pin's voltage, polarity and current draw. An undocumented supply can damage the panel's programming port and the PC port tied to it. Without those printed values, the correct cable is the whole fix.

Stock the documented cable with the panel and tag both ends with the panel model, so the spare that fits is never the one that gets used.

Recommendation: check the power pin first on any panel that will not program. Replace the programming cable when its pin table shows no conductor on the panel's supply pin, or when the pin reads 0 V with the port held open. Keep a cable in service only when it reads the manual's printed voltage and then completes a documented transfer.

If the documented cable still fails

With the documented cable connected and the panel powered, run the documented transfer once more. If it still fails, the fault has moved above the cable. Work in this order: the COM number the software is using (remap a USB serial adapter COM port when software stops at COM4), then the link itself. HMI programming link dead while the PLC link still works separates the programming link from the running link, and HMI to PLC serial timeout with a dead com light covers the timeout with no traffic on the wire.

Record four facts before you hand the fault on: the panel model, the cable model, the exact software message, and the meter reading on the power pin. They settle the power question for whoever looks next.

Questions

Does a wire-for-wire match make a spare programming cable compatible?

No. Some programming cables carry active circuitry inside the shell: level converters, or a supply path that feeds the panel from the port's control lines. Two cables can list the same conductors and still behave differently during a transfer. The cable's own documentation is the only record of what is inside it, so treat an undocumented spare as unknown until its literature confirms the power pin and the panel manual names it for programming.

Why does the software only report a timeout when the power pin is dead?

The programming software has no way to see the panel's power path. It opens the port, sends its handshake and waits for an answer. A panel with no supply on its power pin never starts up, so the software reports the same timeout it reports for a wrong COM number or a failing adapter. That is why the pin comparison comes first: it removes the cheapest cause before you remap ports or swap adapters.

Can I feed the panel's power pin from a bench supply?

Only where the panel maker's instructions print the pin's voltage, polarity and current draw, and the supply matches all three. Those printed values are the specification for that pin. Without them it is a guess, and most shops should skip the experiment and keep the cable the manual names for programming.

What should I record before I hand the fault to support?

Keep four facts together: the panel model, the cable model, the exact software message, and the meter reading on the power pin with the port open. With the reading on paper, whoever picks up the fault can separate a missing supply from a data fault in one pass, and the panel does not have to be powered down again to re-create it.

Planning information, not legal or engineering advice. Rules differ by place: check codes and permits with your local authority and your licensed trades.

Keep reading

Build your signAsk for a quote