Sunsynk - Modbus - No Chinese
Sunsynk - Modbus - No Chinese
2.6 Modbus_RTU
2.6 function code of Modbus_RTU protocol
The following table lists only the function codes to which this protocol applies.
0x03
0x10
2.6.1(0x03)
2.6.1 read register (function code: 0x03)
1 PDU Request the PDU
data range
field
● field valu
field name value field name e field name field value
wrong
function code 0x03 function code 0x03 code 0x83
Hi
Starting exception
address Hi 0x00 byte count 0x06 code 0x04
Lo [107]Hi
Starting Register [107]
address Lo 0x6B Hi 0x02
Hi [107]Lo
Number of Register [107]
registers Hi 0x00 Lo 0x2B
Lo [108]Hi
Register Register [108]
number Lo 0x03 Hi 0x00
[108]Lo
Register [108]
Lo 0x00
[109]Hi
Register [109]
Hi 0x00
[109]Lo
Register [109]
Lo 0x64
2.6.2 (0x10)
2.6.2 write register (function code: 0x10)
1 PDU
Request the PDU
2
Number of 0x0001~0x007B
registers 2 byte
1
byte count N×2
1 byte
N×2
Register values N×2 byte
N=
Note: N= number of registers
2 PDU
Normal response PDU
2
Number of 0x0001~0x007B
registers 2 byte
3 PDU
Abnormal response PDU
normal
request response exceptional response
wrong
function code 0x10 function code 0x10 code 0x90
Hi Hi excepti
Starting address Starting address on
Hi 0x00 Hi 0x00 code 0x04
Lo Lo
Starting address Starting address
Lo 0x01 Lo 0x01
Hi Hi
Number of Number of
registers Hi 0x00 registers Hi 0x00
Lo Lo
Register number Register number
Lo 0x02 Lo 0x02
R 0X0200
0X0400 MI
R 0x0000
009 undefined
2 [1,12]
3 R [1,31]
4 [0,23]
5 R [0,59] Minute
6 [0,59]
R MI
Firmware version of
Firmware version of
014 communication board
R MI
R 0.1W MI
017 R 0.1W MI
R 0x0000
019 undefined
R/W [0,1000] S MI
1 R/W [0,255] MI 20 00
2 [1,12]
3 R/W [1,31]
4 [0,23]
6 [0,59]
Minimum insulation
025 impedance R/W [100,20000] 0.1KΩ
Dc voltage upper
026 limit R/W [2000,10000] 0.1V
MI
Grid voltage Upper
027 limit R/W [1600,5500] 0.1V
MI
Grid voltage Lower
028 limit R/W [1600,5500] 0.1V
029 R/W [4500,6500] 0.01 Hz MI
Grid frequency upper
limit
MI
Grid frequency lower
030 limit R/W [4500,6500] 0.01 Hz
Starting voltage
032 upper limit R/W [7000,9000] 0.1V
Starting voltage
033 lower limit R/W [4500,9000] 0.1V
Internal temperature
036 upper limit R/W [500,3000] 0.1℃
Communication MI
037 address R 0x0000 -
Communication baud MI
038 rate R 0x0000 -
The value after the true value is offset
by +1000For example
-0.852 is 148
Power factor 0 is 1000
039 regulation R/W [0,2000] 0.001 0.982 is1982
Island protection MI
046 enable R/W [0,1] 0: disable 1: enable
MPPT
MPPT number
Total_Active_PowerWh low
063 word R [0,0xFFFFFF MI
0.1kWh
FF] Signed int
Total_Active_PowerWh high
064 word R
Total_Reactive_Power 0.1kVarh
String Wh low word [0,0xFFFF]
Hybir PVSG:Month_PV_Pow
d erWh 1kwh
065 MI 1 R 0.1kwh
Total_Reactive_Power
String Wh high word 0.1kVarh
1kwh
Hybir Month_Load_PowerW
d h
066 MI 2 R [0,0xFFFF] 0.1kwh
Hybir SG:
d Month_Grid_PowerWh 1kwh
067 MI 3 R [0,0xFFFF] 0.1kwh
Hybir● Day_Batt_Charge
d _PowerWh
070 MI 1 R [0,9999] 0.1kwh
BC
●
String Grid voltage BC 0.1V
Hybir● Day_Batt_Discharge
d _PowerWh
2
071 MI R [0,9999] 0.1kwh
AC
String Grid voltage AC 0.1V
Hybir● tatol_Batt_charge_P
d owerWh_low word
2
072 MI R [0,9999] 0.1kwh
A
Grid voltage A
String 0.1V
Hybir● tatol_Batt_charge_P
d owerWh _high_word
Hybir Day_GridBuy_Power
076 d Wh R [0,65535] 0.1kwh MI
B
String Grid current B 0.1A
Hybir Day_GridSell_Power
d Wh
Hybir Total_GridBuy_Powe
d r Wh_low word
078 MI 4 R [0,65535] 0.1kwh
Total_Grid
Hybir Buy_Power Wh_high
d word
080 R 0x0000 0.1kwh
Hybir Total_GridSell_Powe
d r Wh_low word
081 R 0x0000 0.1kwh
String
invert Input_active_
er power_low word 0.1W
Hybir SG:Day_Load_Powe
084 d r Wh R [0,0xFFFF] 0.1kwh
output apparent
String power high word 0.1VA
Hybir Total_Load_Power
085 d Wh_low word R [0,0xFFFF] 0.1kwh
Hybir Total_Load_Power
086 d Wh_high word R [0,0xFFFF] 0.1kwh
Hybir Year_Load_Power
087 d Wh_low word R [0,0xFFFF] 0.1kwh MI
Output reactive
String power low word 0.1Var
Hybir Year_Load_Power
088 d Wh_high word R [0,0xFFFF] 0.1kwh
Hybir Year_GridSell_Powe
d r Wh_low word 0.1kwh
Limter
Limter power
String 1W
Hybir Year_GridSell_Powe
099 d r Wh_high word R 0x0000 0.1kwh
Bit0
Bit1 CAN 1
Bit8 RS485
Bit9 CAN
Bit10 1234
Bit0 arc communication sign
Bit10 buttons 1 2 3 4
Bit11 1
100 Other test flag bits R 0x0000
Input_active_
198 power_low word R 1W
Day_Load_Power Wh
200 0.01kwh
history_Load_Power
201 Wh_low word 0.1kwh
history_Load_Power
202 Wh_high word 0.1kwh
Meter_active_
203 power_low word R 1W int Signed int
history_ GridSell
206 _Power Wh_low word 0.1kwh
history_ GridSell
207 _Power Wh_high word 0.1kwh
history_ GridBuy
210 _Power Wh_high word 0.1kwh
150 L1-N R
Grid side voltage 0.1V
L1-N
151 L2-N R
Grid side voltage 0.1V
L2-N
152 L1-L2 R
Grid side voltage 0.1V
L1-L2
153 R
L1-L2
Voltage at middle 0.1V
side of relay L1-
L2
154
L1-N
R
inverter output 0.1V
voltage L1-N
155 L2-N
inverter output R 0.1V
voltage L2-N
193 R
Inverter output 0.01Hz
frequency
194 R 1 Disconnect
Grid side relay 2
status closed
195 R 4
Generator side Low 4 indicates the
relay status state of generator relay
0not attached
1 actuation
2vacancy
3Represents the suction and
closing of the generator under
operation
4
The high 4 bits indicate
the switch signal
0 power off
1 power on
196 R
197 R
R/
23 Generator is W
1 charged to enable
R/
23 Grid is charged to W
2 enable
SolarPSU R/ [0 1 ] 0solar 1PSU
23
● Solar Input as PSU W 0 is solar 1 is PSU
3
R/ 2351
Force on generator W The premise is that register
as load function 234 has enabled 1
● 0 Do not force
23
4 1 force
R/ 0
generator input is W Disable generator input
enabled as the load 1 Enable generator input as
output load output
23 2
5 Enable as inverter input
OFF R/ [3800 6300] 0.01
23 SmartLoad OFF W V
6 batt Voltage
OFF R/ [0000 100] 1%
23 SmartLoad OFF W
7 batt
23 ON R/ [3800 6300] 0.01
SmartLoad ON batt W V
8 Voltage
23 ON R/ [0000 100] 1%
9 SmartLoad ON batt W
PWM R/ 0
● PWM Test Enable W default
1 pwm
24 To enter the PWM test
0 function
solar R/ [0,8000] 1W
minimum solar W
24 power required to
1 start a generator
24 Gen_Grid_Signal
2 On
24 undefined
9
25 1 R/ [0000 2359] 23592359
0 Sell mode time W 2359 means time 23:59
point 1
25
5
1 R/ [0000 8000] 1W Affected by the maximum
25 Sell mode time W discharge power of the
6 point 1 power battery
2 R/ [0000 8000] 1W
25 Sell mode time W
7 point 2 power
25 3 Sell mode time R/ [0000 8000] 1W
8 point 3 power W
25 4 Sell mode time R/ [0000 8000] 1W
9 point 4 power W
26 5 Sell mode time R/ [0000 8000] 1W
0 point 5 power W
26 6 Sell mode time R/ [0000 8000] 1W
1 point 6 power W
1 Sell mode time R/ [0000 6300] 0.01
26 point 1 voltage W V Is affected by the battery
2 voltage
2 Sell mode time R/ [0000 6300] 0.01
point 2 voltage W V
26
3
26 3 Sell mode time R/ [0000 6300] 0.01
4 point 3 voltage W V
26 4 Sell mode time R/ [0000 6300] 0.01
5 point 4 voltage W V
26 5 Sell mode time R/ [0000 6300] 0.01
6 point 5 voltage W V
26 6 Sell mode time R/ [0000 6300] 0.01
7 point 6 voltage W V
26 1 1 capacity R/ [0,100] 1%
8 W
26 2 2 capacity R/ [0,100] 1%
9 W
27 3 3 capacity R/ [0,100] 1%
0 W
27 4 4 capacity R/ [0,100] 1%
1 W
27 5 5 capacity R/ [0,100] 1%
2 W
27 6 6 capacity R/ [0,100] 1%
3 W
1 R/ [0,1]
Time point 1 charge W
27 enable
4
2 R/ [0,1]
27 Time point 2 charge W
5 enable
3 R/ [0,1]
27 Time point 3 charge W
6 enable
4 R/ [0,1]
27 Time point 4 charge W
7 enable
5 R/ [0,1]
27 Time point 5 charge W
8 enable
6 R/ [0,1]
27 Time point 6 charge W
9 enable
28 Microinverter R/ [0,1] Bit0-3 0:Disable 1:enable
export to grid W Bit4-7 0:Gen peak-shaving
cutoff disable
1:Gen peak-shaving
enable
Bit8-11 0:Grid peak-shaving
disable
1:Grid peak-shaving
enable
0 Bit12-16 On Grid always on
28 R/ [0,1]
1 W
R/ [10 300]
28 Restore connection W
2 time
Solar Arc Fault R/ [0 1] ● 0x00 Close
● Solar Arc Fault W
Mode turned on ● 0x01 open
0x02 0201
Arc fault reset, the inverter
received 02 that the LCD
28 issued a clear mark, and then
3 automatically back to 01
R/ [0 1 ] 0= general standard
Grid Mode W 1= UL1741&IEE1547
2= CPUC RULE21
3= SRD-UL1741
28
4 ……
R/ [0 1] 0x00 50HZ
28 Grid Frequency W 0x01 60hz
5
R/ [0 3 ] 0x00 240V/230V/220V
Grid Type W Single-phase 240 v / 230 v /
220 v
0x01 120V/240V
Stands for two-phase
120V/240V
0x02 208V 120120V
Represents the three-phase
system 208V 120 degrees
28 120V
6 0X03 120V Single Phase
28 R/ [1800 2700] 0.1V
7 Grid Vol High W
28 R/ [1800 2700] 0.1V
8 Grid Vol Low W
28 R/ [4500 6500] 0.01
9 Grid Hz High W Hz
29 R/ [4500 6500] 0.01
0 Grid Hz Low W Hz
29 R/ [1 0] 0 disable
1 W 1 enabled
29 GEN peak shaving R/ [0 16000] 1w
2 Power W
29 GRID peak shaving R/ [0 16000] 1w
3 Power W
29 SmartLoad Open R/ [1 120] 1Min
4 Delay W ute
29 PF R/ [800 1200] 80080% 1200120%
5 W 800 for 80%, 1200 for 120%
29 R/ [0 1] 0 European single phase
6 Type of inverter W 1 North American biphasic
ARC_facTory_B R/ [0,65535]
29 ARC_facTory_B W High and status
7 high word combination, with numerical
29 R/ [0,65535] display can be
8 Low word W
ARC_facTory_IARC R/ [0,65535]
29 _facTory_I high W
9 word
30 R/ [0,65535]
0 Low word W
ARC_facTory_F R/ [0,65535]
30 ARC_facTory_F W
1 high word
30 R/ [0,65535]
2 Low word W
ARC_facTory_D R/ [0,65535]
30 ARC_facTory_D W
3 high word
30 R/ [0,65535]
4 Low word W
ARC_facTory_T R/ [0,65535]
30 ARC_facTory_T W
5 high word
30 R/ [0,65535]
6 Low word W
ARC_facTory_C R/ [0,65535]
30 ARC_facTory_C W
7 high word
30 R/ [0,65535]
8 Low word W
ARC_facTory_Frz R/ [0,65535]
30 ARC_facTory_Frz W
9 high word
31 R/ [0,65535]
0 Low word W
31 R/
1 W
31 R/ 0.01
2 charging voltage W V
31 R/ 0.01
3 discharge voltage W V
R/ 1A
31 charging current W
4 limiting
R/ 1A
31 Discharge current W
5 limiting
R/ 1%
31
● real time Capacity W
6
31 R/ 0.01
7 real time voltage W V
R/ 1A
31
● real time current W
8
R/ 0.1C 10000 120020.0 800 -20.0C
● real time temp W 1000 corresponds to 0
degrees
31 1200 means 20.0 degrees
9 800 means -20.0C
32 Maximum charge R/ 1A
0 current limit W
R/
Maximum W
32 discharge current
1 limiting
R/ 0x0001
32 Lithium battery W
2 alarm position
R/ [0,65535]
32 Lithium battery fault W
3 location
2 R/ [0,65535] ● Bit0 Vacancy
Lithium battery W
symbol 2 Bit1 Strong impact
32
4 marks
R/ 0x0000
Lithium battery type W PYLON SOLAX
CAN
0x0100 RS485modbus
0x0200 KOK
0x0300 keith
0X0400
32 0X0500 485
5
32
6
32
7
32
8
32
9
33 R/ Bit0 01
0 W Bit1 beep 01
CA_LHVRT R/ [0,1] 0: disable 1: enable
California low W
pressure high
33 pressure through
1 CA_LHVRT enable
33 CA_HV2 R/ [1000,3000] 0.1V
2 W
33 CA_HV1 R/
3 W
33 CA_LV1 R/
4 W
33 CA_LV2 R/
5 W
33 CA_LV3 R/
6 W
33 CA_HV2_Time R/ [0,300] 0 is 0.16S
7 W
33 CA_HV1_Time R/
8 W
33 CA_LV1_Time R/
9 W
34 CA_LV2_Time R/
0 W
34 CA_LV3_Time R/
1 W
CA_LHFRT R/
California low W
frequency high
34 frequency traverses
2 CA_LHFRT enable
34 CA_HF2 R/ [4500,6500] 0.01
3 W Hz
34 CA_HF1 R/
4 W
34 CA_LF1 R/
5 W
34 CA_LF2 R/
6 W
34 CA_HF2_Time R/ [0,300]
7 W
34 CA_HF1_Time R/
8 W
34 CA_LF1_Time
9
35 CA_LF2_Time
0
CA_QV
35 California CA_QV
1 enable
35 CA_QV_V1 [1000,3000]
2
35 CA_QV_V2
3
35 CA_QV_V3
4
35 CA_QV_V4 [-44,+44] 0.01
5
35 CA_QV_Q1
6
35 CA_QV_Q2
7
35 CA_QV_Q3
8
35 CA_QV_Q4
9
CA_FW
36 California CA_FW
0 enable
36 CA_Fstart
1
36 CA_Fstop
2
CA_VW
36 California CA_VW
3 enable
36 CA_Vstart
4
36 CA_Vstop
5
R/ [1 100] 1%
36 Normal upward W
6 slope
36 R/ [1 100] 1% 100%
7 Soft start rise rate W default 100%
36
8
36
9
37
0
39
● Voltage 2 R/ 0.1V
3 W
39 Voltage 3 R/ 0.1V
4 W
39 Voltage 4 R/ 0.1V
5 W
39 Voltage 5 R/ 0.1V
6 W
39 Voltage 6 R/ 0.1V
7 W
39 Voltage 7 R/ 0.1V
8 W
39 Voltage 8 R/ 0.1V
9 W
40 Voltage 9 R/ 0.1V
0 W
40 Voltage 10 R/ 0.1V
1 W
40 Voltage 11 R/ 0.1V
2 W
40 Voltage 12 R/ 0.1V
3 W
40
● Current 1 R/ [0-200] 0.1A
4 W
40 Current 2 R/ 0.1A
5 W
40 Current 3 R/ 0.1A
6 W
40 Current 4 R/ 0.1A
7 W
40 Current 5 R/ 0.1A
8 W
40 Current 6 R/ 0.1A
9 W
41 Current 7 R/ 0.1A
0 W
41 Current 8 R/ 0.1A
1 W
41 Current 9 R/ 0.1A
2 W
41 Current 10 R/ 0.1A
3 W
41 Current 11 R/ 0.1A
4 W
41 Current 12 R/ 0.1A
5 W
41
6
1 R/ -- -- Bit0 1:Parallel Enable
W
0: Parallel Disable
Bit2-7 Void
Bit8-9
Phase(00:A,01:B,10:C,11:void)
41 Bit10-15 Modbus SN(0-63)
7
2 R -- -- Bit0-4 A Phase inverter
Num
ID
13 R
501
14
502 15
16
17
503
18
19
504
110
111
505
112
23 R
507
24
25
508
26
27
509
28
29
510
210
211
511
212
33 R
513
34
35
514
36
37
515
38
39
516
310
311
517
312
41 R ‘0’- ‘9’ ASCII
518 ‘A’- ‘Z’
42
43 R
519
44
45
520
46
47
521
48
49
522
410
411
523
412
53 R
525
54
526 55
56
57
527
58
59
528
510
511
529
512
63 R
531
64
65
532
66
533 67
68
69
534
610
611
535
612
73 R
537
74
75
538
76
77
539
78
79
540
710
711
541
712
83 R
543
84
85
544
86
87
545
88
89
546
810
811
547
812
95
550
96
97
551
98
99
552
910
911
553
912
103 R
555
104
105
556
106
557 107
108
109
558
1010
1011
559
1012
113 R
561
114
115
562
116
117
563
118
564 119
1110
1111
565
1112
123 R
567
124
125
568
126
127
569
128
129
570
1210
1211
571
1212
573 133 R
134
135
574
136
137
575
138
139
576
1310
1311
577
1312
143 R
579
144
145
580
146
147
581
148
149
582
1410
1411
583
1412
153 R
585
154
155
586
156
157
587
158
159
588
1510
1511
589
1512
602 Temperater-AVE
603 SOC
Remain
604
Capacity
608 Discharge
Current
609 Max Cell V
612 Warming
613 Fault
616 Temperater-AVE
617 SOC
Remain
618 Capacity
Discharge
622 Current
626 Warming
627 Fault
630 Temperater-AVE
631 SOC
Remain
632 Capacity
Discharge
636 Current
640 Warming
641 Fault
644 Temperater-AVE
645 SOC
Remain
646 Capacity
Discharge
650 Current
654 Warming
655 Fault
658 Temperater-AVE
659 SOC
Remain
660 Capacity
Discharge
664 Current
668 Warming
669 Fault
672 Temperater-AVE
673 SOC
Remain
674 Capacity
Discharge
678 Current
682 Warming
683 Fault
686 Temperater-AVE
687 SOC
Remain
688 Capacity
Discharge
692 Current
697 Fault
700 Temperater-AVE
701 SOC
Remain
702 Capacity
Discharge
706 Current
710 Warming
711 Fault
714 Temperater-AVE
715 SOC
Remain
716 Capacity
Discharge
720 Current
724 Warming
725 Fault
728 Temperater-AVE
729 SOC
Remain
730 Capacity
Discharge
734 Current
738 Warming
739 Fault
742 Temperater-AVE
743 SOC
Remain
744 Capacity
Discharge
748 Current
752 Warming
753 Fault
754 Module Voltage
756 Temperater-AVE
757 SOC
Remain
758 Capacity
Discharge
762 Current
766 Warming
767 Fault
770 Temperater-AVE
771 SOC
Remain
772 Capacity
Discharge
776 Current
780 Warming
781 Fault
784 Temperater-AVE
785 SOC
Remain
786 Capacity
Discharge
790 Current
794 Warming
795 Fault
798 Temperater-AVE
799 SOC
Remain
800 Capacity
Discharge
804 Current
808 Warming
809 Fault