SmartLogger ModBus Interface Definitions
SmartLogger ModBus Interface Definitions
Issue 43
Date 2023-10-21
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: https://e.huawei.com
Vulnerability
Huawei's regulations on product vulnerability management are subject to "Vul. Response Process". For
details about the policy, see the following website:https://www.huawei.com/en/psirt/vul-response-process
For enterprise customers who need to obtain vulnerability information, visit:https://
securitybulletin.huawei.com/enterprise/en/security-advisory
Contents
1 Change History.........................................................................................................................1
2 Introduction.............................................................................................................................. 8
2.1 Definitions of Terms and Abbreviations.......................................................................................................................... 8
2.2 System Requirements............................................................................................................................................................ 9
3 Register Definitions.............................................................................................................. 10
3.1 Register Definitions for the SmartLogger.....................................................................................................................10
3.2 Alarm Definitions for the SmartLogger........................................................................................................................ 38
3.3 Register Definitions for the Environmental Monitor Instrument......................................................................... 48
3.4 Register Definitions for the Power Meter.....................................................................................................................49
3.5 Register Definitions for the SUN2000............................................................................................................................52
3.6 Public Register Definitions................................................................................................................................................. 52
3.7 Remapped Modbus definitions........................................................................................................................................ 53
6 Reference Documents...........................................................................................................82
1 Change History
02 2014-03-28 Updated EMI and power meter, and added a time setting
interface.
2 Introduction
This document provides details about the Modbus protocol used in the
SmartLogger and devices managed by the SmartLogger, such as inverters,
environment monitor instrument, and power meter. It can be used to regulate and
restrict follow-up third-party integration R&D and customizations.
Name Description
Name Description
STR String
3 Register Definitions
RW signals are permanently valid, will be retained until updated the next time,
and support 0X03, 0X06, and 0X10 instructions.
WO signals do not support the 0X03 query instruction, but support the 0X06 and
0X10 instructions.
In the following table, the operation object of the register is the SmartLogger. In the
Modbus-TCP communications protocol, the logic device ID is fixed to 0.
NOTE
1104 Abnormal This alarm is triggered when the The alarm indicates
Cubicle dry contact point of a cubicle the joint test result
device connected to the for relays, and does
SmartLogger is open or closed not affect other
during the joint test for the relay service functions.
used in the Japanese market. The SmartLogger
displays and reports
the alarm.
1106 AC SPD This alarm warns you that the A faulty SPD is
fault dry contact signal sent to the unable to protect
SmartLogger is abnormal in the the SmartLogger
communication box scenario from lightning, and
because the SPD inside the therefore the
communication box is faulty. SmartLogger may
be damaged under
thunderstorms.
1115 24V power This alarm warns you that the The meteorological
failure dry contact signal sent to the sensor in the
SmartLogger is abnormal in the communication box
communication box scenario does not work
because the 24V power inside properly due to no
the communication box is faulty. power supply.
1133 Smart NA NA
Tracker Out
of Control
1135 Insufficient NA NA
SDS License
Capacity
1141 ESS NA NA
Shutdown
upon STS
Switch-off
In the following table, the operating object of the register is an environmental monitor
instrument. In the Modbus-TCP communications protocol, the logic device ID is set to the
RS485 address of the environmental monitor instrument.
In the following table, the operating object of the register is a power meter. In the Modbus-
TCP communications protocol, the logic device ID is set to the RS485 address of the power
meter.
On the smart meter connected to the SmartLogger, a positive value indicates the power fed
to the grid, and a negative value indicates the power supplied from the grid.
NOTE
SN16 ~ SN25 registers are supported only by DL/T 645 power meters.
NOTE
The mapped registers are accessed by the SmartLogger address. By default, each device
takes up 25 registers, the register address is derived from the initial register address, offset
address, and device address translation. Device address for Modbus physical address.
Supported devices: inverter, environmental monitor instrument.
1 Active RO I32 kW 10 0 2
power 00
3 Total DC RO I16 A 10 4 1
input 0
current
5 Insulation RO U16 MΩ 10 7 1
resistance 00
9 Cabinet RO I16 ℃ 10 11 1
temperature
2 Wind RO I16 ° 1 1 1
direction
(WD)
3 PV module RO I16 ℃ 10 2 1
temperature
4 Ambient RO I16 ℃ 10 3 1
temperature
5 Total RO I16 W/ 10 4 1
irradiance m2
7 Total RO I16 W/ 10 7 1
irradiance 2 m2
11 Daily RO U32 kW 10 12 2
irradiation h/m 00
amount 2
12 Daily RO U32 kW 10 14 2
irradiation h/m 00
amount 2 2
The MODBUS-TCP interface provided by the SmartLogger can directly access the
inverter.
The built-in power interface of the SmartLogger can be used for array-level power
adjustment. If the power interface is used, the power adjustment instruction is first
processed by the SmartLogger and then forwarded to the inverter.
Related interfaces are as follows.
3 Active RW U3 kW 10 40424 2
power 2
adjustme
nt
NOTE
The address of an access device is an RS485 address which can be read on the LCD or built-
in WebUI of the SmartLogger.
0 1–247 248–255
NOTE
16 bits 0x1234
Table 5-3 Table of exception codes returned by an NE (0x00–0x8F are for common
exception codes)
Code Name Meaning
NOTE
5.3.3.4 Example
A master node sends a request to a slave node (logic device ID: 01) to query
register whose address is 32306/0X7E32. The request frame format is as follows:
Dat 00 01 00 00 00 06 00 03 7E 32 00 02
a
fra
me
Data 00 01 00 00 00 07 00 03 04 00 00 00 01
fram
e
Data 00 01 00 00 00 03 00 83 03
fram
e
5.3.4.4 Example
A master node sends a Power-On instruction(register address: 40200/0X9D08) to a
slave node whose address is 01. The request frame format is as follows:
Dat 00 01 00 00 00 06 00 06 9D 08 00 00
a
fra
me
Dat 00 01 00 00 00 06 00 06 9D 08 00 00
a
fra
me
Data 00 01 00 00 00 03 00 86 04
frame
NOTE
5.3.5.4 Example
A master node sends an instruction to a slave node whose address is 01 to set the
active power control mode (register address: 40118/0X9CB6) to 2, and set the
active power deration (register address: 40119/0X9CB7) to 50%. The request
frame format is as follows:
Da 0 0 0 0 0 0 00 10 9 B 0 0 04 00 0 0 32
ta 0 1 0 0 0 B C 6 0 2 2 0
fra
m
e
Dat 00 01 00 00 00 06 00 10 9C B6 00 02
afra
me
Dat 00 01 00 00 00 03 00 90 04
afr
am
e
Simulate the port of the read device identifier as an address space. This address
space consists of a set of addressable data elements. The data elements are
objects to be read, and the object IDs determine these data elements.
● Basic device identifier: All objects of this type are mandatory, such as the
manufacturer name, product code, and revision version.
● Normal device identifier: Except the basic data objects, the device provides
additional and optional identifiers and data object description. Normal device
identifiers define all types of objects according to standard definitions, but the
execution of this type of objects is optional.
● Extensive device identifier: Except the basic data objects, the device provides
additional and optional identifiers and special data object description. All
these data objects are related to the device.
0x03–0x7F Normal
0x80–0xFF Extensive
ReadDeviId code 1 01
Object ID 1 0x00
ReadDeviId code 1 01
Consistency level 1 01
More 1 N/A
Object length 1 N
ReadDeviId code 1 03
Object ID 1 0x87
ReadDeviId code 1 03
Consistency level 1 03
More 1 N/A
Object 1 N
length
...
6 Reference Documents
Modbus_Application_Protocol_V1_1b3
Modbus over serial line specification and implementation guide V1.02
Modbus_Messaging_Implementation_Guide_V1_0b