0% found this document useful (0 votes)
38 views13 pages

TS228KTL Communication Protocol

The document outlines the TBEA Grid-Connected String Inverter Communication Protocol (PLUS&BF), detailing its application scope, communication parameters, and command definitions based on the MODBUS Protocol standard. It includes specifications for remote measuring, signaling, and PV information, along with exception codes for error handling. The document serves as a technical reference for implementing communication between grid-connected inverters and monitoring systems.

Uploaded by

Gabriel Leite
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views13 pages

TS228KTL Communication Protocol

The document outlines the TBEA Grid-Connected String Inverter Communication Protocol (PLUS&BF), detailing its application scope, communication parameters, and command definitions based on the MODBUS Protocol standard. It includes specifications for remote measuring, signaling, and PV information, along with exception codes for error handling. The document serves as a technical reference for implementing communication between grid-connected inverters and monitoring systems.

Uploaded by

Gabriel Leite
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Confide

Document
V1.2 ntial
Non-confi 13pages in total
version dential
level
TBEA Xi’an Electric Document TBEA Grid-Connected String Inverter Communication
Technology Co., Ltd. title Protocol(PLUS&BF)
Document
No

TBEA Grid-Connected String


Inverter Communication Protocol
(PLUS&BF)

Prepared by Zhao Yongtao Date March 8, 2018

Reviewed by Wang Nan Date March 8, 2018

Approved by Zhou Hongwei Date March 8, 2018


Revision record
Prepared Reviewe
REV. Description Date
by d by
Zhao Wang March 8,
V1.0 Newly preparation
Yongtao Nan 2018
Modify Chapter3.3 PV
Zhao Wang October10,
V1.1 Information, Add PV current and
Yongtao Nan 2019
Voltage to 24 channels
Modify Chapter3.3 PV
Zhao Wang October11,
V1.2 Information, Add PV current and
Yongtao Nan 2020
Voltage to 24 channels
Directory
1 GENERAL .................................................................................................................................... 1
1.1 PROTOCOL OVERVIEW ........................................................................................................... 1
1.2 APPLICABLE SCOPE ................................................................................................................ 1
1.3 REFERENCE STANDARD .......................................................................................................... 1
1.4 COMMUNICATION PARAMETER ............................................................................................. 1
1.4.1 Communication address ................................................................................................ 1
1.4.2 Communication parameter ........................................................................................... 1
2 DEFINITION OF THE APPLICATION LAYER ..................................................................... 2
2.1 0X03/0X04 BLOCK READ COMMAND ...................................................................................... 2
2.2 0X05 WRITE SINGLE REGISTER COMMAND ........................................................................... 2
2.3 0X06 WRITE SINGLE REGISTER COMMAND ........................................................................... 3
2.4 0X10 WRITE MULTIPLE REGISTERS COMMAND ..................................................................... 4
3 DETAILED DESCRIPTION OF COMMUNICATION COMMANDS ................................. 5
3.1 REMOTE MEASURING ............................................................................................................. 5
3.2 REMOTE SIGNALING............................................................................................................... 5
3.3 PVINFORMATION ................................................................................................................... 7
3.4 PARAMETER SETTINGS ........................................................................................................... 9
3.5 TIME SYNCHRONIZATION ..................................................................................................... 10
1 General

1.1 Protocol overview

The communication protocol should be applicable for grid-connected string inverter and

mainframe monitor system communication of TBEA. Four-remote communication for the PV

grid-connected inverter should be completedaccording to the MODBUS Protocol standard.

1.2 Applicable scope


Only for Series PLUS、BF

1.3 Reference standard

MODBUS RTU Protocol。

1.4 Communication parameter

1.4.1 Communication address

Range of device address ID: 1~247。

1.4.2 Communication parameter

1)Serial link transmission.


Interface: RS485 (for details of the physical interface, see the product user manual);
Baud rate: 4800/9600/19200bps,default 9600bps.
Byte format: 10Bits per Byte;
Start bit: 1;
Data bit: 8
Parity bit: NONE;
Stop bit: 1;

2)Data transmission
MODBUS data should be read and written in word and upper byte should be transmitted at
first.

3)Frame check

For MODBUS CRC-16, lower byte should be transmitted prior to upper byte.
2 Definition of the application layer

