FAN COIL RS485 Protocol

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

3.

Set the thermostat frame format


Thermostat Interface Protocol V1.0
Model: Byte Byte Byte Byte Byte Byte Byte Byte
1 2 3 4 5 6 7 8
Thermosta 06 Set register Set Set Set CRC CRC
This protocol takes standard Modbus as a reference, mainly for use for t start register register register high low
communication between thermostat and computer (PC). This protocol doesn’t address address start Value Value
describe Modbus. For information about Modbus, please refer to the relevant (default high address high low
standard documents. is 0X01) byte low byte address address

Settings Command Byte Description Register address


High 00 40001
1. Basic description Byte
Low Byte Setting Power On/off: 0–means closed,
No Parameter Protocol provision 1–means open
1 Operating mode RS-485,master-slave;thermostat is the slave High 00 40002
machine 06 Byte
2 Physical interface A(+),B(-) two-wire system Low Byte Setting Fan Speed:
0-Auto speed ;1 - High speed; 2- Mid speed; 3-
3 Baud rate 9600 bps Low speed
4 Byte format 9 format (8 data bits +1 stop bit) High 00 40003
5 Modbus RTU Byte
6 Transmission mode RTU format (Please refer to standard Modbus) Low Byte Setting Mode: 0 – Cooling; 1 – Heating; 2 -
7 Thermostat address 1-255;(0 is broadcast address) Ventilation
High 00 40004
8 Command code 03,06 (03—read thermostat, 06—set Byte
thermostat) Low Byte Setting Temperature: Data is Temperature*10
9 CRC check code CRC-16 (Please refer to standard Modbus) High 00 40005
10 CRC verification CRC-16 (Please refer to standard Modbus) Byte
mode Low Byte Setting Lock: 0 – Unlock; 1 – Lock
High 00
Byte 40006
2. Read the thermostat frame format Low Byte Minute (value 0-59)
High 00
Byte Byte Byte Byte Byte Byte Byte Byte Byte 40007
1 2 3 4 5 6 7 8 Low Byte Hour (value 0-23)
Thermostat 03 Set Set Set Set CRC CRC High 00
address register register register register high low Byte
(default start start Value Value Low Byte Week (value 1-7), 1-Monday, 2-Tuesday, 3- 40008
is 0X01) address address high low Wednesday, 4- Thursday, 5- Friday, 6- Saturday,
7- Sunday
high low address address
byte byte

Command Byte Description Register address


High 00 40001 Remark
Byte
Low Byte Setting Power On/off: 0–means closed, 1. Format
1–means open When the thermostat sends collected temperature data to the PC
High 00 40002
03 Byte computer, the value of collected temperature should be
Low Byte Setting Fan Speed: 0 - Auto speed; multiplied by 2 and sent completely in HEX format because the
0-Auto speed ;1 - High speed; 2- Mid speed; 3-
Low speed
accuracy is 0.5°C.
High 00 40003
Byte For example: When the collected temperature is 25.5°C, the
Low Byte Setting Mode: 0 – Cooling; 1 – Heating; 2 - value sent from the thermostat to the PC computer will be 255
Ventilation
High 00 40004
Byte Similarly, when the PC computer sends set temperature data to
Low Byte Setting Temperature: Data is Temperature*10 the thermostat, the value of the set temperature should be
High 00 40005
Byte multiplied by 2 and sent completely in HEX format because the
Low Byte Setting Lock: 0 – Unlock; 1 – Lock accuracy is 0.5°C.
High 00
Byte 40006
Low Byte Minute (value 0-59)
For example: When the set temperature is 25.5°C, the value sent
High 00 from the PC computer to the thermostat should be 255
Byte 40007
Low Byte Hour (value 0-23) Example: Read Temperature = 25.5°C
High 00
Byte The send (or receive) value is 25.5*10=255
Low Byte Week (value 1-7), 1-Monday, 2-Tuesday, 3- 40008
Wednesday, 4- Thursday, 5- Friday, 6- Saturday, 2. How to change the thermostat’s IP address?
7- Sunday
High 00 During power off, press M for 5 seconds to access system
Byte
40009 functions.
Low Byte Reading Room Temperature: Data is
Temperature*10 Press M till you reach item D.
High 00 Then press and to change the relative value. The default
Byte 40010
Low Byte Valve 0n =1 Valve off =0
is 0x01.
High 00
Byte Turn on your thermostat to save the IP setting.
40011
Low Byte 1 - High speed; 2- Mid speed; 3- Low speed 4-
OFF 3. Any data in the address from 40001 to 40005 could be read
and written at one time. After 40006, it could be just read or
written one by one .

You might also like