User Manual

SJ-PM-TFmini-T-01 A03
Benewake (Beijing) Co. Ltd.
Page15
7 Descriptions on User-defined Parameter Configuration
7.1 Function Overview
The function of user-defined configuration of product parameters is hereby enabled for more flexible
settlement of your problems by TFmini. User may modify original parameters by sending relevant
instructions, such as output data format and output cycle, etc. Upon successful configuration, the configured
parameters will be saved in Flash without the need of reconfiguration for reboot in the event of power
failure.
Please modify product configuration depending upon your actual demands. Do not frequently try irrelevant
instructions so as to prevent incorrect sending of instruction which many cause unnecessary loss. Please
make sure to make the configuration as per the instructions listed herein. Do not send unstated instruction.
7.2 Code Format of Configuration Instruction
Caution: All configuration instructions are sent as hexadecimal digits (HEX).
Table 7 Format and Details of Instruction Code
Byte0
Byte1
Byte2
Byte3
Byte4
Byte5
Byt6
Byte7
0x42
0x57
0x02
DD
EE
FF
GG
HH
Instruction code explanation
Byte0-1
0x42 0x57, frame header, same for each frame
Byte2
0x02 by default
Byte3
The instructions are 0x00 by default during sending
Upon the completion of sending instruction, there will be an echo, of which 0x01 represents
success; 0xff represents error instruction; 0x0f represents error input parameter
Byte4-5
EE FF double byte parameter, EE is low 8 bit; FF is high 8 bits
Byte6
GG single byte parameter
Byte7
HH instruction code
7.3 General Parameter Configuration and Description
Before setting the relevant parameters of TFmini, user needs to establish the connection between TFmini
and PC at first. About the connection details, refer to the test connection given in 6.2. User can send the
relevant configuration-related instructions to the product via TFmini PC software or other serial port
debugging software. The user may also send relevant instruction by himself via his upper computer.