Work / Delta-WPL-Bridge

Delta-WPL-Bridge: Delta-WPL-Bridge — program Delta DVP PLCs without WPLSoft

Delta-WPL-Bridge: command-line programming for Delta DVP PLCs without WPLSoft. Builds .dvp ladder files, downloads and uploads over Modbus (overview)

wplsoft · 2026 · Active

What is it made of?

wplsoft · delta-plc · plc · plc-programming · industrial-automation · delta · dvp · ladder-logic

Source on GitHub ↗ · Need one like it? →

Engraved by code from the photo “PLC Panasonic FP-XH C30T” by Angga Panca Alam Anugrah, CC BY-SA 4.0. This engraving is shared under the same licence.

How does it work?

Command-line programming for Delta DVP PLCs, without WPLSoft. WPLSoft is the Windows program Delta ships for the DVP series, and it has no command line. Delta-WPL-Bridge reads and writes WPLSoft's own .dvp program files and talks to DVP PLCs and to Delta's PLC simulator directly. You can write a program as text, turn it into a WPLSoft ladder file, download it, test it and read it back, all from a terminal. Every step is one command, so an AI agent such as Claude Code can do the same.

Source lives in a private repository. This repo is a public overview.

What it covers

It turns an instruction list into a WPLSoft 2.x .dvp file, with device comments and with the ladder drawn the way WPLSoft draws it, and it reads .dvp files back as instructions and ladder. The encoder handles contacts and coils with rising and falling edges, compare contacts, branches (ANB, ORB, MPS, MRD, MPP), timers, counters, SET and RST, E and F index registers, and the API instructions in WPLSoft's own instruction table, such as MOV, DMOV, ADD and ZRST. An instruction it can't encode stops the build with its line number, and no file is written.

On the PLC side it downloads with read-back verification, uploads into a ladder file, switches between RUN and STOP, and reads and writes X, Y, M, S, T, C and D devices. It speaks Modbus ASCII, 9600 baud 7E1 by default, as WPLSoft does. The same commands work with DVPSimulator, the PLC simulator that ships with WPLSoft 2.52.

A short session

$ python3 dvp.py build start_stop_estop.il -o start_stop_estop.dvp
start_stop_estop.dvp: model 2, version 216, 9 steps, checksum ok
      0  LDP X0
      3  ANI M1002
      4  OR Y0
      5  AND X1
      6  AND X2
      7  OUT Y0
      8  END
