9-36
Command protocol
The 16 bit figure named
MISC
is shown as follows:
D07 D06 D05 D04 D03 D02 D01 D00 D07 D06 D05 D04 D03 D02 D01 D00
MISC
Byte
13/14
Re
ser
ved
AVGPerio
d_Dec
2 bit uint
NOB
AVGPeriod Min
4 bit unsigned integer
MONTHS
7 bit unsigned integer
This figure (
MISC )
should be considered as four different data as follows:
•
Reserved. The Most significant bit is reserved.
•
AVGPeriod_Dec
is a 2 bit unsigned integer which shows the decimal part of the interval value
related to the time span used to get the average (RMS or AVG). This figure is expressed in 15s,
i.e., 01 means 15s.
•
NOB
is a 2 bit unsigned integer which informs how many bands (fields for EHP2B) are present in
the record.
•
AVGPeriod Min
is a 4 bit unsigned integer which shows the interval (expressed in minute)
related to the time span used to get the average (RMS or AVG). An exception is AVGPeriod = 0
in which case the averaging time is 30 minute.
•
MONTHS
is a 7 bit unsigned integer which indicates how many months have been elapsed since
1
st
January 2022. Being the range limited to 127 the overlapping period is more than 10 years.
If, for example,
MISC
is
0x0083
then the meaning will be:
•
AVGPeriod=1 (1 minute). Indeed (
0x0083 >> 7 ) & 0xF = 0x01
•
MONTHS =3 (April 2022). Indeed
0x0083 & 0x7F = 0x03
The 16 bit figure named
DateTime
is shown as follows:
MI1
5
MI1
4
MI1
3
MI1
2
MI1
1
MI1
0
MI9 MI8 MI7 MI6 MI5 MI4 MI3 MI2 MI1 MI0
DateTime
Byte 15/16
DateTime
DateTime
should be considered as a big-endian unsigned 16 bit integer and indicates how many minutes
have been elapsed since the beginning of the current month (previous MONTHS data).
If, for example,
DateTime
is 0x95AE (decimal 38318) then the record will be related to the 27
th
of the
month at 14:38.
Indeed :
Day = 1 +Int(
DateTime
/ 1440) = 1 +Int ( 38318 / 1440 ) = 27
Hour = Int((
DateTime
Mod (1440)) / 60) = Int ( ( 38318 Mod (1440 ) ) / 60 ) = 14
Minute = (
DateTime
Mod (1440)) Mod 60)= ( 38318 Mod ( 1440 ) ) Mod 60 ) = 38
Merging the data with
MONTHS
we can get the full date of acquisition which is 14:38 27/04/2014. Time
indications with second resolution is given in
Seconds.
Altitude
value is the relative Altitude and is expressed in m. This value is referred to the altitude
measured when the log has started. The number should be considered as a 16 bit integer.
Seconds
represent the time in seconds (modulo 60) at which the log has been saved. The number should
be considered as an unsigned 8 bit integer.
RH
value is the relative Humidity and is expressed in percent . The number should be considered as an
unsigned 8 bit integer.
If, for example, 8 bit figure named
RH
is 0x32 (decimal 50) then the value of RH would be 50%
Summary of Contents for LR-01
Page 72: ...2 12 Installation and use This page has been left blank intentionally...
Page 76: ...3 4 Probes Manager software installation Click Next to proceed installing...
Page 116: ...5 4 Firmware Update This page has been intentionally left blank...
Page 168: ...9 40 Command protocol This page has been left blank intentionally...
Page 192: ...11 4 Service This page has been left blank intentionally...
Page 194: ...Suggerimenti Commenti Note Suggestions Comments Note...