Coder Social home page Coder Social logo

modbus-live-monitor's Introduction

Modbus Live Monitor

The Modbus Live Monitor is a Python application designed to facilitate real-time monitoring of Modbus devices. This tool is perfect for developers and engineers working with industrial applications that utilize the Modbus protocol. The application connects to Modbus devices over TCP/IP and provides a graphical user interface to display register values dynamically.

Features

  • Connection Setup: Easily configure connection parameters including IP address and port.
  • Register Configuration: Specify the start address and the number of Modbus registers to monitor.
  • Dynamic Monitoring: Start and stop the monitoring process with a simple click.
  • Real-Time Data Display: Values are displayed in a table that updates based on the specified interval.
  • Status Updates: View connection status and last update time directly within the GUI.
  • User-Friendly Interface: Built using PyQt5, offering a robust and intuitive interface.

Prerequisites

Before you can run Modbus Live Monitor, you need to have Python installed on your system (Python 3.6 or later is recommended). Additionally, the following Python packages are required:

  • PyQt5
  • pymodbus

These dependencies can be installed using the following command:

pip install -r requirements.txt

Installation

  1. Clone this repository:
git clone https://github.com/NNikoGG/modbus-live-monitor.git
  1. Navigate to the cloned repository:
cd modbus-live-monitor
  1. Install the required packages:
pip install -r requirements.txt

Usage

To run the application, execute the following command in the terminal:

python modbus-live-monitor.py

Ensure you have a Modbus server running. For simulation and testing, you can use software like Modsim or any other Modbus protocol simulation software.

Configuration

Upon launching, you will be prompted to enter:

  • IP Address: IP address of the Modbus device or simulation software.
  • Port: Communication port (default is 502).
  • Start Address: The starting address of the Modbus registers to monitor.
  • Number of Addresses: How many consecutive addresses to monitor.
  • Update Interval (ms): How often the software updates the displayed values.

GUI

image

modbus-live-monitor's People

Contributors

nnikogg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.