Data Sheet
Copyright © Terabee 2017
- New line character: \n (10 decimal / 0x0A hex)
*if a sensor is not connected or the interface board is unable
to obtain a distance measurement from the sensor, the
associated distance value is replaced by -1
4.3 ConfiguringTeraRangerMultiflexSensors
All commands are a series of bytes. They respect the following format:
Byte n°
0
1
2
3
Element
Header
Command
Mask
CRC - 8
The header is one byte: (0 decimal / 0x00 hex)
The command field is a byte that indicates which action you want to perform (example
modify the running mode)
The mask field depends on the command. The Data Field contains the data corresponding
to the Command to be executed.The data field cannot be empty.
The error checking field contains an 8 bit value which is the result of a Cyclical
Redundancy Check (CRC) calculation performed on the message contents
4.4 InstructionsonSensorConfiguration
The TeraRanger Multiflex can be used with less than 8 sensors. This allows the sensors to
work at higher update frequencies. To enable this, the user needs to inform the terminal
emulation software about the sensor units to be used by inputting the correct command
line. This section shows an example of how to configure 5 sensors (Figure 22).
Header
Command name /
byte
Sensor Mask /
byte
CRC - 8
Full Command
Example
0x00
Configure the
number of sensors to
be used / 0x52 0x03
This byte
depends on how
many sensors
you are using
Depends
on the
sensors
mask byte
00 52 03 xx xx
Terabee Website:
90RueHenriFabre Technicalsupport:
01630Saint-Genis-Pouilly Commercial:
www.teraranger.com
support@teraranger.com
teraranger@terabee.com
20