B-Series MODBUS Specification
EPEVER Corporation
V 2.3
June 12, 2015
Contents
Parameters ............................................................................................................................................ 1
Supported Modbus Functions .............................................................................................................. 2
Read Input Register(0x04) ................................................................................................................... 2
Rated Datum (Read Only)............................................................................................................. 2
Real-time Datum (Read Only) ...................................................................................................... 3
Real-time Status (Read Only) ....................................................................................................... 4
Statistical Parameters (Read Only) ............................................................................................... 6
Read Holding Register (0x03) and Write Multiple Holding Register (0x10) ...................................... 8
Setting Parameter (Read and Write).............................................................................................. 8
Read Coils (0x01) and Write Single Coil(0x05) ................................................................................ 11
Switch Value (Read and Write) ................................................................................................... 11
Read Discrete Inputs (0x02) .............................................................................................................. 11
Discrete Value (Read Only) ........................................................................................................ 11
Examples ............................................................................................................................................ 12
Pin Definition ..................................................................................................................................... 13
References .......................................................................................................................................... 15
Parameters
The B-Series and A-Series controller supports communication via its serial RS-485 interface and
uses the industry standard MODBUS application protocol. This document assumes the user is
familiar with the MODBUS protocol and its terminology. Please refer to the documents listed in the
References section for more information.
Modbus is a trademark of Modicon, Inc.
The B-Series controller supports RTU mode only.
16bit MODBUS addresses (per the modbus.org spec)
The serial communication parameters are
BPS: 115200 baud
Parity: None
Data bits: 8
Stop bits: 1
Flow control: None
All addresses listed are for the request PDU.
The B-Series controller defaults to server address of 0x00.
1
Supported Modbus Functions
Read Input Register(0x04)
Rated Datum (Read Only)
Variable name Address Description Unit Times
array rated voltage 3000 PV array rated voltage V 100
array rated current 3001 PV array rated current A 100
array rated power L 3002 PV array rated power (low 16 bits) W 100
array rated power H 3003 PV array rated power (high 16 bits) W 100
Battery rated voltage 3004 Rated voltage to battery V 100
Battery rated current 3005 Rated current to battery A 100
Battery rated power L 3006 Rated power to battery W 100
Battery rated power H 3007 Rated power to battery W 100
0000H Connect/disconnect,
Charging mode 3008
0001H PWM,0002H MPPT
Rated current of load 300E Rated current of load W 100
2
Real-time Datum (Read Only)
Numbe Variable name Address Description Unit Times
r
Solar charge controller--PV array
B1 PV array input voltage 3100 V 100
voltage
Solar charge controller--PV array
B2 PV array input current 3101 A 100
current
Solar charge controller--PV array
B3 PV array input power L 3102 W 100
power
Solar charge controller--PV array
B4 PV array input power H 3103 W 100
power
B7 Battery power L 3106 Battery charging power W 100
B8 Battery power H 3107 Battery charging power W 100
B13 Load voltage 310C Load voltage V 100
B14 Load current 310D Load current A 100
B15 Load power L 310E Load power W 100
B16 Load power H 310F Load power W 100
B17 Battery Temperature 3110 Battery Temperature 100
Temperature inside
B18 3111 Temperature inside case 100
equipment
The percentage of battery's remaining
B27 Battery SOC 311A % 100
capacity
Remote battery The battery temperature measured by
B28 311B 100
temperature remote temperature sensor
Current system rated voltage. 1200,
Battery's real rated
B30 311D 2400, 3600, 4800 represent 12V 100
power
24V36V48V
3
Real-time Status (Read Only)
Numbe
Variable name Address Description Unit Times
r
D3-D0: 01H Overvolt , 00H Normal ,
02H Under Volt, 03H Low Volt
Disconnect, 04H Fault
D7-D4: 00H Normal, 01H Over
Temp.(Higher than the warning
settings), 02H Low Temp.(Lower
C1 Battery status 3200
than the warning settings),
D8: Battery inner resistance
abnormal 1,
normal 0
D15: 1-Wrong identification for rated
voltage
D15-D14: Input volt status. 00
normal, 01 no
power connected, 02H Higher volt
input, 03H
Input volt error.
D13: Charging MOSFET is short.
D12: Charging or Anti-reverse
MOSFET is short.
D11: Anti-reverse MOSFET is short.
Charging equipment
C2 3201 D10: Input is over current.
status
D9: The load is Over current.
D8: The load is short.
D7: Load MOSFET is short.
D4: PV Input is short.
D3-2: Charging status. 00 No
charging,01 Float,02
Boost, 03 Equalization.
D1: 0 Normal, 1 Fault.
D0: 1 Running, 0 Standby.
4
D15-D14: 00H normal, 01H low,
02H High, 03H no access
Input volt error.
D13-D12: output power:00-light
load,01-moderate,02-rated,03-overlo
ad
D11: short circuit
Discharging equipment D10: unable to discharge
C7 3202
status D9: unable to stop discharging
D8: output voltage abnormal
D7: input overpressure
D6: high voltage side short circuit
D5: boost overpressure
D4: output overpressure
D1: 0 Normal, 1 Fault.
D0: 1 Running, 0 Standby.
5
Statistical Parameters (Read Only)
Numbe Addre Time
r Variable name Description Unit
ss s
D0 Maximum PV voltage today 3300 00: 00 Refresh every day V 100
D1 Minimum PV voltage today 3301 00: 00 Refresh every day V 100
Maximum battery voltage
D2 3302 00: 00 Refresh every day V 100
today
Minimum battery voltage
D3 3303 00: 00 Refresh every day V 100
today
D4 Consumed energy today L 3304 00: 00 Clear every day 100
D5 Consumed energy today H 3305 100
KWH
Consumed energy this
D6 3306 00: 00 Clear on the first day of month 100
month L
Consumed energy this
D7 3307 KWH 100
month H
Consumed energy this year
D8 3308 00: 00 Clear on 1, Jan 100
L
Consumed energy this year
D9 3309 100
H KWH
D10 Total consumed energy L 330A 100
D11 Total consumed energy H 330B KWH 100
D12 Generated energy today L 330C 00: 00 Clear every day. 100
D13 Generated energy today H 330D 100
KWH
Generated energy this 00: 00 Clear on the first day of
D14 330E 100
month L month.
Generated energy this
D15 330F KWH 100
month H
Generated energy this year
D16 3310 00: 00 Clear on 1, Jan. 100
L
Generated energy this year
D17 3311 KWH 100
H
D18 Total generated energy L 3312 KWH 100
D19 Total Generated energy H 3313
D26 Battery voltage 331A Battery voltage V 100
6
D27 Battery current L 331B Battery current A 100
D28 Battery current H 331C 100
7
Read Holding Register (0x03) and Write Multiple Holding
Register (0x10)
Setting Parameter (Read and Write)
Numbe
Variable name Address Description Unit Times
r
0001H- Sealed , 0002H- GEL,
E1 Battery Type 9000 0003H- Flooded, 0000H- User
defined
E2 Battery Capacity 9001 Rated capacity of the battery AH
Temperature mV/
E3 compensation 9002 Range 0-9 /2 100
coefficient V
E4 High Volt. disconnect 9003 V 100
E5 Charging limit voltage 9004 V 100
E6 Over voltage reconnect 9005 V 100
E7 Equalization voltage 9006 V 100
E8 Boost voltage 9007 V 100
E9 Float voltage 9008 V 100
E10 Boost reconnect voltage 9009 V 100
E11 Low voltage reconnect 900A V 100
E12 Under voltage recover 900B V 100
E13 Under voltage warning 900C V 100
E14 Low voltage disconnect 900D V 100
Discharging limit
E15 900E V 100
voltage
D7-0 Sec, D15-8
E20 Real time clock 9013 Min.(Year, Month, Day, Min, Sec.
should be written simultaneously)
E21 Real time clock 9014 D7-0 Hour, D15-8 Day
E22 Real time clock 9015 D7-0 Month, D15-8 Year
Battery temperature
E24 warning upper 9017 100
limit
8
Battery temperature
E25 warning lower 9018 100
limit
Controller inner
E26 9019 100
temperature upper limit
Controller inner After Over Temperature, system
E27 temperature upper limit 901A recover once it drop to lower than 100
recover this value
Day TimeThreshold PV lower than this value, controller
E31 901E V 100
Volt.(DTTV) would detect it as sundown
PV voltage lower than NTTV, and
Light signal startup duration exceeds the Light signal
E32 901F Min
(night) delay time startup (night) delay time, controller
would detect it as night time.
Light Time Threshold PV voltage higher than this value,
E33 9020 V 100
Volt.(NTTV) controller would detect it as sunrise
PV voltage higher than DTTV, and
Light signal close (day) duration exceeds the Light signal
E34 9021 Min
delay time close (day) delay time, controller
would detect it as day time.
0000H Manual Control
0001H Light ON/OFF
E62 Load controlling modes 903D
0002H Light ON+ Timer/
0003H Time Control
The length of load output timer1,
E63 Working time length 1 903E
D15-D8,hour, D7-D0, minute
The length of load output timer2,
E64 Working time length 2 903F
D15-D8, hour, D7-D0, minute
E67 Turn on timing 1 9042 Sec
E68 9043 Min
E69 9044 Hour
E70 Turn off timing 1 9045
E71 9046
E72 9047
Turn on/off timing of load output.
E73 Turn on timing 2 9048
E74 9049
E75 904A
E76 Turn off timing 2 904B
E77 904C
E78 904D
Close after LCD backlight light
E100 Backlight time 9063 S
setting the number of secends
9
Set default values of the whole night
E102 Length of nigh 9065 length of time. D15-D8,hour, D7-D0,
minute
Device configure of 0001H Battery is main
E103 9066
main power supply 0002H AC-DC power mainly
0, auto recognize. 1-12V,
Battery rated voltage
E104 9067 2-24V ,3-36V4-48V5-60V
code
6-110V7-120V8-220V9-240V
Default Load On/Off in
E107 906A 0-off, 1-on
manual mode
E108 Equalize duration 906B Usually 0-120 minutes Min
E109 Boost duration 906C Usually 10-120 minutes Min
Usually 20%-80%. The percentage of
E110 Discharging percentage 906D battery's remaining capacity when % 100
stop charging
E111 Charging percentage 906E Depth of charge, 100% % 100
Management modes of battery charge
Management modes of
and
E113 battery charging and 9070
discharge, voltage compensation : 0
discharging
and SOC : 1
10
Read Coils (0x01) and Write Single Coil(0x05)
Switch Value (Read and Write)
Numbe
Variable name Address Description
r
1 Charging device on
H1 Charging device on/off 0
0 Charging device off
Output control mode 1 Output control mode manual
H2 1
manual/automatic 0 Output control mode automatic
When the load is manual mode1-manual on
H3 Manual control the load 2
0 -manual off
When the load is default mode1-manual on
H4 Default control the load 3
0 -manual off
1 Enable
H6 Enable load test mode 5
0 Disable(normal)
1 Turn on
H7 Force the load on/off 6
0 Turn off (used for temporary test of the load
1 yes
H20 Restore system defaults 13
0 no
Clear generating
H21 14 1 clear. Root privileges to perform
electricity statistics
Read Discrete Inputs (0x02)
Discrete Value (Read Only)
Number Variable name Address Description
1 The temperature inside the controller is higher than
Over temperature inside
I1 2000 the over-temperature protection point.
the device
0 Normal
I12 Day/Night 200C 1-Night, 0-Day
11
Examples
Read real-time battery voltage
Device ID:0x01
Function code: 0x04
Register Address: 0x3104
Register count: 0x0001
Send command: 01 04 31 04 00 01 7E F7
Receive command: 01 04 02 04 CE 3A 64
Read Holding Register Value: 0x04CE
0x04CE (hex) = 1230 (dec)
1230 / 100 = 12.3 volt
12
Pin Definition
1. The RJ45 interface pin define for RS485 port of LS-BVS-BTracer-B series
controllers is shown below:
Pins define
Pins Define
1 Power supply output +7.5V
2 Power supply output +7.5V
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:
13
2. The interface pin definition for RS485 and RS232 port of iTracer-BeTracer-B
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
care the common ground problem of the connected devices.
(2)Do not use the Vcc pins (+7.5v or +5v), or the controller may be damaged
permanently.
14
References
Modbus Protocol Reference Guide, Modicon, June 1996, PI-MODBUS-300 Rev.J
Modbus Application Protocol Specification, modbus.org, 8May02,
Modbus_application_protocol_v1
15