Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Bug in function 0x17 (FC_READ_AND_WRITE_REGISTERS) in 2.9.1 #2
In Modbus_Application_Protocol_V1_1b.pdf there is paragraph that states (page 38):
6.17 23 (0x17) Read/Write Multiple registers
But in the code we generate responce before writing to registers.
Read/write were swapped in _FC_READ_AND_WRITE_REGISTERS. Closed by 49d6f4a.
Page 38 in the document Modbus_Application_Protocol_V1_1b.pdf:
This function code performs a combination of one read operation
The unit test has been updated.