EasyModbusTCP.NET
EasyModbusTCP.NET copied to clipboard
ReadProductCode()
Let's add the Read Device Information functionality to make world a better place.
I've implemented something similar but its not good idea to hardcode number-of-read-byte to a small value. For instance my current device sends around 50 bytes of data for 0x2B function. This function is tricky and its not easy to know actual length of response without reading the entire response.