HomeTechnical LibraryPLC program backup
Solutions / Advisory

Backup & retrieve PLC/HMI programs when source is lost — how & cautions

Solutions / Advisory · ~6 min read · Updated 2026

Many plants have no program source for their PLC/HMI: the old OEM never handed it over, the previous engineer left, the second-hand machine came without code. When the PLC fails, it is all gone — no repair, no duplication. The solution: upload the program from the running device, back it up and document it while it can still be read.

Important — the line: this is about legitimate backup of programs you are authorized to access. We do not crack passwords or strip OEM source-protection (that is the vendor's IP). If a program is locked, the right path is to work with the OEM/owner.

Why back up NOW (don't wait for failure)

What can be backed up

  1. PLC program — uploaded from the CPU (Rockwell, Siemens, Mitsubishi, Omron, Beckhoff, Schneider…).
  2. HMI application — the runtime/app on the panel (PanelView, WinCC, Proface, Weintek…).
  3. Drive/VFD parameters — read & save the parameter set (PowerFlex, Sinamics, ABB, SEW, Danfoss…).
  4. Network & device config — IP, GSDML/EDS, gateway and switch configs.

No program backup yet?

Send: PLC/HMI/drive type, whether you have the original software, how you connect. Get a safe backup plan.

How to do it (safely, without stopping the machine)

  1. Identify device & software PLC/HMI/drive model + the right tool/version to upload (Studio 5000, TIA, GX Works, CX-One, TwinCAT…).
  2. Connect on the right port Prepare the right cable/adapter (Ethernet, USB, MPI/Profibus, serial PC-Adapter, DH+…).
  3. Upload (read out) Upload the program from the device to the PC — a read operation, not touching the running logic.
  4. Save drive parameters Read the VFD/servo parameter set, export a file + print the parameter table.
  5. Document it Name it, record version, date, machine location; keep multiple copies (external drive + internal cloud).
  6. Verify Reopen the backup file to confirm it reads; note the software + license needed to open it.
⚠️ Upload is a “read”, but connecting a tool to a running PLC still needs care — choose the right mode, don't accidentally toggle RUN/PROG or overwrite. Ensure the machine is in a safe state before connecting.

When to call an expert

The right tool + right cable + right connection per vendor (especially legacy DH+, MPI, serial) is the barrier. DeepDebug supports remote backup or on-site guidance, multi-vendor — and advises setting up a periodic backup procedure so you never lose source again.

Set up backups for the whole plant

Multi-vendor backup + a periodic procedure. Legitimate, no touching OEM IP.