Exception code in the Protocol should be defined as blow:


Exception
MODBUSdefinition Meaning
code
0x01 Illegal function Requested command function code not allowed
0x02 Illegal data address Requested read-write address out of the range
0x03 Illegal value Written value out of the range
0x04 Slave station failure Slave instruction execution invalid
0x05 Busy internal task Busy internal task
0x06 Illegal command Mean that the command processing is invalid.

2.1 0x03/0x04 block read command

Read command by mainframe:


Device Function
Start address Data length CRC check
address code
High
ID 03H/04H LowByte High Byte LowByte LowByte HighByte
Byte
Slave
0x03/0x04 Start address Double byte (N) Double byte
address

Slave return:
Device Returned data
Function code Returned data CRC check
address length
High
ID 03H/04H Length = 2*N LowByte LowByte HighByte
Byte
Slave address 0x03/0x04 Single byte 2* N bytes Double byte

Exception response:
Device address Error code Type of abnormal return CRC check
ID 83H/84H 01/02/03/04 LowByte HighByte
Single byte
Slave address 0x83/0x84 Double byte
(0x01/0x02/0x03/0x04)

2.2 0x05 write single register command

Write command by mainframe:


Device Function
Output address Output value CRC check
address code
ID 05H High LowByte High LowByte LowByte HighByte
Byte Byte
Slave
0x05 Write address 0xFF00/0x00FF Double byte
address

Slave return:
Device Function
Output address Output value CRC check
address code
High High
ID 05H LowByte LowByte LowByte HighByte
Byte Byte
Slave
0x05 Write address 0xFF00/0x00FF Double byte
address

Exception response:
Device address Error code Type of abnormal return CRC check
ID 85H 01/02/03/04 LowByte HighByte
Slave address 0x85 Single byte (0x01/0x02/0x03/0x04) Double byte

2.3 0x06 write single register command

Write command by mainframe:


Device Function
Output address Output value CRC check
address code
High
ID 06H LowByte High Byte LowByte LowByte HighByte
Byte
Slave
0x06 Write address Write value Double byte
address

Slave return:
Device Function
Output address Output value CRC check
address code
High High
ID 06H LowByte LowByte LowByte HighByte
Byte Byte
Slave
0x06 Write address Write value Double byte
address

Exception response:
Device
Error code Type of abnormal return CRC check
address
ID 86H 01/02/03/04 LowByte HighByte
Slave
0x86 Single byte (0x01/0x02/0x03/0x04) Double byte
address
2.4 0x10 write multiple registers command

Write command by mainframe:


Device Function Number
Start address Number of data Write data CRC check
address code of bytes
High High High
ID 10H LowByte LowByte 2*N LowByte LowByte HighByte
Byte Byte Byte
Slave Single
0x10 Start address Double byte (N) N double bytes Double byte
address byte

Slave return:
Device Function
Start address Number of data CRC check
address code
High
ID 10H High Byte LowByte LowByte LowByte HighByte
Byte
Slave
0x10 Start address Double byte (N) Double byte
address

Exception response:
Device Type of abnormal return
Error code CRC check
address
ID 90H 01/02/03/04 LowByte HighByte
Slave Single byte (0x01/0x02/0x03/0x04)
0x90 Double byte
address
3 Detailed description of communication commands

3.1 Remote measuring


Function code 0x03/0x04,only read
Address Meaning Unit Data type
【1】 【2】
0x2000 DC Busvoltage 0.1 V HEX(int16)
0x2001 DC Bus current 0.1 A HEX(int16)
0x2002 DC power input 0.1kW HEX(int16)
0x2003 Line_AB voltage 0.1 V HEX(int16)
0x2004 Line_BC voltage 0.1 V HEX(int16)
0x2005 Line_CA voltage 0.1 V HEX(int16)
0x2006 Phase A current 0.1 A HEX(int16)
0x2007 Phase B current 0.1 A HEX(int16)
0x2008 Phase C current 0.1 A HEX(int16)
0x2009 Power factor 0.001 HEX(int16)
0x200A Frequency 0.01 Hz HEX(int16)
0x200B Active power 0.1kW HEX(int16)
0x200C Reactive power 0.1kVar HEX(int16)
0x200D Apparent power 0.1kVA HEX(int16)
0x200E PV Insulation resistance 0.1kohm HEX(int16)
0x200F Reserved
0x2010 INV temperature 0.1°C HEX(int16)
0x2011 【3 】
Reserved
0x2026
0x2027 Daily running time Min HEX(int16)
0x2028 Total Running time H HEX(uint32)
0x202A Daily power generation 0.1kWh HEX(uint32)
0x202C Accumulative power generation 0.1kWh HEX(uint32)
0x202E CO2 emissions 0.1kg HEX(uint32)

