Temperature
Command
sTemp
Effect
Sets the temperature value used to calibrate the
speed-of-sound measurement.
Parameter
5-digit signed integer representing temperature value
as a two-digit number with one decimal place.
Applicable Values
Default = value from internal temperature sensor, to
use internal value send command: CsTemp-1000\r, for
external values: min. = -40
°
, max. = 85
°
C.
Example
CsTemp00220\r
for temperature of 22
°
C
Acknowledgement Messages
Acknowledgment messages are sent once the associated command has
been processed. Structure for each acknowledgment message:
S <command number> C <repetition of command value> E
Length of string: S00000*C*****E = 14 characters.
Echo Rejection Threshold Acknowledgement
Message
S000001C*****E
Associated Command
sReje
Example
Message
S000001C00001E
acknowledges that
echo rejection threshold parameter has been set
to 1 by command CsReje00001\r
Noise Indicator Threshold Acknowledgement
Message
S000002C*****E
Associated Command
sNois
Example
Message
S000002C05000E
acknowledges that
noise indicator threshold parameter has been set
to 0.5by command CsNois05000\r
Number of Pulses Acknowledgement
Message
S000003C*****E
Associated Command
sPuls
Example
Message
S000003C00010E
acknowledges that
number of pulses parameter has been set to 10 by
command CsPuls00010\r
Peak Detection Window Acknowledgement
Message
S000004C*****E
Associated Command
sPeak
Example
Message
S000004C00003E
acknowledges that
peak detection window parameter has been set to
3 by command CsPeak00003\r
Temperature Acknowledgement
Message
S000005C*****E
Associated Command
sTemp
Example
Message
S000005C00220E
acknowledges that
temperature parameter has been set to 22.0
°
C by
commandCsTemp00220\r
Special Case: Mode Command
This "set"-command allows to put the sensor into a specific scan mode.
There are two currently available:
•
Mode 0: continuous scanning, the sensor scans its environment and
returns scan messages continuously. (No Ack)
•
Mode 1: single scan, the command triggers the sensor to scan only
once and return the corresponding scan message. (No Ack)
Scan Mode
Command
sMode
Effect
Puts the sensor into a specific scan mode.
Parameter
5-digit unsigned integer representing the mode.
Applicable Values
Default = 00000, optional = 00001.
Continuous scan mode is default.
Example
CsMode00001\r
for 'single
scan’
(=polling) mode.
Available "get"-Commands
Structure for each command: C <command> \r
Length of string: C*****\r = 8 characters
Firmware Version
Command
gVers
Effect
Returns the firmware version uploaded on the TS3
Parameter
String containing 5-digit value for Version.
Answer
CgVers\r returns for example
Version:00008
Parameter Configuration
Command
gConf
Effect
Returns the current parameter configuration set in the
sensors firmware.
Parameter
String containing 5-character values for Reje, Nois, Puls,
Peak, Temp.
Answer
CgConf\r returns for example:
Reje:00001;Nois:05000;Puls:00010;Peak:00003;Temp:00220
4
Preliminary Prototype | All right reserved | All Information without warranty