Data response when reading or writing:
Byte offset
Data type
Description
0x00
i nt 16
Average distance [cm]
0x02
i nt 16
Closest distance [cm]
0x04
i nt 16
Furthest distance [cm]
0x06
i nt 16
Angle to closest distance [10ths of a
degree]
0x08
ui nt 32
Calculation time [us]
Data for request when writing:
Byte offset
Data type
Description
0x00
i nt 16
Direction [degrees]
0x02
i nt 16
Angular width
[degrees]
0x04
i nt 16
Minimum distance [cm]
Read
Write
Persists
12 byt es
6 byt es
N
9.19. Motor state [106]
Reading this command will return the current state of the motor. This can be useful to debug or check start-up
conditions.
Value
Description
1
Motor is preparing for start-up.
2
Motor is waiting for first 5 revolutions to
occur.
3
Motor is running normally.
4
Motor has failed to communicate.
Read
Write
Persists
ui nt 8
-
-
SF40/C
Product manual
SF40/C -Product manual
|
25 of 30 |
© LightWare Optoelectronics (Pty) Ltd, 2019 |
www.lightware.co.za