OffGrid Modbus RS485&RS232 RTU Protocol V0.26
OffGrid Modbus RS485&RS232 RTU Protocol V0.26
6 Notice .................................................................................................................................... 47
4 / 47
1 Data format
2 Command Format
Response Error:
11 0x80|0x03 Errornum CRC (Errornum as a byte)
5 / 47
Response Error:
11 0x80|0x04 Errornum CRC (Errornum as a byte)
Response Error:
11 0x80|0x06 Errornum CRC (Errornum as a byte)
Response Error:
11 0x80|0x10 Errornum CRC (Errornum as a byte)
7 / 47
RTU Mode
When controllers are setup to communicate on a Modbus network using RTU (Remote
Terminal Unit) mode, each 8–bit byte in a message contains two 4–bit hexadecimal
characters. Each message must be transmitted in a continuous stream.
4 Register map
It is 16bits (two bytes) unsigned integer for each holding and input register;
100 clrEnergyAll
101 BurnInTestEn
102 ManualStartEn
103 SciLossChkEn
104 BlightEn
105 ParaMaxChgCurr Parallel System
Maximum charge
current
106 LiProtocolType Protocol type for 1~99 1
battery
107 AudioAlarmEn
108 uwEqEn
109 uwEqChgVolt
110 uwEqTime
111 uwEqTimeOut
112 uwEqInterval
113 uwMaxDisChgCurr
114 uwFaultResartEn Fault restart enable 0:disable;
1:Enable;
115 uwFeedEn grid feed enable 0:disable;
1:Enable;
116 uwLoadFirst Load first or Charge 0:charge first;
first 1:load first;
2:Feed first;
117 uwFeedRange feed range 0:Asia;
1:Europe;
2:South american;
3:South africa
118 uwBatFeedEn battery feed enable 0:disable;
1:Enable;
119 uwFeedPow feed power limit 0-120 0.1kW
120 uwBatFeedCurr battery feed current 0-400 1A
121 uwBatFeedVLoss battery feed voltage 420-540 0.1V
loss point
122 uwBatFeedVBack battery feed voltage 440-560 0.1V
back point
123 uwBatFeedSocLos battery feed Soc loss 5-90 1%
s point
124 uwBatFeedSocBac battery feed Soc 15-100 1%
k back point
125 uwBatFeedTimeSt battery feed time1 bit0~bit7 0-23 Hour 0
art1 start Bit8~bit15 0-59 Minute 0
126 uwBatFeedTimeE battery feed time1 bit0~bit7 0-23 Hour 0
14 / 47
60 Hz system:
550~590 Hz
167 PvDcSourceEn Pv dc source enable 0:disable; 1
1:Enable;
168 ShavingEn Shaving enble 0:disable; 0
1:Enable;
169 DryContactEn Dry contact enble 0:Auto; 0
1:Enable;
2:disable;
…
209 uwNewSerNum15 New Serial Num15
210 uwNewSerNum14 New Serial Num14
211 uwNewSerNum13 New Serial Num13
212 uwNewSerNum12 New Serial Num12
213 uwNewSerNum11 New Serial Num11
214 uwNewSerNum10 New Serial Num10
215 uwNewSerNum9 New Serial Num9
216 uwNewSerNum8 New Serial Num8
217 uwNewSerNum7 New Serial Num7
218 uwNewSerNum6 New Serial Num6
219 uwNewSerNum5 New Serial Num5
220 uwNewSerNum4 New Serial Num4
221 uwNewSerNum3 New Serial Num3
222 uwNewSerNum2 New Serial Num2
223 uwNewSerNum1 New Serial Num1
…
…
300 uwHVDecLoadStar Grid high volt load 0~2800 0.1V 0
t reduction start value
301 uwHVDecLoadEnd Grid high volt load 0~2800 0.1V 0
reduction end value
302 uwHFreqDecLoad Grid high Freq 0~65000 0.01Hz 5050
Start load reduction start 0
value
303 uwHFreqDecLoad Grid high Freq load 0~65000 0.01Hz 0
End reduction end value
304 uwLFreqDecLoadS Grid low Freq load 56000~60000 0.001Hz 0
tart reduction start value
305 uwLFreqDecLoadE Grid low Freq load 56000~60000 0.001Hz 0
nd reduction end value
306 uwFreqSlope1 Underfrequency 20~70 0.001 0
loading slope
307 uwFreqSlope2 Over frequency 20~70 0.001 0
17 / 47
loading slope
308 wHVDecWatt1 Grid high volt load 0~100 1% 0
reduction Watt 1
309 wHVDecWatt2 Grid high volt load -100~100 1% 0
reduction Watt 2
310 uwPfModelSet Set PF function 0: Reactive power
mode generation is prohibited
1: Constant (Fixed PF
mode)
2: Watt/Var (Active and
reactive modes)
3: Constant Var (Fixed
reactive power
percentage)
4: Volt/Var (volt
reactive power mode)
311 wPfSet Power factor set -1000~1000 0.001
(cannot be 0)
312 wGridVoltLowStar Grid volt low at 0~3000 0.1 2130
t startup
313 wGridVoltHighStar Grid volt high at 0~3000 0.1 2640
t startup
314 wGridFreqLowSta Grid freq low at 0~6600 0.01 5930
rt startup
315 wGridFreqHighSta Grid freq high at 0~6600 0.01 6050
rt startup
316 uwVoltLLPercent1 Volt Low Loss 1-130 1% 85
Percent1
317 uwVoltLLPercent2 Volt Low Loss 1-130 1% 50
Percent2
318 uwVoltLLPercent3 Volt Low Loss 1-130 1% 50
Percent3
319
320 uwVoltHLPercent1 Volt High Loss 1-130 1% 110
Percent1
321 uwVoltHLPercent2 Volt High Loss 1-130 1% 115
Percent2
322 uwVoltHLPercent3 Volt High Loss 1-130 1% 120
Percent3
323
324 uwFreqLL1 Freq Low Loss1 4500~6600 0.01Hz 4900
325 uwFreqLL2 Freq Low Loss2 4500~6600 0.01Hz 4800
326 uwFreqLL3 Freq Low Loss3 4500~6600 0.01Hz 4750
327 uwFreqLL4 Freq Low Loss4 4500~6600 0.01Hz 4700
18 / 47
through stage 1
Time
358 uwLVRTTime3 Low volt ride 0~60000 0.01s 1234
through stage 1
Time
359 uwHLVRTRecvTim High and Low volt 0~6000 0.1s 50
e ride through
Reconnect Time
360 uwHVRTTime1 High volt ride 0~60000 0.01s 1464
through stage 1
Time
361 uwHVRTTime2 High volt ride 0~60000 0.01s 6
through stage 2
Time
362 uwHVRTTime3 High volt ride 0~60000 0.01s 6
through stage 3
Time
363
364 uwLFRT1 Low Freq ride 4500~6600 0.01Hz 5880
through stage 1
365 uwLFRT2 Low Freq ride 4500~6600 0.01Hz 5700
through stage 2
366 uwLFRT3 Low Freq ride 4500~6600 0.01Hz 5700
through stage 3
367
368 uwHFRT1 High Freq ride 4500~6600 0.01Hz 6120
through stage 1
369 uwHFRT2 High Freq ride 4500~6600 0.01Hz 6200
through stage2
370 uwHFRT3 High Freq ride 4500~6600 0.01Hz 6200
through stage3
371
372 uwLFRTTime1 Low Freq ride 0~60000 0.01s 3000
through stage 1 0
Time
373 uwLFRTTime2 Low Freq ride 0~60000 0.01s 6
through stage 2
Time
374 uwLFRTTime3 Low Freq ride 0~60000 0.01s 6
through stage 3
Time
375
376 uwHFRTTime1 High Freq ride 0~60000 0.01s 3000
through stage 1 0
20 / 47
Time
377 uwHFRTTime2 High Freq ride 0~60000 0.01s 6
through stage 2
Time
378 uwHFRTTime3 High Freq ride 0~60000 0.01s 6
through stage 3
Time
379
380 wLoadP_Out1 Active power P1 0~100 1% 20
percent
381 wLoadP_Out2 Active power P2 20~100 1% 50
percent
382 wLoadP_Out3 Active power P3 0~20 1% 100
percent
383
384 wLoadQ_Out1 Reactive power Q1 -60~60 1% 0
percen
385 wLoadQ_Out2 Reactive power Q2 -60~60 1% 0
percen
386 wLoadQ_Out3 Reactive power Q3 -60~60 1% 44
percen
387
388 uwLoadP_Absorp Active power PP1 0~100 1% 20
1 percent
389 uwLoadP_Absorp Active power PP2 0~100 1% 50
2 percent
390 uwLoadP_Absorp Active power PP3 0~100 1% 100
3 percent
391
392 wLoadQ_Absorp1 Reactive power QP1 -60~60 1% 0
percen
393 wLoadQ_Absorp2 Reactive power QP2 -60~60 1% 0
percen
394 wLoadQ_Absorp3 Reactive power QP3 -60~60 1% -44
percen
395
396 uwReactV1 Volt reactive mode 0~3000 0.1 2208
V1
397 uwReactV2 Volt reactive mode 0~3000 0.1 2352
V2
398 uwReactV3 Volt reactive mode 0~3000 0.1 2448
V3
399 uwReactV4 Volt reactive mode 0~3000 0.1 2592
21 / 47
V4
400 wReactQ1_Percen volt reactive Q1 -60~60 1% 44
t corresponding to
Reactive power
percen
(Capacitive Qmax)
401 wReactQ2_Percen volt reactive Q2 -60~60 1% 0
t corresponding to
Reactive power
percen
402 wReactQ3_Percen volt reactive Q3 -60~60 1% 0
t corresponding to
Reactive power
percen
403 wReactQ4_Percen volt reactive Q4 -60~60 1% -44
t corresponding to
Reactive power
percen
( inductive Qmax)
404 uwPowSlopeTime Power Slop Time 1~1000 1s 300
405 wModVoltVarOLR Volt reactive power 10~900 0.1s 50
Set open loop response
time
406 uwVrefModelFilte Vref Model Filter 3000-50000 0.1s 300
rTime Time
407 wModVoltWattOL Volt active power 5~600 0.1s 100
RSet open loop response
time
408 wModFreqDroop Freq active power 2~100 0.1s 100
OLRSet open loop response
time
409 uwStartDelayTime System countdown 0~600 1s 60
time
410 wReconnectTime Power-on 0~600 1s 60
reconnection time
411 wDciDetect DCI DC component 0~600 0.01% 50
detection
412 wIslandProtectTi Island Protect Time 0~600 0.1s 20
me
413
414
415 HlvrtEn High and low 0:disable; 0
crossover enable 1:Enable;
416 HvDecLoadEn High volt load 0:disable; 0
22 / 47
9 : PV Charging+Grid
Bypass
10 Grid Charging+Grid
Bypass
11:Grid Bypass
12:PV Charging+Loads
Supporting
13:PV Discharging
14 : PV&Battery
Discharging
15:Gen Charging
16 : Gen
Charging+Gen Bypass
17:PV&Gen Charging
18 : PV&Gen
Charging+Gen Bypass
19:PV Charging+Gen
Bypas
20:Gen Bypass
21:PV Export to Grid
22 : PV Export to
Grid+Loads
Supporting
23 : PV
Charging+Export to
Grid
24 : PV
Charging+Export to
Grid+Loads
Supporting
25:Battery Export to
Grid
26: Battery Export to
Grid+ Loads
Supporting
27 : Battery&PV
Export to Grid
28 : Battery&PV
Export to Grid+Loads
Supporting
01 Vpv1 PV1 voltage 0
.
1
V
24 / 47
V
A
13 ACChr_Watt H AC charge watt (high) 0
.
1
W
14 ACChr_Watt L AC charge watt (low) 0
.
1
W
15 ACChr_VA H AC charge apparent power 0
(high) .
1
V
A
16 ACChr_VA L AC charge apparent power 0
(low) .
1
V
A
17 Bat Volt Battery volt (M3) 0
.
0
1
V
18 BatterySOC Battery SOC 0~100 1
%
19 Bus Volt INV Bus Total Voltage 0
.
1
V
20 Grid Volt AC input Volt 0
.
1
V
21 Line Freq AC input frequency 0
.
0
1
H
z
22 OutputVolt AC output Volt 0
.
1
26 / 47
1
C
33 Buck2_NTC Buck2 Temperature -30~200.0 0
.
1
C
34 OP_Curr Output Current 0
.
1
A
35 Inv_Curr Inv Current 0
.
1
A
36 AC_InWatt H AC input watt (high) (signed int 32) 0
.
> 0 : get energy from 1
grid W
37 AC_InWatt L AC input watt (low) < 0: export energy to 0
Grid .
1
W
38 AC_InVA H AC input apparent power 0
(high) .
1
V
A
39 AC_InVA L AC input apparent power 0
(low) .
1
V
A
40 Fault bit fault bit &*1
41 Warning bit Warning bit &*1
42 Warning bit high
43 warning value warning value
44 DTC Device Type Code &*6
45 Export to Grid Today Today’s energy feed to grid 0
.
1
K
W
H
46 Export to Grid Total H Total energy feed to grid H 0
28 / 47
.
1
K
W
H
47 Export to Grid Total L Total energy feed to grid L 0
.
1
K
W
H
48 Epv1_today H PV Energy today
k
W
h
58 Eac_chrTotal H AC charge Energy total
59 Eac_chrTotal L AC charge Energy total 0
.
1
k
W
h
60 Ebat_dischrToday H Bat discharge Energy today
61 Ebat_dischrToday L Bat discharge Energy today 0
.
1
k
W
h
62 Ebat_dischrTotal H Bat discharge Energy total
63 Ebat_dischrTotal L Bat discharge Energy total 0
.
1
k
W
h
64 Eac_dischrToday H AC discharge Energy today
65 Eac_dischrToday L AC discharge Energy today 0
.
1
k
W
h
66 Eac_dischrTotal H AC discharge Energy total
67 Eac_dischrTotal L AC discharge Energy total 0
.
1
k
W
h
68 ACChrCurr AC Charge Battery Current 0
.
1
A
69 AC_DisChrWatt H AC discharge watt (high) 0
.
30 / 47
1
W
70 AC_DisChrWatt L AC discharge watt (low) 0
.
1
W
71 AC_DisChrVA H AC discharge apparent power 0
(high) .
1
V
A
72 AC_DisChrVA L AC discharge apparent power 0
(low) .
1
V
A
80
81 MpptFanSpeed Fan speed of MPPT Charger 0~100 1
%
82 InvFanSpeed Fan speed of Inverter 0~100 1
%
83 TotalChgCur Total Charge current 0
.
1
A
84 TotalDisChgCur Total DisCharge current 0
.
1
A
85 Eop_dischrToday_H Op discharge Enerday today
86 Eop_dischrToday_L
87 Eop_dischrTotal_H Op discharge Enerday total
88 Eop_dischrTotal_L
Reg
Variable Name Description Value Unit Note
NO
200 BMS_Status 状态 &*9
201 BMS_Error_old 错误(旧) &*10
1%~
203 BMS_SOC 电量百分比 1%
100%
204 BMS_BatteryVolt 平均电压 0.01V
205 BMS_BatteryCurr 平均电流 &*12 0.1A (signed int 16)
206 BMS_BatteryTemp 平均温度 0.1℃ (signed int 16)
207 BMS_MaxCurrChg 最大充电电流 0.1A
208 BMS_CVolt 浮充电压 &*13 0.01V
34 / 47
Bit 0~ Bit7:Minimum
MaxMinCellVoltageNu 单体最高和最 cell voltage number
245
mber 低电压编号 Bit 8~ Bit15:Maximum
cell voltage number
246 ProtectPackID 故障电池地址
247 ManufacturerName
248 HardwareVersion range:1~9
249 SoftwareVersion01
并机最高软件
250 ParallelHightSoftwarVer
版本
251 MaxCellTemp 单体最高温度 0.1℃ (signed int 16)
252 MinCellTemp 单体最低温度 0.1℃ (signed int 16)
Bit 0~ Bit7:
MaxMinCellTempSerial 最高和最低温 MinCellTempNum
253
Num 度单体编号 Bit 8~ Bit15:
MaxCellTempNum
最高和最低 Bit 0~ Bit7:MinSOC
254 MaxMinSOC 0~100
SOC Bit 8~ Bit15:MaxSOC
255 TotalCellNumber 1~254
256 BatProtect3_4 电池保护 3_4 &*21
257 BatProtect5 电池保护 5 &*22
258 BatWarnInfo3 电池告警 3 &*23
Bit 0~1:
0 : normal
正常运行
259 UpdateStatus 升级状态
1: programming
升级中
2:升级成功
260 SoftwareVersion23 ASCII 表示
261 SoftwareVersion45 ASCII 表示
262 BatSerialNumber_ID 电池序号
263 BatSerialNumber0_1 SN 码 ASCII 表示
264 BatSerialNumber2_3 SN 码 ASCII 表示
265 BatSerialNumber4_5 SN 码 ASCII 表示
266 BatSerialNumber6_7 SN 码 ASCII 表示
267 BatSerialNumber8_9 SN 码 ASCII 表示
268 BatSerialNumber10_11 SN 码 ASCII 表示
269 BatSerialNumber12_13 SN 码 ASCII 表示
270 BatSerialNumber14_15 SN 码 ASCII 表示
271 BatSerialNumber16_17 SN 码 ASCII 表示
272 BatSerialNumber18_19 SN 码 ASCII 表示
273 ModuleID2 1~12
274 Module2MaxVol 最高单体电压 0.01V
36 / 47
0 Standby 待机模式
3 Fault 故障
4 Flash 烧录模式(监控上不显示)
5 PV Charging 光伏充电
0 : “Error” byte
Invalid
0 : unbalance PF
3 Cell balance PF status
1 : balance
0 : disable
4 Sleep status
1 : enable
0 : disable
5 Output Discharge status
1 : enable
0 : disable
6 Output Charge status
1 : enable
0 : terminal
7 Battery terminal status connected
1 : terminal open
00:单机
8
Master box Operation Mode 01:并联
9 10:并联准备
00:none
10 01 : stand by
SP Status
10 : charging
11 11 : discharging
0 : disable
12 Request force charge 强充标记
1 : enable
Content
Description Recovery Mechanism
(binary)
(Stop charging)
Bit 2 OV (Over Voltage)protection
&&( discharging)
(Unloading(1)) &&
Bit 4 OTD(Over Temperature Discharge) protection (temperature turn down to
60℃)
40 / 47
(Stop charging) ||
Bit 5 OTC (Over Temperature Charge)protection (temperature turn down to
50℃)
(Unloading(1)) &&
Bit 6 UTD (Under Temperature Discharge)protection
(temperature raise to -10℃)
(Stop charging) ||
Bit 7 UTC (Under Temperature Charge)protection
(temperature raise to 0℃)
0 : disable
Bit 8 Soft start fail
1 : enable
0 : disable
Bit 9 Permanent Fault
1 : enable
0 : disable
Bit 10 Delta V Fail
1 : enable
(Unloading(1)) &&
Bit 11 OCC(Over Current Charge ) protection ( Discharging || DG_ON
command)
Content
State Description Recovery Mechanism
(binary)
0 正常
放电或电压低于单体过压告警值恢复(磷酸铁
Bit 0
锂/三元电池)
单体过压
1
告警
41 / 47
0 正常
充电或电压高于单体欠压告警值恢复(磷酸铁
Bit 1
锂/三元电池)
单体欠压
1
告警
0 正常
放电或电压低于总压过压告警值恢复(磷酸铁
Bit 2
锂/三元电池)
总压过压
1
告警
0 正常
充电或电压高于总压欠压告警值恢复(磷酸铁
Bit 3
锂/三元电池)
总压欠压
1
告警
0 正常
Bit 4 放电过流 电流高于放电过流告警值
1
告警
0 正常
Bit 5 充电过流 电流高于充电过流告警值
1
告警
0 正常
Bit 6 放电高温 温度高于放电高温告警值(℃)
1
告警
0 正常 温度低于放电低温告警值
Bit 7 放电低温
1 (℃)
告警
0 正常 温度高于充电高温告警值
Bit 8 充电高温
1 (℃)
告警
0 正常 温度低于充电低温告警值
Bit 9 充电低温
1 (℃)
告警
0 正常 温度高于 MOS 高温告警值
Bit 10 MOS 高温
1 (℃)
告警
0 正常 温度高于环境高温告警值
Bit 11 环境高温
1 (℃)
告警
Bit 12 0 正常 温度低于环境低温告警值
42 / 47
环境低温
1 (℃)
告警
0 正常
0x0000~0x7FFF 表示电流为正值
电流
0x8000~0xFFFF 表示电流为负值
磷酸铁锂电池 57.6V
三元锂电池 xx
钛酸锂电池 xx
根据不同的电池类型,PACK 厂商给出实际的 CV 电压值。
10 BMS Ver.
11
12
…..
13
14
15
0 000000000 : xx
1 000000001 : EVE
2 000000010 : xx
PACK company
3 000000011 xx
4 100
5
6
7
10 PACK Ver
11
12
13
14
15
0 00:soft starting
01:stand by
status
10:charging
1
11:discharging
1:"Error"byte valid
2 Error bit flag 0:"Error"byte
Invalid
0:unbalance
3 Cell balance status
1:balance
0:disable
4 Sleep status
1:enable
0:disable
5 Output Discharge status
1:enable
0:disable
6 Output Charge status
1:enable
0:terminal
7 Battery terminal status connected
1:terminal open
00:stand-alone
8
01:Parallel
Master box Operation Mode
10:Parallel
9
preparation
0:disable
10 PreOutputDsgStatus
1:enable
0:disable
11 PreOutputChgStatus
1:enable
Other Reserved
2 FLT_DI_ILIMIT_NORSP 放电限流失败故障
3 FLT_BUS_OPEN 主回路开路故障
4 DsgChg Over Curr2 放电过流 2
5 MosTempHigh MOS 管温度过高
6 CellDeltaV 单体压差大
7 CellDeltT 单体温差大
5 Set address
You can set any address accept 253 (reserve for debug)
6 Notice
1) It can drive mostly 32 pv inverters for one rs485 comport.
2) There are only read input and hold registers commands even the newest version.
3) App user could only care the input register.
4) App user could not care the holding registers.