Skip to main content

Modbus Protocol

To initiate Modbus-RTU communication, the data wires of the device's M12 cable must be connected to the Modbus master device.

Modbus Parameters

Default Modbus communication parameters:

  • 1 start bit, 8 data bits, None parity bit, 1 stop bit.
  • 9600 bps baud rate.
  • The Slave ID is provided in the table below.
DeviceSlave ID
SensNode METEO-MB Wind44
SensNode METEO-MB-510
SensNode METEO-MB-720
SensNode METEO-MB-7 Solar60
SensNode METEO-MB-846
SensNode METEO-MB-1043

Modbus Registers

Sensor data and configuration information are stored in the HOLDING REGISTER (0x03). The Modbus register format is BIG ENDIAN and INT32. To obtain the actual values, the register values must be divided by 1000.

WARNING: The table below includes all readable values. To perform a valid read, readings must be taken only from addresses compatible with your device.

AddressNameRangeRegister CountR/W
0Air Temperature-40000 — 850002R
2Humidity0 — 1000002R
4Barometric Pressure30000000 — 1250000002R
6Light Intensity0 — 1880000002R
8Minimum Wind Direction0 — 3600002R
10Maximum Wind Direction0 — 3600002R
12Average Wind Direction0 — 3600002R
14Minimum Wind Speed0 — 600002R
16Maximum Wind Speed0 — 600002R
18Average Wind Speed0 — 600002R
20Accumulated Precipitation0 — 800000002R
22Accumulated Precipitation Duration0 — 20000000002R
24Rain Intensity0 — 2000002R
26Maximum Rain Intensity0 — 600002R
28Heating Temperature-40000 — 850002R
30Slope Status0 or 1000 (1000 = sloped, 0 = vertical)2R
48PM2.50 — 10000002R
50PM100 — 10000002R
64CO20 — 100000002R
72Noise Intensity35000 — 1000002R
74Solar Radiation0 — 20000002R
76Sunlight Duration0 — 240002R
4096Slave ID1R/W
4097Baud Rate1R/W
8192Reset Accumulated Precipitation1R/W
8193Reset Accumulated Precipitation Duration1R/W

Address Descriptions

Address 4096 (Slave ID): Can be set to a value between 1 — 247.

Address 4097 (Baud Rate): One of the following values can be assigned:

Written ValueCorresponding Baud Rate
121200
242400
484800
969600
19219200
38438400
57657600
1152115200

Address 8192 (Reset Accumulated Precipitation): Write 1 to set the accumulated precipitation amount to 0. Read again to confirm; if 0 is returned, the setting has failed.

Address 8193 (Reset Accumulated Precipitation Duration): Write 1 to set the accumulated precipitation duration to 0. Read again to confirm; if 0 is returned, the setting has failed.