Modbus STRING INVERTER
Modbus STRING INVERTER
V132
June. 2023
1
Copyright © Ningbo Deye Inverter Technology Co., Ltd.
Modbus RTU Protocol V1.31 Protocol Description
PROTOCOL DESCRIPTION
1. Overview
This MODBUS RTU protocol applies for the communication between Deye's string inverter and the host computer
monitoring.
Physical interface:
Using RS485/RS232, asynchronous transceiver mode, master-slave mode, fixed baud rate.
----Baud rate: 9600bps
----Parity: None
----Data bits: 8
----Stop bit: 1
2. Data frame
Slave Address Function code Data CRC Check
1 Byte 1 Byte N Byte 2 Byte
----Slave Address field: It is the slave modbus address
----Function code field: Currently only 0x03 and 0x10 function codes are available.
----Data field: Including the starting register address, data length, number of data bytes, and data content. The high
byte First.
----CRC Check field: Low byte first.
3. Function code
The table below lists only the function codes to which this protocol applies.
Function code Function code type Description
0x03 Public function code Reads single register or multiple registers
0x10 Public function code Writes single register or multiple registers
2
Copyright © Ningbo Deye Inverter Technology Co., Ltd.
Modbus RTU Protocol V1.31 Protocol Description
(4)Typical example
Request to write 0x000A and 0x0102 to the two registers starting at address 1 (describing only PDU)
Request Normal response Exceptional response
Field name field value Field name field value Field name field value
Function code 0x10 Function code 0x10 Wrong code 0x90
Starting address Hi 0x00 Starting address Hi 0x00 Exception code 0x04
Starting address Lo 0x01 Starting address Lo 0x01
Register number Hi 0x00 Register number Hi 0x00
Register number Lo 0x02 Register number Lo 0x02
Byte count 0x04
Register value Hi 0x00
Register value Lo 0x0A
Register value Hi 0x01
Register value Lo 0x02
3
Copyright © Ningbo Deye Inverter Technology Co., Ltd.
odbus RTU Protocol V1.31 Register Table
REGISTER TABLE
DATA
ADDR 寄存器 REGISTER R/W UNIT DESCRIPTION
RANGE
0 设备类型 Device type R 0X0200 :String Inverter
1 通讯地址 Modbus address R [1,247]
2 协议版本 Communication version R 0'~'9':'A'~'Z' 0x 0102: SW Version 1.2
序列号 The serial number is ten ASCII characters,
If "AH12345678",
Byte 01st is 0x41 (A),
3 SN byte 01 R 0'~'9':'A'~'Z' The 02nd byte is 0x48 (H),
4
Copyright © Ningbo Deye Inverter Technology Co., Ltd.
odbus RTU Protocol V1.31 Register Table
5
Copyright © Ningbo Deye Inverter Technology Co., Ltd.
odbus RTU Protocol V1.31 Register Table
6
Copyright © Ningbo Deye Inverter Technology Co., Ltd.
odbus RTU Protocol V1.31 Register Table
on /10 hysteresis on
Bit5 bit4: 三相电表防逆流功能 00 按平均功率
/01 按最小功率
Three phase meter anti-countercurrent function 00
according to average power /01 according to
minimum power
Bit9 bit8 Bit7 bit6:无功控制模式:
0000 无功模式关闭
0001 无功百分比模式
0010 PF 设定模式
0011 Q(U)模式
Reactive power control mode:
0000 The reactive power mode is disabled
0001 Reactive power percentage mode
0010 PF Setting mode
0011 Q(U) mode
11 代表无效设置,可以只设置某一功能,其它
位用 1 填充,下发不会影响其它功能
00 Off / 01 On
11 indicates invalid Settings. You can set only one
function and fill other bits with 1. Delivery does not
affect other functions
7
Copyright © Ningbo Deye Inverter Technology Co., Ltd.
odbus RTU Protocol V1.31 Register Table
8
Copyright © Ningbo Deye Inverter Technology Co., Ltd.