
Modbus Frame format:
Master send format:

The responseformat of slave:

MODBUSCOMMAND
Master read temperature command frame(0x04):

The response data from slave:

Temperature value=0x131,converted to a decimal 305,the actual temperature value = 305 / 10 = 30.5°
Note: the temperature is signed hexadecimal number, temperature value = 0xFF33, converted to a decimal - 205, the actual temperature = -20.5 °;
Master read humidity command frame(0x04)

The response data from slave:

Humidity value = 0x222, converted to a decimal 546, actual humidity value = 546/10 = 54.6 %;
Continuous read temperature and humidity command frame(0x04):

The response data from slave:
Read keep register(0x03):
Readdevice address from the slave:

The response data from slave:
Modify the contents of the registers(0x06):
Modify the slave address register:

Modify the slave address:0x08 = 8
The response data from slave(And send the same):

Continuously change keep registers(0x10):
Slave address :0x20 = 32
Baud rate :0x2580 = 9600
The response data from slave: