PortDock

Reading Modbus response times from a capture

Read median, 95% and max response time, missing replies and exception codes in a Modbus TCP capture, and which numbers set timeouts and polling.

Tools for this guideModbus Master Windows program · freeModbus Slave Windows program · freeIndustrial pcap Analyzer web · no installSerial Timing Calculator web · no install

The PortDock web tool «Industrial pcap Analyzer» pairs Modbus TCP requests and responses in a capture by transaction ID and measures response times. This guide is the order to read its tables in. MC protocol traffic appears in the same tables, paired by the 4E serial number (3E by send order).

1. What the response time measures

From the moment the last byte of a request frame was captured to the moment the last byte of the response with the same transaction ID was captured. It includes the device's processing time and the network round trip, and for a serial device behind a gateway also the serial transfer time. The value depends on where you captured: on the client PC it is that PC's view, on a mirror port it is closer to the time between the devices.

2. Reading the summary

FieldMeaningWhat to look at
MedianThe middle value of all response timesThe usual speed. Is it well below the polling interval?
95%95% of replies arrive within thisThe floor for a timeout. A timeout below it means occasional missing replies even on a good day
MaxThe slowest replyOne spike or many? Check the time chart
No responseNo matching reply within the limit (1000 ms by default)May be capture loss — see section 4
Unmatched responseA reply with no request, or one that arrived after the limitThe device did answer, late — the client timeout may be too short
Capture endedLast requests the capture ended too early to judgeNot counted as a problem

You can change the no-response limit on the page. Set it to the timeout of the HMI, PLC or program in use and you count the same requests that side treated as timed out.

3. Which table first

4. Is «no response» really the device?

5. Serial devices behind a gateway

For a device behind a Modbus TCP-to-RTU gateway, the serial transfer time adds directly to the response time. At 9600 bit/s and 11 bits per character (8 data bits plus start, stop and parity), reading 10 holding registers takes an 8-byte request plus a 25-byte reply = 33 characters, about 37.8 ms of transfer alone (33 × 11 ÷ 9600). Device processing and the 3.5-character gaps come on top. Use the «Serial Timing Calculator» for other baud rates and counts. With several stations on one gateway, requests are served one after another, so waiting grows with the number of stations.

6. Choosing settings from the numbers

Wireshark is a trademark of the Wireshark Foundation; PortDock is not affiliated with Wireshark or Microsoft.

Sources

Published 2026-10-31