HD52.3D
- 34 -
V1.11
INSTRUMENT ERROR CONDITIONS
(function
07h
)
The function code 07h allows to read the 8-bit register containing information about error con-
ditions of the instrument.
Each register bit corresponds to an error condition:
•
Bit 0
: Error of wind speed measurement;
•
Bit 1
: Error of compass measurement;
•
Bit 2
: Error of temperature measurement;
•
Bit 3
: Error of relative humidity measurement;
•
Bit 4
: Error of barometric pressure measurement;
•
Bit 5
: Error of solar radiation measurement;
•
Bit 6
: Not assigned;
•
Bit 7
: Not assigned.
There is an error condition if the corresponding bit value is 1.
The command for an error register reading is:
Command
Value
Length
Description
Function
:
07h
1 byte
Error register reading command
Data
:
0
byte
Data
field is empty
The instrument reply takes the following form:
Reply
Value
Length
Description
Function
:
07h
1 byte
Error register reading command
Data
:
00h to FFh
1 byte
Register value
R
EADING OF INSTRUMENT GENERAL INFORMATION
(function
2Bh
)
Function code 2Bh allows to read the basic general information of the instrument, consisting
of:
•
Manufacturer;
•
Instrument model;
•
Firmware version.
The command takes the following form:
Command
Value
Length
Description
Function
:
2Bh
1 byte
Information reading command
Data
: 0Eh
1
byte
Fixed value
(MEI type- Modbus Encapsulated Interface)
01h 1
byte Fixed value
(Type of basic identification)
00h 1
byte Fixed value
(First field of information)
The instrument answers as follows:
Summary of Contents for HD52.3D... series
Page 43: ......