
MASSA PRODUCTS CORPORATION June 11, 2013
Product Manual 6 M3 Wireless Ultrasonic Level Sensor
8.0 Sensor Commands
8.1 Sensor Command Codes
The table below contains command codes for accessing sensor information and configuring various sensor settings. This includes
reading the sensor event data (or past historical data), acquiring the ultrasonic waveform, reading or writing the configuration data,
and other commands. For the response and examples of the communications between a host device and sensor, see section 8.2.
The sensor can be tailored to operate in various applications by adjusting these settings. See section 9 for parameters that affect
operation such as ultrasonic acquisition interval or adjusting sensor thresholds.
Summary
Command # Command Title Description
1 Read Event Data from the History Buffer Reads saved data in sensor
2 Acquire New Event Data w/out recording Request to acquire new data
to the Data History Buffer
3 Acquire New Event Data and record to the Request to acquire new data
Data History Buffer
10 Acquire Ultrasonic Waveform Record ultrasonic waveform in memory
25 Write to Configuration Registers Save configuration values in sensor memory
35 Read Configuration Registers Read configuration values in sensor memory
100 Request for Misc. Sensor Information Recall model number, firmware versions, s/n
101 Clear Data History Buffer Includes resetting the history data pointer and loading all 111
most significant range bytes with 255.
102 Reset Event Counter Resets the Event Counter to zero
103 Reset Deep-Sleep Timer Resets the Deep-Sleep Timer
104 Keep XBee Awake Keep XBee Awake for OTA programming or other operations
199 Reboot (restart) Sensor Usually after Write requests
200 Acknowledge Required for several responses
201 Re-send Used if specific data blocks are not received
202 Checksum Error Response if data corrupt
247/248/249 Application firmware missing Response to any command other than reprogramming
commands.
8.2 Sensor Host Commands and Responses from M3
The following section will describe the format of commands going to and from the sensor.
Commenti su questo manuale