Professional Documents
Culture Documents
1 / 22
Growatt OffGrid SPF5000 Modbus RS485 RTU Protocol
V0.11
2017‐8‐09
Growatt New Energy CO.,LTD
No. Version Date Notice Signature
1 V0.01 2016‐12‐27 The first version Zhenyuan.li
2 V0.02 2017‐1‐12 1 、 modify input reg 0, system Zhenyuan.li
status;
2、add input reg 44 for send DTC to
server to identify machine type;
3 V0.03 2017‐2‐6 1、modify Holding reg 29, Model Zhenyuan.li
Low;
4 V0.04 2017‐2‐16 1、add Holding reg 39, battery type; Zhenyuan.li
2、modify Holding reg 0, On/Off;
3、modify Input reg 46, Production
Line Mode;
5 V0.05 2017‐3‐10 1、modify Input reg 17、28、29, Zhenyuan.li
Battery Voltage;
6 V0.06 2017‐3‐15 1、modify Holding reg 29, Model L; Zhenyuan.li
7 V0.07 2017‐5‐25 1、modify Hold reg 29; Zhenyuan.li
2、modify Input reg 36~39;
3、add Input reg 68~82;
8 V0.08 2017‐5‐26 1、add Input reg 90~131 for BMS Zhenyuan.li
infomation;
9 V0.09 2017‐7‐4 1 、 add Input reg 135~179 for Zhenyuan.li
SolarCharger infomation;
10 V0.10 2017‐7‐12 1、add Input reg 83~86 for Machine Zhenyuan.li
Rate Power ;
11 V0.11 2017‐8‐09 1、Change Machine Rate Power Zhenyuan.li
from Input Reg 83~86 to Holding
Reg 76~79;
2、Adjust BMS info, and add BMS2
info;
3、Add Solar Charger Info at Input
Reg 180~224;
GROWATT NEW ENERGY CO.,LTD 格瑞特新能源有限公司 Tel: 86 755 27471063
No. 12 Building, Xicheng Industrial 中国深圳市宝安区西乡街道西成工 info@ginverter.com
Zone, Bao'an District, Shenzhen 业区 12 栋 邮编 518102 www.ginverter.com
518102, China.
2 / 22
2 Command Format ................................................................................................................... 5
3 Device Message Transmission Mode / Framing ..................................................................... 8
4 Register map ........................................................................................................................... 9
5 Set address ........................................................................................................................... 21
6 Notice ................................................................................................................................... 22
1 Data format
Valid slave device addresses are in the range of 0 – 247 decimal.
The individual slave devices are assigned addresses in the range of 1 – 247.
0 is the broadcast address
It is 16bits (two bytes) unsigned integer for each holding and input register;
2 Command Format
Function 3 Read holding register
Response Error:
11 0x80|0x03 Errornum CRC (Errornum as a byte)
Response Error:
11 0x80|0x04 Errornum CRC (Errornum as a byte)
Function 6 Preset single register
Response Error:
11 0x80|0x06 Errornum CRC (Errornum as a byte)
Function 16 Preset multiple register
Response Error:
11 0x80|0x10 Errornum CRC (Errornum as a byte)
3 Device Message Transmission Mode / Framing
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.
The format for each byte in RTU mode is:
Coding System: 8–bit binary, hexadecimal 0–9, A–F
Two hexadecimal characters contained in each
8–bit field of the message
Bits per Byte:
1 start bit
8 data bits, least significant bit sent first
None parity
1 stop bit
Error Check Field: Cyclical Redundancy Check (CRC)
The baud rate of the transmission is:
Baud Rate: 9600 bps
Minimum CMD period (RS485 Time out): 850ms.
Wait for minimum 850ms to send a new CMD after last CMD. Suggestion is 1s;
Maximum Data Length Define:
Maximum read data length is 45 words in read command;
Maximum update data length is 45 words in preset command;
Read or update registers NO. should in the range of times of 45,
eg: 1~45 or 96~123 are OK, but 40~60 is not OK;
Note:
Except the CEI0‐21 and VDE‐AR‐N 4105 power management registers, you should refer the
manufactory’s suggestion when writing other registers;
4 Register map
It is 16bits (two bytes) unsigned integer for each holding and input register;
4.1 Holding Reg
Reg Variable Name Description Cust Value Unit Initial Note
NO. ome value
r
Writ
e
00 On/Off The Standby On/Off 0x0000: Standby off, 0
state and the AC Output enable;
output DisEN/EN 0x0001: Standby on,
state; The low byte is Output enable;
the Standby 0x0100: Standby off,
on/off(1/0), the high Output disable;
byte is the AC output 0x0101: Standby on,
disable/enable (1/0). Output disable;
01 OutputConfig AC output set W 0: BAT First; 0
1: PV First;
2: UTI First;
02 ChargeConfig Charge source set W 0: PV first; 0
1: PV&UTI;
2: PV Only;
03 UtiOutStart Uti Output Start Time W 0‐23 H(hour) 0
04 UtiOutEnd Uti Output End Time W 0‐23 H(hour) 0
05 UtiChargeStart Uti Charge Start Time W 0‐23 H(hour) 0
06 UtiChargeEnd Uti Charge End Time W 0‐23 H(hour) 0
07 PVModel PV Input Mode W 0:Independent; 0
1: Parallel;
08 ACInModel AC Input Mode W 0: APL,90‐280VAC; 0
1: UPS,170‐280VAC;
09 Fw version H Firmware version ASCII
(high)
10 Fw version M Firmware version
(middle)
11 Fw version L Firmware version
(low)
12 Fw version2 H Control Firmware ASCII
version (high)
13 Fw version2 M Control Firmware
5 Set address
Refer to the Inverter user manual. Always is :
GROWATT NEW ENERGY CO.,LTD 格瑞特新能源有限公司 Tel: 86 755 27471063
No. 12 Building, Xicheng Industrial 中国深圳市宝安区西乡街道西成工 info@ginverter.com
Zone, Bao'an District, Shenzhen 业区 12 栋 邮编 518102 www.ginverter.com
518102, China.
22 / 22
Knock the pv inverter to let the lcd display to the “COM Addr: xxx”, then double knock, if
displays “Move”, you should another double knock, until it displays a address number, then you
can give a single knock to change the address, this address will be remembered when the lcd
backlight off.
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.
5) Except the CEI0‐21 and VDE‐AR‐N 4105 power management registers, you should refer the
manufactory’s suggestion when writing the other registers;