Note [1]: For higher data accuracy, the above data should be in corresponding decimal place unit,
for example: the array voltage of 0x175E=5,982 represents that the actual voltage is
5,982*0.1V=598.2V;
Note [2]: Uint16 means 16-bit unsigned integer, int16 means 16-bit signed integer, uint32 means
32-bit unsigned integer, and int32 means 32-bit signed integer. Both the unsigned number and the
signed positive number above should be expressed in true code, and the signed negative number
should be expressed in complementary code. For example: the grid-connected reactive power of
0xFFE9 means the decimal signed number -23, so the grid-connected reactive power should be
-23*0.1kVar=-2.3kVar.
Note [3]: read the reserved address, and the returned data should be zero.

3.2 Remote signaling


Function code 0x03/0x04
Address Meaning Length Data type
0x2030 Inverter Running state 2 HEX(bit)
0x2031 Inverter GRID-connected state 2 HEX(bit)
0x2032 Reserved 2 HEX(bit)
0x2033 Inverter State Word 2 2 HEX(bit)
0x2034 Inverter State Word 3 2 HEX(bit)

Inverter Running state:


bit Meaning
Bit15 Reserved
Bit14 Reserved
Bit13 Reserved
Bit12 Reserved
Bit11 Reserved
Bit10 Reserved
Bit9 Reserved
Bit8 Derating
Bit7 Dispatch
Bit6 Fault
Bit5 Limited Power Downtime
Bit4
Bit3 Grid-connected
Bit2 Standby
Bit1
Bit0 Stop

Inverter GRID-connected state:


Status bit Meaning
Bit15- Bit2 Reserved
Bit1 Reserved
Bit0 1:Grid-connected;0:Grid-OFF

Inverter State Word 2:


Status bit Meaning(1: fault; 0: normal)
Bit15 PV Under Voltage
Bit14 PV Over Voltage
Bit13 PV Insulation Resistance Low Alarm
Bit12 PV Insulation Resistance Low Fault
Bit11 PV To Earth Short Fault
Bit10 PV Opposite
Bit9 Leakage Current Fault
Bit8 Reserved
Bit7 Reserved
Bit6 Reserved
Bit5 Fan Fault
Bit4 Reserved
Bit3 Grid Over Frequency
Bit2 Grid Under Frequency
Bit1 AC Over Voltage
Bit0 AC Under Voltage

Inverter State Word 3:


Status bit Meaning(1: fault; 0: normal)

Bit15 LVRT

Bit14 Ambient Temperature High

Bit13 Ambient Temperature Low

Bit12 Reserved

Bit11 Reserved

Bit10 Reserved

Bit9 Reserved

Bit8 Reserved

Bit7 Reserved

Bit6 Reserved

Bit5 AC SPD Fault

Bit4 DC SPD Fault

Bit3 Reserved

Bit2 Reserved

Bit1 Reserved

Bit0 Reserved

