OpenModScan is a free and open-source Modbus Master (Client) utility supporting both Modbus-TCP and Modbus-RTU protocols.


The following Modbus functions are available:
Discrete Coils/Flags
0x01 - Read Coils
0x02 - Read Discrete Inputs
0x05 - Write Single Coil
0x0F - Write Multiple Coils
Registers
0x03 - Read Holding Registers
0x04 - Read Input Registers
0x06 - Write Single Register
0x10 - Write Multiple Registers
0x16 - Mask Write Register

-
Modbus Address Scan
-
Modbus Scanner (supports both Modbus RTU and Modbus TCP scanning)
-
Modbus Message Parser
-
Modbus User Message
Building is available via cmake (with installed Qt version 5.15 and above) or Qt Creator. Supports both OS Microsoft Windows and Linux.
The minimum supported version of Microsoft Windows for building OpenModScan from sources is Windows 10.
- Install latest git version
- Run Windows PowerShell terminal as an Administrator
- Clone OpenModScan sources from github repository
git clone https://github.com/sanny32/OpenModScan.git
- Go to OpenModScan folder
cd OpenModScan
- Allow script execution in PowerShell terminal
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
- Run the build script
.\build.ps1
If you need to specify Qt framework major version (5 or 6), you can do it in the parameters
.\build.ps1 -qt5
or.\build.ps1 -qt6
The build script supports building the application only for 64-bit architecture.
- Install git for your Linux distribution
- Run the following commands from the console:
git clone https://github.com/sanny32/OpenModScan.git
cd OpenModScan
./build.sh
If you need to specify Qt framework major version (5 or 6), you can do it in the parameters
./build.sh -qt5
or./build.sh -qt6
The following minimum operating system versions are supported for OpenModScan:
- Microsoft Windows 7
- Debian Linux 11
- Ubuntu Linux 22.04
- Mint Linux 22
- Fedora Linux 41
- OpenSuse Linux 15.6
- Alt Linux 11
- Astra Linux 1.7
- RedOS 8
Below are the methods for installing the OpenModScan for different OS
Run the installer:
- For 32-bit Windows:
qt5-omodscan_X.XX.X-Y_x86.exe
- For 64-bit Windows:
qt5-omodscan_X.XX.X-Y_amd64.exe
orqt6-omodscan_X.XX.X-Y_amd64.exe
Replace X.XX.X-Y
with the application version.
Install the DEB package from the command line:
sudo apt install -f ./qt6-omodscan_X.XX.X-Y_amd64.deb
or if you want to use Qt5 libraries:
sudo apt install -f ./qt5-omodscan_X.XX.X-Y_amd64.deb
Replace X.XX.X-Y
with the application version.
To remove the DEB package run:
sudo apt remove qt6-omodscan
or for Qt5 package:
sudo apt remove qt5-omodscan
Install the RPM package from the command line:
sudo dnf install ./qt6-omodscan_X.XX.X-Y.x86_64.rpm
Replace X.XX.X-Y
with the application version.
To remove the RPM package run:
sudo dnf remove qt6-omodscan
Install the RPM package from the command line as root user:
apt-get install ./qt6-omodscan_X.XX.X-Y.x86_64.rpm
Replace X.XX.X-Y
with the application version.
To remove the RPM package run as root user:
apt-get remove qt6-omodscan
Import qt6-omodscan.rpm.pubkey to rpm repository:
sudo rpm --import qt6-omodscan.rpm.pubkey
Install the RPM package using Zypper:
sudo zypper install ./qt6-omodscan_X.XX.X-Y.x86_64.rpm
Replace X.XX.X-Y
with the application version.
To remove the RPM package run:
sudo zypper remove qt6-omodscan
Install flatpak package run the followning commands:
flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak install --user io.github.sanny32.omodscan.flatpak
If you want to use a serial port connection, you must add the user to the dialout
group
sudo usermod -a -G dialout $USER
and then log in to the user again or reboot the computer.
To remove the flatpak package run:
flatpak uninstall --user io.github.sanny32.omodscan
Copyright 2025 Alexandr Ananev [[email protected]]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.