Communication Protocol of Residential Hybrid Inverter

V1.0.20

Version History

Version numberDateNote
1.0.122016/02/22Initial released version.
1.0.132016/10/13Modify the register content. 5003-5005, 13036-13038, 13055
1.0.142017/12/05Add the Firmware version to 2582 ~ 2626 register address.
1.0.152018/03/121) Modify 13008~13009 registers U32 data type to S32. 2) Add the error code analysis instructions to the Appendix 1.4.
1.0.162018/06/131) Add the valid device types description. 2) Add device code definition to the 5000 register address. 3) The register 13061 data range is Modified from 30.0 ~ 48.0 V to 32.0 ~ 48.0 V.
1.0.172018/07/17Delete the 13076 13079 and 13081~13082 registers content.
1.0.182019/01/05Add "Meter Comm. Detection" definition in the register 13086.

Valid device types:

1. Introduction

This communication protocol, complies ModBus, applies to the communication between the inverter and other devices.

2. Communication Interface

2.1 RS485

ItemDefault setting
AddressInverter: 1 - 247 settable
PC: 1 - 247 settable
BroadcastYes
Baud rate9600 bit/s
Check bitNull or settable
Data bit8
Stop bit1
ModeRTU
Appliance interfaceRS485-2W cable connection

2.2 Ethernet (optional)

Default:

3. Address Definition

Read-only register type supports the command code of 0x04.

Holding register type supports the command codes of 0x03, 0x10 and 0x06.

3.1 Running information variable address definition (read-only register)

No.NameAddressData typeData rangeUnitNote
1Protocol No.4950 - 4951U32
2Protocol ver.4952 - 4953U32
3Arm software ver4954 - 4968U16*15
4Dsp software ver4969 - 4983U16*15
5Reserved
6SN4990 - 4999U16*10UTF-8
Run-info
6Device type code5000U16SH5K-20 0xD09
SH3K6 0xD06
SH4K6 0xD07
SH5K-V13 0xD03
SH5K-30 0xD0C
SH3K6-30 0xD0A
SH4K6-30 0xD0B
SH5.0RS 0xD0F
SH3.6RS 0xD0D
SH4.6RS 0xDOE
SH6.0RS 0xD10
SH10RT 0xE03
SH8.0RT 0xE02
SH6.0RT 0xE01
SH5.0RT 0xE00
7Nominal output power5001U160.1 kW
8Output type5002U160 -Single phase;
1-3P4L;
2-3P3L
9Daily Output Energy5003U160.1 kWhHybrid active power accumulation (Include PV generation and battery discharge energy)
10Total Output Energy5004 - 5005U320.1 kWh
11Reserved5006 - 5007
12Inside Temperature5008S160.1°C
13Reserved5009 5010
14MPPT 1 Voltage5011U160.1 V
15MPPT 1 Current5012U160.1 A
16MPPT 2 Voltage5013U160.1 V
17MPPT 2 Current5014U160.1 A
18Reserved5015 - 5016U16
19Total DC power5017 - 5018U32WPV Power
20A-B line voltage/phase A voltage5019U160.1 VRefer to Output type (address: 5002)
0: phase voltage;
1: phase voltage;
2: line voltage
21B-C line voltage/phase B voltage5020U160.1 VRefer to Output type (address: 5002)
0: phase voltage;
1: phase voltage;
2: line voltage
22C-A line voltage/phase C voltage5021U160.1 VRefer to Output type (address: 5002)
0: phase voltage;
1: phase voltage;
2: line voltage
23Reserved5022 5032
24Reactive power5033 5034S32var
25Power factor5035S160.001
26Grid frequency5036U160.1 Hz
27
28PV Power of today6100 - 6195U161 W
29Daily PV energy yields6196 - 6226U160.1 KWh
30Monthly PV energy yields6227 - 6238U161 KWh
31Reserved6239 - 6243
32Yearly PV energy yields6250 - 6289U32*200.1 kWh
33Direct power consumption of today from PV6290 - 6385U16*961 W
34Daily direct energy consumption from PV6386 - 6416U16*310.1 kWh
35Monthly direct energy consumption from PV6417 - 6428U16*120.1 kWh
36Yearly direct energy consumption from PV6429 - 6468U32*200.1 kWh
37Export power from PV of today6469 - 6564U16*961 W
38Daily export energy from PV6565 - 6595U16*310.1 kWh
39Monthly export energy from PV6596 - 6607U16*120.1 kWh
40Yearly export energy from PV6608 - 6647U32*200.1 kWh
41Battery charge power of today6648 - 6743U16*961 W
42Daily battery charge energy from PV6744 - 6774U16*310.1 kWh
43Monthly battery charge energy from PV6775 - 6786U16*120.1 kWh
44Yearly battery charge energy from PV6787-6826U32*200.1 kWh
45
46System state13000U16Refer to Appendix 1.1
47Running state13001U160.1 kWhRefer to Appendix 1.2
48Daily PV Generation13002U160.1 kWh
49Total PV Generation13003 - 13004U320.1 kWh
50Daily export power from PV13005U160.1 kW
51Total export energy from PV13006 - 13007U320.1 kWh
52Load power13008 - 13009S321 W
53Export power13010 - 13011S321 W
54Daily battery charge energy from PV13012U160.1 kWh
55Total battery charge energy from PV13013 - 13014U320.1 kWh
56CO2-reduction13015 - 13016U320.1 kg
57Daily direct energy consumption13017U160.1 kWh
58Total direct energy consumption13018 - 13019U320.1 kWh
59Battery voltage13020U160.1 V
60Battery current13021U160.1 A
61Battery power13022U161 W
62Battery level13023U160.1 %
63Battery state of healthy13024U160.1 %
64Battery temperature13025S160.1°C
65Daily battery discharge energy13026U160.1 kWh
66Total battery discharge energy13027 - 13028U320.1 kWh
67Self-consumption of today13029U160.1 %
68Grid state13030U16-0xAA: Off grid;
0x55: On Grid
69Phase A current13031S160.1 A
70Phase B current13032S160.1 ARefer to Output type
(address: 5002)
0: Invalid;
1/2: Valid
71Phase C current13033S160.1 ARefer to Output type
(address: 5002)
0: Invalid;
1/2: Valid
72Total active power13034-13035S32W
73Daily Import Energy13036U160.1 kWh
74Total Import Energy13037 13038U320.1 kWh
75Battery Capacity13039U160.1kwh /AhLi-ion : kwh
Lead-acid : Ah
Applicable types :
SH5K-20
SH3K6
SH4K6
SH5K-V13
SH5K-30
SH3K6-30
SH4K6-30
76Daily Charge Energy13040U160.1 kWh
77Total Charge Energy13041 13042U320.1 kWh
78DRM State13043U161 9 :
DRM0 D
RM8
Other Value :
Invalid
79Reserved13044
80Daily export energy13045U160.1 kWh
81Total export energy13046 13047U320.1 kWh
82Reserved13048 13049
83Inverter alarm13050 - 13051U32Refer to Appendix 1.3
84Grid-side fault13052 - 13053U32
85System fault 113054 - 13055U32
86System fault 213056 - 13057U32
87DC-side fault13058 - 13059U32
88Permanent fault13060 - 13061U32
89BDC-side fault13062 - 13063U32
90BDC-side permanent fault13064 - 13065U32
91Battery fault13066 - 13067U32
92Battery alarm13068 - 13069U32
93BMS alarm13070 - 13071U32
94BMS protection13072 - 13073U32
95BMS fault 113074 - 13075U32
96BMS fault 213076 - 13077U32
97BMS alarm 213078 13079U32
98Reserved13080 - 13099
99BMS Status13100U16BMS info.
100Max. charging current13101U16AApplicable types : SH5K-20
101Max. discharging current13102U16ASH3K6
SH4K6
SH5K-V13
102Warning13103U16SH5K-30
103Protection13104U16SH3K6-30
104Fault 113105U16SH4K6-30
105Fault 213106U16
106SOC13107U161 %
107SOH13108U16
108Battery Current13109U16
109Battery Voltage13110U160.01 V
110Cycle Count13111U16
111Average cell voltage13112U16
112Max cell voltage13113U16
113Min cell voltage13114U16
114Battery Pack voltage13115U16
115Average cell temp.13116S16
116Max cell temp.13117S16
117Min cell temp.13118S16

Note: please refer to the troubleshooting chapter in SH-inverter manuals for fault code explanations.

3.2 Parameter setting address definition (holding register)

