Bob Assistant - Reference Manual
2023-04-04 - Version 1.0
34
3.3.2.
Report message payload data extraction example
Report payload:0x72087f5a00353e090019260c552a00007c77ffffffffffffffff
byte 0 1 2 3
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 - - - - - - - 26
72 08 7f 5a 00 35 3e
09
00
19
26 0c 55 2a 00 00
00
7c 77 ff ff ff ff ff ff ff ff
Byte
Definition
hex
dec
Value
Unit
Comments
0
Header
72
114
114
=ASCII “
r
”
=>Report frame
-
Report header
1
Anomaly level (in %)
08
8
8*100/127=6.3
%
Calculated over « machine on » time
2
Operating time
7f
127
127*180/127=180
min Report length=180 minutes
Operating rate in percentage:
[decimal Value]*100/127
3
[0%-10%] anomaly
level time
5a
90
90*180/127=128
min To get the value in percentage:
[value in min]/[Report period]*100
4
Alarm Number
00
0
0
-
No alarms during this report period
5
Temperature
35
53
53-30=23
°C
Hardware offset
6
Report period (R_V)
3e
62
62>59
=> Report period = (value
–
59) * 60=(62-
59)*60=3*60 =180
min If value < 59
→
= value
If value > 59
→
= (value
–
59) * 60
7
Report ID
09
9
9
-
9
th
report (next report ID will reset to 0)
8
Maximum vibration
amplitude (3 bytes)
Vibration level 1
(vl_1)
Vibration level 2
(vl_2)
Vibration level 3
(vl_3)
00
0
vl=(vl_1*128+vl_2+vl_3/100)/10/121.45
=> vl=(0*128+25+38/100)/10/121.45
vl=0.0209
g
vl=0.0209g
9
19
25
10
26
38
11
Peak frequency index
(frequency with the
highest vibration
level recorded)
0c
12
Freq_index=Value+1=13
Freq_value=(Value+1)*FREQ_SAMPLING
_ACC_LF/256=13*800/256=40,625
-
Hz
Freq_index=13
Freq_value=40,625Hz
(reminder: FREQ_SAMPLING_ACC_LF=800)
12
[10%-20%] anomaly
level time
55
85
(180
–
128)*85/127=35
min Raw data of time in anomaly in the payload are
given on the « bad vibration » period : operating
time
–
[0-10%] time
To have the value in percentage:
[value in minutes]/[Report period]*100
13
[20%-40%] anomaly
level time
2a
42
(180
–
128)*42/127=17
min Raw data of time in anomaly in the payload are
given on the « bad vibration » period : operating
time
–
[20-40%] time
To have the value in percentage:
[value in minutes]/[Report period]*100
14
[40%-60%] anomaly
level time
00
0
(180
–
128)*0/127=0
min Raw data of time in anomaly in the payload are
given on the « bad vibration » period : operating
time
–
[40-60%] time
To have the value in percentage:
[value in minutes]/[Report period]*100
15
[60%-80%] anomaly
level time
00
0
(180
–
128)*0/127=0
min Raw data of time in anomaly in the payload are
given on the « bad vibration » period : operating
time
–
[60-80%] time
To have the value in percentage:
[value in minutes]/[Report period]*100
16
[80%-100%] anomaly
level time
00
0
(180
–
128)*0/127=0
min Raw data of time in anomaly in the payload are
given on the « bad vibration » period : operating
time
–
[80-100%] time
To have the value in percentage:
[value in minutes]/[Report period]*100
17
Battery percentage
7c
124
124 x 100 / 127 = 97,6
%
Estimated, based on current consumption and
time spent in each mode (data acquisition, IA
processing, Lora transmission, sleep mode)
18-26 Anomaly forecasts
24h:20%-50%-80%
30d:20%-50%-80%
6m:20%-50%-80%
77 ff ff
ff ff ff
ff ff ff
119 255 255
255 255 255
255 255255
119/ / /
/ / /
/ / /
hours
days
months
Forecasts are calculated with a linear regression,
using data of the previous 24h, respectively 30
days, and 6 months.
If value = 255, it means infinite time, we suggest
not to display any value