File : CS-SUP-MUTI-WTHERMAPP-E01.sxw
7.5.5 Structure of the data when two sensors are activated
When two sensors are wired to the module, the numbering of the recordings is processed as follow :
Number of the recordings, from
the most recent to the oldest
Description
n
Most recent recording of the
input 2
, at instant t
n-1
Most recent recording of the
input 1
, at instant t
...
...
4
Recording of the
input 2
, at instant ( t – (n-1) )
3
Recording of the
input 1
, at instant ( t – (n-1) )
2
Recording of the
input 2
, at instant ( t – n )
1
Recording of the
input 1
, at instant ( t – n )
Remark : The odd recordings corresponds to the input 1 ; and the even recordings corresponds to the
input 2.
Example
: request of reading when the number of recordings is 30.
Contents of the request REQ_SEND_FRAME
Data Field (max : 152 bytes)
Commande applicative
Nombre d'enregistrement
à lire
(MSB First)
Numéro d'enregistrement
le plus récent (MSB First)
1 octet
2 octets
2 octets
0x06
0x001E
0x001E
The structure of the data relative to the recordings is as follow :
Data relative to the recordings
Number of the
first recording
returned
(MSB First)
Number of the
last recording
returned
(MSB First)
Sensor 2
value
n°30
Sensor 1
value
n°29
...
Sensor 2
value
n°4
Sensor 1
value
n°3
Sensor 2
value
n°2
Sensor 1
value
n°1
0x001E
0x0001
The size (in bytes) of the temperature information depend of the type of the module used, please refer
to chapter 5.1.1, and 5.2.
WaveTherm modules – application handbook
page 54 of 65