No.NameAddressData typeData rangeUnitNote
1System clock: Year5000U16
2System clock: Month5001U16
3System clock: Day5002U16
4System clock: Hour5003U16
5System clock: Minute5004U16
6System clock: Second5005U16
7
8Start/Stop13000U160xCF(Start)
0xCE(Stop)
Others (no operation)
9Battery maintenance13001U160xAA(Maintenance)
Others (no operation)
Applicable types :
SH5K-20
SH3K6
SH4K6
SH5K-V13
SH5K-30
SH3K6-30
SH4K6-30
10Load 1 adjustment mode13002U160: Timing mode;
1: ON/OFF mode;
2: Power optimized mode
11Load 1 timing period 1: Start hour13003U160-231 h
12Load 1 timing period 1: Start minute13004U16*100-591 min
13Load 1 timing period 1: End hour13005U160-231 h
14Load 1 timing period 1: End minute13006U160-591 min
15Load 1 timing period 2: Start hour13007U160-231 h
16Load 1 timing period 2: Start minute13008U16*100-591 min
17Load 1 timing period 2: End hour13009U160-231 h
18Load 1 timing period 2: End minute13010U160-591 min
19Load 1 ON/OFF mode13011U160xAA (ON)
0x55 (OFF)
20Load 1 power optimized mode: Start hour13012U160-231 h
21Load 1 power optimized mode: Start minute13013U160-591 min
22Load 1 power optimized mode: End hour13014U160-231 h
23Load 1 power optimized mode: End minute13015U160-591 min
24Optimized power of load 113016U160-50001 W
25Reserved
26EMS mode selection13050U160: Self-consumption mode (Default);
2: Forced mode (charge/discharge/stop);
3: External EMS mode
27Charge/discharge command13051U160xAA: Charge;
0xBB:Discharge;
0xCC: Stop ( Default );
Loss if power down
28Charge/discharge power13052U160-5000 W
Default: 1000W
1 WLoss if power down
29Reserved13053 13054
30Battery type13055U160 Lead-acid Narada
1 Li-ion Samsung
2 No battery
3 Other Lead-acid
4 Li-ion US2000A
5 Li-ion LG
6 Li-ion US2000B
7 Li-ion GCL
8 Li-ion BlueSun
9 Li-ion Sungrow
10 Li-ion BYD
Applicable types :
SH5K-20
SH3K6
SH4K6
SH5K-V13
SH5K-30
SH3K6-30
SH4K6-30
31Battery nominal voltage13056U1630.0-60.0 V0.1 V
32Battery capacity13057U1610-1000 Ah1 Ah
33Max. SOC13058U1670.0-100.0 %0.1 %
34Min. SOC13059U160.0-50.0 %0.1 %
35Battery overvoltage threshold13060U1648.0-70.0 V0.1 VApplicable types :
SH5K-20
SH3K6
SH4K6
36Battery under voltage threshold13061U1632.0-48.0 V0.1 VSH5K-V13
SH5K-30
SH3K6-30
37Battery over-temperature threshold13062S1620.0-60.0°C0.1°CSH4K6-30
38Battery under-temperature threshold13063S16(-30.0-10.0°C)0.1°C
39Reserved13064
40Terminated current of constant voltage charging13065U160.005-0.050 C0.001 CApplicable types :
SH5K-20
SH3K6
SH4K6
SH5K-V13
SH5K-30
SH3K6-30
SH4K6-30
41Max. discharge current13066U160.100-2.000 C0.001 C
42Max. charge current13067U160.050-2.000 C0.001 C
43Constant charge voltage13068U1640.00-60.00 V0.01 V
44Terminated voltage of discharging.13069U1630.000-50.000 V0.001 V
45Emergency charge current13070U160.025-2.000 C0.001 C
46Time for fully charge13071U163 s - 10800 s1 s
47Terminated current for fully charge13072U160.005-0.050 C0.001 C
48Time for constant voltage charge13073U163s - 10000s1s
49Export power limitation13074U160 - Nominal output power1 W
50Off-grid option13075U160xAA: Enable
0x55: Disable
51Reserved13076 13079
52External EMS heartbeat13080U160 - 20
If no heartbeat update when timeout, PCS will stop running
1sLoss if power down
53Reserved13081 13082
54External Signal of Italy13083U160 : External Signal 0
1 : External Signal 1
Other : No External Signal
Applicable types :
SH5K-20
SH3K6
SH4K6
SH5K-V13
SH5K-30
SH3K6-30
SH4K6-30
55Start Charging Power13084U1670 10000W
56Start Discharging Power13085U1670 3000W
57Meter Comm. Detection13086U160xAA : Enable
0x55 : Disable
58Export Power Limitation13087U160xAA : Enable
0x55 : Disable
Applicable types :
SH5.0RT
SH6.0RT
SH8.0RT
SH10RT
59Reserved13088 13099
60Reserved SOC for backup13100U160 ~ 100%

