Separate the TCP envelope from the Modbus PDU
Modbus TCP adds a seven-byte MBAP header containing transaction ID, protocol ID, length and unit ID. The function code and data fields remain in the protocol data unit. During diagnosis, first decide whether the failure is TCP reachability, MBAP framing or the Modbus request itself.
Do this in the product
In the workbench, start with the “Read two holding registers” challenge. The returned evidence shows the request PDU without hiding it behind a driver.
Open the exercise