top of page

Modbus Server Busy Counts: Separate Exception Replies from Timeouts

1 day ago
3 min read

A client timeout and a returned Server Device Busy exception are different observations. Use the documented diagnostic counter and a timed trace to decide which failure path needs investigation.


Concept illustration for Modbus Server Busy Counts: Separate Exception Replies from Timeouts
Original explanatory concept; not a product screen or customer installation.

Key takeaway: A busy reply proves that an exception response was produced; it is not the same evidence as silence.

1. Name the counter precisely


The serial Diagnostics service defines Return Server Busy Count as subfunction 17 decimal, or hexadecimal 0x0011. It counts addressed messages for which the device returned a Server Device Busy exception, over the specified interval since restart, counter clear or power-up. Verify implementation support before treating a displayed value as this counter.


Do not confuse this diagnostic subfunction with function code 17 decimal, or with a general CPU-load percentage. A product may expose other similarly named health metrics. Record the actual request definition and the manufacturer's meaning, rather than assigning a familiar label to an undocumented number.



2. Align the evidence window


Capture the initial count, device uptime or reset history where available, and a trace covering the interval of interest. Count the busy exception responses visible to the client separately from requests that received no reply. Retain request identity and timing so a delayed reply is not assigned to the next poll.


If the counter changes but the application reports only timeouts, inspect the driver logs and gateway translation rules. The exception may be hidden by a generic error label or lost on the return route. The difference is a reason to trace the boundary, not proof that a cable or sensor is defective.


Returned exception The device produced a busy response. Client observation Was that response actually received and decoded? Acceptance record Separate exceptions, timeouts and fresh measurements.
Original explanatory concept; not a product screen or customer installation.

3. Test the workload hypothesis


Review polling groups, request sizes and concurrent clients against the device documentation. Use an isolated test to change one supported workload variable at a time. A reduction in busy replies after reducing concurrency supports a workload-related hypothesis, but does not establish a universal safe polling rate.


For a hypothetical comparison, record five busy replies during one agreed test window and none during a second window with fewer simultaneous requests. Record the actual request rates and duration as well. Two windows with different loads or reset histories cannot support a fair conclusion from the count alone.


4. Set bounded acceptance criteria


The recovery policy must distinguish returned exceptions, missing replies and invalid data. Specify retry limits and a total time budget so a persistently busy device cannot monopolise the monitoring cycle. Avoid automatic retries of state-changing operations unless the actual contract establishes safe repetition.


A commissioning handover should state the supported counter definition, baseline, test conditions and remaining uncertainty. Ask the application owner how stale values and communication exceptions should appear to operators. A readable status message is useful only when it reflects the observed failure path.


Practical acceptance checklist


  1. Verify the diagnostic name, subfunction and firmware support.

  2. Compare counter deltas over equal, documented windows.

  3. Separate received busy exceptions from unanswered requests.

  4. Test one workload variable and retain the actual trace.


Recommended equipment / related solutions


Use networking and gateway solutions to define the communication path and supported diagnostics. Use automation solutions to specify interpretation, recovery and commissioning acceptance. Confirm exact hardware, firmware and installation requirements before selecting equipment.





Practical FAQ


Is a busy count a measure of processor utilisation?


No. This protocol counter concerns specific exception replies. Use a separately documented metric for processor load.



Need help with your application?


Share the application, device or interface documentation, sanitised diagnostic evidence and required outcome so ProSense can assess the next step.










bottom of page