Fan coil unit controller

Price range: ¥121.00 to ¥131.00

Communication Protocol2.1 Physical InterfaceRS4852.2 Communication Protocol TypeModBus RTU2.3 Communication Parameters Baud Rate: 9600 Data Bit: 8 Stop Bit: 1 C

下单前需要咨询?
188-0105-4468
WeChat Customer Service二维码 扫码添加客服

描述

Communication Protocol

2.1 Physical Interface

RS485

2.2 Communication Protocol Type

ModBus RTU

2.3 Communication Parameters

  • Baud Rate: 9600
  • Data Bit: 8
  • Stop Bit: 1
  • Check Bit: None

2.4 Supported Function Codes

0x03, 0x06, and 0x10

2.5 Protocol update time

2021-06-18

2.6 Communication ground

  • Broadcast address is 0, only supports function codes 0x06 and 0x10
  • Temperature controller can set address to 1-247

III. Register mapping table

Serial number Register address Variable name Unit Default value Byte count Value range description Read and write allowed Is data saved in case of power failure
1 0x0000 Power on --- 0x0000 2 0x0001 power on, 0x0000 power off R/W Yes
2 0x0001 set temperature 0.1℃ 0x0104 2 0x0104 represents 26.0 degrees, set temperature range: 5.0-35.0 R/W Yes
3 0x0002 pattern --- 0x0000 2 0x0000 cooling, 0x0001 heating, 0x0002 ventilation R/W Yes
4 0x0003 wind speed --- 0x0000 2 Auto 0x0000, Low Speed 0x0001, Medium Speed 0x0002, High Speed 0x0003 R/W Yes
5 0x0004 Key Lock --- 0x0000 2 Do not lock 0x0000, lock 0x0001 R/W Yes
6 0x0005 Is the fan controlled --- 0x0001 2 Uncontrolled fan 0x0000, controlled fan 0x0001 R/W Yes
7 0x0006 indoor temperature 0.1℃ 0x0001 2 0x0104 represents 26.0 degrees R No
8 0x0007 Valve status --- 0x0001 2 Turn off 0x0000, turn on 0x0001 R No
9 0x0008 Debugging Status --- 0x0001 2 Debugging Status 0x0000, Normal Status 0x0001 R/W Yes
10 0x0009 Refrigeration Fan Running High Gear Hour --- 0x0001 2 Range 0~65535 R/W Yes
11 0x000A Refrigeration Fan Running High Gear Minute --- 0x0001 2 Range 0~59 R/W Yes
12 0x000B High gear seconds of refrigeration fan operation --- 0x0001 2 Range 0~59 R/W Yes
13 0x000C Medium gear hours of refrigeration fan operation --- 0x0001 2 Same as above R/W Yes
14 0x000D Medium gear minutes of refrigeration fan operation --- 0x0001 2 Ditto. R/W Yes
15 0x000E Refrigeration fan running in neutral gear seconds --- 0x0001 2 Same as above R/W Yes
16 0x000F Refrigeration fan running in low gear hours --- 0x0001 2 Same as above R/W Yes
17 0x0010 Refrigeration fan running in low gear minutes --- 0x0001 2 Same as above R/W Yes
18 0x0011 Refrigeration fan running low gear for seconds --- 0x0001 2 Same as above R/W Yes
19 0x0012 Heating air fan running high gear for hours --- 0x0001 2 Same as above R/W Yes
20 0x0013 Heating air fan running high gear for minutes --- 0x0001 2 Same as above R/W Yes
21 0x0014 High gear seconds during operation of the air conditioner --- 0x0001 2 Same as above R/W Yes
22 0x0015 Medium gear hours during operation of the air conditioner --- 0x0001 2 Same as above R/W Yes
23 0x0016 Medium gear minutes during operation of the air conditioner --- 0x0001 2 Same as above R/W Yes
24 0x0017 Medium gear seconds during operation of air conditioning fan --- 0x0001 2 Same as above R/W Yes
25 0x0018 Low gear hours during operation of air conditioning fan --- 0x0001 2 Same as above R/W Yes
26 0x0019 Low gear minutes during operation of air conditioning fan --- 0x0001 2 Same as above R/W Yes
27 0x001A Heating air fan running low gear for seconds --- 0x0001 2 Same as above R/W Yes
28 0x001B Current time minute --- 0x0001 3 0~59 R/W No
29 0x001C Current time hour --- 0x0001 4 0~23 R/W No
30 0x001D Current Time - Week --- 0x0001 5 1-7 R/W No

IV. Exception Handling

When an abnormal response occurs, the highest position of the function number will be set to 1. For example, if the host requests a function number of 0x03, the corresponding item for the function number returned by the slave is 0x83.

Error type code:

  • 0x01: Function code illegal (device does not support received function number)
  • 0x02: Data location illegal (data location specified by the host exceeds the device's range)
  • 0x03: Data value illegal (data value sent by the host exceeds the device's corresponding data range)

V. Operation instructions

5.1 Address setting

When the device is turned on, long press the "Mode" and "Wind Speed" buttons to enter the address setting mode. Switch the address bits by pressing the "Mode" button, and exit the setting mode by pressing the "Wind Speed" button.

5.2 Read Data

Use function code 0x03 to read register data. The format for sending data packets is as follows:

设备地址 功能码 起始地址高位 起始地址低位 数据字长高位 数据字长低位 CRC码高位 CRC码低位

5.3 Writing Data

Use function code 0x06 or 0x10 to write register data. The format for sending data packets is as follows:

Function code 0x06:

设备地址 功能码 寄存器地址高位 寄存器地址低位 写入数据高位 写入数据低位 CRC码高位 CRC码低位

Function code 0x10:

设备地址 功能码 寄存器地址高位 寄存器地址低位 数据字长高位 数据字长低位 数据字节长度 写入数据高位 写入数据低位 CRC码高位 CRC码低位

VI. Routine

6.1 Read Register

Send Data Packet: 01 03 00 00 00 01 84 0A

Send Analysis:

  • 01: Device Address
  • 03: Read function code
  • 00: Register start address
  • 00 01: Register end address
  • 84 0A: CRC checksum

Return data packet: 01 03 02 00 01 79 84

Return parsing:

  • 01: Device address
  • 03: Read function code
  • 02: Return data byte count
  • 00 01: Power on/off status (0x0001 indicates power on)
  • 79 84: CRC checksum

6.2 Write to register

Send Data Packet: 01 06 00 00 00 01 48 0A

Send Analysis:

  • 01: Device Address
  • 06: Write Function Code
  • 00: Register Address
  • 00 01: Write Data (0x0001 indicates power on)
  • 480 A: CRC checksum

Return Data Packet: 01 06 00 00 00 01 48 0A

6.3 Set Temperature

Send Data Packet: 01 06 00 01 00 DC D9 93

Send Analysis:

  • 01: Device Address
  • 06: Write function code
  • 00 01: Register address (set temperature)
  • 00 DC: Write data (0x00DC represents 22.0 degrees)
  • D9 93: CRC checksum

Return data packet: 01 06 00 01 00 DC D9 93

6.4 Setting mode

Send data packet: 01 06 00 02 00 01 E9 CA

Send analysis:

  • 01: Device address
  • 06: Write function code
  • 00 02: Register address (mode)
  • 00 01: Write data (0x0001 represents heating)
  • E9 CA: CRC verification code

Return data packet: 01 06 00 02 00 01 E9 CA

6.5 Setting Wind Speed

Sending data packets: 01 06 00 03 00 01 B8 0A

Send analysis:

  • 01: Device Address
  • 06: Write function code
  • 00 03: Register Address (Wind Speed)
  • 00 01: Write data (0x0001 indicates low speed)
  • B8 0A: CRC verification code

Return data packet: 01 06 00 03 00 01 B8 0A

6.6 Lock button

Sending data packets: 01 06 00 04 00 01 09 CB

Send analysis:

  • 01: Device Address
  • 06: Write function code
  • 00 04: Register address (key locked)
  • 00 01: Write data (0x0001 indicates lock)
  • 09 CB: CRC verification code

Return data packet: 01 06 00 04 00 01 09 CB

6.7 Setting up controlled fans

Sending data packets: 01 06 00 05 00 01 58 0B

Send analysis:

  • 01: Device Address
  • 06: Write function code
  • 00 05: Register address (whether the fan is controlled)
  • 00 01: Write data (0x0001 indicates controlled)
  • 580 B: CRC verification code

Return data packet: 01 06 00 05 00 01 58 0B

6.8 Setting Debugging Mode

Sending data packets: 01 06 0008 0001 C9 C8

Send analysis:

  • 01: Device Address
  • 06: Write function code
  • 0008: Register Address (Debugging Status)
  • 0001: Write data (0x0001 indicates enable debug mode)
  • C9 C8: CRC checksum

Return packet: 01 06 0008 0001 C9 C8

6.9 Set current time

Send packet: 01 10 001B 0003 06 000A 0010 0003 4F 35

Send parsing:

  • 01: Device address
  • 10: Write function code
  • 001B: Register address (current time minute)
  • 0003: Data word length (3 registers)
  • 06: Data byte length (6 bytes)
  • 000A: Minute (10)
  • 0010: Hour (16)
  • 0003: Week (3)
  • 4F 35: CRC verification code

Return data packet: 01 10 001B 0003 06 000A 0010 0003 4F 35

7, Remarks

  1. The broadcast address is 0, and it only supports function codes 0x06 and 0x10. The temperature controller can be set to address 1-247.
  2. Uncontrolled fan: The fan operates independently. When the temperature reaches, the valve closes and the fan does not close. This means that as long as the thermostat is turned on, the fan will definitely turn on, regardless of the temperature.
  3. Fan controlled: The fan only operates when the valve is open, and when the valve is closed, the fan must be turned off.
  4. Debugging mode: The 485 address is permanently displayed on the LCD for easy debugging. Please turn off this function after debugging is completed.
  5. The starting address and number of queries must not exceed 33.

其他信息

Air Conditioner控制 switch面板

C740WIFI+涂鸦APP手机Remote control, C740+485通讯对接自己开发的软件, C740WIFI手机控制+485通讯对接自己软件