0% found this document useful (0 votes)
17 views

SmartLogger ModBus Interface Definitions

The document provides ModBus interface definitions for the SmartLogger, detailing register definitions, alarm definitions, and communication protocols. It includes a change history section that outlines updates and modifications made in various issues, with the latest update being on October 21, 2023. Additionally, it contains legal notices and links to Huawei's policies on product lifecycle and vulnerability management.

Uploaded by

quutty
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

SmartLogger ModBus Interface Definitions

The document provides ModBus interface definitions for the SmartLogger, detailing register definitions, alarm definitions, and communication protocols. It includes a change history section that outlines updates and modifications made in various issues, with the latest update being on October 21, 2023. Additionally, it contains legal notices and links to Huawei's policies on product lifecycle and vulnerability management.

Uploaded by

quutty
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 87

SmartLogger

ModBus Interface Definitions

Issue 43
Date 2023-10-21

HUAWEI TECHNOLOGIES CO., LTD.


Copyright © Huawei Technologies Co., Ltd. 2023. All rights reserved.
No part of this document may be reproduced or transmitted in any form or by any means without prior
written consent of Huawei Technologies Co., Ltd.

Trademarks and Permissions

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.

Huawei Technologies Co., Ltd.


Address: Huawei Industrial Base
Bantian, Longgang
Shenzhen 518129
People's Republic of China

Website: https://e.huawei.com

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. i


Security Declaration
Product Life Cycle
Huawei's regulations on product life cycle are subject to the Product End of Life Policy. For details about
the policy, see the following website:https://support.huawei.com/ecolumnsweb/en/warranty-policy

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

Preconfigured Digital Certificate


Huawei has released the Huawei Preset Digital Certificate Disclaimer for the preconfigured digital
certificates delivered with devices. For details about the disclaimer, visit the following website:https://
support.huawei.com/enterprise/en/bulletins-service/ENEWS2000015789

Life Cycle of Product Documentation


Huawei released the Huawei Product Documentation Lifecycle Policy for after-sales customer
documentation. For details about this policy, see the website of Huawei's official website:https://
support.huawei.com/enterprise/en/bulletins-website/ENEWS2000017761

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. ii


SmartLogger
ModBus Interface Definitions Contents

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

4 Power Adjustment for Inverters........................................................................................ 57


4.1 40420, 40424: Active Adjustment....................................................................................................................................62
4.2 40422, 40426: Reactive Adjustment............................................................................................................................... 62
4.3 40428: Active Power Adjustment by Percentage....................................................................................................... 62
4.4 40429: Power Factor Adjustment.................................................................................................................................... 62
4.5 40378: PV Active Power Adjustment in Fixed Value................................................................................................. 62
4.6 40380: PV Active Power Adjustment in Percentage..................................................................................................63
4.7 40381: ESS Active Power Adjustment in Fixed Value............................................................................................... 63
4.8 40383: Active ESS Power Adjustment in Percentage................................................................................................ 63
4.9 40384: Reactive PV Power Adjustment in Fixed Value............................................................................................ 63
4.10 40386: Reactive ESS Power Adjustment in Fixed Value........................................................................................ 64
4.11 40430 Active Power Adjustment (High-Priority)..................................................................................................... 64
4.12 40432: Reactive Power Adjustment (High-Priority)............................................................................................... 64

5 Communication Protocol Overview.................................................................................. 65


5.1 Physical Layer......................................................................................................................................................................... 65
5.2 Data Link Layer......................................................................................................................................................................65
5.2.1 Addressing Mode............................................................................................................................................................... 65
5.2.2 Frame Structure................................................................................................................................................................. 66
5.2.3 Data Encoding.................................................................................................................................................................... 67
5.2.4 Interaction Process............................................................................................................................................................ 67

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. iii


SmartLogger
ModBus Interface Definitions Contents

5.3 Application Layer.................................................................................................................................................................. 67


5.3.1 Function Code List............................................................................................................................................................. 68
5.3.2 Exception Code List........................................................................................................................................................... 68
5.3.3 Reading Registers (0X03)............................................................................................................................................... 72
5.3.3.1 Frame Format for a Request from a Master Node............................................................................................ 72
5.3.3.2 Frame Format for a Normal Response from a Slave Node.............................................................................72
5.3.3.3 Frame Format for an Abnormal Response from a Slave Node......................................................................72
5.3.3.4 Example............................................................................................................................................................................. 73
5.3.4 Writing a Single Register (0X06)................................................................................................................................. 73
5.3.4.1 Frame Format for a Request from a Master Node............................................................................................ 74
5.3.4.2 Frame Format for a Normal Response from a Slave Node.............................................................................74
5.3.4.3 Frame Format for an Abnormal Response from a Slave Node......................................................................74
5.3.4.4 Example............................................................................................................................................................................. 74
5.3.5 Writing Multiple Registers..............................................................................................................................................75
5.3.5.1 Frame Format for a Request from a Master Node............................................................................................ 75
5.3.5.2 Frame Format for a Normal Response from a Slave Node.............................................................................76
5.3.5.3 Frame Format for an Abnormal Response from a Slave Node......................................................................76
5.3.5.4 Example............................................................................................................................................................................. 76
5.3.6 Reading Device Identifiers (0X2B)............................................................................................................................... 77
5.3.6.1 Commands for Querying Device Identifiers..........................................................................................................78
5.3.6.2 Command for Querying a Device List.....................................................................................................................79
5.3.6.3 Device Description Definitions...................................................................................................................................81

6 Reference Documents...........................................................................................................82

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. iv


SmartLogger
ModBus Interface Definitions 1 Change History

1 Change History

Issu Date Change Description


e

43 2023-10-21 The active power gradient register (42728) is added.

42 2023-08-28 The following registers are added: Subarray energy storage


PCS startup (44373), subarray energy storage PCS
shutdown (44374), and subarray PV inverter microgrid
adaptability (44375)

41 2023-6-2 The following registers are added: PV array PCS working


mode (44364)

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 1


SmartLogger
ModBus Interface Definitions 1 Change History

Issu Date Change Description


e

40 2022-4-14 The following registers are added:


PV array black start (44360), PV array black start status
(44361), PCS working mode (44365), VSG control voltage
adjustment value (44366), VSG control frequency
adjustment value (44367), PV shutdown (40196), PV
startup (40197), ESS shutdown (40198), ESS startup
(40199), active PV power adjustment in fixed value
(40378), active PV power adjustment in percentage
(40380), and active ESS power adjustment in fixed value
(40381), active ESS power adjustment in percentage
(40383), reactive ESS power adjustment in fixed value
(40384), reactive ESS power adjustment in fixed value
(40386), active PV power (40388), reactive PV power
(40390), active ESS power (40392), reactive ESS power
(40394), rated PV power (40396), rated ESS power
(40398), highest PV active adjustment (40400), lowest PV
reactive adjustment (40402), lowest PV reactive power
adjustment (40404), highest ESS reactive power
adjustment (40406), lowest ESS reactive power adjustment
(40408), SOH (40516), SOE (40517), rated ESS capacity
(40518), alarm 5 (50004), alarm 6 (50005), active power
adjustment (high-priority) (40430), reactive power
adjustment (high-priority) (40432), status information
(40578), ESS end-of-discharge SOC (40217), ESS end-of-
charge SOC (40218), Energy charged today (40468),
Energy discharged today (40470), Total energy charged
(40472), Total energy discharged (40476), Today's power
supply from grid (40438), Total power supply from grid
(40464), Quantity of running ESS PCSs (40207), Quantity
of running PV inverters (40206), Highest stable charge
power of ESS (40494), Highest stable discharge power of
ESS (40496), Active power control mode (41889), Reactive
power control mode (44165), Array in operation (40535),
Array shut down (40536), PV inverter in operation
(40537), PV inverter shut down (40538), ESS PCS in
operation (40539), ESS PCS shut down (40540), Working
mode(42256)
2. Modified the description of the adjustment range of the
active and reactive power adjustment interfaces.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 2


SmartLogger
ModBus Interface Definitions 1 Change History

Issu Date Change Description


e

39 2021-07-31 The following register types are changed:


Changed the register type of active power adjustment by
percentage (40428) from U16 to I16.
Changed the register type of active power adjustment
(40420), highest active power adjustment (40697), active
power scheduling target (40738), and active power
scheduling percentage (40802) from U32 to I32.
The following register ranges are changed:
Changed the range of active power adjustment by
percentage (40428) and active power scheduling
percentage (40802) from [0, 100] to [–100, 100].
The following registers are added:
Lowest active power adjustment value (40412), chargeable
capacity (40480), dischargeable capacity (40482), rated
ESS capacity (40484), and SOC (40515)
Highest ESS charge power (40490) and highest ESS
discharge power (40492)

38 2021-05-18 Added two enumerated values for reactive power control


mode (40740): 12: PF-U characteristic curve; 14: Q-P
characteristic curve.
Added the description of the power direction of meters.

37 2020-06-24 Added register alarm 3 (50002) and register alarm 4


(50003) for alarms related to management system 1;
added alarm cause ID 2 for alarm IDs 1120, 1121, and
1122 to identify certificate alarms related to management
system 1.

36 2020-04-13 Add the following registers in SmartLogger Register


Definitions Table:
Plant status (Qinghai new) (40541);
Plant status (Shanxi) (40542).

35 2020-02-20 Add the following registers in SmartLogger Register


Definitions Table:
Plant status (40543), Communication abnormal shutdown
(41947), Communication abnormal detection time (41948)
and Auto start upon communication recovery (41949).
Modified about SmartLogger Alarm Definitions Table:
Delete Alarm SubID 1-3 of Abnormal Active Schedule
(Alarm ID 1100), SubID 1-3 of Abnormal Reactive
Schedule (Alarm ID 1101) and Abnormal Power Meter
Data (Alarm ID 1102), and add Alarm ID 1116-1131.
Meanwhile its detail description is modified in Alarm
Descriptions and Impacts Table.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 3


SmartLogger
ModBus Interface Definitions 1 Change History

Issu Date Change Description


e

34 2019-05-28 Update enumeration name of "Active power control


mode" and "Reactive power control mode"

33 2019-04-22 Added Alarm ID: License Expired (supported by


V200R002C20SPC118 and later version)

32 2018-11-15 Added the definition of the power meter register:


(supported by V100R001C00SPC118 and later version)
Phase A active power
Phase B active power
Phase C active power
Total active electricity
Total reactive electricity
Negative active electricity
Negative reactive electricity
Positive active electricity
Positive reactive electricity

31 2018-03-13 Added Duration of daily power generation


Added Plant status
Added Uab, Ubc, Uca

30 2018-01-12 Added Table 2 Environmental Monitor Instrument Register


Definitions of 2.7 Remapped Modbus definitions
(supported by V200R002C20 and later version)
Changed the power meter Apparent power to I32

29 2017-12-14 Added the definition of the power meter register:


(supported by V200R002C20 and later version)
Custom 1 ~ Custom 10

28 2017-12-11 Added CO2 emission reduction coefficient

27 2017-11-09 Changed Reactive power control mode, add new:


Distributed power factor closed-loop control (supported by
V100R001C00SPC113 and later version)

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 4


SmartLogger
ModBus Interface Definitions 1 Change History

Issu Date Change Description


e

26 2017-08-22 Added Power on/off (supported by V200R002C10SPC100


and later version)
Added Transfer trip (supported by V200R002C10SPC100
and later version)
Added Active adjustment (supported by
V200R002C10SPC100 and later version)
Added Reactive adjustment (supported by
V200R002C10SPC100 and later version)
Added the definition of the power meter register:
(supported by V200R002C10SPC100 and later version)
Electricity in positive active electricity price segment 1
Electricity in positive active electricity price segment 2
Electricity in positive active electricity price segment 3
Electricity in positive active electricity price segment 4
Electricity in negative active electricity price segment 1
Electricity in negative active electricity price segment 2
Electricity in negative active electricity price segment 3
Electricity in negative active electricity price segment 4
Added 2.7 Remapped Modbus definitions (supported by
V200R002C10SPC100 and later version)
Changed Active power control mode, add new: Remote
output control
Changed Reactive power control mode, add new: Power
factor closed-loop control

25 2017-08-15 Added CO2 reduction


Added the definition of the power meter register:
Positive active electricity
Positive reactive electricity

24 2017-07-26 Added Active scheduling percentage


Added PV module capacity
Added Rated plant capacity
Added Total rated capacity of grid-connected inverters
Added Conversion coefficient
Added Communication status
Added Daily irradiation amount, Unit: kWh/m2
Added Daily irradiation amount 2, Unit: kWh/m2
Changed the register type of power meter Phase A
current, Phase B current, and Phase C current to I32

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 5


SmartLogger
ModBus Interface Definitions 1 Change History

Issu Date Change Description


e

23 2016-10-22 Added DC current 2


Deleted Device feature code 1~4
Added the 24V power failure alarm.

22 2016-09-02 Baseline Document for Test.

21 2016-06-02 Added the following signals:


● Current error during scanning
● Inspection
● IV curve scanning
Changed Device feature code 1, add new Bit9: IV curve
scanning

20 2016-05-24 Add alarm AC SPD fault and DI1–8 custom alarm


Added the following signals:
● Current radiation 2
● Daily Radiation 2
● Custom 1
● Custom 2

19 2015-11-03 Added the entries of device feature codes 1–4.


Added the entry of device list change number.

18 2015-10-19 Added the Device Address Conflict alarm.

17 2015-09-21 Added Reactive electricity and Apparentpower to the


power meter.
Added Port number and Physicaladdress to the common
register.
Added the entry of array reset.

16 2015-04-10 Changed the delete device signal to the device operation


signal.
Adjusted the register address for the subsequent signals.

15 2015-04-07 Updated the description for City.

14 2015-03-28 Added the following signals:


● Active power adjustment by percentage
● Power factor adjustment

13 2015-03-23 Added the Reactive power scheduling curve mode signal.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 6


SmartLogger
ModBus Interface Definitions 1 Change History

Issu Date Change Description


e

12 2015-02-28 Added the following signals:


● Active power scheduling mode
● Active power scheduling target value
● Reactive power scheduling mode
● Reactive power scheduling target value

11 2015-02-26 Added System reset, Device search, Device search status ,


Delete device and Device search status signals.

10 2014-11-21 Added the DI group status.

09 2014-11-10 Added the Daily radiation read-only signals.

08 2014-09-24 Added Max. reactive adjustment, Min. reactive adjustment,


and Max. active adjustment read-only signals.

07 2014-08-30 Added the public register device alias.

06 2014-08-21 Added the Abnormal Cubicle alarm.

05 2014-07-29 Changed the gain of Active electricity to 10 for an


electricity meter.

04 2014-07-10 Added active alarm serial numbers and historical alarm


serial numbers.

03 2014-06-06 Added the device connection status public device interface.

02 2014-03-28 Updated EMI and power meter, and added a time setting
interface.

01 2013-09-22 Initial release.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 7


SmartLogger
ModBus Interface Definitions 2 Introduction

2 Introduction

The Modbus-TCP protocol is a well-known factual automation standard. This


document describes ModBus-TCP functions related to communications in the
SmartLogger.

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.

2.1 Definitions of Terms and Abbreviations

2.2 System Requirements

2.1 Definitions of Terms and Abbreviations


Table 2-1 Terms Definitions

Name Description

Master node During master-slave communication,


the party that initiates a
communication request is referred to
as the master node.

Slave node During master-slave communication,


the party that responds to a
communication request is referred to
as the slave node.

Broadcast address Fixed to 0.

Register address The address of a register is recorded in


two bytes.

U16 Unsigned integer (16 bits)

U32 Unsigned integer (32 bits)

U64 Unsigned integer (64 bits)

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 8


SmartLogger
ModBus Interface Definitions 2 Introduction

Name Description

I16 Signed integer (16 bits)

I32 Signed integer (32 bits)

I64 Signed integer (64 bits)

STR String

MLD Multiple bytes

N/A Not applicable

2.2 System Requirements


Applicable model: SmartLogger
Firmware version:
SUN2000 V100R001C95 or later
SmartLogger V100R001C00 or later
SmartLogger V100R002C00 or later
SmartLogger V200R001C00 or later
SmartLogger V300R001C00 or later

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 9


SmartLogger
ModBus Interface Definitions 3 Register Definitions

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.

RO signals support only the 0X03 instruction.

3.1 Register Definitions for the SmartLogger

3.2 Alarm Definitions for the SmartLogger

3.3 Register Definitions for the Environmental Monitor Instrument

3.4 Register Definitions for the Power Meter

3.5 Register Definitions for the SUN2000

3.6 Public Register Definitions

3.7 Remapped Modbus definitions

3.1 Register Definitions for the SmartLogger


NOTE

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.

Table 3-1 SmartLogger Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

1 Date&Ti RW U3 N/A 1 40000 2 Epoch seconds


me 2 UTC

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 10


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

2 City RW U3 N/A 1 40002 2


2

3 Daylight RW U1 N/A 1 40004 1 0: Disabled


Saving 6 1: Enabled
Time
(DST)

4 Time RO I32 s 1 40005 2 Time zone offset


Zone measured in
seconds

5 DST state RO U1 N/A 1 40007 1 1: DST not


6 started
1: DST started

6 DST RO U1 mins 1 40008 1 N/A


offset 6

7 Local RO U3 N/A 1 40009 2 Epoch seconds,


time 2 local time of the
SmartLogger

8 PV WO U1 N/A N/A 40196 1 The data field


inverter 6 can only be 0,
shutdow which shuts
n down PV
inverters.

9 PV WO U1 N/A N/A 40197 1 The data field


inverter 6 can only be 0,
startup which starts up
PV inverters.

10 ESS WO U1 N/A N/A 40198 1 The data field


shutdow 6 can only be 0,
n which shuts
down ESS
devices.

11 ESS WO U1 N/A N/A 40199 1 The data field


startup 6 can only be 0,
which starts up
ESS devices.

12 Startup WO U1 N/A 1 40200 1 The data field


6 can only be 0,
which starts up
inverters and
ESS devices.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 11


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

13 Shutdow WO U1 N/A 1 40201 1 The data field


n 6 can only be 0,
which shuts
down inverters
and ESS devices.

14 Startup/ WO U1 N/A 1 40202 1 0: Shutdown


Shutdow 6 1: Startup
n

15 Startup/ WO U1 N/A 1 40203 1 0: Startup


Shutdow 6 1: Shutdown
n

16 Transfer RW U1 N/A 1 40204 1 0: In operation


trip 6 1: Shut down
due to faults
The device shuts
down when it
stops due to
faults and does
not respond to
the startup
request.

17 Array WO U1 N/A 1 40205 1 The data field


reset 6 can only be 0,
which indicates
reset.

18 Quantity RO U1 N/A 1 40206 1 Quantity of


of 6 inverters that are
running in operation in
PV the array.
inverters

19 Quantity RO U1 N/A 1 40207 1 Quantity of PCSs


of 6 that are in
running operation in the
ESS PCSs array.

20 ESS end- RO U1 % 10 40217 1 Array-level end-


of- 6 of-discharge
discharge SOC calculated
SOC based on the
end-of-discharge
SOC of battery
racks in the
array.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 12


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

21 ESS end- RO U1 % 10 40218 1 Array-level end-


of-charge 6 of-charge SOC
SOC calculated based
on the end-of-
charge SOC of
battery racks in
the array.

22 Active PV RW U3 kW 10 40378 2 [0, Total rated


power 2 active power of
adjustme inverters in the
nt in array]
fixed The command
value will not be
executed if the
value in it is
beyond the valid
range.

23 Active PV RW U1 % 10 40380 1 [0,100.0]


power 6
adjustme
nt in
percenta
ge

24 Active RW I32 kW 10 40381 2 [–Total rated


ESS active power of
power PCSs in the
adjustme array, Total rated
nt in active power of
fixed PCSs in the
value array]
The command
will not be
executed if the
value in it is
beyond the valid
range.

25 Active RW I16 % 10 40383 1 [–100.0,100.0]. A


ESS negative value
power indicates
adjustme charging.
nt in
percenta
ge

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 13


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

26 Reactive RW I32 kVar 10 40384 2 [–Total rated


PV power apparent power
adjustme of inverters in
nt in the array, Total
fixed rated apparent
value power of
inverters in the
array]
The command
will not be
executed if the
value in it is
beyond the valid
range.

27 Reactive RW I32 kVar 10 40386 2 [–Total rated


ESS apparent power
power of PCSs in the
adjustme array, Total rated
nt in apparent power
fixed of PCSs in the
value array]
The command
will not be
executed if the
value in it is
beyond the valid
range.

28 Active PV RO U3 kW 100 40388 2 Actual active


power 2 0 output power of
PV devices in the
PV array

29 Reactive RO I32 kVar 100 40390 2 Actual reactive


PV power 0 output power of
PV devices in the
PV array

30 Active RO I32 kW 100 40392 2 Actual active


ESS 0 output power of
power ESS devices in
the PV array

31 Reactive RO I32 kVar 100 40394 2 Actual reactive


ESS 0 output power of
power ESS devices in
the PV array

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 14


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

32 Rated PV RO U3 kW 100 40396 2 Rated power of


power 2 0 PV devices in the
PV array
Note: Only
statistics about
grid-tied devices
are collected for
northbound
open-loop
scheduling.

33 Rated RO U3 kW 100 40398 2 Rated power of


ESS 2 0 ESS devices in
power the PV array
Note: Only
statistics about
grid-tied devices
are collected for
northbound
open-loop
scheduling.

34 Maximu RO U3 kW 100 40400 2 Highest available


m active 2 0 active power of
PV power PV devices in the
adjustme PV array
nt value

35 Maximu RO U3 kVar 100 40402 2 Highest available


