Huawei Ups Alarm Table
Huawei Ups Alarm Table
Huawei Ups Alarm Table
Issue 02
Date 2016-03-10
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and
the customer. All or part of the products, services and features described in this document may not be
within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements,
information, and recommendations in this document are provided "AS IS" without warranties, guarantees or
representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.
Website: http://e.huawei.com
Overview
This document describes the Modbus protocol used between the RMS-MODBUS01A card, an
optional component of the UPS2000-(6 kVA-20 kVA), and its host and provides examples of
communication establishment processes.
Intended Audience
This document is intended for:
Technical support engineers
Maintenance engineers
Users
Symbol Conventions
The symbols that may be found in this document are defined as follows.
Symbol Description
Indicates an imminently hazardous situation which, if not
avoided, will result in death or serious injury.
Symbol Description
injury, equipment damage, and environment deterioration.
Change History
Changes between document issues are cumulative. The latest document issue contains all the
changes made in earlier issues.
Issue 02 (2016-03-10)
The product type UPS2000A was added. The collection signal and alarm signal lists were
updated. The examples of communication processes with the host were changed.
Issue 01 (2015-07-14)
This issue is the first release.
Contents
1 Communication Protocol
1.2 Glossary
Master node: runs in the background and is responsible for communicating with slave nodes.
It is also the upper computer.
Slave node: in this guide, it is the RMS-MODBUS01A card. It collects information from the
UPS power modules, and is used for responding to the master node.
RS485: a serial communication standard, and supports the half-duplex serial short-range
communication.
Read device identifier command: the command is sent from the master node to the slave
nodes, and the slave nodes return the relevant UPS information.
Read command: the command is sent from the master node to the slave nodes, and the slave
nodes return the relevant register content.
Write command: the relevant parameters are packed at the master node and sent to the slave
nodes to finish the parameter setting.
Register address: Every signal or parameter of the slave devices corresponds to an address.
The host obtains the relevant information or sets the relevant parameters. These processes are
completed by accessing these register addresses.
Slave node address: this address is the RMS-MODBUS01A card address, set by the dual
in-line package (DIP) switch. The range is from 1 to 247.
When connecting to a network management system (NMS), use an RS485/232 converter with the
isolation function. A hot-swap RS485/232 converter is not recommended.
You can use the binary method to set the DIP switch. Table 1-1 lists the mapping between
addresses and toggle switches.
1 OFF ON ON ON ON ON ON ON
2 ON OFF ON ON ON ON ON ON
3 OFF OFF ON ON ON ON ON ON
4 ON ON OFF ON ON ON ON ON
5 OFF ON OFF ON ON ON ON ON
6 ON OFF OFF ON ON ON ON ON
7 OFF OFF OFF ON ON ON ON ON
8 ON ON ON OFF ON ON ON ON
9 OFF ON ON OFF ON ON ON ON
10 ON OFF ON OFF ON ON ON ON
11 OFF OFF ON OFF ON ON ON ON
12 ON ON OFF OFF ON ON ON ON
13 OFF ON OFF OFF ON ON ON ON
14 ON OFF OFF OFF ON ON ON ON
15 OFF OFF OFF OFF ON ON ON ON
16 ON ON ON ON OFF ON ON ON
17 OFF ON ON ON OFF ON ON ON
18 ON OFF ON ON OFF ON ON ON
19 OFF OFF ON ON OFF ON ON ON
20 ON ON OFF ON OFF ON ON ON
21 OFF ON OFF ON OFF ON ON ON
22 ON OFF OFF ON OFF ON ON ON
23 OFF OFF OFF ON OFF ON ON ON
24 ON ON ON OFF OFF ON ON ON
25 OFF ON ON OFF OFF ON ON ON
26 ON OFF ON OFF OFF ON ON ON
27 OFF OFF ON OFF OFF ON ON ON
28 ON ON OFF OFF OFF ON ON ON
29 OFF ON OFF OFF OFF ON ON ON
30 ON OFF OFF OFF OFF ON ON ON
31 OFF OFF OFF OFF OFF ON ON ON
32 ON ON ON ON ON OFF ON ON
Table 1-1 provides the methods for setting 1–32 addresses. You can follow binary DIP switch setting
rules to set 33–247 addresses.
Set toggle 4 to ON, as shown in Figure 1-3. This indicates that the Modbus protocol is
enabled. If both toggles 5 and 6 are set to ON, it indicates a two-wire system. If both of them
are set to OFF, it indicates a four-wire system.
If the RS485 build-out resistor toggle switch is set to ON, it indicates that there is a build-out resistor.
Set the toggle switch as required.
Step 3 Insert the Modbus card into the extended card slot of the UPS, and tighten the screws, as
shown in Figure 1-4.
Figure 1-4 Inserting the Modbus card into the optional card slot
Figure 1-6 shows the RJ45 port pins. For port pin definitions and cable connections, see Table
1-3.
----End
Byte 0 1 2 3 4 5 6
Response frame:
The response frame is not fixed. The frame depends on the object ID.
Request PDU:
Request Response
Domain Value Domain Value
Function Code 0x2B Function Code 0x2B
MEI Type 0x0E MEI Type 0x0E
ReadDevID Code 0x01 ReadDevID code 0x01
Object ID 0x00 Consistency Level 0x01
More 0x00
Next Object ID 0x00
Object Number 0x03
Object ID 0x00
Object Length 0x16
Object Value "Company
identifier"
Object ID 0x01
Object Length 0x0A
Object Value "Product code"
Object ID 0x02
Object Length 0x05
Object Value "V2.11"
If one device needs several transactions to process responses, execute the following
transactions.
First transaction:
Request Response
Request Response
MEI Type 0x0E MEI Type 0x0E
ReadDevID Code 0x01 ReadDevID code 0x01
Object ID 0x00 Consistency Level 0x01
More 0xFF
Next Object ID 0x02
Object Number 0x03
Object ID 0x00
Object Length 0x16
Object Value "Company
identifier"
Object ID 0x01
Object Length 0x1A
Object Value "Product code"
Second transaction:
Request Response
Domain Value Domain Value
Function Code 0x2B Function Code 0x2B
MEI Type 0x0E MEI Type 0x0E
ReadDevID Code 0x01 ReadDevID code 0x01
Object ID 0x02 Consistency Level 0x01
More 0x00
Next Object ID 0x00
Object Number 0x03
Object ID 0x02
Object Length 0x05
Object Value "V2.11"
The product code UPS2000 or UPS2000A will be returned. The signal lists for these two products are
different. For details, see section 2 Modbus Card Signal List.
Byte 0 1 2 3 4 5 6 7
Byte 0 1 2 3 4 5 6 7
Byte 0 1 2 3 4 5 6 7
The format of the request and response frames is the same for the write single device command.
For example, the response frame is 11 06 2B 15 00 01 52 BA.
11 is the slave device address. 06 is the write single register command. 2B15 is the register address.
0001 is the setting value. 52BA is the CRC checking value.
For example, the register address of the UPS 1 phase A input voltage is 11000 = 0x2AF8.
The relationship between the state registers' serial numbers and the energy flow diagram are shown in
the following figure.
When the RMS-MODBUS01A card is connected to only one UPS, you can use 0 as the UPS number.
That is, you can directly use the basic register address to query the corresponding value.
Some registers may return the following invalid values:
0x7FFF: invalid value of the floating point type returned by one register
0xFFFF: invalid value of a type other than the floating point type returned by one register
0xFFFFFFFF: invalid value returned by two registers
The UPS2000A does not support battery tests or the switching between equalized charging and float
charging. The signal name is marked with * to differentiate.
2.2 Alarms
2.2.1 Signal List Description
The definitions for the UPS alarm register addresses comply with the following rules:
Register address: basic register address + UPS number x 1024
The range of the UPS number is from 1 to 4.
For example, the register address of the UPS 1 mains abnormal voltage alarm is 40155 + 1024 =
41179 = 0xA0DB; the register address of the UPS 2 mains abnormal voltage alarm is 40155 + 2 x
1024 = 42203 = 0xA4DB.
When the RMS-MODBUS01A card is connected to only one UPS, you can use 0 as the UPS number.
That is, you can directly use the basic register address to query the corresponding value.
If the query is across registers, and a register is not defined in this table, the returned register
value is 0.
According to the command types of the communication protocols, you can identify the
register addresses of every UPS semaphore. There is a need for the UPS serial number offset.
Before collecting and setting the UPS semaphores, query the condition of the southbound
connections between the RMS-MODBUS01A card and the UPS, and confirm the number
assigned to every UPS by the RMS-MODBUS01A card, ensuring normal query of
semaphores needed.
The following diagram shows a communication process for reference.
C
CRC Cyclical Redundancy Check
E
ECO Economic Control Operation
EOD End Of Discharge
EPO Emergency Power Off
U
UPS Uninterruptible Power Supply