ladder (rung starts: row 0 = step 0, row 2 = step 8)
    0    [PX0] [/M1002]     [X1]     [X2]    -----    -----    -----    -----    -----    -----    -----     (Y0)
    1     [Y0]    -----        |        .        .        .        .        .        .        .        .        .
    2    -----    -----    -----    -----    -----    -----    -----    -----    -----    -----    -----     [END

$ python3 dvp.py download start_stop_estop.dvp sim
the PLC is in RUN: add --stop to stop it for the download (this stops the machine)

$ python3 dvp.py download start_stop_estop.dvp sim --stop --run
PLC was in RUN: stopped it
downloaded and verified 9 steps
PLC

The instruction list for that program, a VFD start, stop and E-stop:

#X0 START PB (NO)
#X1 STOP PB (NC)
#X2 E-STOP (NC)
#Y0 VFD RUN (FWD)
LDP  X0      ; START, rising edge only
ANI  M1002   ; not on the first scan after power-up
OR   Y0      ; seal-in
AND  X1      ; STOP healthy (NC)
AND  X2      ; E-STOP healthy (NC)
OUT  Y0      ; VFD run
END

The E-STOP in this example is a control stop. A real emergency stop also needs a hardwired safety circuit, such as the drive's STO input or a safety relay.

Commands

A LINK is one of:

Safety

How it was checked

Status and limits

Python 3, standard library only.

Delta-WPL-Bridge is proprietary; the source is not public. It is not affiliated with or endorsed by Delta Electronics, Inc. Delta, DVP, WPLSoft and ISPSoft are trademarks of Delta Electronics.

What do people ask about it?

Can a Delta DVP PLC be programmed without WPLSoft?

Yes, with Delta-WPL-Bridge. WPLSoft, the Windows program Delta ships for the DVP series, has no command line. Delta-WPL-Bridge reads and writes WPLSoft's own .dvp program files and talks to DVP PLCs and to Delta's simulator directly. You write the program as an instruction list, turn it into a WPLSoft ladder file with its device comments, download it, test it and read it back, all from a terminal.

Can Claude Code or another AI agent program a Delta PLC?

Yes. Every step is one command, so an agent such as Claude Code can build a program, download it, switch the PLC between RUN and STOP, read and write X, Y, M, S, T, C and D devices, and upload the program again. An instruction the tool cannot encode stops the build with its line number, and no file is written.

Which Delta PLC models and instructions does it support?

It writes files for two families: SV, EH and EH2, and SV2 and EH3. Each other DVP model needs an empty template file saved from WPLSoft. The encoder handles contacts and coils with rising and falling edges, compare contacts, branches (ANB, ORB, MPS, MRD, MPP), timers, counters, SET and RST, the E and F index registers, and the API instructions in WPLSoft's own table, such as MOV, DMOV, ADD and ZRST. Programs are limited to 15,872 steps.

How does it connect to the PLC?

It speaks Modbus ASCII at 9600 baud, 7E1, as WPLSoft does. A link is the PLC's programming port through a USB cable, a COM port on a Windows PC reached over SSH, or DVPSimulator, the simulator that ships with WPLSoft 2.52 and listens on TCP port 10000. Direct serial needs macOS or Linux.

Is a download safe on a running machine?

A download refuses a PLC that is in RUN unless you add the stop option, because stopping the PLC stops the machine. A password-protected PLC is refused before anything is changed, so it is never left stopped. Every download is read back and compared before the PLC goes to RUN.

Has it been tested on a real Delta PLC?

Not yet. It has not been run against a physical DVP PLC, and no file it wrote has been opened in the WPLSoft editor so far. The evidence is a byte-for-byte match with WPLSoft's own files: 3,492 of 3,493 rungs across 257 .dvp files from real projects came out identical. In Delta's simulator, a start, stop and E-stop program passed 15 behaviour checks and a 68-step test program passed 17.

Does it work with ISPSoft?

No. ISPSoft .isp projects are not covered. Only the program is transferred: device comments, retentive ranges, passwords and the PLC clock stay with WPLSoft. Delta-WPL-Bridge is proprietary, written in Python 3 with the standard library only, and is not affiliated with Delta Electronics.

What else did I build?

View all →

GXBridge-MCP

Control Mitsubishi GX Works3 and your PLC with AI — an MCP server for any agent GX Works3 · Mitsubishi PLC

TIA-Portal-MCP

TIA Portal MCP server: control Siemens TIA Portal, STEP 7 and S7-1200/S7-1500 PLCs with AI (Claude, Cursor, any MCP client). Write LAD/SCL PLC code, configure hardware and WinCC HMI, compile, test in PLCSIM and download. TIA Portal · Siemens Plc

eplanbridge

Drive EPLAN Pro Panel 2022.0.3 from outside the application — and build a 6-axis robot-arm control schematic with it. EPLAN Pro Panel · EPLAN

/ Work / {{ project.name }} {{ project.category }}

{{ project.name }}{{ project.headline }}

{{ project.tagline }}

{{ m }}
Ink engraving of a compact PLC wired into a cabinet, with gold highlights

{{ credit.lead }}“{{ credit.title }}”{{ credit.by }}{{ credit.licence }}{{ credit.plain }}{{ credit.tail }}

What is it?

{{ project.description }}

npm i {{ project.npm }}

What does it do?

{{ f.n }}

{{ f.text }}

What is it made of?

{{ t }}

How does it work?

{{ s.title }}

{{ b.s }}

{{ b.s }}

{{ b.s }}
{{ b.s }}
  • {{ it }}

Read the full README on GitHub →

What do people ask about it?

{{ f.q }}

{{ f.a }}

What did I write about it?

What else did I build?

View all →

/ Work

Where did
it go?

That project doesn't exist. Head back to the full list.