m 2 0 reactive power
reactive of PV devices in
PV power the PV array
adjustme
nt value

36 Minimu RO I32 kVar 100 40404 2 Lowest available


m 0 reactive power
reactive of PV devices in
PV power the PV array
adjustme
nt value

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 15


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

37 Maximu RO U3 kVar 100 40406 2 Highest available


m 2 0 reactive power
reactive of ESS devices in
ESS the PV array
power
adjustme
nt value

38 Minimu RO I32 kVar 100 40408 2 Lowest available


m 0 reactive power
reactive of ESS devices in
ESS the PV array
power
adjustme
nt value

39 Minimu RO I32 kW 10 40412 2 Maximum


m active charge power
power (negative value)
adjustme supported by the
nt value ESS devices in
the array. The
value is 0 for the
PV array.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 16


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

40 Active RW I32 kW 10 40420 2 Adjusts the total


power active output
adjustme power of all
nt inverters/PCSs
connected to the
SmartLogger.
Out-of-range
scheduling
values are
discarded. If ESSs
are deployed,
this parameter
can be set to a
negative value,
indicating that
the active power
is supplied from
the power grid.
[–Total rated
active power of
PCSs in the
array, Total rated
active power of
inverters and
PCSs in the
array]

41 Reactive RW I32 kVar 10 40422 2 Adjusts the total


power reactive output
adjustme power of all
nt inverters/PCSs
connected to the
SmartLogger.
Out-of-range
scheduling
values are
discarded.
[–Total rated
apparent power
of inverters and
PCSs in the
array, Total rated
apparent power
of inverters and
PCSs in the
array]

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 17


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

42 Active RW U3 kW 10 40424 2 Adjusts the total


power 2 active output
adjustme power of all
nt inverters/PCSs
connected to the
SmartLogger.

43 Reactive RW I32 kVar 10 40426 2 Adjusts the total


power reactive output
adjustme power of all
nt inverters/PCSs
connected to the
SmartLogger.

44 Active RW I16 % 10 40428 1 Adjusts the total


power active output
adjustme power of all
nt in inverters/PCSs
percenta connected to the
ge SmartLogger.
The value range
is –100% to
100%. If ESSs
are deployed,
this parameter
can be set to a
negative value,
indicating that
the active power
is supplied from
the power grid.

45 Power RW I16 N/A 100 40429 1 Adjusts the total


factor 0 reactive output
adjustme power of all
nt inverters/PCSs
connected to the
SmartLogger.
The range is (–
1,–0.8]U[0.8,1].

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 18


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

46 Active RW I32 kW 100 40430 2 [–Total rated


power 0 active power of
adjustme PCSs in the
nt array, Total rated
(highest- active power of
priority) inverters and
PCSs in the
array]
The command
will not be
executed if the
value in it is
beyond the valid
range.

47 Reactive RW I32 kVar 100 40432 2 [–Total rated


power 0 apparent power
adjustme of inverters and
nt PCSs in the
(highest- array, Total rated
priority) apparent power
of inverters and
PCSs in the
array]
The command
will not be
executed if the
value in it is
beyond the valid
range.

48 Power RO U3 kWh 100 40438 2


supply 2
from grid
today

49 Total RO I64 kWh 100 40464 4


power
supply
from grid

50 Energy RO U3 kWh 100 40468 2


charged 2
today

51 Energy RO U3 kWh 100 40470 2


discharge 2
d today

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 19


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

52 Total RO I64 kWh 100 40472 4


energy
charged

53 Total RO I64 kWh 100 40476 4


energy
discharge
d

54 Chargeab RO U3 kWh 100 40480 2 Total chargeable


le 2 0 capacity of all
capacity ESSs

55 Discharg RO U3 kWh 100 40482 2 Total


eable 2 0 dischargeable
capacity capacity of all
ESSs

56 Rated RO U3 kWh 100 40484 2 Total rated


ESS 2 0 capacity of all
capacity ESSs

57 Maximu RO U3 kW 100 40490 2 Total highest


m ESS 2 0 real-time charge
charge power of all ESSs
power in a plant

58 Maximu RO U3 kW 100 40492 2 Total highest


m ESS 2 0 real-time
discharge discharge power
power of all ESSs in a
plant

59 Highest RO U3 kW 100 40494 2 Maximum


stable 2 0 charge rate of
charge ESSs in the array.
power of Compared with
ESS the value of
"Maximum ESS
charge power",
the value of this
signal also
includes the
charge power of
battery racks
bypassed due to
full discharge.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 20


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

60 Highest RO U3 kW 100 40496 2 Maximum


stable 2 0 discharge rate of
discharge ESSs in the array.
power of Compared with
ESS the value of
"Maximum ESS
discharge
power", the
value of this
signal also
includes the
discharge power
of battery racks
bypassed due to
full charge.

61 DC RO I16 A 10 40500 1 Total input DC


current current of all
inverters. The
value covers only
inverters in PV-
only scenarios
and does not
cover ESS
devices.
If the value
exceeds the I16
representation
range, register
40554 is
recommended.

62 SOC RO U1 % 10 40515 1 Aggregated


6 battery SOC at
the plant level

63 SOH RO U1 % 10 40516 1 Aggregated


6 battery SOH at
the plant level

64 SOE RO U1 % 10 40517 1 Aggregated


6 battery SOE at
the plant level

65 Rated RO U3 Ah 10 40518 2 Total rated


ESS 2 battery capacity
capacity (Ah) at the plant
in Ah level

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 21


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

66 Input RO U3 kW 100 40521 2 Total input


power 2 0 power of all
inverters. The
value covers only
inverters in PV-
only scenarios
and does not
cover ESS
devices.

67 CO2 RO U3 kg 10 40523 2 Total CO2


reduced 2 reduction of all
inverters. If the
value exceeds
the U32
representation
range, register
40550 is
recommended.

68 Active RO I32 kW 100 40525 2 Total output


power 0 active power of
all inverters/
PCSs

69 Power RO I16 N/A 100 40532 1 Calculated based


factor 0 on the total
active power and
total reactive
power of grid-
tied inverters/
PCSs in the
array.

70 Array in RO U1 N/A N/A 40535 1 0: Invalid


operation 6 1: In operation
An array is
regarded in
operation if any
inverter or PCS
in the array is in
operation.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 22


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

71 Array RO U1 N/A N/A 40536 1 0: Invalid


shut 6 1: Shut down
down
An array is
regarded shut
down only when
all inverters and
PCSs in the array
are shut down
(including all
not-in-operation
states, such as
faulty, standby,
and shut down).

72 PV RO U1 N/A N/A 40537 1 0: Invalid


inverter 6 1: In operation
in
operation An array is
regarded in
operation if any
inverter in the
array is in
operation.

73 PV RO U1 N/A N/A 40538 1 0: Invalid


inverter 6 1: Shut down
shut
down An array is
regarded shut
down only when
all inverters in
the array are
shut down
(including all
not-in-operation
states, such as
faulty, standby,
and shut down).

74 ESS PCS RO U1 N/A N/A 40539 1 0: Invalid


in 6 1: In operation
operation
An array is
regarded in
operation if any
PCS in the array
is in operation.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 23


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

75 ESS PCS RO U1 N/A N/A 40540 1 0: Invalid


shut 6 1: Shut down
down
An array is
regarded shut
down only when
all PCSs in the
array are shut
down (including
all not-in-
operation states,
such as faulty,
standby, and
shut down).

76 Plant RO U1 N/A 1 40541 1 Used in Qinghai


status 6 (added in 2020)
and applicable
to PV-only
inverters.
1: In operation
2: Standby
3: Unavailable
4:
Communication
failure

77 Plant RO U1 N/A 1 40542 1 Used in Shaanxi


status 6 and applicable
to PV-only
inverters.
1: In operation
2: Standby
3: Unavailable
4:
Communication
failure

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 24


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

78 Plant RO U1 N/A 1 40543 1 Used in Qinghai


status 6 and applicable
to PV-only
inverters.
1: Running
without
restrictions
2: Running with
restrictions
3: Standby
4: Unavailable
(faulty or under
maintenance)
5:
Communication
failure

79 Reactive RO I32 kVar 100 40544 2 Total output


power 0 reactive power
of all inverters/
PCSs

80 CO2 RO U6 kg 100 40550 4 Total CO2


reduced 4 reduction of all
inverters. This
register
represents a
larger value
range compared
with register
40523.

81 DC RO I32 A 10 40554 2 Total input DC


current 2 current of all
inverters/PCSs
This register
represents a
larger value
range compared
with register
40500.

82 Total RO U3 kWh 10 40560 2 Total energy


energy 2 yield of all
yield inverters/PCSs

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 25


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

83 Yield RO U3 kWh 10 40562 2 Energy yield of


today 2 all inverters/
PCSs today

84 Today's RO U3 h 10 40564 2 Longest power


power 2 generation hours
generatio of PV inverters in
n hours the array from
00:00 of the
current day.

85 Plant RO U1 N/A 1 40566 1 Used in Xinjiang


status 6 and applicable
to PV-only
inverters.
0: Standby
1: On-grid at
normal power
2: On-grid at
self-derated
power
3. On-grid at
derated power
due to
curtailment
4: Shut down as
planned
5: Shut down
due to
curtailment
6: Shut down
due to faults
7:
Communication
failure

86 Plant RO U1 N/A 1 40567 1 Used in Ningxia


status 6 and applicable
to PV-only
inverters.
1: On-grid
2: Shut down
3: Under
maintenance
4: Standby

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 26


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

87 Active RO U3 N/A 1 40568 2 N/A


alarm 2
sequence
number

88 Historical RO U3 N/A 1 40570 2 N/A


alarm 2
sequence
number

89 Phase A RO I16 A 1 40572 1 Total phase A


current current of all
of grid inverters/PCSs

90 Phase B RO I16 A 1 40573 1 Total phase B


current current of all
of grid inverters/PCSs

91 Phase C RO I16 A 1 40574 1 Total phase C


current current of all
of grid inverters/PCSs

92 A-B line RO U1 V 10 40575 1


voltage 6
of grid

93 B-C line RO U1 V 10 40576 1


voltage 6
of grid

94 C-A line RO U1 V 10 40577 1


voltage 6
of grid

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 27


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

95 Status RO U1 N/A 1 40578 1 Status feedback


informati 6 in panoramic
on surveillance
scenarios.
Bit 00: Emergent
active power
control
overriding
Bit 01: Emergent
reactive power
control
overriding
Bits 02 to 15:
Reserved
0: Not overriding
1: Overriding

96 Reserved RO U1 N/A 1 40608 10 N/A


6

97 Inverter RO U1 % 100 40685 1 N/A


efficiency 6

98 Maximu RO U3 kVar 10 40693 2 Total maximum


m 2 inductive
reactive reactive power
power of the PV
adjustme inverters and/or
nt value PCSs in the
adjustable
parallel state of
the array.

99 Minimu RO I32 kVar 10 40695 2 Total maximum


m capacitive
reactive reactive power
power of PV inverters
adjustme and PCSs in the
nt value adjustable
parallel state of
the array.

10 Maximu RO I32 kW 10 40697 2 Total maximum


0 m active power of all
power inverters/PCSs
adjustme connected to the
nt value parallel system.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 28


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

10 Locking RO U1 N/A 1 40699 1 0: Locked


1 status 6 1: Unlocked

10 DI group RO U1 N/A 1 40700 1 Bit 0: DI1


2 state 6 ~
Bit 7: DI8
1: On
0: Off

10 Equipme RO ST N/A 1 40713 10 N/A


3 nt serial R
number
(ESN)

10 System WO U1 N/A 1 40723 1 Resets the


4 reset 6 SmartLogger.
The data field is
not checked.

10 Fast WO U1 N/A 1 40724 1 Automatically


5 device 6 allocates and
access searches for
devices.

10 Device WO ML N/A 1 40725 11 First 10 registers:


6 operation D determine the
device to be
operated based
on the ESN. The
register content
is the device
ESN.
Last register: If
the operation
type is 0, the
SmartLogger
deletes inverters.
If the operation
type is 1, the
inverter alarm is
reset on the
SmartLogger
side.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 29


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

10 Device RO U1 N/A 1 40736 1 0: Search


7 access 6 completed
status 1: Search in
progress
2: Search failed

10 Active RO U1 N/A 1 40737 1 0: No restriction


8 power 6 1: Active power
control scheduling via DI
mode port
3. Limit in
percentage
(open loop)
4: Remote
communication
scheduling
6: Grid
connection with
limited power
(kW)
200: Remote
output control
65533: Slave
SmartLogger
65534: No
scheduling

10 Active RO I32 kW 10 40738 2 Target total


9 power active power for
schedulin the SmartLogger
g target active power
value scheduling

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 30


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

11 Reactive RO U1 N/A 1 40740 1 0: No output


0 power 6 1: Reactive
control power
mode scheduling via DI
port
2. Reactive
power in
absolute value
3: Power factor
in fixed value
4: Q-U
characteristic
curve
5: cos(Phi)-P/Pn
characteristic
curve
6: Q-U hysteresis
curve (CEI0-16)
7: Remote
communication
scheduling
9: Power factor
closed-loop
control (old
policy)
10: Power factor
closed-loop
control
12: PF-U
characteristic
curve
14: Q-P
characteristic
curve
65533: Slave
SmartLogger
65534: No
scheduling

11 Reactive RO U1 N/A 1 40741 1 0: Power factor


1 power 6 1: Reactive
schedulin power in fixed
g curve value
mode

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 31


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

11 Reactive RO I32 kVar 10/1 40742 2 SmartLogger


2 power 000 reactive power
schedulin adjustment
g target target value:
value power factor or
total reactive
power. The
specific meaning
depends on the
reactive power
scheduling
mode. When the
mode is the
power factor, the
gain is 1000.
When the mode
is the reactive
power in fixed
value, the gain is
10.

11 Active RO I32 % 1 40802 2 [-100, 100]


3 power
schedulin
g in
percenta
ge

11 CO2 RW U1 kg/k 100 41124 1 [0, 10]


4 emission 6 Wh 0
reduction
coefficien
t

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 32


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

11 Active RO U1 N/A N/A 41889 1 0: No restriction


5 power 6 1: Active power
control scheduling via DI
mode port
3. Limit in
percentage
(open loop)
4: Remote
communication
scheduling
6: Grid
connection with
limited power
(kW)
200: Remote
output control
Value 6 includes
feed-in
limitation.

11 PV RO U3 kW 100 41934 2 [0, 2000000]


6 module 2 0
capacity

11 Rated RO U3 kW 100 41936 2 Used for remote


7 plant 2 0 output control
capacity scenarios in
Japan.

11 Total RO U3 kW 100 41938 2 Rated power of


8 rated 2 0 grid-tied
capacity inverters and
of grid- PCSs in the
tied array, used for
inverters northbound
open-loop
scheduling.

11 Conversi RO U3 N/A 100 41940 2 Used for remote


9 on 2 0 output control
coefficien scenarios in
t Japan.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 33


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

12 Commun RO U1 N/A 1 41942 1 Status of


0 ication 6 communication
status between the
SmartLogger
and the servers
of Japanese
power
companies:
0: Connection
succeeded
1: Connection
failed

12 Shut RW U1 N/A N/A 41947 1 0: Disabled


1 down 6 1: Enabled
array
upon
communi
cation
timeout

12 Time for RW U1 s N/A 41948 1 [60, 1800]


2 communi 6
cation
exception
detection

12 Start up RW U1 N/A N/A 41949 1 0: Disabled


3 array 6 1: Enabled
upon
communi
cation
recovery

12 System RW U1 N/A 1 42017 1 2000–2068


4 time: 6 (local time)
year

12 System RW U1 N/A 1 42018 1 1~12


5 time: 6
month

12 System RW U1 N/A 1 42019 1 1~31


6 time: day 6

12 System RW U1 N/A 1 42020 1 0~23


7 time: 6
hour

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 34


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

12 System RW U1 N/A 1 42021 1 0~59


8 time: 6
minute

12 System RW U1 N/A 1 42022 1 0~59


9 time: 6
second

13 Current RW U1 N/A 100 42150 1 0~2


0 error 6
during
scanning

13 Working RW U1 N/A N/A 42256 1 0: No control


1 mode 6 1: Reserved
2: Maximum
self-
consumption
3: Reserved
4: Fully fed to
grid
5: Time Of Use
6: Charge/
Discharge based
on grid dispatch
7: Time Of Use
(fixed power)

13 The WO U3 %/s 100 42728 2 [0.100,


2 active 2 0 5000.000]
power
gradient
register

13 Inspectio WO U1 N/A 1 42730 1 00: Start


3 n control 6 inspection
01: Stop
inspection

13 I-V curve WO U1 N/A 1 42779 1 00: Stop


4 scanning 6 01: Start (64
points)
02: Start (128
points)
03: Start (256
points)

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 35


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

13 Reactive RO U1 N/A N/A 44165 1 0: No output


5 power 6 1: Reactive
control power
mode scheduling via DI
port
2. Reactive
power in
absolute value
3: Power factor
in fixed value
4: Q-U
characteristic
curve
5: cos(Phi)-P/Pn
characteristic
curve
6: Q-U hysteresis
curve (CEI0-16)
7: Remote
communication
scheduling
9: Power factor
closed-loop
control (old
policy)
10: Power factor
closed-loop
control

13 Array RW U1 N/A N/A 44360 1 0: Disabled


6 black 6 1: Black start
start preparation
2: Black start
voltage
establishment

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 36


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

13 Array RO U1 N/A N/A 44361 1 0: Not started


7 black 6 1: Preparing for
start black start
status
2: Ready for
black start
3: Establishing
voltage for black
start
4: Voltage
established for
black start
5: Black start
failed

13 PV array RO U1 N/A N/A 44365 1 0: PQ


8 PCS 6 1: VSG
working
mode

13 PCS WO U1 N/A N/A 44365 1 0: PQ


9 working 6 1: VSG
mode

14 Voltage RW I16 % 100 44366 1 [-10.00,10.00]


0 adjustme
nt value
for VSG
synchron
ous
control

14 Frequenc RW I16 % 100 44367 1 [-10.00,10.00]


1 y
adjustme
nt value
for VSG
synchron
ous
control

14 Power on WO U1 N/A N/A 44373 1 0:Power On


2 the PCS 6
of the
Subarray

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 37


SmartLogger
ModBus Interface Definitions 3 Register Definitions

No. Signal Read Ty Unit Gai Addre Quan Range


/ pe n ss tity
Writ
e

14 Shut WO U1 N/A N/A 44374 1 0:Shut Down


3 down the 6
PCS of
the
Subarray

14 Subarray WO U1 N/A N/A 44375 1 0:Disable


4 PV 6 1:Enable
inverter
microgrid
adaptabil
ity

14 Alarm 1 RO U1 N/A 1 50000 1 N/A


5 6

14 Alarm 2 RO U1 N/A 1 50001 1 N/A


6 6

14 Alarm 3 RO U1 N/A 1 50002 1 N/A


7 6

14 Alarm 4 RO U1 N/A 1 50003 1 N/A


8 6

14 Alarm 5 RO U1 N/A 1 50004 1 N/A


9 6

15 Alarm 6 RO U1 N/A 1 50005 1 N/A


0 6

3.2 Alarm Definitions for the SmartLogger


Table 3-2 Alarm Definitions
Alarm Alarm Alar Alarm Cause Severi Regist Bi
ID Name m ty er t
Sub- Addre
ID ss

1100 Abnormal 4 If Active Power Control Major 50000 3


Active Mode is set to Dry
Schedule contact remote control,
the four DI ports read
instruction combinations
not configured.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 38


SmartLogger
ModBus Interface Definitions 3 Register Definitions

Alarm Alarm Alar Alarm Cause Severi Regist Bi


ID Name m ty er t
Sub- Addre
ID ss

1101 Abnormal 4 If Reactive Power Control Major 50000 11


Reactive Mode is set to Dry
Schedule contact remote control,
the four DI ports read
instruction combinations
not configured.

1103 MCB 1 The general AC circuit Major 50001 1


Disconnec breaker at the grid-
t connection point is OFF.

1104 Abnormal 1 The Cubicle device has Major 50001 2


Cubicle detected an exception at
the grid-connection point.

1105 Device 1 The address set on the Major 50001 3


Address SmartLogger conflicts
Conflict with an existing access
device address.

1106 AC SPD 1 Communication box SPD Major 50001 4


fault fault

1107 DI1 1 The dry contact signal Adapt 50001 5


custom from the peripheral to the able
alarm corresponding DI port on
the SmartLogger is
1108 DI2 1 abnormal. 50001 6
custom
alarm

1109 DI3 1 50001 7


custom
alarm

1110 DI4 1 50001 8


custom
alarm

1111 DI5 1 50001 9


custom
alarm

1112 DI6 1 50001 10


custom
alarm

1113 DI7 1 50001 11


custom
alarm

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 39


SmartLogger
ModBus Interface Definitions 3 Register Definitions

Alarm Alarm Alar Alarm Cause Severi Regist Bi


ID Name m ty er t
Sub- Addre
ID ss

1114 DI8 1 50001 12


custom
alarm

1115 24V 1 Communication box 24V Major 50001 13


power power failure
failure

1116 WebUI 1 WebUI server certificate Warni 50002 0


server invalid ng
certificate
invalid

1117 WebUI 1 WebUI server certificate to Warni 50002 1


server expire ng
certificate
to expire

1118 WebUI 1 WebUI server certificate Major 50002 2


server expired
certificate
expired

1119 License 1 1. The privilege certificate Warni 50001 14


Expired has entered the grace ng
period.
2. The privilege feature
will be invalid soon.

1120 Managem 1 The management system Warni 50002 3


ent certificate is not yet valid. ng
system
certificate
invalid

1121 Managem 1 The management system Warni 50002 4


ent certificate is about to ng
system expire.
certificate
to expire

1122 Managem 1 The management system Major 50002 5


ent certificate has expired.
system
certificate
expired

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 40


SmartLogger
ModBus Interface Definitions 3 Register Definitions

Alarm Alarm Alar Alarm Cause Severi Regist Bi


ID Name m ty er t
Sub- Addre
ID ss

1120 Managem 2 The digital signature Warni 50003 0


ent certificate of management ng
System system 1 has not taken
Certificate effect.
Invalid

1121 Managem 2 The digital signature Warni 50003 1


ent certificate of management ng
System system 1 is about to
Certificate expire.
to Expire

1122 Managem 2 The digital signature Major 50003 2


ent certificate of management
System system 1 has expired.
Certificate
Expired

1123 Remote 1 Remote output control Warni 50002 6


Control certificate invalid ng
Certificate
invalid

1124 Remote 1 Remote output control Warni 50002 7


Control certificate to expire ng
Certificate
to expire

1125 Remote 1 Remote output control Major 50002 8


Control certificate expired
Certificate
expired

1126 ESGCC 1 Poverty alleviation Warni 50002 9


Certificate monitoring center ng
invalid certificate invalid

1127 ESGCC 1 Poverty alleviation Warni 50002 10


Certificate monitoring center ng
to expire certificate to expire

1128 ESGCC 1 Poverty alleviation Major 50002 11


Certificate monitoring center
expired certificate expired

1129 SmartLog 1 SmartLogger Certificate Warni 50002 12


ger Invalid ng
Certificate
Invalid

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 41


SmartLogger
ModBus Interface Definitions 3 Register Definitions

Alarm Alarm Alar Alarm Cause Severi Regist Bi


ID Name m ty er t
Sub- Addre
ID ss

1130 SmartLog 1 SmartLogger Certificate Warni 50002 13


ger About to Expire ng
Certificate
About to
Expire

1131 SmartLog 1 SmartLogger Certificate Major 50002 14


ger Expired
Certificate
Expired

1132 One or 1 One or two cables of a Major 50002 15


Two Smart Rack Controller are
Smart not connected to the DC
Rack bus.
Controller
Cables
Not
Connecte
d to DC
Bus

1133 Smart 1 One or more trackers in Major 50004 0


Tracker the array are not
Out of controlled by the smart
Control tracking algorithm.

1134 One or 1 One or two cables of a Major 50003 3


Two Smart PCS are not
Smart connected to the DC bus.
PCS
Cables
Not
Connecte
d to DC
Bus

1135 Insufficie 1 The license capacity of the Major 50004 1


nt SDS SDS is insufficient.
License
Capacity

1140 Array 1 The black start command Minor 50005 0


Black is not delivered in the
Start correct time sequence.
Failed

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 42


SmartLogger
ModBus Interface Definitions 3 Register Definitions

Alarm Alarm Alar Alarm Cause Severi Regist Bi


ID Name m ty er t
Sub- Addre
ID ss

1140 Array 2 The array running status Minor 50005 1


Black does not meet the
Start condition for a black start.
Failed

1140 Array 3 No available ESS. Minor 50005 2


Black
Start
Failed

1140 Array 4 The ESS does not support Minor 50005 3


Black black start.
Start
Failed

1140 Array 5 The PCS does not support Minor 50005 4


Black black start.
Start
Failed

1140 Array 6 The black start of the ESS Minor 50005 5


Black failed.
Start
Failed

1140 Array 7 No available PCS. Minor 50005 6


Black
Start
Failed

1140 Array 8 The black start of the PCS Minor 50005 7


Black failed.
Start
Failed

1141 ESS 1 The medium-voltage side Major 50005 8


Shutdown or low-voltage side of the
upon STS STS is switched off,
Switch-off causing the shutdown of
PCSs and ESS devices in
the PV array.

NOTE

Alarm ID 1106~1115 is only supported in the V200R001 version or later.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 43


SmartLogger
ModBus Interface Definitions 3 Register Definitions

Table 3-3 Alarm Descriptions and Impacts


Alarm Alarm Alarm Description Impact on the
ID Name System

1100 Abnormal After the active power control is The SmartLogger


Active enabled on the SmartLogger, an disables the active
Schedule abnormal external input occurs power control, and
or a target device becomes the active power
faulty. output of the power
station may fail to
satisfy the
requirements of the
power grid
company.

1101 Abnormal After the reactive power control The SmartLogger


Reactive is enabled on the SmartLogger, disables the reactive
Schedule an abnormal external input power control, and
occurs or a target device the reactive power
becomes faulty. output of the power
station may fail to
satisfy the
requirements of the
power grid
company.

1103 MCB The SmartLogger has detected The power station


Disconnect that the general AC circuit stops feeding the
breaker at the grid-connection 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 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.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 44


SmartLogger
ModBus Interface Definitions 3 Register Definitions

Alarm Alarm Alarm Description Impact on the


ID Name System

1105 Device The SmartLogger address The SmartLogger


Address configured for data forwarding forwarding address
Conflict using Modbus-TCP conflicts with is 0 by default. If the
the address of a connected configured address
device. conflicts with the
access device
address, data of the
access device fails to
be forwarded using
Modbus-TCP.

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.

1107~1 DI1~8 This alarm is generated when The peripheral may


114 custom the SmartLogger detects that be abnormal, which
alarm the dry contact signal from the may impact the
peripheral is abnormal. system running.

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.

1116 WebUI WebUI server certificate valid NA


server date is future time
certificate
invalid

1117 WebUI WebUI server certificate about NA


server to expire
certificate
to expire

1118 WebUI WebUI server certificate has NA


server expired
certificate
expired

1119 License 1. The privilege certificate has The privilege feature


Expired entered the grace period. will be invalid soon.
2. The privilege feature will be
invalid soon.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 45


SmartLogger
ModBus Interface Definitions 3 Register Definitions

Alarm Alarm Alarm Description Impact on the


ID Name System

1120 Manageme Management system certificate Can't connect to


nt system valid date is future time management
certificate system
invalid

1121 Manageme Management system certificate The link to


nt system will be deadline after 60 days management
certificate system will be
to expire disconnected after
60 days

1122 Manageme Management system certificate Unable to connect


nt system is expired to management
certificate system
expired

1123 Remote Remote Control Certificate valid Unable to connect


Control date is future time to remote output
Certificate control server
invalid

1124 Remote Remote Control Certificate will The link to remote


Control be deadline after 60 days output control
Certificate server will be
to expire disconnected after
60 days

1125 Remote Remote Control Certificate is Unable to connect


Control expired to remote output
Certificate control server
expired

1126 ESGCC Poverty alleviation monitoring Unable to connect


Certificate center certificate valid date is to poverty
invalid future time alleviation
monitoring center

1127 ESGCC Poverty alleviation monitoring The link to poverty


Certificate center certificate will be alleviation
to expire deadline after 60 days monitoring center
will be disconnected
after 60 days

1128 ESGCC Poverty alleviation monitoring Unable to connect


Certificate center certificate is expired to poverty
expired alleviation
monitoring center

1129 SmartLogge SmartLogger Certificate valid NA


r Certificate date is future time
Invalid

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 46


SmartLogger
ModBus Interface Definitions 3 Register Definitions

Alarm Alarm Alarm Description Impact on the


ID Name System

1130 SmartLogge SmartLogger Certificate will be Links pose security


r Certificate deadline after 60 days risks after certificate
About to expired
Expire

1131 SmartLogge SmartLogger Certificate is Links pose security


r Certificate expired risks after certificate
Expired expired

1132 One or Two NA NA


Smart Rack
Controller
Cables Not
Connected
to DC Bus

1133 Smart NA NA
Tracker Out
of Control

1134 One or Two NA NA


Smart PCS
Cables Not
Connected
to DC Bus

1135 Insufficient NA NA
SDS License
Capacity

1140 Array Black The black start command is not NA


Start Failed delivered in the correct time
sequence.

1140 Array Black The array running status does NA


Start Failed not meet the condition for a
black start.

1140 Array Black No available ESS. NA


Start Failed

1140 Array Black The ESS does not support black NA


Start Failed start.

1140 Array Black The PCS does not support black NA


Start Failed start.

1140 Array Black The black start of the ESS failed. NA


Start Failed

1140 Array Black No available PCS. NA


Start Failed

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 47


SmartLogger
ModBus Interface Definitions 3 Register Definitions

Alarm Alarm Alarm Description Impact on the


ID Name System

1140 Array Black The black start of the PCS failed. NA


Start Failed

1141 ESS NA NA
Shutdown
upon STS
Switch-off

3.3 Register Definitions for the Environmental Monitor


Instrument
NOTE

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.

Table 3-4 Register Definitions


SN Signal Name Read Type Unit Gain Register Quantit
/ Address y
Write

1 Wind speed RO I16 m/s 10 40031 1


(WSP)

2 Wind direction RO I16 ° 1 40032 1


(WD)

3 PV module RO I16 ºC 10 40033 1


temperature

4 Ambient RO I16 ºC 10 40034 1


temperature

5 Total irradiance RO I16 W/m2 10 40035 1

6 Daily irradiation RO U32 MJ/m2 1000 40036 2


amount

7 Total irradiance 2 RO I16 W/m2 10 40038 1

8 Daily irradiation RO U32 MJ/m2 1000 40039 2


amount 2

9 Custom 1 RO I16 N/A 10 40041 1

10 Custom 2 RO I16 N/A 10 40042 1

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 48


SmartLogger
ModBus Interface Definitions 3 Register Definitions

SN Signal Name Read Type Unit Gain Register Quantit


/ Address y
Write

11 Daily irradiation RO U32 kWh/ 1000 40043 2


amount m2

12 Daily irradiation RO U32 kWh/ 1000 40045 2


amount 2 m2

3.4 Register Definitions for the Power Meter


NOTE

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.

Table 3-5 Register Definitions


S Signal Name Rea Type Uni Gai Addres Quanti
N d/ t n s ty
Writ
e

1 Phase A voltage RO U32 V 100 32260 2

2 Phase B voltage RO U32 V 100 32262 2

3 Phase C voltage RO U32 V 100 32264 2

4 A-B line voltage RO U32 V 100 32266 2

5 B-C line voltage RO U32 V 100 32268 2

6 C-A line voltage RO U32 V 100 32270 2

7 Phase A current RO I32 A 10 32272 2

8 Phase B current RO I32 A 10 32274 2

9 Phase C current RO I32 A 10 32276 2

10 Active power RO I32 kW 100 32278 2


0

11 Reactive power RO I32 kVa 100 32280 2


r 0

12 Active electricity RO I32 kW 10 32282 2


(Reserved) h

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 49


SmartLogger
ModBus Interface Definitions 3 Register Definitions

S Signal Name Rea Type Uni Gai Addres Quanti


N d/ t n s ty
Writ
e

13 Power factor RO I16 N/A 100 32284 1


0

14 Reactive electricity RO I32 kvar 10 32285 2


(Reserved) h

15 Apparent power RO I32 kVA 100 32287 2


0

16 Positive active electricity RO I32 kW 100 32289 2


(Reserved) h

17 Positive reactive electricity RO I32 kvar 100 32291 2


(Reserved) h

18 Electricity in positive active RO I32 kW 100 32299 2


electricity price segment 1 h

19 Electricity in positive active RO I32 kW 100 32301 2


electricity price segment 2 h

20 Electricity in positive active RO I32 kW 100 32303 2


electricity price segment 3 h

21 Electricity in positive active RO I32 kW 100 32305 2


electricity price segment 4 h

22 Electricity in negative RO I32 kW 100 32307 2


active electricity price h
segment 1

23 Electricity in negative RO I32 kW 100 32309 2


active electricity price h
segment 2

24 Electricity in negative RO I32 kW 100 32311 2


active electricity price h
segment 3

25 Electricity in negative RO I32 kW 100 32313 2


active electricity price h
segment 4

26 Custom 1 RO I32 N/A 100 32315 2


0

27 Custom 2 RO I32 N/A 100 32317 2


0

28 Custom 3 RO I32 N/A 100 32319 2


0

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 50


SmartLogger
ModBus Interface Definitions 3 Register Definitions

S Signal Name Rea Type Uni Gai Addres Quanti


N d/ t n s ty
Writ
e

29 Custom 4 RO I32 N/A 100 32321 2


0

30 Custom 5 RO I32 N/A 100 32323 2


0

31 Custom 6 RO I32 N/A 100 32325 2


0

32 Custom 7 RO I32 N/A 100 32327 2


0

33 Custom 8 RO I32 N/A 100 32329 2


0

34 Custom 9 RO I32 N/A 100 32331 2


0

35 Custom 10 RO I32 N/A 100 32333 2


0

36 Phase A active power RO I32 kW 100 32335 2


0

37 Phase B active power RO I32 kW 100 32337 2


0

38 Phase C active power RO I32 kW 100 32339 2


0

39 Total active electricity RO I64 kW 100 32341 4


h

40 Total reactive electricity RO I64 kvar 100 32345 4


h

41 Negative active electricity RO I64 kW 100 32349 4


h

42 Negative reactive electricity RO I64 kvar 100 32353 4


h

43 Positive active electricity RO I64 kW 100 32357 4


h

44 Positive reactive electricity RO I64 kvar 100 32361 4


h

NOTE

SN16 ~ SN25 registers are supported only by DL/T 645 power meters.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 51


SmartLogger
ModBus Interface Definitions 3 Register Definitions

3.5 Register Definitions for the SUN2000


NOTE

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.

3.6 Public Register Definitions


The SmartLogger provides signals listed in the following table for all types of
devices connected to it, even if the devices do not provide the signals.

Table 3-6 Register Definitions


SN Signal Name Read/ Type Unit Gain Address Quantit
Write y

1 Device list RO U16 N/A 1 65521 1


change number

2 Port number RO U16 N/A 1 65522 1

3 Device Address RO U16 N/A 1 65523 1

4 Device name RW STR N/A 1 65524 10

5 Device RO U16 N/A 1 65534 1


connection
status

NOTE

Data definitions for Device connection status are as follows:


