Skip to main content

Modbus / RS485 Specifications

Aegir Ultrasonic Meters support communication over Modbus/RS485 protocol. Modbus RTU is typically used for serial communication (RS-485) interface for seamless integration with external devices.

1. Modbus Registry Details

RegisterData TypeDescription
40001U16A sequentially increasing counter that resets after 9999. Useful for detecting out of sequence reads.
40002bit-wise16-Trickle, 15-Zero Flow,14-High Flow (above 60LPM), 13-Empty or Error, 12 to 1 - Unused
40003U16Flow Rate as LPM × 10
40004U32Cumulative flow reading, in Litres
40006U32Flow reading since last restart, in Litres
40008U32Unique ID of this device
40010U32Manufacturing Date (days since 01-01-2020)

Communication Details

  • Baud Rate: 9600
  • RS485 [Modbus] ID: 1
  • Bits: 8
  • Parity: N
  • Stop Bits: 1

2. RS-485 Electrical Specifications

FeatureDescription
StandardEIA/TIA-485-A
Signaling TypeDifferential (balanced)
Wires4 wires (A, B, VCC and GND)
Voltage LevelsLogic ‘1’ and ‘0’ represented by the voltage difference between A and B (typically ±1.5V to ±5V)
Maximum Nodes32 per channel
Maximum Cable LengthUp to 100 meters
Baud RateTypically 9600, 19200, 38400, 57600, or 115200 bps
TopologyBus (daisy chain); no star connection
Termination120-ohm resistors at both ends of the bus
Common Mode Range−7 V to +12 V
Connector TypeM8

3. Modbus Protocol Specifications

PropertyDescription
Protocol TypeController & Nodes (Gateway & Meters)
Physical LayerRS-485 (two-wire differential)
Data FramingModbus RTU or Modbus ASCII
Address RangeSlave addresses: 1–247 (0 is broadcast)
Data Bits8 bits
ParityNone / Even / Odd (default: None)
Stop Bits1 or 2 (default: 1)
Error CheckingCRC-16 (for RTU) or LRC (for ASCII)
Function CodesDefine operations like read/write (e.g., 01, 03, 04, 05, 06, 15, 16)
Registers16-bit data blocks (Holding Registers, Input Registers, Coils, etc.)

4. Modbus RTU Frame Structure

A Modbus RTU message is transmitted as binary bytes:

FieldSize (bytes)Description
Slave Address1Identifies the slave device
Function Code1Defines the type of action
DataNDepends on function
CRC-162Error check

Silent intervals:

  • 3.5 character times = Start of frame
  • 3.5 character times = End of frame

5. Wiring Example

4-wire RS-485 bus: Controller (A,B,+,-) → Node1 (A,B,+,-) → Node2 (A,B,+,-) → … → Termination (120Ω)


6. Summary

CategoryRS-485Modbus
TypeElectrical standardCommunication protocol
SignalingDifferentialBinary (RTU) or ASCII
RoleDefines how bits travelDefines how data is formatted
LayersPhysicalApplication
Used TogetherFor robust long-distance serial communication