SmartLogger MODBUS Interface Definitions
SmartLogger MODBUS Interface Definitions
Issue 31
Date 2018-03-13
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
Change History
16 2015-04-10 Changed the delete device signal to the device operation signal.
Adjusted the register address for the subsequent signals.
11 2015-02-26 Added System reset, Device search, Device search status , Delete
device and Device search status signals.
04 2014-07-10 Added active alarm serial numbers and historical alarm serial
numbers.
02 2014-03-28 Updated EMI and power meter, and added a time setting interface.
Contents
Change History.................................................................................................................................ii
1 Introduction.................................................................................................................................... 1
1.1 Definitions of Terms and Abbreviations.........................................................................................................................1
1.2 System Requirements..................................................................................................................................................... 2
2 Register Definitions...................................................................................................................... 3
2.1 Register Definitions for the SmartLogger...................................................................................................................... 3
2.2 Alarm Definitions for the SmartLogger....................................................................................................................... 12
2.3 Register Definitions for the Environmental Monitor Instrument................................................................................. 15
2.4 Register Definitions for the Power Meter.....................................................................................................................16
2.5 Register Definitions for the SUN2000......................................................................................................................... 18
2.6 Public Register Definitions...........................................................................................................................................18
2.7 Remapped Modbus definitions..................................................................................................................................... 18
5 Reference Documents................................................................................................................. 41
1 Introduction
Name Description
STR String
2 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 or all inverters accessed by
the SmartLogger. In the Modbus-TCP communications protocol, the logic device ID is fixed to 0.
9 Power off WO U16 N/A 1 40201 1 The data field can only be
0 for powering off all
inverters.
13 Array reset WO U16 N/A 1 40205 1 The data domain can only
be 0.
19 Power factor RW I16 N/A 1000 40429 1 Adjusts the total reactive
adjustment output power of all
inverters connected to the
SmartLogger. The range
is (-1,-0.8]U[0.8,1].
24 Power factor RO I16 N/A 1000 40532 1 Equals the total power
factor of allinverters.
1107 DI1 custom 1 The dry contact signal from the Adaptabl 50001 5
alarm peripheral to the corresponding DI e
port on the SmartLogger is abnormal.
1108 DI2 custom 1 50001 6
alarm
1100 Abnormal Active After the active power control is enabled on The SmartLogger disables
Schedule the SmartLogger, an abnormal external input the active power control, and
occurs or a target device becomes faulty. the active power output of
the power station may fail to
satisfy the requirements of
the power grid company.
1101 Abnormal After the reactive power control is enabled on The SmartLogger disables
Reactive the SmartLogger, an abnormal external input the reactive power control,
Schedule occurs or a target device becomes faulty. and the reactive power
output of the power station
may fail to satisfy the
requirements of the power
grid company.
1102 Abnormal Power When the SmartLogger reports data about the The remote scheduling
Meter Data grid-tied electricity meter to a remote device cannot obtain data
scheduling device, the communications about the grid-tied point and
device ADAM does not respond. therefore the operating status
of the power station cannot
be reported in real time to
the power grid company.
1103 MCB Disconnect The SmartLogger has detected that the The power station stops
general AC circuit breaker at the grid-tied feeding the power grid, all
point is OFF. inverters shut down, and the
SmartLogger disables the
power control function.
1104 Abnormal This alarm is triggered when the dry contact The alarm indicates the joint
Cubicle point of a cubicle device connected to the test result for relays, and
SmartLogger is open or closed during the does not affect other service
joint test for the relay used in the Japanese functions. The SmartLogger
market. displays and reports the
alarm.
1105 Device Address The SmartLogger address configuredfor data The SmartLogger forwarding
Conflict forwarding using Modbus-TCP conflicts with address is 0 by default. If the
the address of aconnected device. configured address conflicts
with the access
deviceaddress, data of the
access device fails to be
forwarded using Modbus-
TCP.
1106 AC SPD fault This alarm warns you that the dry contact A faulty SPD is unable to
signal sent to the SmartLogger is abnormal in protect the SmartLogger
the communication box scenario because the from lightning, and therefore
SPD inside the communication box is faulty. the SmartLogger may be
damaged under
thunderstorms.
1107~111 DI1~8 custom This alarm is generated when the The peripheral may be
4 alarm SmartLogger detects that the dry contact abnormal, which may impact
signal from the peripheral is abnormal. the system running.
1115 24V power This alarm warns you that the dry contact The meteorological sensor in
failure signal sent to the SmartLogger is abnormal in the communication box does
the communication box scenario because the not work properly due to no
24V power inside the communication box is power supply.
faulty.
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.
NOTE
SN16 ~ SN25 registers are supported only by DL/T 645 power meters.
The operating object of the register is an SUN2000 inverter. In the Modbus-TCP communications
protocol, the logic device ID is set to the RS485 address of the inverter.
For the detailed register definitions, see the SUN2000VXXXRXXXCXX MODBUS Protocol.
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.
5 Insulation RO U1 MΩ 1000 7 1
resistance 6
9 Cabinet RO I16 ℃ 10 11 1
temperature
3 PV module RO I16 ℃ 10 2 1
temperature
4 Ambient RO I16 ℃ 10 3 1
temperature
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.
After the SmartLogger receives the instruction value, it synchronizes the value in percentage
to all connected inverters.
The real-time range for active power adjustment can be queried through Max. active
adjustment (register 40697).
After the SmartLogger receives the instruction value, it synchronizes the value in the form of
Q/S to all connected inverters.
The real-time range for reactive power adjustment can be queried through Max. reactive
adjustment (register 40693) and Min. reactive adjustment (register 40695).
After the SmartLogger receives the instruction value, it synchronizes the value in percentage
to all connected inverters.
The reference value of this percentage value is the sum of the rated power of all inverters.
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
16 bits 0x1234
Table 4-3 Table of exception codes returned by an NE (0x00–0x8F are for common
exception codes)
Code Name Meaning
NOTE
4.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:
Data 00 01 00 00 00 06 00 03 7E 32 00 02
fram
e
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
frame
4.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:
Data 00 01 00 00 00 06 00 06 9D 08 00 00
fram
e
Data 00 01 00 00 00 06 00 06 9D 08 00 00
fram
e
Data 00 01 00 00 00 03 00 86 04
frame
NOTE
4.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:
Dat 00 01 00 00 00 0B 00 10 9C B 00 02 04 00 02 00 32
a 6
fra
me
Dataf 00 01 00 00 00 06 00 10 9C B6 00 02
rame
Dat 00 01 00 00 00 03 00 90 04
afra
me
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.
l Basic device identifier: All objects of this type are mandatory, such as the manufacturer
name, product code, and revision version.
l 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.
l 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– Normal
0x7F
0x80– Extensive
0xFF
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 length 1 N
...
For example:1=SUN2000;2=V100R001C01SPC120;3=P1.0-D1.0;4=123232323;5=2;6=1.
5 Reference Documents
Modbus_Application_Protocol_V1_1b3
Modbus over serial line specification and implementation guide V1.02
Modbus_Messaging_Implementation_Guide_V1_0b