Industry Applied

Global industry.
Applied in Australia & New Zealand.

The water meter returned an exception. Why did the shift report show zero?

Treat a valid zero, a protocol exception and an unanswered poll as different outcomes before calculating minimum flow or data availability.

Industry Applied Editorial Published 2 min read

Two metering instruments and an industrial communications cabinet. AI-generated editorial illustration.
AI-generated editorial illustration by Industry Applied · Industry Applied editorial artwork

A valid zero is a measurement. A Modbus exception reports a problem with a request, and a timeout yields no response to interpret. If a data collector stores all three as the number zero, a minimum-flow report can suggest the pump stopped when the meter supplied no usable measurement.

Read six polls as three types of evidence

Suppose four valid readings are 4, 3, 0 and 5 L/s. Another poll returns an exception and a sixth receives no response. Of six scheduled polls, four contain measurements and one records verified zero. The average of the four valid equal-interval readings is 3 L/s. Treating the two failed polls as zero gives 2 L/s. Neither reading set alone establishes the true average across all six time slots.

Only the four valid responses contain flow measurements, including one genuine zero. Failure outcomes retain their own status.
Figure 1. Only the four valid responses contain flow measurements, including one genuine zero. Failure outcomes retain their own status. Original figure by Industry Applied Editorial. Illustrative data.

Worked data

Outcome

Meaning

Polls

Valid measurement

One was 0 L/s

4

Exception response

Request could not be fulfilled

1

No response

No measurement received

1

Download the figures in this worked example (CSV)

Keep acquisition evidence beside the value

Store an acquisition timestamp, device identity, response status and unit. Preserve the documented exception code where supplied. A timeout should carry a null measurement or another explicitly supported invalid indicator, never a substitute number that downstream users will read as flow. Decide how charts show the gap and how availability is counted.

The Modbus Organization publishes the protocol and exception-response definitions. Device-specific register maps still determine what a returned value means. Some instruments can return a vendor-defined invalid sentinel in an otherwise valid response. Check the meter documentation and tag scaling before accepting a very large or unusually repeated value. Field trending and contractual reports can use different completeness thresholds, but they should share the same raw evidence.

Sources

Modbus Organization · Application Protocol Specification V1.1b3

Cover illustration by Industry Applied, generated with AI. Two metering instruments and an industrial communications cabinet.

Related reading

Finding missing telemetry samples

0 views0 comments

Comments