0XB000; Disconnection
0XB001; Online
Data restrictions for Device name re as follows:
A device name consists of a maximum of 20 bytes (excluding the terminator), and can
contain only visible characters whose ASCII codes are in the range from 0x20 to 0x7e,
including letters (a–z, A–Z), digits (0–9), and single-byte punctuation (excluding ', ", and \).

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 52


SmartLogger
ModBus Interface Definitions 3 Register Definitions

3.7 Remapped Modbus definitions


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.

The formula is as follows:


● Register address = Initial register address + (25 * (Device address – 1)) +
Offset address
● Initial register address = 51000
● For the registers must be set in sequence, the device address must be in strict
accordance with the continuous number to avoid waste of registers.

Table 3-7 Inverter Register Definitions


SN Signal Read Typ Uni Gai Offset Quanti Scope
Name / e t n Addre ty
Writ ss
e

1 Active RO I32 kW 10 0 2
power 00

2 Reactive RO I32 kVA 10 2 2


power R 00

3 Total DC RO I16 A 10 4 1
input 0
current

4 Total input RO U32 kW 10 5 2


power 00

5 Insulation RO U16 MΩ 10 7 1
resistance 00

6 Power factor RO I16 N/A 10 8 1


00

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 53


SmartLogger
ModBus Interface Definitions 3 Register Definitions

SN Signal Read Typ Uni Gai Offset Quanti Scope


Name / e t n Addre ty
Writ ss
e

7 Inverter RO U16 N/A 1 9 1 In addition to


status the Modbus
interface
protocol of
the specific
inverter, the
following
two states
are added by
the
SmartLogger:
0xB000:
Communicati
on interrupt
0xC000:
Uploading

8 Spare8 RO I16 N/A N/ 10 1


A

9 Cabinet RO I16 ℃ 10 11 1
temperature

10 Major Fault RO U32 N/A N/ 12 2 Alarm ID


Code A (Bit31–16) +
Cause ID
(Bit15–0)

11 Minor Fault RO U32 N/A N/ 14 2 Alarm ID


Code A (Bit31–16) +
Cause ID
(Bit15–0)

12 Warning RO U32 N/A N/ 16 2 Alarm ID


Code A (Bit31–16) +
Cause ID
(Bit15–0)

13 Spare1 RO U16 N/A N/ 18 1


A

14 Spare2 RO U16 N/A N/ 19 1


A

15 Spare3 RO U16 N/A N/ 20 1


A

16 Spare4 RO U16 N/A N/ 21 1


A

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 54


SmartLogger
ModBus Interface Definitions 3 Register Definitions

SN Signal Read Typ Uni Gai Offset Quanti Scope


Name / e t n Addre ty
Writ ss
e

17 Spare5 RO U16 N/A N/ 22 1


A

18 Spare6 RO U16 N/A N/ 23 1


A

19 Spare7 RO U16 N/A N/ 24 1


A

Table 3-8 Environmental Monitor Instrument Register Definitions


SN Signal Rea Type Uni Gai Offset Quanti Scope
Name d/ t n Addre ty
Writ ss
e

1 Wind speed RO I16 m/s 10 0 1


(WSP)

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

6 Daily RO U32 MJ/ 10 5 2


irradiation m2 00
amount

7 Total RO I16 W/ 10 7 1
irradiance 2 m2

8 Daily RO U32 MJ/ 10 8 2


irradiation m2 00
amount 2

9 Custom 1 RO I16 N/A 10 10 1

10 Custom 2 RO I16 N/A 10 11 1

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 55


SmartLogger
ModBus Interface Definitions 3 Register Definitions

SN Signal Rea Type Uni Gai Offset Quanti Scope


Name d/ t n Addre ty
Writ ss
e

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

13 Spare1 RO U16 N/A N/ 16 1


A

14 Spare2 RO U16 N/A N/ 17 1


A

15 Spare3 RO U16 N/A N/ 18 1


A

16 Spare4 RO U16 N/A N/ 19 1


A

17 Spare5 RO U16 N/A N/ 20 1


A

18 Spare6 RO U16 N/A N/ 21 1


A

19 Spare7 RO U16 N/A N/ 22 1


A

20 Spare8 RO U16 N/A N/ 23 1


A

21 Spare9 RO U16 N/A N/ 24 1


A

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 56


SmartLogger
ModBus Interface Definitions 4 Power Adjustment for Inverters

4 Power Adjustment for Inverters

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.

Table 4-1 Register Definitions


N Signal Rea Ty Un Gai Addres Quanti Constraints
o. d/ pe it n s ty
Writ
e

1 Active RW I32 kW 10 40420 2 [–Total rated


power active power of
adjustme PCSs in the array,
nt Total rated active
power of inverters
and PCSs in the
array]
The command
will not be
executed if the
value in it is
beyond the valid
range.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 57


SmartLogger
ModBus Interface Definitions 4 Power Adjustment for Inverters

N Signal Rea Ty Un Gai Addres Quanti Constraints


o. d/ pe it n s ty
Writ
e

2 Reactive RW I32 kV 10 40422 2 [–Total rated


power ar apparent power
adjustme of inverters and
nt PCSs in the array,
Total rated
apparent power
of inverters and
PCSs in the array]
The command
will not be
executed if the
value in it is
beyond the valid
range.

3 Active RW U3 kW 10 40424 2
power 2
adjustme
nt

4 Reactive RW I32 kV 10 40426 2


power ar
adjustme
nt

5 Active RW I16 % 10 40428 1 [-100.0, 100.0]


power
adjustme
nt in
percentag
e

6 Power RW I16 N/ 10 40429 1 (-1,-0.8]U[0.8,1]


factor A 00
adjustme
nt

7 Maximum RO U3 kV 10 40693 2 Read only


reactive 2 ar interface
power
adjustme
nt value

8 Minimum RO I32 kV 10 40695 2


reactive ar
power
adjustme
nt value

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 58


SmartLogger
ModBus Interface Definitions 4 Power Adjustment for Inverters

N Signal Rea Ty Un Gai Addres Quanti Constraints


o. d/ pe it n s ty
Writ
e

9 Maximum RO I32 kW 10 40697 2


active
power
adjustme
nt value

10 Minimum RO I32 kW 10 40412 2


active
power
adjustme
nt value

11 Active PV RW U3 kW 10 40378 2 [0, Total rated


power 2 active power of
adjustme inverters in the
nt in fixed array]
value The command
will not be
executed if the
value in it is
beyond the valid
range.

12 Active PV RW U1 % 10 40380 1 [0,100.0]


power 6
adjustme
nt in
percentag
e

13 Active RW I32 kW 10 40381 2 [–Total rated


ESS active power of
power PCSs in the array,
adjustme Total rated active
nt in fixed power of PCSs in
value the array]
The command
will not be
executed if the
value in it is
beyond the valid
range.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 59


SmartLogger
ModBus Interface Definitions 4 Power Adjustment for Inverters

N Signal Rea Ty Un Gai Addres Quanti Constraints


o. d/ pe it n s ty
Writ
e

14 Active RW I16 % 10 40383 1 [–100.0,100.0]. A


ESS negative value
power indicates
adjustme charging.
nt in
percentag
e

15 Reactive RW I32 kV 10 40384 2 [–Total rated


PV power ar apparent power
adjustme of inverters in the
nt in fixed array, Total rated
value apparent power
of inverters in the
array]
The command
will not be
executed if the
value in it is
beyond the valid
range.

16 Reactive RW I32 kV 10 40386 2 [–Total rated


ESS ar apparent power
power of PCSs in the
adjustme array, Total rated
nt in fixed apparent power
value of PCSs in the
array]
The command
will not be
executed if the
value in it is
beyond the valid
range.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 60


SmartLogger
ModBus Interface Definitions 4 Power Adjustment for Inverters

N Signal Rea Ty Un Gai Addres Quanti Constraints


o. d/ pe it n s ty
Writ
e

17 Active RW I32 kW 10 40430 2 [–Total rated


power 00 active power of
adjustme PCSs in the array,
nt Total rated active
(highest- power of inverters
priority) and PCSs in the
array]
The command
will not be
executed if the
value in it is
beyond the valid
range.

18 Reactive RW I32 kV 10 40432 2 [–Total rated


power ar 00 apparent power
adjustme of inverters and
nt PCSs in the array,
(highest- Total rated
priority) apparent power
of inverters and
PCSs in the array]
The command
will not be
executed if the
value in it is
beyond the valid
range.

4.1 40420, 40424: Active Adjustment


4.2 40422, 40426: Reactive Adjustment
4.3 40428: Active Power Adjustment by Percentage
4.4 40429: Power Factor Adjustment
4.5 40378: PV Active Power Adjustment in Fixed Value
4.6 40380: PV Active Power Adjustment in Percentage
4.7 40381: ESS Active Power Adjustment in Fixed Value
4.8 40383: Active ESS Power Adjustment in Percentage
4.9 40384: Reactive PV Power Adjustment in Fixed Value
4.10 40386: Reactive ESS Power Adjustment in Fixed Value
4.11 40430 Active Power Adjustment (High-Priority)

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 61


SmartLogger
ModBus Interface Definitions 4 Power Adjustment for Inverters

4.12 40432: Reactive Power Adjustment (High-Priority)

4.1 40420, 40424: Active Adjustment


The external device sends an absolute active power value for active power
adjustment. The value is the sum of all inverters connected to the SmartLogger.
After the SmartLogger receives the instruction value, it synchronizes the value in
percentage to all connected inverters.

4.2 40422, 40426: Reactive Adjustment


The external device sends an absolute reactive power value for reactive power
adjustment. The value is the sum of all inverters connected to the SmartLogger.
After the SmartLogger receives the instruction value, it synchronizes the value in
the form of Q/S to all connected inverters.

4.3 40428: Active Power Adjustment by Percentage


The external device sends the active power adjustment target value in percentage.
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.

4.4 40429: Power Factor Adjustment


The external device sends the reactive power adjustment target value in the form
of a power factor.
After the SmartLogger receives the instruction value, it synchronizes the value in
the form of a power factor to all connected inverters.

4.5 40378: PV Active Power Adjustment in Fixed Value


The external device sends an absolute active power value for active PV power
adjustment. The value is the total active power of all PV inverters connected to
the SmartLogger.
The independent PV adjustment port supports only arrays with AC coupling
between PV and ESS.
After the SmartLogger receives the instruction value, it synchronizes the value in
percentage to all connected PV inverters.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 62


SmartLogger
ModBus Interface Definitions 4 Power Adjustment for Inverters

4.6 40380: PV Active Power Adjustment in Percentage


The external device sends the active PV power adjustment target value in
percentage.
The independent PV adjustment port supports only arrays with AC coupling
between PV and ESS.
After the SmartLogger receives the instruction value, it synchronizes the value in
percentage to all connected PV inverters.
The value applies to the total rated power of all grid-tied PV inverters, which can
be queried in rated PV power (register 40396).

4.7 40381: ESS Active Power Adjustment in Fixed Value


The external device sends an absolute active power value for active ESS power
adjustment. The value is the total active power of all ESS PCSs connected to the
SmartLogger.
The independent PV adjustment port supports only arrays with AC coupling
between PV and ESS.
After the SmartLogger receives the instruction value, it synchronizes the value in
percentage to all connected PCSs.

4.8 40383: Active ESS Power Adjustment in Percentage


The external device sends the active ESS power adjustment target value in
percentage.
The independent PV adjustment port supports only arrays with AC coupling
between PV and ESS.
After the SmartLogger receives the instruction value, it synchronizes the value in
percentage to all connected ESS PCSs.
The value applies to the total rated power of all grid-tied PCSs, which can be
queried in rated ESS power (register 40398).

4.9 40384: Reactive PV Power Adjustment in Fixed


Value
The external device sends an absolute reactive power value for reactive PV power
adjustment. The value is the total reactive power of all PV inverters connected to
the SmartLogger.
The independent PV adjustment port supports only arrays with AC coupling
between PV and ESS.
After the SmartLogger receives the instruction value, it synchronizes the value in
the form of Q/S to all connected PV inverters.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 63


SmartLogger
ModBus Interface Definitions 4 Power Adjustment for Inverters

4.10 40386: Reactive ESS Power Adjustment in Fixed


Value
The external device sends an absolute reactive power value for reactive ESS power
adjustment. The value is the total reactive power of all ESS PCSs connected to the
SmartLogger.
The independent PV adjustment port supports only arrays with AC coupling
between PV and ESS.
After the SmartLogger receives the instruction value, it synchronizes the value in
the form of Q/S to all connected PCSs.

4.11 40430 Active Power Adjustment (High-Priority)


The external device sends an absolute active power value for array active power
adjustment. The value is the total active power of all inverters connected to the
SmartLogger.
This interface is provided only for the source control terminal. When this function
is enabled, other active power adjustment interfaces will be blocked. When value
0x7FFFFFFF is issued, this function is disabled.
After the SmartLogger receives the instruction value, it synchronizes the value in
percentage to all connected ESS PCSs.

4.12 40432: Reactive Power Adjustment (High-Priority)


The external device sends an absolute reactive power value for array reactive
power adjustment. The value is the total reactive power of all inverters connected
to the SmartLogger.
This interface is provided only for the source control terminal. When this function
is enabled, other reactive power adjustment interfaces will be blocked. When
value 0x7FFFFFFF is issued, this function is disabled.
After the SmartLogger receives the instruction value, it synchronizes the value in
the form of Q/S to all connected inverters.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 64


SmartLogger
ModBus Interface Definitions 5 Communication Protocol Overview

5 Communication Protocol Overview

The ModBus-TCP communication protocol consists of the following layers:

Figure 5-1 Layers of the ModBus-TCP communication protocol

5.1 Physical Layer

5.2 Data Link Layer

5.3 Application Layer

5.1 Physical Layer


Communicates over an Ethernet.

Port number: 502

5.2 Data Link Layer

5.2.1 Addressing Mode


ModBus-TCP data frames identify devices by logic device IDs. The following table
describes how logic device IDs are allocated.

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.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 65


SmartLogger
ModBus Interface Definitions 5 Communication Protocol Overview

SmartLogger Local Access Device Address Reserved


Address

0 1–247 248–255

5.2.2 Frame Structure

NOTE

A ModBus-TCP frame can contain a maximum of 256 bytes.

The following table describes the format of an MBAP header:

Table 5-1 MBAP Definitions


Data Field Length Description Master Node Slave Node
(Bytes)

Transmission 2 Matching Assigned by The identifier


identifier identifier the master of the
between a node; better response
request frame be unique for frame from
and a each data the slave
response frame. node must be
frames consistent
with that of
the request
frame.

Protocol type 2 0 = Modbus Assigned by The identifier


protocol the master of the
node; 0 by response
default. frame from
the slave
node must be
consistent
with that of
the request
frame.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 66


SmartLogger
ModBus Interface Definitions 5 Communication Protocol Overview

Data Field Length Description Master Node Slave Node


(Bytes)

Data length 2 Follow-up Assigned by Assigned by


data length the master the slave
node based node based
on the actual on the actual
data frame. frame length.

Logic device 1 Identifies a Assigned by The identifier


ID SmartLogger the master of the
device or a node based response
subdevice on the actual frame from
accessed by data frame the slave
the request. node must be
SmartLogger. consistent
0: with that of
SmartLogger the request
frame.
1–247:
Inverters or
other device

5.2.3 Data Encoding


Modbus uses a big-Endian to represent addresses and data. When multiple bytes
are sent, the payload digit leftmost is sent first.
Example:

Register Size Value

16 bits 0x1234

The system sends 0x12, and then sends 0x34.

5.2.4 Interaction Process


A communication process is always initiated by a master node. Slave nodes do not
initiate communication processes.
In unicast mode, a slave node returns one response for each request from the
master node. If the master node does not receive any response from the slave
node in 5s, the communication process is regarded as timed out.
In broadcast mode, slave nodes receive instructions from the master node, but do
not respond to the instructions.

5.3 Application Layer

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 67


SmartLogger
ModBus Interface Definitions 5 Communication Protocol Overview

5.3.1 Function Code List


Table 5-2 Function code list
Function Code Meaning Remarks

0x03 Read registers. Supports continuous


reading of single or
multiple registers.

0x06 Write a single register. Supports writing into a


single register.

0x10 Write multiple registers. Supports continuous


writing into multiple
registers.

0x2B Read device identifiers. Obtains device types and


version numbers.

5.3.2 Exception Code List


The exception codes must be unique for each NE type. The names and
descriptions are provided in the NE interface document. Different versions of the
same NE type must be backward compatible. Exception codes in use cannot be
assigned to other exceptions.

Table 5-3 Table of exception codes returned by an NE (0x00–0x8F are for common
exception codes)
Code Name Meaning

0x01 ILLEGAL FUNCTION The function code


received in the query is
not an allowable action
for the server. This may
be because the function
code is only applicable to
newer devices, and was
not implemented in the
unit selected. It could
also indicate that the
server is in the wrong
state to process a
request of this type, for
example because it is
unconfigured and is
being asked to return
register values.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 68


SmartLogger
ModBus Interface Definitions 5 Communication Protocol Overview

Code Name Meaning

0x02 ILLEGAL DATA ADDRESS The data address


received in the query is
not an allowable address
for the server. More
specifically, the
combination of reference
number and transfer
length is invalid. For a
controller with 100
registers, the PDU
addresses the first
register as 0, and the last
one as 99. If a request is
submitted with a starting
register address of 96
and a quantity of
registers of 4, then this
request will successfully
operate (address-wise at
least) on registers 96, 97,
98, 99. If a request is
submitted with a starting
register address of 96
and a quantity of
registers of 5, then this
request will fail with
Exception Code 0x02
"Illegal Data Address"
since it attempts to
perform operations on
registers 96, 97, 98, 99
and 100, and there is no
register with address
100.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 69


SmartLogger
ModBus Interface Definitions 5 Communication Protocol Overview

Code Name Meaning

0x03 ILLEGAL DATA VALUE A value contained in the


query data field is not an
allowable value for
server. This indicates a
fault in the structure of
the remainder of a
complex request, such as
that the implied length is
incorrect. It specifically
does not mean that a
data item submitted for
storage in a register has
a value outside the
expectation of the
application program,
since the Modbus
protocol is unaware of
the significance of any
particular value of any
particular register.

0x04 SERVER DEVICE FAILURE An unrecoverable error


occurred while the server
was attempting to
perform the requested
action.

0x05 ACKNOWLEDGE Specialized use in


conjunction with
programming
commands. The server
has accepted the request
and is processing it, but
a long duration of time
will be required to do so.
This response is returned
to prevent a timeout
error from occurring in
the client. The client can
next issue a Poll Program
Complete message to
determine if processing
is completed.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 70


SmartLogger
ModBus Interface Definitions 5 Communication Protocol Overview

Code Name Meaning

0x06 SERVER DEVICE BUSY Specialized use in


conjunction with
programming
commands.
The server is engaged in
processing a long–
duration program
command. The client
should retransmit the
message later when the
server is free.

0x08 MEMORY PARITY ERROR Specialized use in


conjunction with
function codes 20 and 21
and reference type 6, to
indicate that the
extended file area failed
to pass a consistency
check. The server
attempted to read record
file, but detected a parity
error in the memory. The
client can retry the
request, but service may
be required on the server
device.

0x0A GATEWAY PATH Specialized use in


UNAVAILABLE conjunction with
gateways, indicates that
the gateway was unable
to allocate an internal
communication path
from the input port to
the output port for
processing the request.
Usually means that the
gateway is misconfigured
or overloaded.

0x0B GATEWAY TARGET Specialized use in


DEVICE FAILED TO conjunction with
RESPOND gateways, indicates that
no response was
obtained from the target
device. Usually means
that the device is not
present on the network.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 71


SmartLogger
ModBus Interface Definitions 5 Communication Protocol Overview

Code Name Meaning

0x80 NO PERMISSION An operation is not


allowed because of a
permission
authentication failure or
permission expiration.

5.3.3 Reading Registers (0X03)

5.3.3.1 Frame Format for a Request from a Master Node


Data Field Length Description

Function code 1 byte 0x03

Register start address 2 byte 0x0000–0xFFFF

Number of registers 2 byte 1–125

5.3.3.2 Frame Format for a Normal Response from a Slave Node


Data Field Length Description

Function code 1 byte 0x03

Number of bytes 1 byte 2×N

Register value 2xN byte N/A

NOTE

N indicates the number of registers.

5.3.3.3 Frame Format for an Abnormal Response from a Slave Node


Data Field Length Description

Function code 1 byte 0x83

Exception code 1 byte See the 5.3.2 Exception


Code List

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 72


SmartLogger
ModBus Interface Definitions 5 Communication Protocol Overview

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:

Des MBAP Header Fun Data


cript ctio
ion Protocol Protocol Data Log n Register Number
Identifier Type Length ic Address of
Dev Cod Registers
ice e
ID

Dat 00 01 00 00 00 06 00 03 7E 32 00 02
a
fra
me

Frame format of a normal response from the slave node:

Desc MBAP Header Fu Data


ripti nct
on ProtocolI Protocol Data Lo ion Byt RegisterValue
dentifier Type Length gic es
De Co
vic de
eID

Data 00 01 00 00 00 07 00 03 04 00 00 00 01
fram
e

Frame format of an abnormal response from the slave node:

Descr MBAP Header Funct Data


iptio ion
n ProtocolIdentif Protocol Type Data Length Logic Error
ier Devic Code Code
eID

Data 00 01 00 00 00 03 00 83 03
fram
e

5.3.4 Writing a Single Register (0X06)

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 73


SmartLogger
ModBus Interface Definitions 5 Communication Protocol Overview

5.3.4.1 Frame Format for a Request from a Master Node


Data Field Length Description

Function code 1 byte 0x06

Register Address 2 bytes 0x0000–0xFFFF

Register Value 2 bytes 0x0000–0xFFFF

5.3.4.2 Frame Format for a Normal Response from a Slave Node


Data Field Length Description

Function code 1 byte 0x06

Register Address 2 bytes 0x0000–0xFFFF

Register Value 2 bytes 0x0000–0xFFFF

5.3.4.3 Frame Format for an Abnormal Response from a Slave Node


Data Field Length Description

Function code 1 byte 0x86

Exception code 1 byte See the 5.3.2 Exception


Code List

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:

Des MBAP Header Fun Data


cript ctio
ion Protocol Protocol Data Log n Register Register
Identifier Type Length ic Address Value
devi Cod
ce e
ID

Dat 00 01 00 00 00 06 00 06 9D 08 00 00
a
fra
me

Frame format of a normal response from the slave node:

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 74


SmartLogger
ModBus Interface Definitions 5 Communication Protocol Overview

Des MBAP Header Fun Data


cript ctio
ion Protocol Protocol Data Log n Register Register
Identifier Type Length ic Address Value
Dev Cod
ice e
ID

Dat 00 01 00 00 00 06 00 06 9D 08 00 00
a
fra
me

Frame format of an abnormal response from the slave node:

Descript MBAP Header Functi Data


ion on
Protocol Protocol Data Logic Error
Identifier Type Length Device ID Code Code

Data 00 01 00 00 00 03 00 86 04
frame

5.3.5 Writing Multiple Registers

5.3.5.1 Frame Format for a Request from a Master Node


Data Field Length Description

Function code 1 byte 0x10

Register start address 2 byte 0x0000–0xFFFF

Number of registers 2 byte 0x0000–0x007b

Number of bytes 1 byte 2×N

Register value 2×N byte Value

NOTE

N indicates the number of registers.

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 75


SmartLogger
ModBus Interface Definitions 5 Communication Protocol Overview

5.3.5.2 Frame Format for a Normal Response from a Slave Node


Data Field Length Description

Function code 1 byte 0x10

Register address 2 bytes 0x0000–0xFFFF

Number of registers 2 bytes 0x0000–0x007b

5.3.5.3 Frame Format for an Abnormal Response from a Slave Node


Data Field Length Description

Function code 1 byte 0x90

Exception code 1 byte See the 5.3.2 Exception


Code List

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:

De MBAP Header Fun Data


scr ctio
ipt Protoc Protoc Data Log n Regis Nu By Register Value
io ol ol Lengt ic Cod ter mbe tes
n Identif Type h dev e Addr r of
ier ice ess Regi
ID sters

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

Frame format of a normal response from the slave node:

Des MBAP Header Fun Data


cript ctio
ion Protocol Protocol Data Log n Register Number
Identifier Type Length ic Address of
Dev Cod Registers
ice e
ID

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 76


SmartLogger
ModBus Interface Definitions 5 Communication Protocol Overview

Dat 00 01 00 00 00 06 00 10 9C B6 00 02
afra
me

Frame format of an abnormal response from the slave node:

Des MBAP Header Functi Data


crip on
tio Protocol Protocol Data Logic Error Code
Identifier Type Length Device ID Code
n

Dat 00 01 00 00 00 03 00 90 04
afr
am
e

5.3.6 Reading Device Identifiers (0X2B)


This command code allows reading identifiers and added packets that are relevant
to the physical and function description of the remote devices.

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.

A data element consists of three objects:

● 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.

Table 5-4 Reading Device Identifiers

Object ID Object Name or Type M/O Category


Description

0x00 Manufacturer name ASCII character string M Basic

0x01 Product code ASCII character string M

0x02 Main revision ASCII character string M

0x03–0x7F Normal

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 77


SmartLogger
ModBus Interface Definitions 5 Communication Protocol Overview

Object ID Object Name or Type M/O Category


Description

0x80–0xFF Extensive

5.3.6.1 Commands for Querying Device Identifiers

Table 5-5 Request frame format


Data Field Length (Byte) Description

Function code 1 0x2B

MEI type 1 0x0E

ReadDeviId code 1 01

Object ID 1 0x00

Table 5-6 Frame format for a normal response


Data Field Length Description
(Byte)

Slave node address 1 1–247

Function code 1 0x2B

MEI type 1 0x0E

ReadDeviId code 1 01

Consistency level 1 01

More 1 N/A

Next object ID 1 N/A

Number of objects 1 N/A

Object list First object Object ID 1 0x00

Object length 1 N

Object value N N/A

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 78


SmartLogger
ModBus Interface Definitions 5 Communication Protocol Overview

Table 5-7 Object list

Object ID Object Name or Description Category


Description

0x00 Manufacturer name HUAWEI Basic

0x01 Product code SUN2000

0x02 Main revision ASCII character


string, software
version

Table 5-8 Frame format for an abnormal response

Data Field Length (Byte) Description

Function code 1 0xAB

Exception code 1 See the 5.3.2


Exception Code List

5.3.6.2 Command for Querying a Device List

Table 5-9 Request frame format

Data Field Length (Byte) Description

Function code 1 0x2B

MEI type 1 0x0E

ReadDeviId code 1 03

Object ID 1 0x87

Table 5-10 Frame format for a normal response

Data Field Length Description


(Byte)

Function code 1 0x2B

MEI type 1 0x0E

ReadDeviId code 1 03

Consistency level 1 03

More 1 N/A

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 79


SmartLogger
ModBus Interface Definitions 5 Communication Protocol Overview

Data Field Length Description


(Byte)

Next object ID 1 N/A

Number of objects 1 N/A

Object list First object Object ID 1 0x87

Object 1 N
length

Object value N N/A

...

Table 5-11 Object list


Object ID Object Name Type Description

0x80-0x86 Reserved Returns a null


object with a
length of 0.

0x87 Number of int Returns the


devices number of devices
connected to the
RS485 address.

0x88 Information about ASCII character Returns


the first device string information only
See the device for the first device
description if a network
definitions below. element allows
only one device to
be connected to
each RS485
address.

0x89 Information about Same as above Same as above


the second device

... ... ... ...

0xFF Information about Same as above Same as above


the 120th device

0x00 Information about Same as above Same as above


the 121st device

0x01 Information about Same as above Same as above


the 122nd device

... ... ... ...

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 80


SmartLogger
ModBus Interface Definitions 5 Communication Protocol Overview

5.3.6.3 Device Description Definitions


Each device description consists of all"attribute = value" strings.
Attribute label=%s;attribute label=%s;...attribute label=%s
For example:1=SUN2000;2=V100R001C01SPC120;3=P1.0-
D1.0;4=123232323;5=2;6=1.

Table 5-12 Attribute definitions


Attribut Attribute Type Description
e Label Name

1 Device Model ASCII SUN2000


character
string

2 Software ASCII N/A


version character
string

3 Version of the ASCII See the interface protocol version


communicatio character definitions.
ns protocol string

4 ESN ASCII N/A


character
string

5 Device number int 0,1,2,3...(Assigned by NE; 0


indicates the master device to
which the ModBus card is inserted)

6 Parallel int 0, 1, 2, 3, ... (assigned by NE)


network 0xFF: invalid value; indicates that a
number unit does not belong to any
parallel system
If not applicable, this attribute is
not returned.

Table 5-13 Frame format for an abnormal response


Data Field Length (Byte) Description

Function code 1 0xAB

Exception code 1 See the 5.3.2


Exception Code List

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 81


SmartLogger
ModBus Interface Definitions 6 Reference Documents

6 Reference Documents

Modbus_Application_Protocol_V1_1b3
Modbus over serial line specification and implementation guide V1.02
Modbus_Messaging_Implementation_Guide_V1_0b

Issue 43 (2023-10-21) Copyright © Huawei Technologies Co., Ltd. 82

You might also like