MODBUS TRF-B2 2valve

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

This protocol takes standard MODBUS as a reference, mainly use for communication between

thermostat and upper computer. This protocol doesn’t describe the MODBUS. As to standard
MODBUS, please refer to the relevant standard documents.

Basic description

N
Parameter Protocol provision
o
1 Operating mode RS-485,master-slave;thermostat is the slave machine
2 Physical interface A(+),B(-) two-wire system
3 Baud rate 9600 bps for standard
4 Byte format 9 format (8 data bits +1 stop bit)
5 Modbus RTU
6 Transmission mode RTU format (Please refer to standard MODBUS)
7 Thermostat address 1-255;(0 is broadcast address)
8 Command code 03,06(03—read thermostat, 06—set thermostat)
9 CRC check code CRC-16 (Please refer to standard MODBUS)
10 CRC verification mode CRC-16 (Please refer to standard MODBUS)
Thermostat frame format

Byte 1 Byte 2 Byte 3 & Byte 4 Byte 5 & Byte 6 Byte 7 & Byte 8
Slave address Function code Register address Register value CRC
01 06 00 00 00 01 48 0A
0x01 0x06 0x0001 0x0001 0x480A
*In this example we set up that the slave unit 1 is powered on

Function code
Register address Object R=03 Register value
W=06
0 on
0 power r/w
1 off
0 auto
1 high
1 fan speed r/w
2 medium
3 low
0 cool
2 operating mode r/w 1 heating
2 ventilation
3 set temp. r/w value multiplied by 10
0 open
4 lock r/w
1 lock
5 minutes r/w as is
6 hours r/w as is
7 day r/w as is
8 room temp. r value divided by 10
0 open
9 valve status r
1 closed
1 high
10 fan status r 2 medium
3 low

Read and set temperature


When thermostat sends collected temperature to upper device, the value of collected
temperature should be divided by 10.
Example: When the collected temperature is 24,5C, the value sent by thermostat is 245.

When upper computer sends set temperature to thermostat the set temperature value is need
to be multiplied by 10.
Example: when the set temperature is 22C, the value sent to thermostat is 220.

Time & day of the week


Time is set by sending value in 24h mode. Day of the week is set it like 1 for Monday, 2 for
Tuesday and etc.
Below there is some screens from MODBUS poll.

You might also like