Mcquay Modbus User Manual: (Thermostat Ac2981C) V2.2
Mcquay Modbus User Manual: (Thermostat Ac2981C) V2.2
Change History
Version Date Description Author
2.1 5/23/2017 Initial version Wu Jibin
2
Shenzhen McQuay Air Conditioning Co., Ltd.
Contents
1. Overview .................................................................................................................................................... 4
4. Networking ................................................................................................................................................. 9
3
Shenzhen McQuay Air Conditioning Co., Ltd.
1. Overview
AC2981C thermostats
The unit that uses the controller hardware of AC2981C thermostat and software of AC2981C thermostat,
and an upper computer compose an RS-485 network. The upper computer can be a PC, a
Programmable Logic Controller (PLC) or an operation panel.
0x01: illegitimate function code. The slave unit receives a function code that cannot be executed and
indicates no program function.
0x02: illegitimate data address. The received data address is not allowed by the slave unit.
0x03: illegitimate data. The value in the query data area is not allowed by the slave unit.
4
Shenzhen McQuay Air Conditioning Co., Ltd.
Device address: unit address, which starts from 0x01 by default. For details about how to change the
device address, see section "Communication Address Setting";
Function code: read or write;
Data: read or written data corresponding to the function code;
CRC: data error check method for each frame.
For details, see the Modbus protocol. Common function codes are described in the following sections.
The main unit makes a request for reading multiple pieces of 8-bit binary data from the slave unit. The
frame format is as follows:
Request frame of the main unit
Byte quantity
Unit Function Data 1 Data 1 Data N Data N CRC CRC
of a register …
address code (high bit) (low bit) (high bit) (low bit) (low bit) (high bit)
2*N
Example:
Assume that the on/off status, mode control, temperature settings, and other information of 1# unit need
to be queried.
The query data table is shown as follows:
Holding register Definition and
Valid range
No. Address Data bit description
0XFFFF=Not
Setting invalid 0XFFFF
execute
40001. 0000
0X0000=Off; 1: on
On/Off control
0X0001=On; 0: off
0XFFFF=Not
40002. 0001 Setting invalid 0XFFFF
execute
5
Shenzhen McQuay Air Conditioning Co., Ltd.
0X0001=Cool;
1: cooling
0X0002=Dehumid;
2: dehumidification
0X0004=Fan;
4: air supply
0X0008=Heat; Mode control
8: heating
0X0010=Auto;
0x10: automatic
0X0012=Floor
0x10: floor heat
Heat;
0XFFFF=Not
Setting invalid 0XFFFF
execute
0X0001=Ultra Low; 1: Ultra Low;
0X0002=Low; 2: Low;
0X0003=Mid Low; 3: Mid Low;
40003. 0002
0X0004=Mid; 4: Mid;
Fan speed
0X0005=Mid High; 5: Mid High;
0X0006=High; 6: High;
0X0007=Ultra High; 7: Ultra High;
0X0080=Auto; 0x80: Auto;
The response command packet indicates that 1# unit is on and works in automatic mode and at low fan
speed.
(Note: The query command is consistent with the command rule of function code 03 and is described as
follows. The unit address is 01, the function code is 03, the high bit and low bit of the start address of the
register are both 00, the high bit and low bit of the register quantity are 00 and 03 respectively, and the
last two bits indicate the low bit and high bit of CRC.)
Unit Function Start address Start address Register Register CRC CRC
address code of register of register quantity quantity (low bit) (high bit)
(high bit) (low bit) N (high bit) N (low bit)
Data N (low bit) Data N (high bit) CRC (high bit) CRC (low bit)
Example:
Assume that the room temperature of #1 unit needs to be queried
6
Shenzhen McQuay Air Conditioning Co., Ltd.
The main unit sends two bytes of 8-bit data to the slave unit. The frame format is as follows:
Transmission frame of the main unit
Start address Start address
Unit Function Preset value Preset value CRC CRC
of register of register
address code (high bit) (low bit) (low bit) (high bit)
(high bit) (low bit)
The main unit sends multiple pieces of 8-bit data to the slave unit. The frame format is as follows:
7
Shenzhen McQuay Air Conditioning Co., Ltd.
Example:
Set 1# unit into cooling mode and on status
Query data table
8
Shenzhen McQuay Air Conditioning Co., Ltd.
Note: the baud rate of AC2982D may be set as described below (the baud rate is fixed at 9600 for other
models)
(1)
Parameter Default
Parameter description Parameter value
item value
Two/four-pipe system 1 1: two-pipe system, 2: four-pipe system (no floor heating mode) 1
Cooling-only/Cooling and heating 2 1: cooling only, 2: cooling and heating 2
Auxiliary electrical heater (Y/N) 3 1: N, 2: Y 1
Valve control (Y/N) 4 1: with valve, 2: without valve (no valve control and four-pipe system cannot coexist) 1
Two-wire valve/three-wire valve 5 1: 2: 1
RS485 baud rate 6 1: 19200, 2: 9600 (set to 1 when McQuay host is connected) 1
Floor heating (Y/N) 7 1: N, 2: Y 1
30: three-step fan speed, 40: four-step fan speed under strong cooling (Low, Mid,
Fan speed step settings High, Ultra-high)
8 50
(manual fan speed step setting) 41: Silent four-step fan speed (Ultra-low, Low, Mid, High)
50: Five-step fan speed, 70: Seven-step fan speed
6: six-step fan speed, 7: seven-step fan speed (if the fan speed step in item 8 is 3
step, the automatic speed step of this item is fixed to step 3; if the fan speed step in
Auto speed step settings 9 item 8 is silent four step, the automatic speed step of this item is fixed to silent step 4; 6
if the fan speed step in item 8 is set to other steps, the automatic speed step operates
at step 6 or step 7)
Unit type 10 1: AC three-step, 2: AC four-step, 3: DC multiple step, 4/5: DC stepless 4
(2)
If item 6 is selected, when the parameter value is set to 1, the baud rate is 19200; when the parameter
value is set to 2, the baud rate is 9600.
4. Networking
The networking of the unit is performed through RS485 network as shown in the following figure.
9
Shenzhen McQuay Air Conditioning Co., Ltd.
The address of AC298 thermostat may be set at the first item in the user menu with a range of 1 to 32.
5. Data Table
0X0001=Cool;
30007 Run Mode R 0X0004=Fan; N/A
0X0008=Heat;
0X0000=Stop;
0X0001=Ultra Low;
0X0002=Low;
0X0003=Mid Low;
30008 Run Speed R N/A
0X0004=Mid;
0X0005=Mid High;
0X0006=High;
0X0007=Ultra High;
0X0000=Close;
30009 Valve State R N/A
0X0001=Open;
0X0001=Single Cold;
30010 Type R N/A
0X0002=Heat Pump;
0X0002=Two;
30011 Duct R N/A
0X0004=Four;
0X0000=N;
30012 Valve Control R N/A
0X0001=Y;
Two/Three Wires 0X0002=Two;
30015 R N/A
Valve 0X0003=Three;
0XFFFF=Invalid;
30016 Door Card R 0X0000=N; N/A
0X0001=Y;
0X0000=Normal;
0X0002=The temp sensor fault;
30017 Fault R N/A
0X0004=Memory failure;
0X0008=Filtering net alarm;
Bit1--15 N/A;
30019 Total fault R Bit0: 0=No total fault;1=Exist total N/A
fault;
30020 Reserved R 0XFFFF=Invalid; N/A
30021 Reserved R 0XFFFF=Invalid; N/A
30028 Cool Valve Output R 0--100; 1%
30029 Heat Valve Output R 0--100; 1%
0XFFFF=Invalid
30030 E-heat R 0X0000=Off; N/A
0X0001=On;
30035 Reserved R 0XFFFF=Invalid; N/A
30036 Reserved R 0XFFFF=Invalid; N/A
30037 Reserved R 0XFFFF=Invalid; N/A
30038 Reserved R 0XFFFF=Invalid; N/A
11
Shenzhen McQuay Air Conditioning Co., Ltd.
12
Shenzhen McQuay Air Conditioning Co., Ltd.
0XFFFF=Not execute;
0X0000=Unlock;
0X0001=On/Off;
0X0002=Temp;
0X0003=Mode;
0X0004=Fan;
0X0005=On/Off+Temp;
0X0006=On/Off+Mode;
40005 Lock R/W 0X0007=On/Off+Fan; N/A
0X0008=Temp+Mode;
0X0009=Temp+Fan;
0X000A=Mode+Fan;
0X000B=On/Off+Temp+Mode;
0X000C=On/Off+Temp+Fan;
0X000D=On/Off+Mode+Fan;
0X000E=Temp+Mode+Fan;
0X00FF=AllLock;
0XFFFF=Not execute;
Bit13--15:
40007 Clock R/W Week(0=Sun;1=Mon; ….6=Sat) N/A
Bit8--12: Hour (0-23)
Bit0--7: Min (0--59)
0XFFFFFFFF=Not execute;
Bit16--32: Year (0000--9999)
40008/40009 Date R/W N/A
Bit8--15: Month (1--12)
Bit0--7: Day (1--31)
0XFFFF=Not execute;
40010 Saving R/W 0X0001=Saving; N/A
0X0000=No Saving;
0XFFFF=Not execute;
40011 Saving Cool Temp R/W 0.1°C
160--300 (i.e. 16--30)
0XFFFF=Not execute;
40012 Saving Heat Temp R/W 0.1°C
160--300 (i.e. 16--30)
40013 Reserved R/W 0XFFFF=Not execute; N/A
13