Blog
Technical Articles

Modbus Radar Value Decoding: Verify Word Order Before Applying a Scale Factor

2026-09-09

A successful Modbus response proves that a message was exchanged, not that the returned bytes have been interpreted correctly. Modbus radar value decoding can fail at the data type, register offset, word order or unit conversion. Adding a multiplier until the display looks plausible can hide the original error.

Read the map before interpreting the number

Obtain the register definition for the supplied instrument version. Identify the function, address convention, number of registers, data type, units and any scale factor. Modbus registers carry 16-bit values; a larger application quantity needs a documented representation across those registers.

The ordering of words in a 32-bit quantity must not be inferred from another device. Some applications use scaled integers rather than floating point. Confirm that distinction before examining byte-swapping options in a PLC or gateway.

Separate register addressing from word order

Modbus Application Protocol V1.1b3 uses zero-based PDU addresses. Check whether the device map and PLC driver show that offset or a one-based reference. Record the function and actual request address; do not subtract one again if the driver has already translated it. An adjacent register can return a valid response but the wrong quantity.

The protocol sends the high byte of a 16-bit register first: 0x1234 is transmitted as 0x12 then 0x34. That rule does not identify which of two registers contains the high word of a device-specific 32-bit value. Keep within-register byte order, between-register word order and engineering scaling as separate checks.

An example of Modbus radar value decoding

The IEEE 754 single-precision representation of 12.5 is hexadecimal 41 48 00 00. A hypothetical high-word-first mapping would carry 0x4148 followed by 0x0000; a low-word-first mapping would reverse those two words. This is a data-format example, not an MV-RD12 register map or measurement.

CheckEvidence to retain
Raw wordsThe returned register values before conversion.
RepresentationThe documented integer or floating-point type and word order.
Engineering unitsThe register's units and any required scale factor.
Reference valueA known local value at the same observation time.
METRAVON MV-RD12 liquid radar with PTFE lens and flanged connection
The RS485 version of MV-RD12 needs its own register definition; a familiar address or floating-point layout is not evidence.

For METRAVON MV-RD12, specify the corresponding RS485 electronics and request the applicable map. The product page establishes the interface option, not a universal address, 32-bit representation or diagnostic register.

Validate more than one convenient value

Compare decoded values at distinct known conditions using an authorised test method. Zero is a poor sole check because multiple incorrect interpretations can also produce zero. Keep the raw words and expected quantity so the test can be reproduced after a gateway or software change.

If a value spans several registers, use the documented read arrangement and confirm any required consistency behaviour. Do not assume separate reads capture the same measurement update. Treat communication exceptions and invalid-value codes separately from valid numeric data; a sentinel must not be multiplied into a believable level.

Q1. Should every 32-bit value be decoded as a floating-point number?

No. It may be an integer, bit field or another representation. The device map defines the meaning; the register count alone does not.

Q2. Can changing a multiplier correct word order?

No reliable multiplier repairs an incorrect binary interpretation. Resolve the representation first, then apply the documented engineering conversion.

Summary

Validate the bytes-to-quantity conversion before trusting the display. Send the MV-RD12 version, map revision and raw register capture for a focused integration review.

Related Product Categories

Browse product categories to quickly find a measurement solution suited to your application.

View All Products
Level MeasurementLevel SwitchesIndustrial WeighingWater Level & FlowData Acquisition

Get a Project Quote

Tell us the medium, measuring range, process conditions, mounting method, output signal and estimated quantity. We will recommend a suitable configuration and provide a quotation.