Data Sheet
Copyright © Terabee 2017
4.2 PrintoutModes
TeraRanger Multiflex firmware supports two printout modes which can be selected by
sending the corresponding hexadecimal command to the Multiflex using the serial terminal
application (See Section 3 for detailed instructions). Please note that the default mode is
binary.
Mode
Description
Command
Binary
mode
Data output (20 bytes message):
MFXXXXXXXXXXXXXXXXYCRC8
- Header (two characters): M (77 decimal / 0x4D hex)
and F (70 decimal / 0x46 hex)
- Distance reading in millimeters** (2 bytes per
sensor): XX
- 8-bit-mask indicating if sensor is connected (1) or not
(0):Y
- Checksum (1 byte) of previous 19 bytes: CRC8
**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 the
hexadecimal value 0xFFFF. You can figure out if a sensor is
connected or not reading by evaluating the 8-bit-mask Y.
00 11 02 4C
Text
Mode
Data output (28 - 52 bytes message):
In HTerm:
MF\txxxx\txxxx\txxxx\txxxx\txxxx\txxxx\txxxx\txxxx\r\n
- Header (two characters): M (77 decimal / 0x4D hex)
and F (70 decimal / 0x46 hex)
- Tabulation between each measurments: \t (9 decimal
/ 0x09 hex)
- Distance reading in millimeters* (maximum 5 bytes
per sensor): xxxx
- Carriage return character: \r (13 decimal / 0x0D hex)
00 11 01 45
Terabee Website:
90RueHenriFabre Technicalsupport:
01630Saint-Genis-Pouilly Commercial:
www.teraranger.com
support@teraranger.com
teraranger@terabee.com
19