3.3 PVInformation
Function code 0x03
Address Meaning Unit Data type
0x2100 PV1 Voltage 0.1 V HEX(int16)
0x2101 PV1 Current 0.01 A HEX(int16)
0x2102
0x2103 PV2 Voltage 0.1 V HEX(int16)
0x2104 PV2 Current 0.01 A HEX(int16)
0x2105
0x2106 PV3 Voltage 0.1 V HEX(int16)
0x2107 PV3 Current 0.01 A HEX(int16)
0x2108
0x2109 PV4 Voltage 0.1 V HEX(int16)
0x210A PV4 Current 0.01 A HEX(int16)
0x210B
0x210C PV5 Voltage 0.1 V HEX(int16)
0x210D PV5 Current 0.01 A HEX(int16)
0x210E
0x210F PV6 Voltage 0.1 V HEX(int16)
0x2110 PV6 Current 0.01 A HEX(int16)
0x2111
0x2112 PV7 Voltage 0.1 V HEX(int16)
0x2113 PV7 Current 0.01 A HEX(int16)
0x2114
0x2115 PV8 Voltage 0.1 V HEX(int16)
0x2116 PV8 Current 0.01 A HEX(int16)
0x2117
0x2118 PV9 Voltage 0.1 V HEX(int16)
0x2119 PV9 Current 0.01 A HEX(int16)
0x211A
0x211B PV10 Voltage 0.1 V HEX(int16)
0x211C PV10 Current 0.01 A HEX(int16)
0x211D
0x211E PV11 Voltage 0.1 V HEX(int16)
0x211F PV11 Current 0.01 A HEX(int16)
0x2120
0x2121 PV12 Voltage 0.1 V HEX(int16)
0x2122 PV12 Current 0.01 A HEX(int16)
0x2123
0x2124 PV13 Voltage 0.1 V HEX(int16)
0x2125 PV13 Current 0.01 A HEX(int16)
0x2126 PV14 Voltage 0.1 V HEX(int16)
0x2127 PV14 Current 0.01 A HEX(int16)
0x2128 PV15 Voltage 0.1 V HEX(int16)
0x2129 PV15 Current 0.01 A HEX(int16)
0x212A PV16 Voltage 0.1 V HEX(int16)
0x212B PV16 Current 0.01 A HEX(int16)
0x212C PV17 Voltage 0.1 V HEX(int16)
0x212D PV17 Current 0.01 A HEX(int16)
0x212E PV18 Voltage 0.1 V HEX(int16)
0x212F PV18 Current 0.01 A HEX(int16)
0x2130 PV19 Voltage 0.1 V HEX(int16)
0x2131 PV19 Current 0.01 A HEX(int16)
0x2132 PV20 Voltage 0.1 V HEX(int16)
0x2133 PV20 Current 0.01 A HEX(int16)
0x2134 PV21 Voltage 0.1 V HEX(int16)
0x2135 PV21 Current 0.01 A HEX(int16)
0x2136 PV22 Voltage 0.1 V HEX(int16)
0x2137 PV22 Current 0.01 A HEX(int16)
0x2138 PV23 Voltage 0.1 V HEX(int16)
0x2139 PV23 Current 0.01 A HEX(int16)
0x213A PV24 Voltage 0.1 V HEX(int16)
0x213B PV24 Current 0.01 A HEX(int16)

3.4 Parameter settings


Function code 0x03/ 0x06/ 0x10
地址 含义 单位 格式 R/W 功能码 备注
ON/OFF W 0x05 0xFF00:ON
0x3000 HEX(uint16)
0x00FF:OFF
SVG W 0x05 0xFF00:Enabl
e
0x3001 HEX(uint16)
0x00FF:
Disable
0x3002 Reserved
0x3003 Reserved
0x3004 Reserved
Active Power R/W 0x03/0x06 0:Disable;
Regulation mode 1:Integer;
0x3005 HEX(uint16)
(Default);
2:Percent;
Active Power 0.01% R/W 0x03/0x06
0x3006 HEX(uint16)
Setting[Percent]
Active Power 0.01k R/W 0x03/0x06
0x3007 HEX(uint16)
Setting[Integer] W
Reactive Power R/W 0x03/0x06 0:Disable;
Regulation mode 1:Integer;
0x3008
2:Percent
(Default);
Reactive Power 0.01% R/W 0x03/0x06
0x3009 HEX(int16)
Setting[Percent]
0x300A Reactive Power 0.01kV HEX(int16) R/W 0x03/0x06
Setting[Integer] ar
0x300B Factor 0.001 HEX(uint16) R/W 0x03/0x06
0x300C
Reserved
0x3013

3.5 Time synchronization


Function code 0x10,0x03.Read and Write.
Address Meaning Length Unit Property Data type
0x3200 Year 2 1Y uint16
0x3201 Month 2 1M uint16
0x3202 Day 2 1D uint16
R/W
0x3203 Hour 2 1H uint16
0x3204 Minute 2 1Min uint16
0x3205 Second 2 1s uint16
Notes: Not support read-write of the single time unit.

You might also like