A or BSeriesControllerProtocolv2.6
A or BSeriesControllerProtocolv2.6
Communication Instruction
As a master / slave protocol, at the same time, there is only one master
and one or more (Max 247) slave on the bus. Modbus communication is
always initiated by the master, and if no request is received from the master to
the slave, no data will be sent. The slaves cannot communicate with each
other, at the same time the master can only initiate one Modbus transaction.
common software (Tips: when modify ID, please make sure the bus only
connects a controller. After modifying the ID, please recharge the controller.)
3. Serial communication parameters: baud rate 115200, data bits 8, stop bits 1,
4. Register address uses hexadecimal format, the base address offset is 0x00.
5. All 32-bit-length data uses two 16-bit registers to represent (L and H register,
respectively), for example, the value of the array rated power is 3000, data
multiple is 100, the data of L register (address 0x3002) is 0x93E0 and the data
of H register (address 0x3003) is 0x0004.
1. Real Time Data:all system’s real time data, real time status and the
Status analysis
Array status: address 3201 bits D15-D10
Charging status:address 3201 bits D3-D2
Battery status: address 3200 bits D7-D0
Load status: address 3201 bits D9-D7, address 3202 bits D13-D8,D6-D4
Device status: address 3200 bit D15 address 3201 bits D6 address 2000
For example
Read real-time battery voltage
Send command: 01 04 33 1A 00 01 1F 49
Analysis :
01 device ID
04 function code
33 1A the start bit of the address
00 01 the number of the address
1F 49 CRC
Receive command : 01 04 02 04 CE 3A 64
Analysis :
01 device ID
04 function code
02 two bytes
04 CE data(0x04CE (Hex) = 1230 (Dec), 1230/100=12.3V)
3A 64 CRC
2. Battery Parameter:After choosing the battery type, set the
Battery 03(read)
B5 9001 Rated capacity of the battery AH 1
capacity 10(write)
Temperature mV/
03(read)
B6 compensation 9002 Range 0-9 ℃ 100
10(write)
coefficient /2V
Over voltage
03(read)
B7 disconnect 9003 V 100
10(write)
voltage
Charging limit 03(read)
B8 9004 V 100
voltage 10(write)
Over voltage
03(read)
B9 reconnect 9005 V 100
10(write)
voltage
Equalize
03(read)
B10 charging 9006 V 100
10(write)
voltage
Boost
03(read)
B11 charging 9007 V 100
10(write)
voltage
Float charging 03(read)
B12 9008 V 100
voltage 10(write)
Boost
reconnect 03(read)
B13 9009 V 100
charging 10(write)
voltage
Low voltage
03(read)
B14 reconnect 900A V 100
10(write)
voltage
Under voltage
warning 03(read)
B15 900B V 100
recover 10(write)
voltage
Under voltage
03(read)
B16 warning 900C V 100
10(write)
voltage
Low voltage
03(read)
B17 disconnect 900D V 100
10(write)
voltage
Discharging 03(read)
B18 900E V 100
limit voltage 10(write)
Battery rated 03(read) 0, auto recognize. 1-12V,
B19 9067
voltage level 10(write) 2-24V ,3-36V,4-48V,5-60V,6-110V,
7-120V,8-220V,9-240V
Default load
03(read)
B20 On/Off in 906A 0-off, 1-on
10(write)
manual mode
Equalize 03(read)
B21 906B Usually, 60-120 minutes Min
duration 10(write)
03(read)
B22 Boost duration 906C Usually, 60-120 minutes Min
10(write)
Usually 20%-80%. The percentage of
Battery 03(read)
B23 906D battery's remaining capacity when stop % 100
discharge 10(write)
charging
03(read)
B24 Battery charge 906E Depth of charge, 20%-100% % 100
10(write)
Management modes of battery charge
Charging 03(read) and
B25 9070
mode 10(write) discharge, voltage compensation: 0 and
SOC: 1
D8 (Low temp. protection for
Li Battery
charging): 0-Disable, 1-Enable
Protection
03(read) D9 (Low temp. protection for
B26 & 9107
10(write) discharging): 0-Disable, 1-Enable
Over Temp.
D11 (Over Temp. Drop Power):
Drop Power
0-Disable, 1-Enable
WARNING: The voltage parameters of lithium battery can be set, but you must refer to the voltage
parameters of lithium battery BMS.
WARNING: The required accuracy of BMS shall be at least 0.2V. If the deviation is higher than 0.2V, the
manufacturer will assume no liability for any system malfunction caused by this.
Warning
1 When the battery type is Sealed、 Gel or Flooded, the customer only can set Charging mode、battery capacity、
temperature compensation coefficient、equalize duration、boost duration (you cannot set the Equalize duration when
the battery type is Gel). Only when the battery type is User, the customer can set the other parameters (9003~900E the
parameters need to be set at the same time)
2 Battery discharge and battery charge can be set when the charging mode is SOC
3 The battery type and battery rated voltage level cannot be User and Self-recognition at the same time
For example:
1)Read battery parameter(battery type: user rated voltage level: 12V)
Send command: 01 03 90 00 00 0F 28 CE
Analysis :
01 device ID
03 function code
90 00 the start bit of the address
00 0F the number of the address
28 CE CRC
Receive command: 01 03 1E 00 00 00 C8 01 2C 06 40 05 DC 05 DC 05 B4 05 A0 05 64 05 28 04 EC
04 C4 04 B0 04 56 04 24 72 A5
Analysis::
01 device ID
03 function code
1E the number of the sending data
00 00 00 C8 01 2C 06 40 05 DC 05 DC 05 B4 05 A0 05 64 05 28 04 EC 04 C4 04 B0 04 56
04 24 the sending data(00 00 battery type(User); 00 C8
battery capacity (200); 01 2C temperature compensation
coefficient (3); 06 40 Over voltage disconnect
voltage(16V); 05 DC Charge limit voltage(15V);
05 DC Over voltage reconnect voltage(15V); 05 B4
Equalize charging voltage (14.6V); 05 A0 Boost
charging voltage (14.4V); 05 64 Float charging
voltage (13.8V); 05 28 Boost reconnect charging
voltage (13.2V); 04 EC Low voltage reconnect
voltage (12.6V); 04 C4 Under voltage warning recover
voltage (12.2V); 04 B0 Under voltage warning
voltage(12V); 04 56 Low voltage disconnect
voltage(11.1V); 04 24 Discharging limit voltage(10.6V))
3C C4 CRC
Send command : 01 03 90 67 00 01 18 D5
Analysis :
01 device ID
03 function code
90 67 the start bit of the address
00 01 the number of the address
18 D5 CRC
Receive command : 01 03 02 00 01 79 84
Analysis :
01 device ID
03 function code
02 the number of the sending data
00 01 the sending data(12V system)
79 84 CRC
Send command : 01 03 90 6B 00 02 98 D7
Analysis :
01 device ID
03 function code
90 6B the start bit of the address
00 02 the number of the address
98 D7 CRC
Receive command : 01 03 04 00 78 00 78 7A 08
Analysis:
01 device ID
03 function code
04 the number of the sending data
00 78 00 78 the sending data(00 78 equalize duration(120Min) 00 78
boost duration (120Min)
7A 08 CRC
Send command: 01 10 91 07 00 01 02 03 00 27 de
Receive command: 01 10 91 07 00 01 9C F4
Send command: 01 10 91 07 00 01 02 04 00 25 ee
Receive command: 01 10 91 07 00 01 9C F4
3. Load parameter:set the load control mode to meet the customer’s
demand
Warning
1 First you should choose the load control mode(903D),then set the corresponding
parameters.
2 Timing control (turn on/off time 2) is based on Timing control (time choose)(9069).
For example
Send light on + time
Send command :01 10 90 3D 00 03 06 00 02 02 00 02 00 F3 9F
Analysis :
01 device ID
10 function code
90 3D the start bit of the address
00 03 the number of the address
06 six bytes
00 02 02 00 02 00 the sending data(00 02 load control mode(light on + time)
02 00 light on + time(time1) (02 00)
02 00 light on + time(time2)(02 00))
F3 9F CRC
Receive command :01 10 90 3D 00 03 3C C4
Analysis :
01 device ID
10 function code
90 3D the start bit of the address
00 03 the number of the address
3C C4 CRC
Send command :01 10 90 65 00 01 02 0A 00 39 0C
Analysis :
01 device ID
10 function code
90 65 the start bit of the address
00 01 the number of the address
02 two bytes
0A 00 the sending data(0A hour(10) 00 minute(0 ))
39 0C CRC
Receive command :01 10 90 65 00 01 3C D6
Analysis :
01 device ID
10 function code
For example:
Read the address 0x9013-9015
Send command :01 03 90 13 00 03 D9 0E
Analysis :
01 device ID
03 function code
90 13 the start bit of the address
00 03 the number of the address
D9 0E CRC
Receive command :01 03 06 1A 1B 18 0B 10 02 BC 2E
Analysis :
01 device ID
03 function code
06 six bytes
1A 1B 18 0B 10 02 the receiving data(1A 26(minute), 1B 27(second),18 24(day),
0B 11(hour),10 16(year),02 02(month))
B7 24 CRC
5. Device parameter
Function
Number Variable name Address Description Unit Times
code
Lower Temperature 03(read)
E1 9010 Range: -40-+10 ℃ 100
Charging Limit 10(write)
Lower Temperature 03(read)
E2 9011 Range: -40-+10 ℃ 100
Discharging Limit 10(write)
Battery upper 03(read)10
E3 9017 ℃ 100
temperature limit (write)
Battery lower 03(read)10
E4 9018 ℃ 100
temperature limit (write)
Device over 03(read)10
E5 9019 ℃ 100
temperature (write)
Device recovery 03(read)10
E6 901A ℃ 100
temperature (write)
Close after LCD backlight
03(read)10
E7 Backlight time 9063 light setting the number of S
(write)
seconds
For example
1)Send the data of 0x9017-0x901A
Send command :01 10 90 17 00 04 08 19 64 F0 60 21 34 1D 4C 70 10
Analysis :
01 device ID
10 function
90 17 the start bit of the address
00 04 the number of the address
08 the sending bytes
19 64 F0 60 21 34 1D 4C the sending data
70 10 CRC
Receive data:01 10 90 17 00 04 5C CE
Analysis :
01 device ID
10 function code
90 17 the start bit of the address
00 04 the number of the address
5C CE CRC
2)Set Lower Temperature Charging Limit & Lower Temperature Discharging Limit
Send command: 01 device ID
10 function code
90 10 the start bit of the address
00 02 the number of the address
04 four bytes
FC 18 F8 30 the sending data(FC 18 Lower Temperature Charging Limit
(-10℃);F8 30 Lower Temperature Discharging Limit (-20℃))
ad 26 CRC
Receive command: 01 10 91 07 00 01 9C F4
6.Rated parameter
Numb Function
Variable name Address Description Unit Times
er code
F1 Array rated voltage 3000 04(read) PV array rated voltage V 100
For example:
Read the array rated voltage
Send command :01 04 30 00 00 01 3E CA
Analysis :
01 device ID
04 function code
30 00 the start bit of the address
00 01 the number of the address
3E CA CRC
Receive command :01 04 02 17 70 B7 24
Analysis :
01 device ID
04 function code
02 two bytes
17 70 the receiving data(0x1770 (Dec), 6000,6000/100=60V)
B7 24 CRC
For example:
1)Send restore system defaults command:
Send command :01 05 00 13 FF 00 7D FF
Analysis :
01 device ID
05 function code
00 13 the address of the sending data
FF 00 the sending data(enable restore system defaults)
7D FF CRC
Receive command :01 05 00 13 FF 00 7D FF
Analysis :
01 device ID
05 function code
00 13 the address of the receiving data
FF 00 the receiving data
7D FF CRC
2)Send control the load ON/OFF under Manual Control mode:
Send Manual OFF command:01 05 00 02 00 00 6c 0a
Send Manual ON command: 01 05 00 02 FF 00 2d fa
8. Device ID settings
For example:
1) Read the device ID
Send command :F8 45 00 01 01 F8 89 BE
Analysis :
F8 45 function code
00 01 the reading data length
01 the reading bytes
F8 read the device ID
89 BE CRC
Receive command :F8 45 03 82 AO
Analysis :
F8 45 function code
03 the receiving ID
82 A0 CRC
Pin Definition
1. The RJ45 interface pin define for RS485 port of XTRA, TRIRON, TracerAN
Pins define:
Pins Define
3 RS-485-B
1 2 3 4 5 6 7 8
4 RS-485-B
5 RS-485-A
6 RS-485-A
7 Ground
8 Ground
RJ45 plug pins are sorted by number, the sketch map is as shown above.
2. The interface pin definition for RS485 port of TracerBP series controllers is
shown below:
Note:
(1)To improve the communication quality, the Gound pins(connected with the
negative terminal of the battery) could be used if necessary. However, the user must
(2)Do not use the Vcc pins (+5v), or the controller may be damaged permanently.