
Histogram Description
24
DLR-TL001
Registers use example
Let suppose that the user wants to configure the tag as described in the first
example of the paragraph, in the table below is presented again the scenario
that shall be realized:
Table 9 - Example of histogram bins for cooled food
Bin
Low Limit
(C°)
High Limit
(C°)
Enabled
Threshold
Store
Y/N
Samp.
Interval
(min.)
0
- 10
- 5
Yes
5
Yes
5
1
- 5
0
Yes
0
No
10
2
0
60
Yes
5
Yes
5
First of all let's set the upper limit of each histogram bin. The upper limits in
the example are -5, 0, 0 and 60 °C. The data need to be converted in fixed
point 8.5 notation format using the formula (3):
T (°C)
Tfixed
Registerhex
-5
8032
HLIMIT[0]=0x1F60
0
0
HLIMIT[2]=0x0000
60
1920
HLIMIT[3]=0x0780
All the 3 Bins used in the example need to be enabled in the BIN_ENABLE
register, the bits corresponding shall be set to 1:
BIN_ENABLE = 0x0007
The Threshold value register shall be filled with the example value:
BIN_THRESHOLD[0] = 0x0005
BIN_THRESHOLD[1] = 0x0000
BIN_THRESHOLD[2] = 0x0005
The sampling interval time, expressed in minutes, must be converted in sec-
onds for the correct setting of the BIN_SAMPLETIME register:
Min.
Sec.
Register
5
300
BIN_SAMPLETIME[0]=0x012C
0
0
BIN_SAMPLETIME [1]=0x0000
5
300
BIN_SAMPLETIME [2]=0x012C
In this example, the samples have to be stored in the user memory hence
the BIN_SAMPLE_STORE register flags have to be set for the corresponding
bins:
BIN_SAMPLE_STORE = 0x0007
The samples' timestamps do not need to be saved (it is not required by the
example) hence the BIN_SAMPLE_TIME register's flags shall be disabled:
BIN_SAMPLE_TIME = 0x0000
The Mean Kinetic Temperature and the Shelf Life registers can be left to the
default value since we don't need to use it.
Summary of Contents for DLR-TL001
Page 1: ...DLR TL001 Product Reference Guide UHF Semi Passive Logger Tag ...
Page 4: ...Contents ii DLR TL001 ...
Page 10: ...Introduction 6 DLR TL001 ...
Page 30: ...Histogram Description 26 DLR TL001 NOTES ...
Page 35: ......