
MASSA PRODUCTS CORPORATION June 11, 2013
Product Manual 10 M3 Wireless Ultrasonic Level Sensor
8.2.7.2 Response to “Misc Sensor Information” Command #100
In response to Command #100, the sensor returns the Sensor model code, Main firmware version, Ultrasonic firmware version,
followed by the serial number. Here is the format of this message.
<Destination ID> <Sender ID> <Message Length> <Command> <SensorModel> <LSB> <MSB> <LSB> <MSB> <LSB> · · · <MSB> <Checksum>
Host ID Sensor ID 14 100 model code Main FW Ultrasonic FW serial number checksum
default=251 default=1 (see below) version version 4 bytes
Model Codes: Model M-3/150 = 50, Model M-3/95 = 51, M3/150is = 52, M3/95is = 53, M3/50 = 54
8.2.8.1 Host Command to M3 and Response: Clear Data History Buffer, Command #101
This command clears the Data History Buffer by loading 255 in all 111 RangeMSB locations (see section 6). A ‘255’ is an
indicator that the data record has been cleared or not acquired. As a safety measure, a second ‘Are You Sure’ command from the
host will be required to actually perform the clearing operation. See the sequence below to perform this clear operation.
Host requests to clear the Data History Buffer
<Destination ID> <Sender ID> <Message Length> <Command> <Checksum>
Sensor ID Host ID 5 101 checksum
default=1 default=251
‘Are You Sure’ Response from Sensor
Sensor responds with the ‘Acknowledge’ command including the requesting command number
<Destination ID> <Sender ID> <Message Length> <Command> <AcknowledgeToCommand> <Checksum>
Host ID Sensor ID 6 200 101 checksum
default=251 default=1 Acknowledge
The host then replies back to the Sensor with an ‘Acknowledge’ or ‘Cancel’ command shown below
Acknowledge command
<Destination ID> <Sender ID> <Message Length> <Command> <ASCII ’G’> <Checksum>
Sensor ID Host ID 6 101 71 checksum
default=1 default=251 Acknowledge GO indicator
The command below can be used (or any other command) to quit the clearing function.
Cancel command
<Destination ID> <Sender ID> <Message Length> <Command> <ASCII ’Q’> <Checksum>
Sensor ID Host ID 6 101 81 checksum
default=1 default=251 Ack. To Quit indicator
Sensor responds with the ‘Acknowledge’ to the GO command after it cleared the history buffer
<Destination ID> <Sender ID> <Message Length> <Command> <AcknowledgeToCommand> <Checksum>
Host ID Sensor ID 6 200 101 checksum
default=251 default=1 Acknowledge
8.2.9.1 Host Command to M3: Reset Event Counter, Command #102
This command clears the Event Counter register. Here is the format for this message.
<Destination ID> <Sender ID> <Message Length> <Command> <Checksum>
Sensor ID Host ID 5 102 checksum
default=1 default=251
8.2.9.2 Response to “Reset Event Counter” Command #102
In response to Command #102, the sensor returns the Acknowledge command after resetting the Event Counter. Here is the
format of this message.
<Destination ID> <Sender ID> <Message Length> <Command> <AcknowledgeToCommand> <Checksum>
Host ID Sensor ID 6 200 102 checksum
default=251 default=1 Acknowledge
Commenti su questo manuale