Skip to content

Tool that allow debugging Modbus network, that does not require installation, as it uses web-serial API and a modern web browser.

Notifications You must be signed in to change notification settings

adrianscheit/web-modbus

Repository files navigation

WEB Modbus

https://adrianscheit.github.io/web-modbus/

Goals:

  • simple "low-level" (regarding the Modbus protocol) Web Serial API Modbus toolset for most PC's (also MAC's), to easly debug a Modbus network,
  • that everyone could possible use it without a requirement to install a dedicated software (for browsers that supports Web Serial API)

Currently it is is only a "beta" version. Currently it is without a license.

Done

  • opening serial port
  • sniffing functionality
  • handling errors in the incomming data
  • handling fragmentation of the incoming frames
  • registers decoding support for types:
    • Uint8
    • Int8
    • Uint16
    • Int16
    • Uint32
    • Int32
    • Float32
    • Float64

TODO

  • add license
  • sending all standard types of frames
  • assigning data types to a specific slave addresses and its registries addresses
  • slave mocks
  • move the tests to a dedicated test framework like jest
  • simple master??? maybe out of scope for this project

Local development

git config --global user.name ""
git config --global user.email ""
ssh-keygen -t ed25519
cat ~/.ssh/id_ecdsa.pub # copy to GitHub

About

Tool that allow debugging Modbus network, that does not require installation, as it uses web-serial API and a modern web browser.

Topics

Resources

Stars

Watchers

Forks