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.
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.