Python3 is supported by most popular platforms, e.g.
This program is tested on python 3.6+, the package is available in the Python Package Index, users can easily install it using pip or pipx. Provide docker solution for continuous data polling use case.Export polling data to local storage for further investigation.Publish polling data to MQTT broker for remote debugging, especially on smart phone.Show polling data for local debugging, like a typical modpoll tool.If you are looing for a modbus python library, please consider the following great open source projects, pymodbus or minimalmodbus Feature This program is designed to be a standalone tool, it works out-of-the-box on Linux/macOS/Windows. In fact, modpoll helps to bridge between the traditional fieldbus world and the new IoT world. polling from local Modbus devices and forwarding data to a centralized cloud service. Moreover, you can also run this program continuously on a server as a Modbus-MQTT gateway, i.e. Once data successfully published, users can subscribe to a specific MQTT topic to view the data via a smart phone at your fingertip. The MQTT broker can be setup on the same Raspberry Pi or on the cloud. This program can be easily deployed to Raspberry Pi or similar embedded devices, polling data from modbus devices, users can choose to log data locally or publish to a MQTT broker for further debugging. At that time, a portable swiss-knife toolkit is our best friend.
A site survey usually has limited time and space, working on-site also piles up some pressures. The initial idea of creating this tool is to help myself debugging new devices during site survey. Learn more about modpoll usage at documentation site. Modpoll - A New Command Line Tool for Modbus