pymodbus-dev / pymodbus

A full modbus protocol written in python
Other
2.17k stars 891 forks source link

Allow slave=0 in serial communication. #2023

Closed janiversen closed 4 months ago

janiversen commented 4 months ago

For a longer time slave=0 have caused different problems....

thanks to the nicely prepared issue #2019, the bug was found, thanks !

The RTU_FRAMER sets transaction_id = slave_id, which is correct EXCEPT for slave=0

fixes #2019