...
Modbus TCP packet structure
You can find more information on Modbus packet structure using this link.
The query packet consists of Transaction ID, Protocol, Length, Unit ID, Function Code and Function Parameters fields and the maximum size is 260 bytes.
...