How to check Modbus readings against an irrigation meter’s display

Compare fresh logger readings with the AG3000 display during one normal irrigation run. First check the flow rate while flow is steady. Then compare how much the Forward Total increases from start to finish. Use the same units and readings taken at roughly the same time.

The worked example below shows the data a logger requests, how to decode the reply, and what to check if the numbers disagree. It applies to an AG3000 with the factory Modbus option and the cited address map.

Discuss your meter and the readings you need

What the AG3000 measures

The Seametrics AG3000 is an electromagnetic flow meter installed in an irrigation pipe. It measures flow without a moving propeller. Its mounted display shows the current rate and a selected accumulated volume, or total. For example, a rate of 120 litres per minute describes how quickly water is passing now; a forward total of 1,290 litres is the accumulated volume passing in the forward direction. The total is not automatically the volume of the latest irrigation run. AG3000 instructions, pp. 3 and 15

Functional schematic of a meter in a full irrigation pipe, with a mounted display and a separate logger. Arrows show water passing through the meter and information passing to the logger. The shapes do not reproduce the AG3000 enclosure or its wiring.

The schematic shows the parts involved in this check. Use the manufacturer’s AG3000 product page and the installed model label to identify the actual equipment. AG3000p and AG3000r are separate variants; their names are not interchangeable with AG3000.

A logger is the device that reads and records the meter’s values. It needs a compatible output to read the meter. The AG3000 has a pulse output, and the manual describes optional outputs including Modbus. A pulse-output cable alone does not establish that the meter has Modbus. Confirm the installed output option and power arrangement before applying this guide. Full-pipe conditions are also needed for the measurement; an EMPTY PIPE indication must be resolved separately from decoding a number. AG3000 instructions, pp. 3, 8 and 14

How a reading reaches the logger

Modbus defines the requests and replies used to read values. On this meter, Modbus RTU carries those messages over an RS-485 serial connection. RS-485 describes the electrical link; a matching connector does not prove that two devices use the same messages or settings.

The logger sends a request to the meter’s device address. The meter replies with the requested data. Each register holds 16 bits, or two bytes. Some values fit in one register; the flow rate below uses two registers together. The logger must know which registers to ask for and how to turn their bytes into a number.

Two alternative paths. A serial logger talks directly to an AG3000 Modbus option over RS-485 using Modbus RTU. A network logger instead talks Modbus TCP over Ethernet to a separate gateway, which exchanges Modbus RTU messages with the meter over RS-485.

If the logger uses Modbus TCP on an Ethernet network, a separate gateway must provide the RTU connection to this meter. Ask the installer to identify that gateway and verify its device-address mapping. The serial frames shown below apply on the RTU side; they are not complete Modbus TCP packets. Seametrics Modbus interface, pp. 3–5

Check the installed settings first

Use the installed logger’s read-only diagnostics. Have the installer confirm the physical connection and the following settings; this procedure does not require changing meter settings or resetting its total.

CheckWhat must agree
Exact meter and optionAG3000, the installed Modbus option, applicable firmware and address map.
Device addressThe logger must request the address assigned to this meter. The worked frames use address 1 only as an example.
Serial settingsBaud rate, parity and other serial settings must match at both ends of the RS-485 link. Use the installed values, not assumed defaults.
Register numberingThe addresses below are zero-based. Check whether the logger expects raw addresses or adds a display prefix or offset.
Data formatFlow and forward total use two-register, 32-bit floating-point values: high word first, high byte first.
Display unitsRecord the rate’s volume unit and time base, the total-volume unit, and the Forward Total label.
Read timeFind the time of the latest successful response. A retained value from an earlier response is not a fresh reading.

The AG3000 can also show reverse and batch totals. Select the same total for the comparison. The interface lists total-unit, rate-volume-unit and time-base settings at addresses 1000, 1001 and 1002, but its examples and tables contain inconsistent unit-code descriptions. Confirm units on the meter and use the manufacturer-confirmed mapping for the installed firmware if the logger reads those settings. AG3000 instructions, pp. 15–16 · Seametrics Modbus interface, pp. 5–8 and 10–12

Read the rate and forward total together

The Seametrics map permits function 03 (Read Holding Registers) or function 04 (Read Input Registers) for these values. This example uses 04. Starting at address 7006, read four consecutive registers: two for rate, then two for forward total. Reading them in one reply gives one response to inspect. Seametrics Modbus interface, pp. 5 and 8–9

ValueZero-based decimal addressFormat
Flow rate7006–7007One 32-bit float across two registers
Forward total7008–7009One 32-bit float across two registers
Meter status, read separately below5000One unsigned 16-bit integer

The following frames are calculated examples, not traffic captured from a meter. They assume device address 1. A logger’s diagnostic screen may already split a message into fields; compare the fields rather than expecting the same screen layout.

Each pair below is one byte written in hexadecimal, a notation that uses 0–9 and A–F. The decimal address 7006 is 1B5E in hexadecimal.

Request sent by the logger

01 04 1B 5E 00 04 96 FF
BytesMeaning
01Ask device address 1.
04Read Input Registers.
1B 5EStart at zero-based address 7006.
00 04Read four registers, giving eight data bytes.
96 FFRTU CRC, an error-detection check calculated from the preceding bytes.

Example reply from the meter

