minimalmodbus
minimalmodbus copied to clipboard
Easy-to-use Modbus RTU and Modbus ASCII implementation for Python.
How to check whether minimalmodbus finished his actions? I have a function that is by the timer, every second reads the register from slave From another function, by pressing the...
For a particular vendor, a custom function code ($78) with a payload of 0x0000, 0x0001, causes a reset to factory defaults. The response appears to be an echo of the...
Hi, I am trying to use minimalmodbus in yocto. When I am following the recipe instructions on the [manual page](https://minimalmodbus.readthedocs.io/en/stable/advancedusage.html#including-minimalmodbus-in-a-yocto-build) I get this error after running `bitbake core-image-base ` ```...
Hello, I try to add minimalmodbus lib to my image with Isar Project. So I do my recipe like follow ``` SUMMARY = "Easy-to-use Modbus RTU and Modbus ASCII implementation...
Hi I have to try : ``` minimalmodbus._unpack('>hhh', '\x07\x0f\x00\x00\x00\x16') Out[69]: 1807 struct.unpack('>hhh',b'\x07\x0f\x00\x00\x00\x16') Out[70]: (1807, 0, 22) ``` Why there is in source code, line 2605, index 0 ? ``` value...
I have to control a [EA-PS 5040-20 A](https://elektroautomatik.com/shop/en/products/programmable-dc-laboratory-power-supplies/dc-laboratory-power-supplies/series-ps-5000-br-160-up-to-640-w/705/laboratory-power-supply-0..40v/0..20a/320w) programmable DC power supply. It uses the ModBus protocol but with some differences from the standard. I am not an expert in...
I have a short script that requests some registers from two clients on the same serial adapter. Functionally I have data transferring with no issues, but looking at the bus...
The commit [type checking with mypy](https://github.com/pyhys/minimalmodbus/commit/a3a223c82004b592163d2f1e40554fe01a105540) introduced a regression where Float payloads with function code 16 no longer accept integer values. This behavior is caused by this assert statement https://github.com/pyhys/minimalmodbus/blob/185afffd2d65b585f69bc5e3f640270d2bd27444/minimalmodbus.py#L1619-L1621...
May be little bit late (I missed the refactoring to python3 only version) When the only supported version of python is python3, isn't it possible to finally use `bytes` for...
I my script I need to re-initialize Instrument from time to time. After couple of months of uptime it failed with 'Too many open files' error. Investigation showed that serial...