EasyManua.ls Logo

Datalogic DLR-TL001 - Page 28

Datalogic DLR-TL001
36 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.
In
terval
(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] = 0x00
05
BIN_THRESHOLD[1] = 0x00
00
BIN_THRESHOLD[2] = 0x00
05
The sampling interval time, expressed in minu
tes, must be converted in sec-
onds for the correct setting of t
he 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
de
fault value since we don't need to use it.

Other manuals for Datalogic DLR-TL001