Giter Site home page Giter Site logo

sanny32 / openmodscan Goto Github PK

View Code? Open in Web Editor NEW
105.0 4.0 11.0 737 KB

Open ModScan is a Free Modbus Master (Client) Utility

License: MIT License

C 7.10% C++ 91.62% QMake 1.28%
modbus modbus-master modbus-rtu modbus-tcp modscan linux windows modbus-client

openmodscan's People

Contributors

sanny32 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

openmodscan's Issues

There is no 32 bit Signed/Unsigned register with swap option (like there is for Float register)

Hello,

There are many RTUs supporting 32bit registers (signed/unsigned32). It would be nice if the tool can support this as well so it will have all most widely used options:

  • Bits
  • Bytes (optional)
  • 16bit Signed/unsigned register (input/holding) + bytes swap
  • 32bit Signed/unsigned register (input/holding) + words/bytes swap
  • 32bit Float register (input/holding) + words/bytes swap
  • 64bit Float register (input/holding) - less common

Thank you,
Omer.

Not runs

I installed in Debian, but I do not know how it runs.

Offset +1 on all registers

If I read holding register Address 0001 it actually tries to read register 0, so exception is throwed. To read register 1 you have to set Address to 0002. It applies to all kind of registers.

image

image

TCP scanner doesn't work, missing 32bit signed+unsinged option and more

Hello,

I just found OpenModScan yesterday and it looks very nice :) Thank you.

I used to work with the original ModScan utility years ago but since then I found newer, better and free tools with the same functionality.

The nice thing with OpenModScan is that it has two tools in one: client and scanner functionality - both Serial and TCP.

There are few issues I found:

  1. TCP scanner:
    I didn't yet tried the Serial scanner but with the TCP scanner I did two tests: yesterday at home and today at work. For the test at home I used a Modbus slave emulator (pyModSlave). While testing, OpenModScan didn't show any IDs even though the OpenModScan client itself was able to connect and show data for the specific ID that was configured.

The test I did today was at a real project where I use many Modbus gateways, When I tried testing one of the gateway's IP, the scanner show no results (the range of IPs was for only one IP). I tried a wider range of IPs e.g 10.0.20.10-10.0.20.15 and still nothing. Only after I changed the range to something wider, the scanner did show some results but with non existing IDs.

For example: the Modbus gateway hosts IDs 10-11 but the scanner returned many other IDs even above 100.

There is another free scanner for Modbus (Modbus RTU Scan). It works very well but it only supports the serial protocol. Both GUIs look very similar....

  1. There is no 32 bit Signed/Unsigned register with swap option (like there is for Float register)

  2. Changing Device ID in client WHILE connected:
    if you put the correct Device ID before connecting to the TCP device, communication work fine. If you change ID while connected to the device, you get the "no responses from...". This is Ok. But if I change the ID back to the correct ID, communication is not restored. I must disconnect and reconnect.

  3. Show traffic:
    it will be nice to change the original ModScan traffic view so it will show Rx/Tx line by line: Tx, Rx, Tx, Rx). It will be easier to understand debug. I also saw in the past functionality such as phrasing each Rx/Tx packet so the software can tell you exactly how the packet is built: Rx or Tx, ID, type of register (coild, input, holding etc..), range of registers and the data/values (like in QModMaster).

Thank you,
Omer.

How to install?

Hi all,

I would like to install the software on a Linut Mint (22?) with Cinnamon desktop.

I installed the package(s) (amd64 version) and I'd expect that the installation gives a hint if Qt5 or Qt6 is present or needed (I have no idea what that is, I'm more like an engineer).

Both packets get installed with the info "already installed". Then I go to /opt/OpenModScan and run omodscan.sh only to see this:

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/opt/OpenModScan/plugins//platforms:" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: minimalegl, wayland, offscreen, eglfs, vkkhrdisplay, linuxfb, wayland-egl, minimal, vnc, xcb.

Sorry I have no idea what to do next and for I might not be the only one I mustered up the courage to post here :-) in hope for a hint.

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.