
MASSA PRODUCTS CORPORATION June 11, 2013
Product Manual 27 M3 Wireless Ultrasonic Level Sensor
14.0 Sensor Installation Example
An application requires the liquid level measurement of a tank recorded once an hour but will only require the data to be retrieved
from the sensor every 8 hours. The sensor is to send the data automatically when it wakes up from its Deep-Sleep cycle. Here are
the settings to the sensor’s configuration registers:
1) Program Data Collection Interval for 3600 seconds or 1 hour (registers 1-3 = 3600 (1 sec units))
2) Program Deep-Sleep Timer for 28800 seconds or 8 hours (registers 4-5 = 14063 (2.048 sec units))
3) Program Awake Timer to 30 seconds (registers 6-7 = 15 (2.048 sec units))
4) Set the Outgoing Message Mode to 2 so that 1 RF packet of the last 8 Events will be sent followed by a duplicate
message sent in 15 seconds (1/2 of the Awake timer register value). If gateway disassociates sensor, then first message
will be lost but the 2
nd
message will get through.
The sensor will wake up once every hour and will record the range, temperature, status indication, battery voltage, radio signal
strength, and event number. Customized python code will be required to accept the incoming messages every 8 hours and sent
possibly out through a cell network.
If your data collection rate is more than 8 Events in this example, then you will need to send the “Read History Buffer” message
to retrieve the past events after the 8
th
one. This message is to be sent after the automatic message is sent by the sensor and before
the sensor goes back to sleep.
IMPORTANT NOTE: For the gateway to retain the sensor on its device list, you will have to program the poll time to a value
greater than the sensor’s sleep time.
15.0 Miscellaneous Information
15.1 Threshold Settings in Massa’s M3 Software
Here are the settings for both the M3/150 and M3/95 used by the M3 Software. Register 82-86 can be defined as distance with
this approximate distance formula:
distance = x mS / 0.147 mS/in
Model M3/150 (Reg 78-81 Index voltage, see section 9.2.8. Reg 82-87 defined as 0.5 uS units, see section 9.2.9)
Threshold Name Reg 78 Reg 79 Reg 80 Reg 81 Reg 82-83 [time(mS)] Reg 84-85 [time(mS)] Reg 86-87 [time(mS)]
Very Hi 1 0 0 0 2400 [1.2] 3200 [1.6] 4000 [2]
Hi 4 3 2 1 2400 [1.2] 3200 [1.6] 4000 [2]
Normal 8 6 4 2 2400 [1.2] 3200 [1.6] 4000 [2]
Low 14 8 6 3 2400 [1.2] 3200 [1.6] 4000 [2]
Very Low 18 12 8 4 3200 [1.6] 4000 [2] 4800 [2]
Model M3/95 (Reg 78-81 Index voltage, see section 9.2.8. Reg 82-87 defined as 0.5 uS units, see section 9.2.9)
Threshold Name Reg 78 Reg 79 Reg 80 Reg 81 Reg 82-83 [time(mS)] Reg 84-85 [time(mS)] Reg 86-87 [time(mS)]
Very Hi 1 0 0 0 8000 [4] 12000 [6] 16000 [8]
Hi 4 3 2 1 8000 [4] 12000 [6] 16000 [8]
Normal 8 5 2 1 8000 [4] 12000 [6] 16000 [8]
Low 14 6 4 2 8000 [4] 12000 [6] 16000 [8]
Very Low 18 12 7 3 8000 [4] 12000 [6] 16000 [8]
Model M3/50 (Reg 78-81 Index voltage, see section 9.2.8. Reg 82-87 defined as 2 uS units, see section 9.2.9)
Threshold Name Reg 78 Reg 79 Reg 80 Reg 81 Reg 82-83 [time(mS)] Reg 84-85 [time(mS)] Reg 86-87 [time(mS)]
Very Hi 10 7 4 1 8000 [16] 12000 [24] 16000 [32]
Hi 12 8 6 2 10000 [20] 14000 [28] 18000 [36]
Normal 14 9 6 2 12000 [24] 16000 [32] 20000 [40]
Low 19 13 7 3 12000 [24] 16000 [32] 20000 [40]
Very Low 22 17 11 6 16000 [32] 20000 [40] 24000 [48]
Komentarze do niniejszej Instrukcji