ljean / modbus-tk

Create Modbus app easily with Python
Other
566 stars 212 forks source link

Fixed READ_WRITE_MULTIPLE_REGISTERS, added write_starting_address_FC23 #125

Closed jacksonmatheson closed 4 years ago

jacksonmatheson commented 4 years ago

Tested and write starting address is now passed through and host packet is now correct.

Other function codes tested and are still working as expected.

Tested on CREMS (the project which this is used in) and all of our currently written modbus drivers work as expected. Have tested and values are as expected.

If someone with a device that supports F23 could test this again to make sure. As i said, all packets are as expected and have been tested by manually writing response packets but a real device would be a nice test.

ljean commented 4 years ago

Thanks @jacksonmatheson for this fix. I will publish a new version with it soon