21
5.5 Modbus command set
The Lambrecht Modbus sensors support the following commands:
•
Read Input Register" command:
0x04 (Read measured data)
•
Write Multiple Register" command:
0x10 (Write sensor data)
5.6 Measured value and parameter register
The Lambrecht meteo Modbus provide in the register range 30001 to the measured values. The
registers Addresses 30001 to 35000 apply to all Lambrecht meteo Modbus sensors, but are only
available or valid if the respective sensor supports the corresponding values (e.g. a pure wind sensor
does not provide any air humidity).
Table 5.6.1
M
easured values provided by 16131.5
Register
address
Parameter name
Unit
Factor
Description
Data
type
31401
Global radiation instantaneous
values
W/m²
10
1 decimal
INT
31402 Global radiation - average value
since last retrieval
W/m²
10
1 decimal
INT
31403 Global radiation - maximum
value since last retrieval
W/m²
10
1 decimal
INT
31404 Global radiation - minimum
value since last retrieval
W/m²
10
1 decimal
INT
31501 Global radiation instantaneous
values (High-WORD)
(temperature compensated)
W/m²
100
2 decimal
The register 31501 +
31502 should be
read in one
sequence. (function
code 0x04)
LONG
31502 Global radiation instantaneous
values (Low-WORD)
(temperature compensated)
Register 31501 + 31502, Global radiation instantaneous values (Irradiance), provides the solar
radiation output in 0.01 W/m². The value given must be divided by 100 to get the value in W/m². MSW
and LSW should be read together in one request.
Note:
The values from the registers with the maximum values (31403) and minimum values (31404)
are automatically reset as soon as the register (31402) with the mean values has been read out.
The Lambrecht sensors give 0xD8F1=
-
9999(16bit) or 0xFF676981=
-
9999999 (32bit) as error code or
invalid value.
Note: Individual readout of related registers (e.g. 31501 and 31502) is not permitted.
5.7 Additional value registers (Service)
Table 5.7.1
Register
address
Parameter name
Unit
Factor
Description
Data
type
6
Sensor body temperature
°C
100
2 decimal
INT
Register 6,
Instrument body temperature
, provides the temperature of the instrument body in 0.01 °C.
The data must be divided by 100 to achieve the value in °C.