All pages
Powered by GitBook
1 of 2

Loading...

Loading...

Modbus Protocol

This device communicates using the Modbus RTU protocol over the RS-485 standard.

Device Address

This device's preconfigured user-definable address is 0x13. Users can change the address using the holding registers.

Modbus Function Codes

The following Modbus function codes are functional with this device.

Command Register
Function
Description
Bytes

Device Registers

The following registers are available with this device.

Register Type
Register Address
Description
Bytes

Communication Syntax

Reading sensor data

The host device can read one or more sensor data by calling the starting register address.

Request from the host: Device address [1 Byte] + Function code (0x04) [1 Byte] + Input register start address [2 Bytes MSB first] + Requested register length [2 Bytes MSB first] + CRC [2 Bytes MSB first]

Response from the device: Device address [1 Byte] + Function code (0x04) [1 Byte] + Response register length in Bytes [1 Byte] + Register 1 [2 Bytes MSB first] + Register N [2 Bytes MSB first] + CRC [2 Bytes MSB first]

Reading configuration register

The host device can read one or more configuration registers by calling the starting register address.

Request from the host: Device address [1 Byte] + Function code (0x03) [1 Byte] + Holding register start address [2 Bytes MSB first] + Requested register length [2 Bytes MSB first] + CRC [2 Bytes MSB first]

Response from the device: Device address [1 Byte] + Function code (0x03) [1 Byte] + Response register length in Bytes [1 Byte], Register 1 [2 Bytes MSB first] + Register N [2 Bytes MSB first] + CRC [2 Bytes MSB first]

Writing single configuration register

The host device can write one configuration register.

Command from the host: Device address [1 Byte] + Function code (0x06) [1 Byte] + Holding register address [2 Bytes MSB first] + Value to be set [2 Bytes MSB first] + CRC [2 Bytes MSB first]

Response from the device: Device address [1 Byte] + Function code (0x06) [1 Byte] + Holding register address [1 Byte] + Value set [2 Bytes MSB first] + CRC [2 Bytes MSB first]

Writing multiple configuration registers

The host device can write multiple configuration registers.

Command from the host: Device address [1 Byte] + Function code (0x10) [1 Byte] + Holding register start address [2 Bytes MSB first] + Requested register length [2 Bytes] + Configuration values length in Bytes [1 Byte] + Value to be set 1 [2 Bytes MSB first] + Value to be set N [2 Bytes MSB first] + CRC [2 Bytes MSB first]

Response from the device: Device address [1 Byte] + Function code (0x10) [1 Byte] + Holding register start address [1 Byte], Value set [2 Bytes MSB first], CRC [2 Bytes MSB first]

Writes a single configuration parameter

2

0x10

Write multiple registers

Writes multiple configuration parameters

2 x N

Rainfall (10 mins)

2

Input Register (R)

0x0004

Rainfall (15 mins)

2

Input Register (R)

0x0005

Rainfall (30 mins)

2

Input Register (R)

0x0006

Rainfall (1 hr)

2

Input Register (R)

0x0007

Rainfall (24 hrs)

2

Input Register (R)

0x0008

Device Pitch (Actual)

2

Input Register (R)

0x0009

Device Roll (Actual)

2

Input Register (R)

0x000A

Device Temperature

2

Holding Register (R/W)

0x0101

Device Address

2

Holding Register (R/W)

0x0102

Baud Rate

2

Holding Register (R/W)

0x0103

IMU Correction (Pitch)

2

Holding Register (R/W)

0x0104

IMU Correction (Roll)

2

Holding Register (R/W)

0x0105

Rainfall Correction

2

0x03

Read holding registers

Returns configuration parameters

2

0x04

Read input registers

Returns measured readings and statistics

2

0x06

Input Register (R)

0x0001

Rainfall (1 mins)

2

Input Register (R)

0x0002

Rainfall (5 mins)

2

Input Register (R)

Write single register

0x0003

Rain Gauge

This document is currently in the preliminary stage, and therefore, device specifications are subject to change without notice.

This device measures the precipitating rain using the tipping bucket mechanism. It transmits data using Modbus RTU communication protocol over the RS-485 standard.

Top View
Bottom View
Inside View

Technical Specifications

The following table outlines the capabilities of the device.

Property
Value

Sensing Specifications

The following table shows sensor characteristics.

Measurement
Accuracy
Min
Max

Physical Properties

This table shows the mechanical properties of the device.

Property
Value

Environmental Conditions

Environmental Conditions refer to the physical and atmospheric conditions surrounding the device.

Property
Value

Electrical Characteristics

This table indicates the electrical specifications of the device.

Property
Value

Absolute Maximum Ratings

Absolute maximum ratings indicate the maximum electrical or environmental parameters this device can withstand without damage.

Stresses above the absolute maximum ratings listed in the table may cause permanent damage to the device. These are stress ratings only, and the functional operation of the device under these conditions is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability.

Property
Value

Connectivity Options

This table lists the communication options of the device.

Property
Value

Communication Protocols

This device supports the following communication protocols.

Onboard sensors

Rain bucket (Pulse) Optional accelerometer for 2-axis angle detection

Memory

Historical data for internal statistics Configuration and calibration storage

Microcontroller

STM32 C0 Series MCU, 32-bit ARM Cortex-M0+

Rainfall

±0.25mm

0.25mm

25mm

Mounting Style

Screw Mount Optional arm with wall and Sigma profile mount

Dimensions

Main unit: 70d x 70h mm Optional rain gauge: 203mm (8-inch) standard

Base Material

ASA (Acrylonitrile Styrene Acrylate) Impact, wear, and UV resistant

Weight

< 200g

Operating Ambient Temperature

-20°C…+60°C

Relative Humidity

0°C…+30°C: 80% +30°C…+60°C: 50%

Storage

-20°C…+60°C

10%…90% rH

Main Supply

DC 5…24V

RS-485

-7…+12V (No internal termination)

Internal Fuse

DC 60V 6A 1206 Case Slow-burning

Main Supply

DC 30V

RS-485

-7…+12V

RS-485

4-Pin connectivity (Power, GND, RS-485 A, RS-485 B)

Modbus Protocol