User`s guide

MASSA PRODUCTS CORPORATION
Product Manual- April 24, 2012 13 M3 Wireless Ultrasonic Level Sensor
3.0 Operating Modes for Gateway and Sensor
3.2.3 Diagnostic Mode, Obtain Waveforms
To obtain diagnostic data that includes ultrasonic waveforms, sensor
settings and history buffer up to the last 111 records, set up the command
line in the dia.yml as:
obtain_diagnostic_data: 'true'
This example has its own file named dia_diagnostics.yml and loaded into
the Python Files. Enable the Auto-start Settings as shown and boot the
gateway. When the sensor wakes up, it will be commanded to obtain
waveforms. All waveforms collected will be placed in the Python
Configuration - Python Files - Manage Files memory location. You may
enable multiple sensors to obtain waveforms in the dia.yml.
NOTE: If the sleep setting is not enabled, the gateway will restore the previously stored sleep setting after diagnostic data is
obtained. If a gateway power cycle were to occur while obtaining diagnostic data, the sleep setting will be set to zero. It is
recommended that if this 'obtain_diagnostic_data' setting is enabled, the 'sleep_interval_sec' also be enabled and value set to
your application so it is properly restored.
Shown here are 2 waveform files created from the M3/150
sensor (file extension ending in the .M3). As indicated in
Appendix A, the M3/150 will obtain 2 waveforms while the
M3/95 and M3/50 Sensors will obtain 4 waveforms.
Download these files to your PC by clicking on the
waveform file name which will open up a new window.
Then save the waveform by selecting ‘File’ ‘Save Page As’
function. You may use the M3 Software to review the
waveform (see Appendix F) by selecting ‘File’ ‘Recall
Sensor from File’ function. The file name created by this
diagnostic file contains the sensor’s MAC address followed
by the time stamp. Use this same name when saving the file.
After you have obtained the waveforms, you should disable obtain_diagnostic_data setting so subsequent gateway power
cycles does not continue to request waveforms (see section 3.2.1). Delete these waveforms from the gateway after you
have saved them due to gateway memory limitations.