Skip to content

About

A modbus master and slave test tool with import and export functionality, supports TCP, UDP and RTU.

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

212 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ModbusTool

A free, open-source Modbus master and slave for Windows and Linux, with live dashboards. TCP, UDP, RTU, ASCII and RTU over TCP in one window, every common data type and byte order, a frame-by-frame traffic monitor, and dashboards with trends, gauges, lamps and command panels.

⬇ Download the latest release: Windows .msi, Linux .deb and .AppImage (see Install). It updates itself. Project page: https://chetto1983.github.io/ModbusTool.

A dashboard reading a live slave: trend, gauge, lamp and bars

Features

Links: Modbus TCP, Modbus UDP, RTU over TCP, RTU serial, ASCII serial.

Master

  • Functions FC01–FC06, FC15, FC16.
  • Several polls running at the same time, each with its own unit, function, address range and interval; per-poll statistics (requests, ok, errors, timeouts, response time).
  • Edit values in the grid to write them (FC05 for coils, FC06 for one register, FC16 for more).
  • Timeout and retries.

Slave

  • Several unit ids, each with its own four tables of 65 536 elements.
  • Response delay, broadcast writes (unit 0).
  • Value generators: sine, ramp, random, square wave.
  • CSV import/export (also reads the ModbusTool 2 export format 4100:0x04c8,4101:12,...).

Dashboards

  • Several named dashboards per project, on a grid you arrange by dragging and resizing panels.
  • Panels: trend (steps, straight or smooth lines, zoom), value with gauge and warning/alarm colours, bars, lamp, button, switch, selector and number input.
  • Every panel element reads its own variable (unit, table, address, type, byte order) while the master is connected; neighbouring registers are read in one request.
  • Scaling as SCADA tags do it (raw range to engineering range, both ways), and a colour per variable from the theme or a colour picker.
  • Register maps: import a device's register table from CSV as a dashboard with a table panel, and export it back (format below).
  • Recording: write a dashboard's values to a CSV file a day, one column per variable, in Documents/ModbusTool/recordings (or ~/ModbusTool/recordings where there is no Documents folder). At 1 s with 200 variables that is about 90 MB a day.

Register map format. A CSV with a header row; columns are found by name, in any order:

Column Required Values
name yes Shown in the table and the recording
table yes coils, discrete inputs, holding registers, input registers (or coil, discrete, holding, input)
address yes Protocol address from 0 (not the 40001 notation)
type for registers UInt16 … Float64, Hex, Binary, ASCII
byte_order no ABCD (default), CDAB, BADC, DCBA
units, decimals no Text after the value; 0 to 10 decimals (default 1)
raw_min, raw_max, eng_min, eng_max, clamp no Scaling: all four limits or none

A file with one invalid row is refused whole, with its line. Exporting a table writes a complete example.

Both

  • Data types: UInt16, Int16, Hex, Binary, UInt32, Int32, Float32, UInt64, Int64, Float64, ASCII, with byte orders ABCD, CDAB, BADC, DCBA. Labels per register.
  • Traffic monitor, frame by frame, with decoded descriptions, filters and CSV export.
  • Live trend chart of any value.
  • Projects saved as JSON (Ctrl+S, Ctrl+O). Dark and light theme, same design as Aura.
  • Interface in English and Italian, chosen in the sidebar.
Master Slave Traffic monitor
Master Slave Traffic

How it compares

ModbusTool Modbus Poll + Modbus Slave ModbusTools (serhmarch) QModMaster mbpoll Simply Modbus
Price Free (MIT) USD 129 each Free (GPL-3.0) Free (GPL/LGPL-3.0) Free (GPL-3.0) From USD 60 per tool
Windows / Linux / macOS ✓ / ✓ / from source ✓ / – / – ✓ / ✓ / – ✓ / ✓ / – ✓ / ✓ / ✓ ✓ / – / –
Interface Desktop app Desktop app Desktop app Desktop app Command line Desktop app
Master and slave One app Two products Two apps Master only Master only Separate products
TCP · UDP · RTU · ASCII · RTU over TCP ✓ · ✓ · ✓ · ✓ · ✓ ✓ · ✓ · ✓ · ✓ · ✓ ✓ · ✓ · ✓ · ✓ · ✓ ✓ · – · ✓ · – · – ✓ · – · ✓ · – · – ✓ · – · ✓ · ✓ · ✓
64-bit integers and doubles, 4 byte orders ✓ ✓ ✓ – – (32-bit only) –
Traffic monitor ✓ ✓ ✓ ✓ – Log file
Trend charts ✓ ✓ – – – –
Dashboards with commands ✓ – – – – –
Auto-update ✓ – – – – –

– means not offered, or not stated by the project. Checked on 2026-11-06 against each project's own site or repository: Modbus Poll and Modbus Slave (prices), ModbusTools, QModMaster, mbpoll, Simply Modbus (prices). Corrections are welcome as issues.

Install

Download the installer for your system from the latest release.

Windows — ModbusTool_<version>_x64_en-US.msi. The installer is not code-signed (see Code signing): when SmartScreen stops it, choose More info → Run anyway. WebView2 is needed; Windows 10 and 11 usually have it, otherwise the installer downloads it.

Linux — on Debian/Ubuntu sudo apt install ./ModbusTool_<version>_amd64.deb, elsewhere chmod +x ModbusTool_<version>_amd64.AppImage and run it. For serial ports add your user to the dialout group (sudo usermod -aG dialout $USER) and log in again.

macOS is not built in CI: run npx tauri build on a Mac.

Updates — from version 3.1 ModbusTool can update itself. At the first start it asks whether to check for new versions automatically (at start and every 6 hours); Updates in the sidebar changes that choice and checks on demand. A new version is offered with its release notes and installed only when you choose Install and restart. Updates are verified with the project's update key before they are installed. Version 3.0.0 has no updater: install 3.1 by hand once.

Known limits

Measured with tests, see docs/superpowers/specs/2026-11-05-tauri-rewrite-design.md:

  • Over TCP/UDP a single read is limited to 123 registers (the protocol allows 125) and the slave accepts writes of up to 121 registers: the frame codec (rmodbus) caps frames at 255 bytes.
  • The slave does not answer FC 0x2B (device identification) over TCP.
  • FC22 (mask write) and FC23 (read/write multiple) are not supported yet.
  • Serial parity mark/space and 1.5 stop bits are not available.

Code signing

The Windows installer is not code-signed (Authenticode). Windows can therefore warn about it: SmartScreen asks for confirmation on a downloaded installer, and where Smart App Control is on (clean installs of Windows 11) it blocks unsigned apps. Releases are built only by this repository's Release workflow on GitHub-hosted runners, from the tagged source.

Updates installed from the app are verified with the project's update key before they are installed (see Updates under Install), so an update cannot be tampered with in transit. The workflow can sign the MSI through SignPath if that is ever set up: docs/signing.md.

Privacy: this program will not transfer any information to other networked systems unless specifically requested by the user or the person installing or operating it. ModbusTool connects only to the Modbus devices and ports the user configures, and, only if the user allows it at the first start or under Updates, to github.com to read the list of published versions and download the one the user chooses to install. No data about the user or the computer is sent.

Development

Requirements: Rust (stable), Node.js 22, and on Linux libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev libudev-dev.

npm ci
npx tauri dev            # run the app with hot reload
npx tauri build          # installers in src-tauri/target/release/bundle

Translations: the texts are in messages/{locale}.json. To add a language, add its code to locales in project.inlang/settings.json, copy messages/en.json to messages/<code>.json and translate it; npm run check:i18n reports missing or unused messages.

Checks (the same as CI, see CONTRIBUTING.md):

npx lefthook install   # runs the fast checks on commit and push
npm run check && npm run lint && npm run check:i18n && npm run format:check && npm run deadcode && npm run dup
npm run coverage && npm run file-size && npm run build
cd src-tauri && cargo fmt --check && cargo clippy --all-targets -- -D warnings && cargo test

End-to-end run of the real app against pymodbus as an independent implementation. CI runs it on Linux and Windows (Windows without the serial checks, which need socat). Locally on Linux it needs tauri-driver, WebKitWebDriver, socat and pymodbus with its serial extra (pip install "pymodbus[serial]"):

npx tauri build --debug --no-bundle
node e2e/run.mjs docs/screenshots

Project rules for contributors and coding agents are in CLAUDE.md; security reports follow SECURITY.md; changes are listed in CHANGELOG.md.

License

MIT, see LICENSE. Version 3 shares no code with the earlier C# releases, which were published under the Apache License 2.0 and remain so in the git history.

The interface follows the design tokens of Aura. Bundled fonts (Fraunces, Atkinson Hyperlegible Next, Commit Mono) are under the SIL Open Font License 1.1, see src/assets/fonts/OFL.txt.

About

A modbus master and slave test tool with import and export functionality, supports TCP, UDP and RTU.

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages