Modbus Protocol: User Manual

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

1 9 .

0 3 5385758_00

MODBUS
PROTOCOL
User manual

LCG
M o dbus Proto col

www.aermec.com
CERTIFICATIONS

COMPANY CERTIFICATIONS
Contents
Preface................................................................................................................................................................................ 1
一. I. Terms and Definitions ............................................................................................................................................. 1
二.BMS II. Brief Introduction of the BMS System ........................................................................................................ 4
三. III. Network Topology.............................................................................................................................................. 4
3.1. General ..................................................................................................................................................... 4
3.2. Topological Structure ............................................................................................................................... 4
3.2.1. Topological Structure Consisting of Max. 255
Communication Modules ................................................................................................................................... 4
3.2.2. Topological Structure Consisting of Min. 255
Communication Modules ................................................................................................................................... 6
Modbus Protocal Format .............................................................................................................................................. 7
4.1. General ...................................................................................................................................................... 7
4.2. Protocal Interface ...................................................................................................................................... 7
4.3. Hardware Interface .................................................................................................................................... 7
4.4. Modbus Universal Communication Frame Format of Modbus under
RTU Mode ............................................................................................................................................................... 7
4.5. MODBUS Modbus Standard Protocal Format .......................................................................................... 8
4.5.1. Coil(Bit) ....................................................................................................................................... 8
4.5.2. Register(Word, 16 bit).................................................................................................................. 9
4.5.3. (Bit) Read Coils (Read bit) ........................................................................................................... 9
4.5.4. (Bit)Write Coils (Write bit) ........................................................................................................ 10
4.5.5. Word)Read Registers (Read word) ............................................................................................... 10
4.5.6. ( Word)Write Registers (Write word) ...........................................................................................11
4.5.7. Alarm Response ............................................................................................................................... 12
Communication Protocal for All DC Inverter.......................................................................................................... 13
5.1. General ..................................................................................................................................................... 13
5.2. BMS Precautions before the Development of
BMS Interface for All DC Inverter ........................................................................................................................ 13
5.3. Definition of Effective Data ................................................................................................................. 14
BMSCommon Failures of BMS System .................................................................................................................... 40
ANNEX A ......................................................................................................................................... 41
A.1 CRC Calculation Method........................................................................................................................................ 41
A.2 CRC How to Calculate the CRC .......................................................................................................................... 42
A.3 CRC Example (Only for Reference) ..................................................................................................................... 43
References ........................................................................................................................................................................ 44

4
Preface
Modbus 。This protocol specifies the communication format and data format for the Modbus communication of
All DC Inverter.
This protocol is applicable to All DC Inverter
BMS :Please pay attention to the following 3 points before developing the BMS software:

1. MODBUS Controllers for the IDUs of this series have been integrated with MODBUS interface, so there is
no need to connect communication modules. In this context, communication module indicates the module
that is integrated by the controllers. Please be noted.
2. 5.1.2 BMS Make sure you have read the precautions before developing the BMS interface of each unit,
e.g. section 5.1.2 ―Precautions before the Development of the BMS Interface for All DC Inverter ‖.
3. Please contact Aermec to confirm the compatibility of the BMS system.
:Notice:

This product is subject to change without prior notice.

一 I. Terms and Definitions


1.1 Modbus Modbus communication

Modbus is a protocol used for industrial communication and a distributed control system. Modbus network is a
master-slave network, which allows the communication between one mater unit and one or multiple slave units to
realize data interchange. The Modbus communication is realized in a request-response way, that is, each request sent
by the master unit is corresponding to a response replied by the salve unit.
1.2 ASCII Mode

Modbus 2 ASCII Under this mode, as for the communication via the Modbus, eight bits in one piece of
information can be transimitted as two ASCII characters.
1.3 RTU Mode
8 2 4 16 ASCII ,Under this mode, eight bits can be divided into two 4-bit hexadecimal characters. The
advantage of the RTU mode is that, with the same baud rate the transmitted character density is higher than that in the
ASCII mode. Each piece of information should be tramsmitted continuously.
1.4 Master Unit

Modbus PC It indicates the device which sends out the request to

5
Modbus, like a PC.
1.5 Slave Unit
Modbus ,It indicates the device which needs Modbus communication interface and is capable of responding to
the request sent by the master unit, like a communication module, which is taken as an example in this protocol.
1.6 Coil
1 Bit Modbus 1 , Bool、It is expressed by one bit, like the switch bit, failure bit, etc. The coil is a universal
expression of the Modbus protocol and actually it is a one-bit data value, namely Boolean, switching value.
1.7 Register
2 Byte (16 Bit)Modbus ,Word(16 个 Bit)。It is expressed by two bytes (16 bits), like temperature, mode,
etc. The register is a universal expression of the Modbus protocol and actually it is a word (16 bits), or an analog value.
1.8 Device Address
Modbus 1~255,0 。It indicates the address of the Modbus communication module, throught which the master
unit can identify each communication module in the network. Address range: 1~255. Address 0 is the address of
broadcast (it can be received by all communication modules).
1.9 Broadcast
0。When the master unit sends out a control frame, then all salve units in the network can receive it and then all
performs this control action (but no reply is given). The device address for the broadcast frame is 0.
1.10 Function Code
It is used to identify the function of the communication frame. See the following table for the function codes
covered in this protocal.

Table 1 Function Code

Description Fucntion Code

Bit) Read coils


0x01
(read bit)

(Word) Read registers


0x03
(read word)

(Bit) Write coils


0x0f
(write bit)

(Word) Write registers


0x10
(write word)

1.11 Starting Address

6
It indicates the starting address of the register (coil: bit address; register: word address). The data translation
starts from the high-order eight bits to the low-order eight bits.
1.12 Data Size
It indicates the counting number of to-be-operated data starting from the starting address (coil: bit count;
register: word count). The data translation starts from the high-order eigth bits to the low-order eight bits.

1.13 Byte Count


It indicates the count number of effective bytes during the data transmission.

1.14 Effective Data


It indicates the control data, statuss data, etc.
1.15 Aalrm Code
It indicates the error type which is detected by the communication module when the master unit is sending the
request frame.
1.16 CRC CRC
It indicates the cyclic redundancy code consisting of two bytes. The data translation starts from the low-order
eight bits to the high-order eight bits. See Annex A for more detaila about its calculation.

1.17 Request Frame


It is the request sent by the master unit to the communication module.
1.18 Response Frame
It is the response replied by the communication module to the request frame sent by the master unit.

1.19 Communicaiton Frame


It is the collection of continuosly transmitted bytes during the communication.

1.20 BMS
Building management system

7
II. Brief Introduction of the BMS System
The Modbus monitoring system of All DC Inverter is capable of controlling up to 255 sets of units at the same
time.
The interface RS485 of Modbus communication protocal, provided by the long-distance monitoring system, can
de directly connected with the BMS or Aermec monitoring system, that is, can control up to 255 units and
display their running statuss at the same time. The control function of the BMS/PC is equal to that of the unit itself. In
other words, BMS/PC and units can both control the functions of units at them same time. However, the command sent
later takes the priority.

III. Network Topology


3.1. General
As shown in Fig.1, the whole network consists of two parts: units’ network and Modbus network. The IDUs are with
MODBUS interface and have to be selected by setting address mode through the wired controller so that the
communication data of the two networks can be interchanged. See the corresponding section in unit’s service
manual for the detailed setting method.
There are at most 255 comunication modules in one monitoring system, that is, only 255 indoor units can be
connected.
When there are more than 255 units, a new network can be established through another port which is also capable
of connecting 255 communication modules.

3.2. Topological Structure

3.2.1. 255 Topological Structure

8
Consisting of Max. 255 Communication Modules

BMS

modbus

MODBUS MODBUS MODBUS

255

unit unit unit

Fig.1 Topological Structure


BMS System
Lighting
Fire
Vent
Elevator
Electricity
Modbus Modbus Protocal 1
Device Addr. 1
Device Addr. 2
Device Addr. 255
Unit

9
3.2.2. Topological Structure
Consisting of Min. 255 Communication Modules
BMS

Lighting Fire Vent Elevator Electricity

Port 1 Port 2 Port N

modbus Network 1 modbus Network 2


MODBUS MODBUS MODBUS MODBUS
1 55 1 55

unit unit unit unit

Fig.2 Topological Structure Consisting of Min. 255 Communication


Modules

BMS BMS System


Lighting
Fire
Vent
Elevator
Electricity
Port 1
Port 2
Port N
Modbus Protocal
Network 1
Network 2
Network N
Device Addr. 1
Device Addr. 255
Unit

10
IV. Modbus Protocal Format
4.1. General
Modbus has actually become an industrial communication standard because it is not only fully opened and used
widely but also simple and can be debugged flexibly. Besides, as for the communication of multiple units,
Modbus can be developed fast and also can be conveniently connected with devices which support this protocal. There
are two communication modes: RTU and ASCII. The former one is asopted for the BMS interface.

4.2. Protocal Interface

The protocal interface is the Modbus RTU protocal.

4.3. Hardware Interface


1) Communication Interface: RS485
2) Communication Mode: baud rate: 9600 bit/s (In some special case, other baud rate can be selected but the
communication mechanism should be in accord with this protocal.)
Start Bit:1
Data Bit:8
Check Bit:None
Stop Bit:1

4.4. Modbus RTU Universal Communication


Frame Format of Modbus under RTU Mode
Start Time Stop Time
Function
Interval Interval
Addr. Code Code Data Area CRC

T1-T2-T3-T4 1 Byte 1 Byte n Bytes 2 Bytes T1-T2-T3-T4


Under the RTU mode, there ia at least 3.5ms dead time before the data transmission, which can be figured throught
the adopted baud rate (like T1-T2-T3-T4 in the table above) and there is another 3.5ms dead time after the
transmission of the last character. After that, another set of data can be transimitted.
The whole set of data should be transmitted continuously. If there is a pause more than 1.5ms during the
transmission, the receiver will jump to the transmission of the next set of data. If the dead time is less than 3.5ms, the
transmission would fail as the CRC

11
for the information combination is ineffective.

4.5. MODBUS MODBUS Standard Protocal Format


4.5.1. Coil (Bit)
Table 2: Coil Data
Byte
Addr. Values
Corresponding Byte

Bit 0 Byte0.0 1

Bit 1 Byte0.1 0

Bit 2 Byte0.2 1

Bit 3 Byte0.3 0

Bit 4 Byte0.4 1

Bit 5 Byte0.5 0

Bit 6 Byte0.6 1

Bit 7 Byte0.7 0

Bit 8 Byte1.0 1

Bit 9 Byte1.1 0

Bit 10 Byte1.2 1

Bit 11 Byte1.3 0

Bit 12 Byte1.4 1

Bit 13 Byte1.5 0

Bit 14 Byte1.6 1

Bit 15 Byte1.7 0

…… …… ……

1. ―Coil‖indicates the data of some flag bit or failure bit, etc.


2. The unit of data is bit and each bit has a corresponding address.
3. The data bit exists in the byte of the communication frame and each byte is composed of eight bits. The
high-order byte is corresponding to the high-order bit whereas the low-order byte is corresponding to the
low-order bit. See table 2 for more details.
4. The master unit can operate one bit among the communication data or multiple bits at the same time.
5. The bit count which the master unit can read or transmit is less than Byte×8. The ineffective data bit of the
last byte should be cleared when the effective data of the communication frame is transmitted or read. For
instance, when nine bits (the vaule of each is 1) are read or transmitted, then two bytes are needed. The first
one is “1111 1111”and the second one is “0000 0001”. For the last byte, the ineffective bits “0” should be
cleared.

12
4.5.2. Register (Word, 16 bit)
Table 3: Registers Data
Byte
Addr. Values
Corresponding Byte

Byte 0
Word 0 AA 55
Byte 1

Byte 2
Word 1 AA 55
Byte 3

Byte 4
Word 2 55 AA
Byte 5

……
…… ……
……

4. The unit of the register is ―word‖ which has a corresponding address starting from 0.
5. When the master unit reads a word, it needs to read two bytes from the high-order eight bits to the low-order
eight bits.
6. When the master unit transmits or reads the request frame, it can transmit or read one or multiple
continuous words in the data list.

4.5.3. Read Coils (Read bit)


Note: It can read the coil data but not support the broadcast.
Function Code: 0x01
Table 4: Request Frame

Device Addr. Function Code Starting Addr. Data Size CRC

1 Byte 1 Byte 2 Bytes 2 Bytes 2 Bytes

Table 5: Corresponding Frame

Device Addr. Function Code Byte Count Effective Data CRC

1 Byte 1 Byte 1 Byte n Bytes 2 Bytes

Starting Address: It is the starting place where to read a series of bits.

13
Data Size: it indicates the count number of bits.
For example: Read ten bits from the coil 5 of the device 10 (see table 2 for the coil data), as follows:
Request frame: 0A (device address) 01 (function code) 00 05 (starting address) 00 0A (data size) AD 77 (CRC)
Response Frame: 0A (device address) 01 (function code) 02 (byte count) AA 02 (effective data) E3 5C (CRC)
The last byte is ―0000 0010‖, among which the ineffective bits ―0‖ should be cleared.

4.5.4. Write Coils (Write bit)


Note: The master unit writes coil data into the communication module and also supports the broadcast.
Function Code: 0x0F
Table 6: Request Frame

Function Effective
Device Addr. Starting Addr. Data Size Byte Count CRC
Code Data

1 Byte 1 Byte 2 Bytes 2 Bytes 1 Byte n Bytes 2 Bytes

Table 7: Response Frame

Device Addr. Function Code Starting Addr. Data Size CRC

1 Byte 1 Byte 2 Bytes 2 Bytes 2 Bytes

Note: The response frame has the same device address, function code, starting address and data size as the request frame.

For example: Set eleven consecutive bits to ―1‖ from the device 10 and starting at the address 6, as follows:
Request Frame: 0A(device address)0F(function code)00 06(starting address)00 0B(data size)02(byte
count)
FF 07(effective data)97 A0(CRC)

Response Frame: 0A(device address)0F(function code)00 06(starting address)00 0B(data size)F5



76(CRC)
The last byte is ―0000 0111‖, among which the ineffective bits ―0‖ should be cleared.
4.5.5. Read Registers (Read word)
Note: Read the register data but do not support the broadcast.

14
Function Code: 0x03
Table 8: Request Frame

Device Addr. Function Code Starting Addr. Data Size CRC

1 Byte 1 Byte 2 Bytes 2 Bytes 2 Bytes

Table 9: Response Frame

Device Addr. Function Code Byte Count Effective Data CRC

1 Byte 1 Byte 1 Byte n Bytes 2 Bytes

Starting address: It indicates the starting address to read the data block. :Data size: It indicates the count number of
words with the maximum of 127 each time.
For example: Read two continuous words (see table 3 for the registers data) from the device 10 and starting at the
address 1, as follow:
Request Frame: 0A(device address)03(function code)00 01(starting address)00 02(data size)94 Response
Frame: 0A(device address)03(function code)04(byte count)AA 55 55 AA(effective data)CE 14 (CRC)

4.5.6. Write Registers (Write word)


Note: Write control data from the master unit into the register and support broadcast.

Function Code: 0x10


Table 10: Request Frame

Function Effective
Device Addr. Starting Addr. Data Size Byte Count CRC
Code Data

1 Byte 1 Byte 2 Bytes 2 Bytes 1 Byte n Bytes 2 Bytes

Table 11: Response Frame

Device Addr. Function Code Starting Addr. Data Size CRC

1 Byte 1 Byte 2 Bytes 2 Bytes 2 Bytes

Note: The response frame has the same device address, function code, starting address and data size as the request

frame.

For example: write three words (0x12,

15
0x23, 0x34) from the device 10 and starting at the address 2, as follow:

Request Frame: 0A(device address)10(function code)00 02(starting address)00 03(data size)06(byte


count)00 12 00 23 00 34(effective data)15 DF(CRC)
Response Frame: 0A(device address)10(function code)00 02(starting address)00 03(data size)20
B3(CRC)
4.5.7. larm Response
Note: The master unit sends out a request frame in order to receive a normal response, but when the communication
module detects a failure, an alarm response will be sent back.
Function code: Set the hightest-order bit to ―1‖, which is the value figured through the operation of the request frame’s
function code and 0x80 (The function code of normal response will be back as it is).

Communication format of the alarm response frame:


Table12: Alarm Response Frame

Device Addr. Function Code Alarm Code CRC

1 Byte 1 Byte 1 Bytes 2 Bytes


Description of the alarm codes:
Table 13: Alarm Codes

Alarm Name Description

Code

0x03 Illegal data The transmitted data is incorrect or beyond the data range.

Salve device There is communication failure between the communication

0x04 failure module and the air conditioning unit.

For example: The master unit is to read 128 words from the device 10 and starting at the address 0. If it is out of the
readable range of Modbus, alarm frame will be sent back as follows:
Request frame: 0A(device address)03(function code)00 00(starting address)00 80(data size)45 11
Response frame: 0A(device address)83(device address)03(alarm code)70 F3(CRC)

16
V. Communication Protocal for All DC Inverter

General
All DC Inverter has integrated BMS interface into the indoor units. As Modbus protocal interface is provided,
there is no need to connect communication modules. However, it’s necessary to do some settings through wired
controllers. Please refer to the relevant service manual for the setting methods. The long-distance
monitoring system for All DC Inverter can be used to monitor Gree’s All DC Inverter or be incorporated
into user’s BMS system. By monitoring the PC or BMS system, user can realize a centralized
management and control on up to 255 sets of All DC Inverter It is a highly efficient tool for the management of an
intelligent air conditioning system in modern buildings.
Through this interface, it can not only realize the long-distance monitoring to units, including units’ running
temperature, compressor statuss and error statuss, but also can enable units’ settings remotely, like temperature
setting, mode setting, on/off setting, mode shield setting, on/off shield setting, etc.

In the protocal, ―R‖ indicates ―read only‖ and ―W/R‖ indicates ―write and read‖.

5.2. BMS
Precautions before the Development of the BMS Interface for All DC
Inverter
★(1):Cooling Only Unit: Heating instruction is
invalid. It is recommended that the monitoring software can tell this operation is invalid.
★(2):When the format
of the alarm response frame received by the BMS system is 0x04, it indicates that there is communication failure
between units and the communication module.
★(3): Energy Saving Solution:
Cooling mode: When the setting for energy saving under cooling is active, the temperature set by long-distance
monitoring must be higher than the temperature lower limit for energy saving, otherwise units will not response to
the command. It is suggested that the BMS software can tell

17
the setting fails.
Heating mode: When the setting for energy saving under heating is active, the temperature set by long-distance
monitoring must be lower than the temperature upper limit for energy saving, otherwise units will not response to
the command. It is suggested that the BMS software can tell the setting fails.

★(4):
When the BMS system needs to cancel or set one of the two flag bits of energy saving, When the BMS system
needs to cancel or set one of the two flag bits of energy saving, the two flag bits need to be cancelled or set
simultaneously.
★(5):When unit is in fan mode or auto mode, sleep setting
will be invalid.
★(6):When unit is in auto mode, the setting of
long-distance temperature shield will be invalid.
★(7):Under power-off statuss, when X-fan function is
energized, fan motor will run for 2min.
★(8):All data sent by the BMS system to the communication module should be verified if it is effective.

★(9):After the communication module is powered on again and before receiving any effective data, the alarm
code 04 will be reported.

5.3. Definition of Effective Data

The data for the Modbus communication protocal can be divided into two types: switching value and register. The
register indicates the values of temperature, valves and other continuous or multi-mode values. Switching value
indicates the value which has only two status, like the temperature sensor error (with only two status: abnormal or
normal).

18
1.
Data and Address Distribution of the Analog Values: (Word 0~Word X)

Pay
special
attention
Acess Type Data Data Type before
Range Accuracy Remarks
Addr. (R-read only, Meaning Unit (actual developmen
W/R-write/read) value) t (to the
data
marked
with ★)
Word
R / / / /
0 Reserved
Word
R / / / /
1 Reserved

Word 0xAA:Unit on;


W/R Unit / / Unsigned,
2 0x55:Unit off
On/Off integer
type
Word
R / / /
3 Reserved /
Transmission
value=actual value,
actual value:
Word transmission
R Ambient 0.1 ℃ Signed,
4 value=temp value×10
temp interger type
Broadcast
data

Transmission
value=actual value,
actual value: If
connected with
central controller,
Word address range is 1-16;
R 1 / Unsigned,
5 IDU Addr. if connected with PC
integer type
address mode,
address range is 1-255

19
Word
R / / / /
6 Reserved
Word
R / / /
7 Reserved
Word
R / / / /
8 Reserved
Word
R / / / /
9 Reserved
Word
R / / / /
10 Reserved
Word
R / / / /
11 Reserved
Word
R / / / /
12 Reserved
Word
R / / / /
13 Reserved
Word
R / / / /
14 Reserved
Word
R / / / /
15 Reserved
Word
R / / / /
16 Reserved
Transmission
value=actual value,
actual value: 001:
cooling; 010: heating;
Word 011: drying; 100: fan
W/R / / Unsigned, ★(1)
17 Set mode only; 101: auto mode
integer type

Word
R / / /
18 Reserved
Transmission
value=actual value,
actual value: 0: auto 1:
Word
W/R Set fan speed 1; 2: speed 2; 3: / / Unsigned,
19
speed speed 3; 4: speed 4; 5: integer type
speed 5; 6: turbo

20
Transmission
value=actual value,
actual value:16-30,
under low-temp
drying, it is 12℃,
Word
W/R under absence mode, it 1 ℃ Unsigned,
20 Set temp
is 8℃. integer type

Word
R / /
21 Reserved /
Transmission
value=actual value,
actual value:
0000---off,
0001---15 air swing,
0010--- 1 position,
0011--- 2 position,
0100--- 3 position,
0101---4 position,
0110---5 position,
0111---35 air swing,
1000---25 air swing,
Word Up & 1001---24 air swing,
W/R / / Unsigned,
22 down 1010---14 air swing,
integer type
swing 1011---13 air swing

21
Transmission
value=actual value,
actual value:
0000---off (default
value after power on),
0001---air swing at
same direction
0010---1 position,
0011---2 position,
0100---3 position,
0101---4 position,
0110---5 position,
Word Left &
W/R 1100---15 position, / / Unsigned,
23 right
1101---air swing at integer type
swing
opposite direction

Transmission
value=actual value,
actual value: 0~10, 0:
indicates fresh air
Word
W/R Fresh air valve, 10 modes of / / Unsigned,
24
valve fresh air integer type
status

Transmission
value=actual value,
actual value:0: no sleep
Word
W/R Sleep mode; 1: sleep mode 1; / / Unsigned, ★(5)
25
mode 2: sleep mode 2; 3: integer type
sleep mode 3

22
Word
W/R / / / /
26 Reserved
Word
W/R / / / /
27 Reserved
Word
W/R / / / /
28 Reserved
Word
W/R / / / /
29 Reserved
Word
W/R / / / /
30 Reserved
Word
W/R / / / /
31 Reserved
Word
W/R / / / /
32 Reserved
Word
W/R / / / /
33 Reserved
Transmission
value=actual value,
actual value: 00: no
Word clean function; 10-39:
W/R Clean / / Unsigned,
34 contamination grade
function integer type

Temp Transmission
lower value=actual value,
Word
W/R limit for actual value: 16~30 1 ℃ Unsigned, ★(3)
35
energy integer type
saving
under
cooling

Transmission
value=actual value,
Word Temp
W/R actual value: 16~30 1 ℃ Unsigned, ★(3)
36 upper
integer type
limit for
energy

23
saving
under
heating
Word
R / / / /
37 Reserved
Word
R / / / /
38 Reserved
Transmission
value=actual value,
actual value:
01: air return temp
sensor for indoor
ambient temp
10: wired controller
temp sensor for indoor
ambient temp
11: air return temp
sensor for cooling,
drying and fan mode,
Word Selection
R select wired controller / / Unsigned,
39 of ambient
temp sensor for integer type
temp
heating and auto mode
sensor

Word
R / / / /
40 Reserved
Word
R / / / /
41 Reserved
Word
R / / / /
42 Reserved
Word
R / / / /
43 Reserved
Word
R / / / /
44 Reserved
Word
R / / / /
45 Reserved

24
Word
R / / / /
46 Reserved
Word
R / / / /
47 Reserved
Word
R / / / /
48 Reserved
Transmission
value=actual value,
Word actual value:
R Outdoor 1 ℃ Signed,
49 -100--155
ambient interger type
temp

Word
R / / / /
50 Reserved
Word
R / / / /
51 Reserved
Word
R / / / /
52 Reserved
Word
R / / / /
53 Reserved
Word
R / / / /
54 Reserved
Word
R / / / / ODU
55 Reserved
response
Word
R / / / / data
56 Reserved
Word
R / / / /
57 Reserved
Word
R / / / /
58 Reserved
Word
R / / / /
59 Reserved
Word
R / / / /
60 Reserved
Word
R / / / /
61 Reserved
Word
R / / / /
62 Reserved
Word
R / / / /
63 Reserved
Word
R / / / /
64 Reserved
Word
R / / / /
65 Reserved

25
Word
R / / / /
66 Reserved
Word
R / / / /
67 Reserved
Word
R / / / /
68 Reserved
Word
R / / / /
69 Reserved
Word
R / / / /
70 Reserved
Word
R / / / /
71 Reserved
Word
R / / / /
72 Reserved
Word
R / / / /
73 Reserved
Word
R / / / /
74 Reserved
Word
R / / / /
75 Reserved
Word
R / / / /
76 Reserved

DRED
Word
R / / Unsigned,
77 DRED
integer type
function 1:DRED1 mode;
2:DRED2 mode;
3:DRED3 mode.
Word
R / / / /
78 Reserved
Word
R / / / /
79 Reserved
Word
R / / / /
80 Reserved
Word
R / / / /
81 Reserved

Transmission
Word Ambient value=actual value,
R 0.1 ℃ Signed, IDU
82 temp at actual value:
interger type identificat
the port of
ion data
air return

26
transmission=(temp
value)×10

Transmission
value=actual value,
Word actual value:
R Ambient 0.1 ℃ Signed,
83 transmission=(temp
temp of interger type
value)×10
light board

Word
R / / / /
84 Reserved
Word
R / / / /
85 Reserved
Word
R / / / /
86 Reserved
Word
R / / / /
87 Reserved
Word
R / / / /
88 Reserved
Word
R / / / /
89 Reserved
Word
R / / / /
90 Reserved
Word
R / / / /
91 Reserved
Word
R / / / /
92 Reserved

2. Data and Address Distribution of Switching Values: (Bit 0~Bit 1495)

Pay
special
Data attention
Access Type Range Parameter
Addr. Addr. Meaning before Remarks
(R-read only, Type
Bit development
W/R-write/read)
(to the data
marked
with ★)
R Bit0 Reserved / /
Byte0 R Bit1 Reserved / /
R Bit2 Reserved / /

27
R Bit3 Reserved / /
R Bit4 Reserved / /
R Bit5 Reserved / /
R Bit6 Reserved / /
R Bit7 Reserved / /

Whether or not
R Bit8 ODU has flag Status
0: no, 1: yes
bit? parameter

Whether or not
the master
wired controller
R Bit9 Status
has flag bit? 0: no, 1: yes
parameter

R Bit10 Reserved Status


0: no, 1: yes
parameter
Byte1

R Bit11 Reserved Status


0: no, 1: yes
parameter

R Bit12 Reserved Status


0: no, 1: yes
parameter Broadcast
Whether or not data
the slave
wired
R Bit13 Status
controller has 0: no, 1: yes
parameter
flag bit?

R Bit14 Reserved / /
R Bit15 Reserved / /
R Bit16 Reserved
1 (current status is locked by
long-distance monitoring or
the household charging
system),
Byte2 W/R Bit17 Status
Remote lock
parameter

0 (no above lock or it is


unlocked)
W/R Bit18 ★(6)

28
Remote 1: with shield, 0: without shield Status
temp shield parameter

1: with shield, 0: without shield


W/R Bit19 Remote mode Status
shield parameter

1: with shield, 0: without shield


W/R Bit20 Remote Status
On/Off shield parameter

Remote 1: with shield, 0: without shield


W/R Bit21 Status
energy saving
parameter
shield
R Bit22 Reserved / /
R Bit23 Reserved / /

W/R Bit24 Status


Absence mode 0: off; 1: on
parameter

Healthy
W/R Bit25 Status
function 0: off; 1: on
parameter

Comfortable
W/R Bit26 and energy Status
0: off; 1: on
saving: parameter
I-Demand

W/R Bit27 Turbo Status


0: off; 1: on
Byte3 parameter

0: permit e-heating on; 1:


E-heating
W/R Bit28 not permit e-heating on Status
permission
parameter
mark

W/R Bit29 X-fan Status ★(7)


0: off; 1: on
parameter

W/R Bit30 Silent Status


0: off; 1: on
parameter

W/R Bit31 Low temp Status


0: off; 1: on
drying mode parameter

Byte4 W/R Bit32 Energy Status ★(4)


0: off; 1: on
saving under parameter

29
cooling is
active

Energy
W/R Bit33 saving under Status ★(4)
0: off; 1: on
heating is parameter
active

1: on; 0: off
W/R Bit34 Buttons lock Status
(childlock) parameter
status

W/R Bit35 On/Off Status


0: memorize, 1: not memorize
memoring parameter
status

1: ℉; 0:℃
W/R Bit36 Status
℃/℉ flag bit parameter
R Bit37 Reserved / /
R Bit38 Reserved / /
R Bit39 Reserved / /

R Bit40 Status
Timer status 1: with timer; 0: without timer
parameter
R Bit41 Reserved / /
R Bit42 Reserved / /
R Bit43 Reserved / /
R Bit44 Reserved / /
R Bit45 Reserved / /

Gate
Byte5
R Bit46 control system Status
1: yes; 0: no
is provided or parameter
not?

Human body
R Bit47 sensing check Status
1: yes; 0: no
module is parameter
provided or
not?

30
R Bit48 Reserved / /

R Bit49 Status
Timer On flag 1: active; 0: not active
parameter

R Bit50 Status
Timer Off flag 1: active; 0: not active
parameter

0: indoor ambient temperature


is the air return ambient
Indoor
temperature
ambient
1: indoor ambient temperature
R Bit51 temperature in Status
is the temperature at wired
Byte6 current mode parameter
controller

R Bit52 Reserved / /
R Bit53 Reserved / /
R Bit54 Reserved / /
Low standby
power
consumption
1: mode 2; 0: mode 1
R Bit55 control function Status
(1W standby) parameter

R Bit56 Reserved / /
R Bit57 Reserved / /
R Bit58 Reserved / /
R Bit59 Reserved / /
Byte7
R Bit60 Reserved / /
R Bit61 Reserved / /
R Bit62 Reserved / /
R Bit63 Reserved / /

R Bit64 Reserved / /

Wired
Byte8 R Bit65 controller temp Failure
1: yes; 0: no
sensor error parameter

R Bit66 Reserved / /

31
R Bit67 Reserved / /
R Bit68 Reserved / /
R Bit69 Reserved / /

Wired
1: yes; 0: no
R Bit70 controller Failure
memory chip parameter
error
R Bit71 Reserved / /

0: do not cancel, 1: cancel


W/R Bit72 Status
Cancel timer
parameter
R Bit73 Reserved / /

0: mode 1-simple air swing; 1:


Up & down
W/R Bit74 mode 2-fixed angle air swing Status
Byte9 swing mode
and small area air swing parameter

R Bit75 Reserved / /
R Bit76 Reserved / /
R Bit77 Reserved / /
R Bit78 Reserved / /
R Bit79 Reserved / /
R Bit80 Reserved / /
R Bit81 Reserved / /
R Bit82 Reserved / /
R Bit83 Reserved / /
Byte10
R Bit84 Reserved / /
R Bit85 Reserved / /
R Bit86 Reserved / /
R Bit87 Reserved / /
R Bit88 Reserved / /
R Bit89 Reserved / /
R Bit90 Reserved / /

1: yes 0: no
R Bit91 Electric Status
heating parameter
Byte11 IDU board
Water 1: on; 0: off identification
R Bit92 Status
pump
parameter

R Bit93 Fresh air valve Status


1: turn on; 0: turn off
switch parameter

32
Cold plasma
R Bit94 Status
generator 1: turn on; 0: turn off
parameter

Error
1: yes 0: no
R Bit95 output status Status
parameter
R Bit96 Reserved / /

Indoor 1: yes 0: no
R Bit97 Failure
evaporator
parameter
temp sensor
error

1: yes 0: no
R Bit98 Indoor Failure
air rturn temp parameter
sensor error
Light board
ambient temp
1: yes 0: no
Byte12 R Bit99 sensor error Failure
parameter

1: yes 0: no
R Bit100 Reserved Failure
parameter
Water
1: yes 0: no
R Bit101 overflow Failure
protection parameter
Flag bit of
IDU memory
1: yes 0: no
R Bit102 ship error Failure
parameter

R Bit103 Reserved / /

1 error, 0 normal
R Bit104 Jumper cap Failure
error parameter

Byte13 Indoor fan 1: yes 0: no


R Bit105 Failure
error
parameter
R Bit106 Reserved / /
R Bit107 Reserved / /

33
1: yes 0: no
R Bit108 Unit needs Status
cleaning parameter
R Bit109 Reserved / /
R Bit110 Reserved / /
R Bit111 Reserved / /

0: card out, 1: card in


R Bit112 Card in/out Status
status parameter

0: no, 1: yes
R Bit113 Is there people Status
in the room? parameter
Static
Byte14
R Bit114 pressure type 0: low static pressure; 1: high Status
static pressure parameters
R Bit115 Reserved / /
R Bit116 Reserved / /
R Bit117 Reserved / /
R Bit118 Reserved / /
R Bit119 Reserved / /
Communicatio
n failure with
master wired 1: yes 0: no
R Bit120 Failure
controller
parameter

Communicatio
n failure with
slave wired 1: yes 0: no
R Bit121 Failure
controller
parameter
Byte15

Communicatio
n failure with
1: yes 0: no
R Bit122 ODU Failure
parameter

R Bit123 Reserved / /
R Bit124 Reserved / /
R Bit125 / /
R Bit126 Reserved / /
R Bit127 Reserved / /
R Bit128 Reserved / /
Byte16
R Bit129 Reserved / /

34
R Bit130 Reserved / /
R Bit131 Reserved / /
R Bit132 Reserved / /
R Bit133 Reserved / /
R Bit134 Reserved / /
R Bit135 Reserved / /
R Bit136 Reserved / /
R Bit137 Reserved / /
R Bit138 Reserved / /
R Bit139 Reserved / /
Byte17
R Bit140 Reserved / /
R Bit141 Reserved / /
R Bit142 Reserved / /
R Bit143 Reserved / /
R Bit144 Reserved / /
R Bit145 Reserved / /
R Bit146 Reserved / /

R Bit147 Outdoor fan Status


1: on 0: off
status parameter
R Bit148 Reserved / /
Byte18
R Bit149 Reserved / /

R Bit150 4-way valve Status


1: on 0: off
status parameter

R Bit151 Compressor Status


1: on 0: off
status parameter
ODU
response
information
Compressor 1: yes 0: no
R Bit152 Failure
discharge
parameter
temperature
protection

Byte19 Fluorine 1: yes 0: on


R Bit153 Failure
shortage
parameter
protection

1: yes 0: on
R Bit154 DC fan motor Failure
protection parameter
1: yes 0: on
R Bit155
Failure

35
4-way valve parameter
reverse error
protection

R Bit156 Over power Failure


1: yes 0: on
protection parameter

R Bit157 Over load Failure


1: yes 0: on
protection parameter

R Bit158 Low pressure Failure


1: yes 0: on
protection parameter

Failure
R Bit159 High pressure parameter
1: yes 0: on
protection Failure
parameter

1: yes 0: on
R Bit160 Evaporator Failure
anti-freezing parameter
protection

1: yes 0: on
R Bit161 Outdoor Failure
ambient temp parameter
sensor error

Discharge 1: yes 0: on
R Bit162 Failure
temp sensor
parameter
Byte20 error

1: yes 0: on
R Bit163 Condenser Failure
temp sensor parameter
error
Error of
copper pipe
temp sensor
for the outdoor 1: yes 0: on
R Bit164 Failure
heat exchanger
parameter

36
1: yes 0: on
R Bit165 Jumper cap Failure
error parameter

1: yes 0: on
R Bit166 Failure
ODU memory
parameter
chip error
R Bit167 Reserved / /
R Bit168 Reserved / /
R Bit169 Reserved / /
R Bit170 Reserved / /
R Bit171 Reserved / /
R Bit172 Reserved / /
R Bit173 Reserved / /
Byte21
Drive
communication
R Bit174 failure /

1: yes 0: on
R Bit175 Reserved / /

1: yes 0: on
R Bit176 Status
SAVE status
parameter

R Bit177 Cooling only Status ★(1)


0: cool and heat 1: cool only
heat pump flag parameter
bit
R Bit178 / /

1: yes 0: on
R Bit179 System Status
defrosting parameter
Byte22
R Bit180 Reserved / /
R Bit181 Reserved / /

Low power 1: ready 0: not


R Bit182 Status
consumption
parameter
status

AC input phase
sequence
R Bit183 Failure
protection
parameter

1: yes 0: no

37
(phase loss or
reverse)

Inverter
compressor 1 failure, 0
R Bit184 Failure
drive DC normal
parameter
busbar voltage
overlow
protection or
voltage drop off
error

Inverter
1 failure, 0
R Bit185 compressor Failure
normal
drive DC parameter
busbar voltage
overhigh
protection
Byte23

Inverter
1 failure, 0
R Bit186 compressor Failure
normal
drive alternate parameter
current
protection
(input side)
Inverter
compressor
drive IPM 1 failure, 0
R Bit187 Failure
protection normal
parameter

Inverter 1 failure, 0 normal


R Bit188 Failure
compressor
parameter
drive PFC
protection

38
1 failure, 0 normal
R Bit189 Inverter Failure
compressor parameter
startup failure

Inverter 1 failure, 0 normal


R Bit190 Failure
compressor
parameter
phase loss
protection

Inverter 1 failure, 0 normal


R Bit191 Failure
compressor
parameter
drive module
reset

Inverter 1 failure, 0
R Bit192 Failure
compressor normal
parameter
over-current
protection

Inverter
R Bit193 Failure
compressor
parameter
power 1 failure, 0 normal
protection

Byte24

Inverter 1 failure, 0 normal


R Bit194 Failure
compressor
parameter
drive current
check circuit
failure

Inverter 1 failure, 0 normal


R Bit195 Failure
compressor
parameter
out-of-step
protection
R Bit196

39
Compressor 1 failure, 0 normal Failure
stalling parameter
R Bit197 / /

Inverter
1 failure, 0 normal
R Bit198 compressor Failure
drive module parameter
high
temperature
protection

Inverter 1 failure, 0 normal


R Bit199 Failure
compressor
parameter
drive module
temperature
sensor failure
R Bit200 Reserved / /
Inverter
compressor low
R Bit201 10 Status
intensity field
parameter

Inverter
compressor
drive frequency
R Bit202 Status
limit
parameter

1 0
Inverter
Byte25
compressor
drive frequency
R Bit203 Status
demultiply
parameter

1 0

10
R Bit204 Inverter Status
compressor parameter
drive AC input
low voltage

40
frequency limit

1 under charge, 0 charged


Inverter
R Bit205 Status
compressor
parameter
drive under
charge
R Bit206 Reserved / /
Power type of
inverter
compressor
R Bit207 10 Status
drive AC input
parameter

Inverter 1 failure, 0 normal


R Bit208 Failure ★(1)
compressor
parameter
drive storage
chip failure
R Bit209 Reserved / /

Inverter 1 failure, 0 normal


R Bit210 Failure
compressor
parameter
drive charged
circuit failure

Byte26

Inverter
1 failure, 0 normal
R Bit211 compressor Failure
drive AC input parameter
voltage
abnormal
protection

1 failure, 0 normal
R Bit212 Temperature Failure
sensor failure parameter
of inverter
compressor

41
drive electric
box

Inverter
1 failure, 0
R Bit213 compressor Failure
normal
drive AC input parameter
zero cross
protection
Temperature
1 failure, 0
R Bit214 drift protection Failure
normal
parameter

Sensor
connection
protection
(electric current 1 failure, 0 normal
R Bit215 Failure
sensor is not
parameter
connected to
the
corresponding
U phase or V
phase)

R Bit216 / /
R Bit217 / /
R Bit218 / /
R Bit219 / /
Byte27
R Bit220 / /
R Bit221 / /
R Bit222 / /
R Bit223 / /
R Bit224 / /
R Bit225 / /
R Bit226 / /
R Bit227 / /
Byte28
R Bit228 / /
R Bit229 / /
R Bit230 / /
R Bit231 / /
R Bit232 / /
Byte29
R Bit233 / /

42
R Bit234 / /
R Bit235 / /
R Bit236 / /
R Bit237 / /
R Bit238 / /
R Bit239 / /
R Bit240 / /
R Bit241 / /
R Bit242 / /
R Bit243 / /
Byte30
R Bit244 / /
R Bit245 / /
R Bit246 / /
R Bit247 / /

43
VI. Common Failures of BMS System
Failures Possible Causes Corrective Actions
Based on the provided protocol BMS Some communication cord is not
Replace the cord with the twisted pair.
shows there is communication error and twisted pair
it fails to display any operation status The crystal head of the communication
Press down the crystal head properly
for all or some units and fails to control cord is not pressed down properly
all or some units The communication cord between
Solder the disconnected communication
indoor and outdoor units is
cord
disconnected
The communication cord is broken Solder the broken communication cord
It is not the two cords in the middle of Wired the two cords in the middle of
the crystal head that are wired the crystal head
The communication cord is Repair the short-circuit communication
short-circuit cord
The twisted pairs are too close with the Separate the twisted pairs and the
power cord (less than 15cm), resulting power cord. If impossible, it is
in too much interference which causes recommended to shield them with the
the communication failure steel pipe
Some communication interfaces are
Reconnect the communication interface
connected improperly
After the replacement of the chip of the
outdoor unit or resetting of the DIP Re-energize the unit
switch, the unit is not re-energized
The serial port of the communication
Replace the serial port or modify the
The wiring is in good condition, but software fails to match with that of the
setting of the serial port of the software
there is no information displayed for all PC
or some units and the software shows The unit address of the software does Modify the set unit address of the
there is communication failure not match with the actual unit address software
The unit is not energized Energize the unit
No chip is plugged in the indoor or Replug the chip and power on the unit
outdoor unit, or it is plugged reversely again
The unit address is wrong or repeated Modify the improperly set unit address
The wiring and other devices are in
A repeater may be is needed or the
good condition, but there is no Install the repeater correctly
repeater is connected improperly
information displayed for some device

No information is displayed and there


Check the wiring and follow the
is a alarm indicating the The communication A and B are
principle of line A-to-line A and line
communication failure. Besides the TX connected reversely or incorrectly
B-to-line B
lamp on the converter lights all the time
Although the communication cord,
Check the model of the wireless remote
devices and the installation are in good Incompatible display or controller is
controller and the wired controller, If
condition, there is still communication used
not, make a replacement
failure on the software

44
Annex A
(Normative Annex)
CRC Calculation Method

Calculation Method of CRC: The CRC is first preloading a 16-bit register to all 1’s. Then successively transact
each 8–bit bytes of the message. During calculating the CRC, each 8–bit character is exclusive ORed with the register
contents. Then the result is shifted in the direction of the least significant bit (LSB), with a zero filled into the
most significant bit (MSB) position. The LSB is extracted and examined. If the LSB is a 1, the register is then
exclusive ORed with a preset, fixed value. If the LSB was a 0, no exclusive OR takes place. This process is repeated
until eight shifts have been performed. After the last (eighth) shift, the next 8–bit character is exclusive ORed with the
register’s current value, and the process repeats for eight shifts as described above. The final contents of the register,
after all the characters of the message have been applied, is the CRC value. During transmission and reception of data
in CRC, low order byte is in the front.

A.2

1) Preload a 16–bit register with FFFF hex (all 1’s). Call this the CRC register.
2) Exclusive OR the first 8–bit byte of the message with the low–order byte of the 16–bit CRC register, putting
the result in the CRC registers.
3) Shift the CRC register one bit to the right (toward the LSB), zero–filling the MSB. Extract and examine the
LSB.
4) (If the LSB was 0): Repeat Step 3 (another shift). (If the LSB was 1): Exclusive OR the CRC register with the
polynomial value A001 (1010 0000 0000 0001).
5) Repeat Steps 3 and 4 until 8 shifts have been performed. When this is done, a complete 8–bit byte will have
been processed.
6) Repeat Steps 2 and 5 to process the next 8-bit data.
7) The final obtained CRC register is CRC.

45
A.3 CRC Example (Only for Reference)

Parameters:Data (Starting address of the block data), Data Size (Byte count of the block data)
Return: CRC Calculating Result

uint16 CRC_Calculate(uint8 *data, uint16 dataSize)


{

uint8 i;
uint8 temp;
uint16 j;
uint16 CRCode;
CRCode=0xffff;
for(j=0;j<dataSize;j++){
CRCode = CRCode^data[j];
for( i = 0; i < 8; i++ ){
temp = CRCode & 0x0001;
CRCode = (CRCode >> 1);
if(temp ==1){
CRCode = (CRCode^0xA001);// 0xA001 0xA001 is a preset multinomial, a constant value
}
}
}
return CRCode;
}

46
DOWNLOAD THE LATEST VERSION:

http://www.aermec.com/qrcode.asp?q=14459

AERMEC S.p.A.
Via Roma, 996 - 37040 Bevilacqua (VR) - Italy
Te l . + 3 9 0 4 4 2 6 3 3 1 1 1 - Fa x + 3 9 0 4 4 2 9 3 5 7 7
[email protected] - www.aermec.com

You might also like