Data Sheet

Copyright © Terabee 2017
4.2 PrintoutModes
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
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.
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)
Terabee Website:
90RueHenriFabre Technicalsupport:
01630Saint-Genis-Pouilly Commercial:
www.teraranger.com
support@teraranger.com
teraranger@terabee.com
19