GithubHelp home page GithubHelp logo

skyformat99 / modbus-simulator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from riptideio/modbus-simulator

0.0 1.0 0.0 29.56 MB

Modbus simulator based on modbus-tk and kivy

License: Apache License 2.0

Python 99.72% Shell 0.28%

modbus-simulator's Introduction

Modbus Simulator

Modbus Simulator with GUI based on modbus-tk and Pymodbus

Checking Out the Source

$ git clone https://github.com/riptideio/modbus-simulator.git
$ cd modbus-simulator

Development Instructions

  1. create virtualenv and install requirements

    $ # Kivy depends on Cython, Install Cython before running the requirements
    $ pip install Cython==0.29.2
    $ pip install -r requirements
    $ # Choose Modbus Backend modbus_tk or pymodbus (default)
    $ # To install pymodbus
    $ pip install pymodbus==1.5.2
    $ # To install modbus tk
    $ Pip install modbus-tk
    
    
  2. Setup development environment

Running/Testing application

  1. To run simulation with pymodbus backend, run ./tools/launcher
  2. To run sumulation with modbus-tk as backend run ./tools/launcher mtk

A GUi should show up if all the requirements are met !!

main_screen.png

All the settings for various modbus related settings (block size/minimum/maximun values/logging) could be set and accessed from settings panel (use F1 or click on Settings icon at the bottom) settings_screen.png

Usage instructions

Demo Modbus Simulator

Packaging for different OS (Standalone applications)

A standalone application specific to target OS can be created with Kivy package manager

  1. OSX
  2. Linux
  3. Windows

NOTE:

A cli version supporting both Modbus_RTU and Modbus_TCP is available here modbus_simu_cli

modbus-simulator's People

Contributors

dhoomakethu avatar programatt avatar riobright avatar

Watchers

 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.