ControllerProtocolV2 3
ControllerProtocolV2 3
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.
1
Supported Modbus Functions
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
0000H Connect/disconnect,
Charging mode 3008
0001H PWM,0002H MPPT
2
Real-time Datum (Read Only)
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)
7
Read Holding Register (0x03) and Write Multiple Holding
Register (0x10)
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
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
10
Read Coils (0x01) and Write Single Coil(0x05)
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
11
Examples
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
12
Pin Definition
1. The RJ45 interface pin define for RS485 port of LS-BVS-BTracer-B series
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:
13
2. The interface pin definition for RS485 and RS232 port of iTracer-BeTracer-B
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 (+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