File : CS-SUP-MUTI-WTHERMAPP-E01.sxw
7.6.7 Reading the threshold detection table
The module store in an internal table the information relative to the detection of a threshold alarm.
This table can store up to 5 events relative to high threshold detection, and up to 5 events relative to Low
Threshold detection.
Applicative Command Description
0x05
Request to read the threshold detection table
0x85
Response to the request to read the threshold detection table
Contents of the request REQ_SEND_FRAME
Data Field (max : 152 bytes)
Applicative Command
1 byte
0x05
Contents of the response RECEIVED_FRAME
Data Field (max : 152 bytes)
Acknowledgement
of the applicative
command
Events table relative to high threshold
alarm
Events table relative to low threshold
alarm
Sensor
number
Date
Duration Integrated
value
Sensor
number
Date
Duration Integrated
value
1 byte
1 byte
6 bytes
2 bytes
(*)
1 byte
6 bytes
2 bytes
(*)
0x85
Sensor number :
indicates which sensor is concerned.
Date :
date of the threshold detection (format described in chapter 7.1.3).
Duration :
duration of the threshold detection expressed in multiples of measurement period (parameter 0x23).
(*) Integrated value :
average of all the values acquired since the first threshold detection, until its
disappearance. The format of this value depend on the type of the module used, and is described in chapter
5.1.1, and 5.2.
The size of this field depend on the type of the module used :
WaveTherm – DALLAS :
size of 'Integrated value' = 2 bytes
WaveTherm – PT100 :
size of 'Integrated value' = 4 bytes
WaveTherm – PT1000 :
size of 'Integrated value' = 4 bytes
Remark :
this table is a circular buffer, i.e. the most recent event crush the oldest one. Thus, the table
always store the five most recent events.
Sensor number – Evt 0
Date – Evt 0
Duration – Evt 0
Integrated value – Evt 0
Sensor number – Evt 1
Date – Evt 1
Duration – Evt 1
Integrated value – Evt 1
Sensor number – Evt 2
Date – Evt 2
Duration – Evt 2
Integrated value – Evt 2
Sensor number – Evt 3
Date – Evt 3
Duration – Evt 3
Integrated value – Evt 3
Sensor number – Evt 4
Date – Evt 4
Duration – Evt 4
Integrated value – Evt 4
WaveTherm modules – application handbook
page 60 of 65