User's Manual
LX-80 User Manual
Page 23 of 32
Table 6. Response example
Name
Content
Detail
Address
0X01
Slave address (Sensor id)
Function
0X03
Read slave info
Data length
0X02
Data length is 2 bytes
Data
0X00
Data high byte
0X01
Data low byte, means ID is 1
CRC16
0X79
CRC Low
0X84
CRC High
The table 7 defines the data returned by the unit when the master requests register read.
The table 8 defines how to write device configuration. Rows highlighted in blue denote
the important values measured by the sensor. Rows highlighted in green denote operating
parameters that could be changed in the field.
Table 7. Retrieving data from the sensor
Fun
Data Addr
Data Length
Data Range
Details
0X03
0x0001
2 bytes
0 – device range[mm]
Current level measurement
0x0002
2 bytes
0 – device range[mm]
Average level measurement
0x0003
2 bytes
0 → 9600
1 → 38400
2 → 57600
3 → 115200
4 → 1200
5 → 19200
0xFF → other/error
RS-232 baud rate
0x0004
2 bytes
1 - 255
Modbus ID
0x0005
2 bytes
0 → 9600
1 → 38400
2 → 57600
3 → 115200
4 → 1200
5 → 19200
0xFF → other/error
RS-485 baudrate (Modbus)