User Manual

Table Of Contents
LeddarVu User Guide Page 68 of 129
Table 40: Answers serial port settings field
Offset
Length
Description
0
1
Logical serial port number
1
4
Baud rate, supported rates:
9,600
19,200
38,400
57,600
115,200
5
1
Date size: 8 = 8-bit size
6
1
Parity:
0 = None
1 = Odd
2 = Even
7
1
Stop bit:
1 = 1 stop bit
2 = 2 stop bits
8
1
Flow control: 0 = None
9
1
Modbus address: 1 through 247
10
1
Max. echoes per transactions. Used for the Get Detection command
(function code 0x41), max. of 40 echoes.
11
2
Distance resolution:
1 = m
10 = dm
100 = cm
1,000 = mm
NOTE: This answer table is repeated by the number of available serial port.
Set serial port settings (function code 0x45, 0x01)
Table 41, Table 42 and Table 43 present the requests and answers for the set serial port settings.
Table 41: Requests header field
Offset
Length
Description
0
1
Sub-function code: 0x01