Benewake TF02-i Скачать руководство пользователя страница 12

COMMUNICATION PROTOCOL 

REV: 13/05/2022 

·

 

©2022 Benewake

 (Beijing) Co., Ltd. | 

en.benewake.com

 | All rights reserved 

BP-UM-22 A03 

 

Set baud rate 

01  06  00  83 

BH1 BH2 CL CH 
01  06  00  84 
BL1 BL2 CL CH 

01  06  00  83 

BH1 BH2 CL CH 
01 06 00 84 BL1 
BL2 CL CH 

BH1: High 8 bits of baud rate 

BH2: Secondary high 8 bits of baud 

rate 

BL1:  Secondary  low  8  bits  of  baud 

rate 

BL2: Low 8 bits of baud rate 

For example: 

Set baud rate to 9600 (0x00002580): 

BH1=00 BH2=00 CL=78 CH=22, 

BL1=25 BL2=80 CL=D2 CH=D3 

Modify  slave 
ID 

01 06 00 85 IH 
IL CL CH 

01 06 00 85 IH 
IL CL CH 

IH: High 8 bits of slave ID 

IL: Low 8 bits of slave ID 

For example: 

Modify slave ID to 0x0002: 

IH=00 IL=02 CL=19 CH=E2 

Modify  frame 
rate

 

01 06 00 86 FH 
FL CL CH 

01 06 00 86 FH 
FL CL CH 

FH: High 8 bits of frame rate 

FL: Low 8 bits of frame rate 

For example: 

Modify frame rate to 100 (0x0064): 

FH=00 FL=64 CL=69 CH=C8 

Low 

power 

consumption 
mode 

01 06 00 88 LH 
LL CL CH 

01 06 00 88 LH 
LL CL CH 

LH: High 8 bits of sampling frequent 

in low power consumption mode 

LL: Low 8 bits of sampling frequent 

in low power consumption mode 

For example: 

Set  it  to  5Hz  low  power 

consumption mode, 
LH=00 LL=05 CL=C9 CH=E3 

Save setting 

01 06 00 80 00 
00 88 22 

01 06 00 80 00 
00 88 22 

Save and reboot to take effect 

Disable 
Modbus 

01 06 00 82 00 
01 E8 22 

01 06 00 82 00 
01 E8 22 

Save and reboot to take effect 

Restore 
default 

01 06 00 89 00 
00 58 20 

01 06 00 89 00 
00 58 20 

 

 

 

Warning 

 

RTU  mode  is  only  supported  for  communication  in  serial 
communication. 

 

It is sampling frequent of TF02-i. In Modbus protocol, the trigger frame 
rate of master host is recommended to be 40% of the frame rate with 
TF02-i.   

 
For example: 
1)

 

Enable Modbus protocol in RS-485 serial communication mode: 

5A 05 15 01 75  //Enable Modbus protocol 
5A 04 11 6F  //Save settings 
Enter Modbus protocol mode after rebooting. 
2)

 

Disable Modbus protocol: 

Содержание TF02-i

Страница 1: ...TF02 i User Manual...

Страница 2: ...ave any problems in the process of usage you are welcome to contact Benewake at any time for help Contact details Official website en benewake com TEL 86 10 57456983 Technical questions please contact...

Страница 3: ...eristics 5 3 COMMUNICATION PROTOCOL 6 3 1 RS 485 Communication Protocol 6 3 1 1 Communication protocol 6 3 1 2 Parameter configuration description of Modbus protocol 6 3 1 3 Parameter configuration 8...

Страница 4: ...uct performance Operating range 90 reflectivity 0Klux 0 1m 40m 10 reflectivity 0Klux 0 1m 13 5m 90 reflectivity 100Klux 0 1m 40m 10 reflectivity 100Klux 0 1m 13 5m Accuracy 5cm 0 1m 5m 1 5m 40m Distan...

Страница 5: ...mptly if it is dirty After using the device check the optics If it is contaminated please clean it promptly The optics should be cleaned regularly if the device be operated in a severe environment for...

Страница 6: ...ot Size at Different Distances Distance m 1 2 3 5 7 10 20 30 40 Spot size cm 5 10 16 26 37 52 105 156 208 Note The side length of target object generally should be larger than size of the TF02 i light...

Страница 7: ...etail to ensure that the product is used within the rated specifications The product is designed for use in the following scenarios Robot Intelligent Transportation Intelligent Device UAV Other Indust...

Страница 8: ...Function Comment 1 Red VCC Power supply 2 White Yellow RS485 B CAN_L RS485 B CAN bus 3 Green RS485 A CAN_H RS485 A CAN bus 4 N A N A N A 5 Blue Orange UART_RXD UART receive Debug 6 Brown UART_TXD UART...

Страница 9: ...rate 115200 Data bit 8 Stop bit 1 Parity None Note The following baud rates are supported 9600 14400 19200 38400 43000 57600 768000 115200 default 128000 230400 256000 It is not recommended to use a b...

Страница 10: ...tamp High 2 bytes of time stamp unit ms 00 04 Low 16 bits of timestamp Low 2 bytes of time stamp unit ms 00 06 High 16 bits of firmware version 0x00 and main version number 00 07 Low 16 bits of firmwa...

Страница 11: ...pnse Description Enable Modbus 5A 05 15 01 75 5A 05 15 01 75 Save and reboot to take effect Strength threshold and distance under threshold 5A 07 22 XX LL HH SU 5A 07 22 XX LL HH SU For example When s...

Страница 12: ...to 100 0x0064 FH 00 FL 64 CL 69 CH C8 Low power consumption mode 01 06 00 88 LH LL CL CH 01 06 00 88 LH LL CL CH LH High 8 bits of sampling frequent in low power consumption mode LL Low 8 bits of samp...

Страница 13: ...eiving ID 0x00000003 Frame format Standard frame Warning 0 is the broadcast ID the transmitting and receiving ID cannot be set to 0 The following baud rates are supported 1000kbps 900 kbps 800 kbps 66...

Страница 14: ...rmat of CAN communication is shown as below Table 3 11 The configuration command format Byte 0 1 2 3 4 5 8 9 12 13 Description Header Length ID Type Baudrate Recv_id Trans_id Check_sum Default 0x5A 0x...

Страница 15: ...sable Enable output 5A 05 07 00 66 5A 05 07 00 66 Disable data output 5A 05 07 01 67 5A 05 07 01 67 Enable data output Strength threshold and distance under threshold 5A 07 22 XX LL HH SU 5A 07 22 XX...

Страница 16: ...N PROTOCOL REV 13 05 2022 2022 Benewake Beijing Co Ltd en benewake com All rights reserved BP UM 22 A03 13 the configuration otherwise the settings will not take effect 120 terminal resistor is disabl...

Отзывы: