Professional Documents
Culture Documents
F518 HOLYKELL RS485 Modbus Protocol V1.3 EN
F518 HOLYKELL RS485 Modbus Protocol V1.3 EN
F518 HOLYKELL RS485 Modbus Protocol V1.3 EN
Hardware Interface
RS485 serial interface
Serial port parameters: default address 01, default baud rate 9600. ---1200, 2400, 4800, 9600,19200bps option
Data bit: 8 bits
Stop bit: 1bit
Check bit: default none check, odd check, even check option
Register Name Data Type Qty of Register Register Function Codes Instruction
Register addres(Dec) addres
(Hex)
Read Write
第 1 页,共 5 页
Register Name Data Type Qty of Register Register Function Codes Instruction
Register addres(Dec) addres
(Hex)
Dec Hex
0-Pa 0-Pa
Display pressure unit (only Unsigned 0x03, 0x06,
1 6 0x06 1-KPa 1-KPa
for pressure sensors) integer 0x04 0x10
2-MPa 2-MPa
3-bar 3-bar
4-psi 4-psi
5-atm 5-atm
6-mH2O 6-mH2O
7-cmH2O 7-cmH2O
Display Levvel unit Unsigned 0x03, 0x06, 8-mmH2O 8-mmH2O
1 7 0x07
(only for level sensors) integer 0x04 0x10 9-inH2O 9-inH2O
10-ftH2O A-ftH2O
11-kg/cm2 B-kg/cm2
12-mbar C-mbar
13-mmHg D-mmHg
14-inHg E-inHg
15-Torr F-Torr
Display temperature unit 16-m 10-m
Unsigned 0x03, 0x06,
(only for customized temp 1 8 0x08 17-cm 11-cm
integer 0x04 0x10
output function sensors) 18-mm 12-mm
19-℃ 13-℃
20-℉ 14-℉
第 2 页,共 5 页
Register Name Data Type Qty of Register Register Function Codes Instruction
Register addres(Dec) addres
(Hex)
Temperature Value
0x03, 0x06,
(only for customized temp Signed integer 2 22 0x16 Min/Max display value: -2147483648~2147483647
0x04 0x10
output function sensor)
第 3 页,共 5 页
Register Name Data Type Qty of Register Register Function Codes Instruction
Register addres(Dec) addres
(Hex)
Restore slave address, baud rate, check bit, user secondary calibration,
secondary calibration date, customer custom serial number, unit, pressure
Unsigned 0x06,
Restore factory Settings 1 53 0x35 filtering time, pressure offset, automatic reporting interval, blind area, density
integer 0x10
parameters to the factory configuration parameters. The sensor will restart
after recovery.
After the interval of automatic reporting of each variable is set, the sensor
reports the results of each measurement independently without the upper
computer sending a reading or activation command. Time range :10-65535
Set the interval for Unsigned 0x03, 0x06,
1 54 0x36 Unit: second S 0: the scheduled data
automatic reporting integer 0x04 0x10
reporting function is disabled. To report floating point data in modbus-RTU
format: pressure, level, temperature, reserved 1, reserved 2. Writing any
value will restart.
based on the display Units
Set the pressure offset IEEE754 floating 0x03, 0x06,
2 55 0x37 Liquid level =(measured pressure value - pressure offset value)/(density *
value point type 0x04 0x10
gravity acceleration)+ blind area customers and factories can be modified!
Units: mm
Sensor blind area/zone IEEE754 floating 0x03, 0x06,
2 57 0x39 Liquid level =(measured pressure value - pressure offset value)/(density *
compensation point type 0x04 0x10
gravity acceleration)+ blind area customers and factories can be modified!
0x03, 0x06, one decimal point, for example: 15 means 1.5, unit is degree C.
Temperature Offset Signed integer 1 59 0x3b
0x04 0x10 Temperature reading value=sensor collected temp data + temp offset value.
Floating point Read the pressure data/value with floating point type
pressure value IEEE754 floating 0x03,
2 60 0x3c *Display pressure = secondary calibrated pressure measurement value -
(only for pressure point type 0x04
pressure offset value
sensors)
Floating point level value IEEE755 floating 0x03,
2 62 0x3e Read the level data/value with floating point type
(only for level sensors) point type 0x04
第 4 页,共 5 页
Register Name Data Type Qty of Register Register Function Codes Instruction
Register addres(Dec) addres
(Hex)
Format of the communication command
1. format of Sending inquiry command: address+function code of read+register address+number of register+CRC, Response from sensor: address+function code of
read+length of data+datas+CRC.
Integer data for example: using 03 function code to read level data
a. sending 0x01 0x03 0x00 0x13 0x00 0x02 0x35 0xce,
b. sensor feedback/response 0x01 0x03 0x04 0x00 0x00 0x01 0xe1 0x3b 0xeb
from above response data to analysis, the level data is 0x00 0x00 0x01 0xe1, transfer to Dec data is 481, the default unit is meter and default decimal place is three,
then the feedback result is 0.481m level.
Float data for example: using 03 function code to read level data
a. sending 0x01 0x03 0x00 0x3e 0x00 0x02 0xa5 0xc7
b. sensor feedback/response 0x01 0x03 0x04 0x3e 0xf6 0x4e 0xab 0x63 0xf6
from above response data to analysis, the level data is 0x3e 0xf6 0x4e 0xab, IEEE754 floating point numbers converted from hexadecimal to decimal data is 0.481m
level.
第 5 页,共 5 页