Note:

Communication address = protocol address -1. If data of address 5000 is to be inquired, the corresponding sending address data is 4999 (0x1387);

U16: 16-bit unsigned integer, big-endian;

U32: 32-bit unsigned integer; little-endian for double-word data. Big-endian for byte data;

S16: 16-bit signed integer, big-endian;

S32: 32-bit signed integer; little-endian for double-word data. Big-endian for byte data

Power factor: + means leading; - means lagging, 1000 means power factor 1.000, 950 means power factor 0.95.

4. Appendix

Appendix 1.1 System state

StateValue
Stop0x0002
Standby0x0008
Initial standby0x0010
Startup0x0020
Running0x0040
Fault0x0100
Running in maintain mode0x0400
Running in forced mode0x0800
Running in off-grid mode0x1000
Restarting0x2501
Running in External EMS mode0x4000

Appendix 1.2 Running state

State (Power flow)
Bit0PV powerBit0 == 0No power generated from PV
Bit0 == 1Power generated from PV
Bit1Battery chargingBit1 == 0Not charging
Bit1 == 1Charging
Bit2Battery dischargingBit2 == 0Not discharging
Bit2 == 1Discharging
Bit3Positive load powerBit3 == 0Load is reactive
Bit3 == 1Load is active
Bit4Feed-in powerBit4 == 0No power feed-in the grid
Bit4 == 1Power feed-in the grid
Bit5Import Power from gridBit5 == 0No power imported from the grid
Bit5 == 1Importing power from grid
Bit6ReservedBit6
Bit7 (Refitting System)Negative load powerBit7 == 0No power generated from "Load"
Bit7 == 1Power generated from "Load"

Appendix 1.3 Fault code instructions

Inverter fault analysis by bit:

For example: Inverter alarm: 0x00102000 (0001 00000010000000000000b) bit13 & bit20 is set. According the following table, the low word base code of the inverter alarm is 70 and the high word base code is 500. So the bit13 represents a fault code of 083 (i.e. 70+13), and the bit 20 represents a fault code of 504 [i.e. 500+(20-16)].

Inverter alarm 13050 - 13051Low word base code : 70DC-side fault 13058 13059Low byte base code : 19Battery fault 13066 13067Low byte base code : 700BMS fault 1 13074 13075Low byte base code : 832
High word base code 500High word base code : 200High word base code : 716High word base code : 848
Grid-side fault 13052 - 13053Low word base code : 2Permanent fault 13060 13061Low word base code : 401Battery alarm 13068 13069Low word base code : 900BMS fault 2 13076 13077Low word base code : 864
High word base code : 100High word base code : 417High word base code : 916High word base code : 880
System fault 1 13054 - 13055Low word base code 300BDC-side fault 13062 13063Low word base code : 600BMS alarm 13070 13071Low word base code : 932BMS alarm 2 13078 13079Low word base code : 964
High word base code : 316High word base code : 616High word base code : 948High word base code : 980
System fault 2 13056 - 13057Low word base code : 36BDC-side permanent fault 13064 13065Low word base code : 800BMS protection 13072 13073Low word base code : 732
High word base code : 52High word base code : 816High word base code : 748

Appendix 1.4 Examples

Take ComTest for example.

1.1 Acquire one piece of running information

Supposed that the inverter address is 1, it needs to acquire data from address 5000 of 3x address type. The PC sends (HEX): 0104138700018567. The inverter replies (HEX): 01040200223929. Note: The type code of inverter SG4KTL is 0x0022.

1.2 Acquire multiple running information

Supposed that the inverter address is 1, it needs to acquire 10 data from address starting from 5000 of 3x address type. The PC sends (HEX): 0104138700 0A C4 A0. The inverter replies (HEX): 01041400220028000000000005000000260000000000000 AF F8. Note: The type code of inverter SG4KTL is 0x0022. The nominal output power is 4.0 kW, two-phase. Daily power generation is 0. The total power generation is 5 kWh. The total running time is 38 h. The internal temperature is 0°C. The internal transformer temperature is 0°C.

1.3 Acquire SN

Supposed that the inverter address is 1, it needs to acquire 10 data from address starting from 4990 of 3x address type. The PC sends (HEX): 0104137 D 00 0A E4 91. The inverter replies (HEX): 0104143132313231323030310000000000000000000000009 B 56. Note: SN data type is UTF-8; Serial number is: 121212001.

1.4 Read one setting datum

Supposed that the inverter address is 1, it needs to read data from address 5000 of 4x address type. The PC sends (HEX): 01031387000130 A7. The inverter replies (HEX): 01030207 D8 BA 2E. Note: the data read out is year 2008.

1.5 Read multiple setting data

Supposed that the inverter address is 1, it needs to read 10 data from address starting from 5000 of 4x address type. The PC sends (HEX): 0103138700 0A 7160. The inverter replies (HEX): 01031407 DA 00 0A 00 1E 00090028002500 CE 00 AA 01 F4 00008053. Note: The data are October 30th, 2010, 09:40:37; Stop; power limitation enabled, power limitation value is 50 %.

1.6 Set one datum

Supposed that the inverter address is 1, it needs to set data from address 5000 of 4x address type. The PC sends (HEX): 0110138700010207 DA 19 4D. The inverter replies (HEX): 011013870001 B5 64. Or The PC sends (HEX): 0106138707 DA BE CC. The inverter replies (HEX): 0106138707 DA BE CC. Note: The setting data is year 2010.

1.7 Set multiple data

Supposed that the inverter address is 1, it needs to set 10 data to address starting from 5000 of 4x address type. The PC sends (HEX): 01101387000 OA 1407 D9 00 OA 00 1E 00090010000000 CE 00 AA 01 F4 0000 3E 65. The inverter replies (HEX): 0110138700 OA F4 A3. Note: The data are October 30th, 2009, 09:16:00, stop, power limitation enabled, power limitation value is 50 %.

PDF preview unavailable. Download the PDF instead.

1608064349708-communication-protocol-of-residential-hybrid-inverterv1.0.20-1 Microsoft Word 2010 Microsoft Word 2010

Related Documents

Preview Sungrow 3-Phasen Hybrid Schulung für Installateure
Technische Schulung von Sungrow für Installateure zum Thema 3-phasige Hybrid-Wechselrichter. Enthält Informationen zur Nutzung des Sungrow Serviceportals, Garantieregistrierung und Produktübersicht.
Preview SUNGROW 3-Phase Hybrid Inverter User Manual: SH5.0RT to SH10RT Series
Comprehensive user manual for SUNGROW's 3-Phase Hybrid Inverters (SH5.0RT, SH6.0RT, SH8.0RT, SH10RT and their -20 variants), covering installation, operation, maintenance, and system integration for solar energy storage.
Preview Sungrow SH3.0-6.0RS Parallel Connection Instruction
Detailed instructions for parallel connection of Sungrow SH3.0RS, SH3.6RS, SH4.0RS, SH5.0RS, and SH6.0RS hybrid inverters. Covers system configuration, master-slave settings, and troubleshooting for decentralized and centralized access modes.
Preview Sungrow 1-Phase Hybrid Inverter Quick Installation Guide
This guide provides essential information for the quick installation of Sungrow 1-Phase Hybrid Inverters, including safety precautions, wiring diagrams, and component identification for models SH3.0RS, SH3.6RS, SH4.0RS, SH5.0RS, and SH6.0RS.
Preview Sungrow 1-Phase Hybrid Inverter Quick Installation Guide (SH3.0RS-SH6.0RS)
Quick installation guide for Sungrow 1-Phase Hybrid Inverters (SH3.0RS-SH6.0RS), detailing safety, installation, and operational information. Refer to the full user manual for comprehensive details.
Preview Sungrow SH3.0/3.6/4.0/5.0/6.0RS Residential Hybrid Single Phase Inverter Datasheet
Datasheet for Sungrow's SH3.0/3.6/4.0/5.0/6.0RS series of residential hybrid single-phase inverters, detailing features, specifications, and performance curves.
Preview Sungrow 1-Phase Hybrid Inverter Quick Installation Guide (SH3.0RS-SH6.0RS)
Quick installation guide for Sungrow 1-Phase Hybrid Inverters, covering safety, installation, wiring diagrams, and component details for models SH3.0RS, SH3.6RS, SH4.0RS, SH5.0RS, and SH6.0RS. Includes essential safety precautions and operational guidelines.
Preview Sungrow 1-Phase Hybrid Inverter Delta Grid Guide (Earth Detection)
Comprehensive guide for Sungrow 1-phase hybrid inverters (SHxxRS, SGxRS series) on configuring for 230V Delta Grid systems with earth detection. Learn to disable grounding detection locally and via iSolarCloud, and manage backup mode.