Digital Level Sensor User Manual
I. Overview
The digital level sensor is a liquid level digital sensor that uses an RS485
communication interface and the standard Modbus protocol. It features a
corrosion-resistant housing with an IP68 protection rating, making it suitable for
various harsh working environments. The RS485 communication interface and the
standard Modbus RTU protocol facilitate easy integration.
II. Performance Parameters
Operating Principle: Pressure transmitter
Measurement Range: Depth: 0~100m
Resolution: Depth: 0.01m
Measurement Accuracy: < 1%
Response Time: < 15s
Communication Interface: RS485, Standard Modbus Protocol
Dimensions: Diameter 28mm, Length 132mm, Cable 3 meters (customizable)
Operating Environment: 0~50℃ (non-freezing), 0~2 bar
Operating Voltage: 12V~24V DC
III. Dimensions and Wiring
The sensor has four external connections:
Red: Connect to 12V~24V DC
Black: Connect to GND
Yellow: Connect to 485A
White: Connect to 485B
The default communication parameters are 9600, 8, 1, N.
IV. Communication Protocol
In this protocol, data storage and transmission are both based on "registers," with
each register being a 2-byte data unit, where the high byte precedes the low byte. In
the communication frame, except for the CRC check (where the low byte precedes
the high byte), all other double-byte data have the high byte first. The supported
MODBUS function codes are 03 (Read Registers) and 06 (Write Single Register).
0x03 Read Registers
Register Address Number of Data Data Range Data Meaning
0x0000 1 1-255 Read slave address
0-1200;1-2400;2-4800;3-96004-192 Baud rate reading, 0-7 represents the
0x0001 1 00 currently set
5-38400 ;6-57600 ;7-115200
0x0003 1 0-0:1-0.0;2-0.00;3-0.[Link].0000 Baud rate number
Decimal point represents 0-4 decimal
0x0004 1 -32768-32767
points
Temperature is fixed to 1, i.e. 1 decimal
0x0005 1 -32768-32767
point
Level measurement value/temperature
0x0006 1 -32768-32767
measurement value
0x000c 1 -32768-32767 Transmitter range zero point/
0x06 Read Registers
Register Address Number of Data Data Range Data Meaning
0x0000 2 1-255 Write slave address
0-1200;1-2400;2-4800;3-96004-1920 Modify baud rate
0x0001 2
05-38400 ;6-57600 ;7-115200
Zero offset value: output value =
0x000c 2 -32768-32767 calibration measurement value + zero
offset value
0-Save to user area (save after user
0x000F 2 0-1 modifies data) 1-Save to factory area
(not recommended for users)
0x0010 2 1 1-Return to factory parameters
Notes:
When modifying the baud rate, the transmitter will reply with the baud rate sent by
the host. After replying, the transmitter's baud rate will change to the target value.
When modifying the address, the transmitter will reply with the address before
modification. After replying, the address will be automatically updated.
The save and restore factory commands will return the original value, indicating that
the transmitter has accepted the host's command.
When restoring factory data, note that the factory-saved parameters may not match
the user-saved parameters. Therefore, the address, baud rate, and calibration data
may not be consistent. After restoring factory parameters, it is necessary to re-search
for the transmitter.
Important Notes:
Users are allowed to modify only three parameters: address, baud rate, and zero
offset value. After modification, send the "Save to User Area" command; otherwise,
the modified values will not be saved after power loss!
Generally, users are not permitted to modify the transmitter's calibration data.
Sending a calibration data modification command by the user may cause the
transmitter to output an abnormal code.