01 04 08 42 F0 00 00 44 A1 40 00 25 39
BytesMeaning
01Reply from device address 1.
04Reply to the read function.
08Eight data bytes follow.
42 F0 00 00Flow-rate data from registers 7006 and 7007.
44 A1 40 00Forward-total data from registers 7008 and 7009.
25 39RTU CRC for this reply.

Decode 42 F0 00 00 as one IEEE 754 32-bit floating-point value, with the bytes in the displayed order. The result is 120.0. Decode 44 A1 40 00 the same way: the result is 1290.0. IEEE 754 is the number format; treating either pair of registers as two separate integers produces a different result.

These bytes carry numbers without unit names. If the installed display is set to L/min for rate and L for total, the reply means 120.0 L/min and 1,290.0 L. Confirm those units before applying this interpretation. Seametrics Modbus interface, pp. 5–8

The logger asks the meter for four registers starting at 7006. The reply has eight data bytes. The first four decode to 120.0 and the next four to 1290.0. The logger interprets them as rate and forward total using units confirmed on the display.

The CRC is transmitted low byte first, whereas this meter’s float data is high byte first. Let the diagnostic tool validate the CRC; a CRC failure means the reply is not usable for this comparison. The serial frame layout and CRC order follow the Modbus serial-line specification, section 2.5.1.2. Do not reverse the data bytes because the CRC uses a different order.

Read the meter status separately

Read one register at address 5000. Its value is an integer, not a float: 0 means empty pipe, 1 means meter communication failure, and 2 means full pipe. The meter’s internal communication failure is distinct from a timeout between the logger and meter. Seametrics Modbus interface, p. 6 · AG3000 instructions, p. 19

For device address 1, the calculated request is:

01 04 13 88 00 01 B5 64

Here 13 88 is decimal address 5000, and 00 01 asks for one register. A calculated full-pipe reply is:

01 04 02 00 02 38 F1

The first 02 says two data bytes follow. The data bytes 00 02 decode to integer 2, or full pipe. The last two bytes are the CRC. Full-pipe status supports the reading check; it does not establish that the meter is calibrated or the irrigation system distributes water evenly.

Compare readings during one irrigation run

  1. Before irrigation, record a starting point. With the pipe full and flow stopped, note the displayed no-flow reading and Forward Total. Record the logger’s matching values and latest successful read time. Keep the existing total; calculate the run volume by subtraction.
  2. During steady forward flow, take another pair of readings. Wait for flow to settle. Compare the rates at roughly the same time and check that both forward totals increase. The meter can average recent samples to steady its displayed rate. Allow for that averaging and the logger’s read interval before investigating a brief difference.
  3. After flow stops, record the ending pair. If the pipe stays full, the rate should return to the no-flow reading once both displays update. Subtract each starting forward total from its corresponding ending total. If the pipe drains, record EMPTY PIPE separately. If the last valid total predates the end of the run, leave the full run volume unconfirmed. AG3000 instructions, pp. 8, 15 and 18–19

For an illustrative run, the meter’s forward total increases from 1,260 L to 1,290 L. The difference is 30 L. A logger that presents cubic metres should show an increase of 0.030 m³ over the same interval. Compare the volume changes rather than expecting totals in different units to have the same number. Allow for display rounding and observation times; this example does not set an acceptance tolerance for an installation.

Find the cause of a mismatch

Start with the last successful read time, then the meter’s own condition. An old value can still look plausible. A complete reply can also contain bytes that the logger interprets with the wrong format.

Troubleshooting checks in order: use a fresh valid response, check meter faults, compare the same units and Forward Total, then compare steady rate and the volume change for the same run. If values still differ, check register numbering, data type, byte order and timing.

What you observeWhat to check next
No response, a timeout, or an old valueCheck the latest successful response time. Have the installer confirm device address, serial settings and the installed connection. Obtain a fresh valid reply before comparing values.
A CRC failure or a reply that differs from the expected formatKeep the raw reply and diagnostic message. A short reply or exception response is not a successful eight-byte data reply; have the installer check the request and communication diagnostics.
The meter shows EMPTY PIPE, COMM FAIL or BATT ENDRecord the exact message. EMPTY PIPE means fluid was not detected between the electrodes. COMM FAIL means the transmitter lost communication with its sensor board. At BATT END, the totalizer stops updating. Repeat the comparison after valid measurement is restored.
Plausible numbers with a constant-factor differenceCompare rate-volume units, the time base, total units, logger conversion and the Forward Total label. Batch and reverse totals describe different volumes.
A successful reply decodes to an implausible numberCheck zero-based addresses, four requested registers and the two separate float values. Confirm high word and high byte first. Large totals can round in 32-bit format; ask the installer whether the manual’s 64-bit registers and logger support are needed.
Matching units but a brief rate differenceCompare again under steady flow after averaging and logger refresh have caught up. Compare forward-volume changes over the same start and end interval.

Seametrics Modbus interface, pp. 5–9 · AG3000 instructions, pp. 18–19

Keep the evidence for the result

Record the meter model and Modbus option, the configured units, the request and raw reply, decoded values, and the time of each display observation and successful logger read. Keep the starting and ending Forward Total values together. This gives the installer enough information to repeat the comparison and investigate a discrepancy.

Fresh values that agree with the display under steady flow, together with consistent forward-volume changes for the same run, support using that logger configuration for these readings. Calibration and water distribution across the field need their own checks. Sensorius compatibility with this exact meter, option and gateway has not been established here.

Discuss your meter and the readings you needAll How-to guides

Sensorius guidance for connecting installed Modbus equipment

References