UPS2000-(6 kVA-20 kVA)
Modbus Protocol Development Guide
1 Communication Protocol
Issue 02 (2016-03-10)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
17
1.5.5.2 Format for the Write Single Register Command
1.5.5.2.1 Request Frame Format
Byte
0
1
2
3
4
5
6
7
Field
ADDR
CMD
MSB
LSB
MSB
LSB
LSB
MSB
Descri
ption
Control
ler
address
Comma
nd type
Register address
Data
CRC checking
For example, the request 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.
1.5.5.2.2 Response Frame Format
Byte
0
1
2
3
4
5
6
7
Field
ADDR
CMD
MSB
LSB
MSB
LSB
LSB
MSB
Descri
ption
Control
ler
address
Comma
nd type
Register address
Data
CRC checking
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.