You are on page 1of 11

Anhui JNGE Power Co.

,Ltd

JNGE MPPT Controller Internal Communication ProtocolV1.0


Version record
Versi
on
No Modify content Modifier Update time
numb
er
1 V1.0 Drafting Wei Chen May 16,2020
Anhui JNGE Power Co.,Ltd

Content
One.Overview:............................................................................................................... 1

Two. Physical interface:.................................................................................................. 1

Three. Communication protocol:....................................................................................1

1. Statute description:...............................................................................................1

2. Message format description:...............................................................................1

Four. Function code:........................................................................................................2

1. 04 function code:.................................................................................................. 2

(1). read the current operating parameters:.................................................. 2

2、03 function code:.................................................................................................3

(1). read the system setting parameters:....................................................... 3

3. 06 function code:.................................................................................................. 3

(1) Basic customer parameter settings:......................................................... 3

5. The device returns the data register address mapping table.................................. 4


Anhui JNGE Power Co.,Ltd
One. Overview:
This article describes the MPPT controller communication protocol standard,
which is suitable for serial communication between the MPPT controller produced
by Jingneng and the upper computer, and is the basis for the development and
testing of the MPPT controller series product protocol.
Two. Physical interface:
The interface standard is RS485, the communication method is asynchronous
serial communication, the baud rate supports 9600, each frame of data 10 bits
(including 1 start bit, 8 data bits, 1 stop bit, no parity), all The data are all unsigned
hexadecimal numbers.
Three. Communication protocol:
1. Statute description:
Communication format adopts standard MODBUS format
ADDR: Controller's local address (range: 01H -FEH), FFH is the broadcast
address, and the device default address is 06H.
2. Message format description:
The type and format of communication data: The information transmission is
asynchronous, and the unit is byte. The communication information transmitted
between the master station and the slave station is a 10-bit word format:
Word format (serial data) 10-bit binary
1 start bit
8 data bits
No parity
1 stop bit

●Communication data (information frame) format


Data format: address code, function code, data area, error check
Data length: 1 byte, 1 byte, N byte, 16-bit CRC code low 8 bits, 16-bit CRC
code high 8 bits,
★Note: 1 byte consists of 8-bit binary numbers (i.e. 8bit).

1
Anhui JNGE Power Co.,Ltd

Four.Function code:
1、04 function code:
(1).Read current operating parameters:
The upper computer downloads information: (the upper computer reads the
operating parameters from the MCU)

Starting Number of
Function
Definition Address register registers CRC check
code
address (custom)
Data ADDR 04H 1000H 001DH CRC16
Number
of bytes 1 1 2 2 2
Controller return information:
Return the Return data
Definitio Functio
Address number of CRC check
n n code Data
data bytes
Data ADDR 04H 3AH DATA CRC16
Number
of bytes 1 1 1 58 2
MPPT controller device device number is 103 for example:
Issued: 06 04 10 00 00 1D + 2 check codes
Return: 06 04 3A +58 bytes + 2 check codes
Note: The number of bytes can be set through the PLC software, and the default
setting reads 29 operating parameters
(1) Message example:

[send]06 04 10 00 00 01 34 BD
[receive]06 04 02 00 04 0D 33

[send]06 04 10 00 00 1D 35 74
[receive]06 04 3A 00 04 00 00 00 78 00 00 00 00 00 00 00 0C 00 00 00 00
00 28 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60 00 00 00 00 6E
00 06 00 01 00 00 00 01 00 00 00 00 00 01 6E F0
2. 03 function code:
(1). read the system setting parameters:
The upper computer downloads information: (the upper computer reads 25
setting parameters and customer parameters from the MCU)
Function Starting register Number of CRC
Definition Address
code address registers check

Data ADDR 03H 1024H 0019H CRC16


12
Anhui JNGE Power Co.,Ltd
Number
of Bytes 1 1 2 2 2

The controller returns information:


Return the Return data
Definiti Addr Function
number of CRC check
on ess code data
data bytes

Data ADD
03H 32H DATA CRC16
R
Numbe
r of 1 1 1 50 2
bytes

Take the device number of the MPPT controller as 103 as an example:


Issue: 06 03 10 24 00 19 +2 check codes
Returns: 06 03 32 +50 bytes + 2 check codes
(1)Message Example:
[send]06 03 10 24 00 01 C1 76
[receive]06 03 02 00 9B 4C 2F

[send]06 03 10 24 00 19 C1 7C
[receive]06 03 32 00 9B 00 95 00 96 00 90 00 90 00 84 00 8A 00 6C 00 83 00
6C 00 02 00 01 00 03 00 06 00 32 00 3C 00 18 00 00 00 01 00 00 00 01 00 01 00
01 00 00 00 01 6A 28

3、06function code:
(1)、Basic customer parameter settings:
The host computer sets a single basic parameter to the MCU
Function Set parameter Parameter
Definition Address CRC check
code address value

Data ADDR 06H 10XXH XXXXH CRC16


Number
of bytes 1 1 2 2 2

The controller returns information:


If the parameter returns the same, it means the setting is successful, if it
returns an error, it will automatically repeat the transmission
Definitio Addre Function Set parameter Parameter
CRC check
n ss code address value
Data ADDR 06H 10XXH XXXXH CRC16
Number
of bytes 1 1 2 2 2

Take the device number of the MPPT controller as 103 as an example:


13
Anhui JNGE Power Co.,Ltd
Issued: 06 18 10 24 00 A0 + 2 check codes
Return: 06 18 10 24 00 A0 + 2 check codes

(1)Message Example:
[send]06 06 10 24 00 9D 0D 1F
[receive]06 06 10 24 00 9D 0D 1F

Five. The device returns the data register address mapping table

Attribute Word Content Byte Coefficient (unit)


address length
0x1000 Software version number 2
0x1001 PV panel voltage 2 0.1(V)
0x1002 Battery voltage 2 0.1(V)
0x1003 A channel current 2 0.1(A)
0x1004 B Channel current 2 0.1(A)
0x1005 Total charging current 2 0.1(A)
0x1006 Charger temperature 2 1℃
(Original current
temperature)
0x1007 Charging power 2 0.1W
0x1008 Discharge power 2 0.1W
0x1009 Battery capacity 2 %
0x100A charged state 2 00 Not charging
01 MPPT charging
02Boost charging
03 Float charging
Operating 04 Equalizing
parameters charge
Read only
0x100B Load Status 2 00 disconnect
01 With load

0x100C discharge current 2 0.1(A)


0x100D Over-discharge times 2 1 time
0x100E High total charging watt- 2
hours
0x100F Low total charging watt- 2 0.1KW
hours
0x1010 High total discharge watt- 2
hours
0x1011 Low total discharge watt- 2 0.1KW
hours

14
Anhui JNGE Power Co.,Ltd
0x1012 Battery temperature 2 ℃
0x1013 error code 2 See fault code
definition
2 0:12Vsystem
1:24Vsystem
2:48Vsystem
3: 96Vsystem
4: 110Vsystem
5: 120Vsystem
0x1014 Controller voltage level 6: 192Vsystem
7: 216Vsystem
8: 220Vsystem
9: 240Vsystem
10: 360Vsystem
11: 384Vsystem
12: 480Vsystem
13: 540Vsystem
0x1015 PV Standby voltage 2 0.1(V)
0x1016 Controller current level 2 0:3A
1:5A
2:10A
3:15A
4:20A
5:30A
6:40A
7:50A
8:60A
9: 70A
10:80A
11:100A
12:120A
13:150A
14:200A
15:250A
16:300A
0x1017 Number of battery strings 2
0x1018 Battery Type 2 0 lead-acid
battery
1 gel battery
2 Ternary
lithium battery
3 Lifepo4
4 custom
Charging switch status 2 0 shut down
0x1019
1 Boot up

15
Anhui JNGE Power Co.,Ltd
0x101A Fan operating status 2 0 Stop
1 run
0x101B Battery temperature 2
compensation voltage 1 mV
point
0x101C Load switch state 2 0 Off load
1 Open load
。。。 Reserved
0x1023 Reserved

0x1024 Overvoltage 2 0.1(V)


0x1025 Charging limit voltage 2 0.1(V)
0x1026 Overvoltage recovery 2 0.1(V)
0x1027 Equalizing charging 2 0.1(V)
voltage
0x1028 Boost charging 2 0.1(V)
voltage
0x1029 Boost charging return 2 0.1(V)
voltage
0x102A Floating charge 2 0.1(V)
voltage
0x102B Over discharge 2 0.1(V)
voltage
0x102C Overdischarge 2 0.1(V)
recovery voltage
Customer 0x102D Battery undervoltage 2 0.1(V)
setting
0x102E Equalization charging 2 1~3H
parameters
time
Read and
write 0x102F Improve charging time 2 1~3H
0x1030 Temperature 2 0~6 mV/℃/2V
compensation
coefficient
0x1031 device address 2 1~255
0x1032 Light control opening 2 5~11V
voltage
0x1033 Light control off 2 5~11V
voltage
0x1034 Light control on period 2 H
1

0x1035 Light control on period 2 H


2
0x1036 Household and street 2 0 Representative household
light mode mode
1 Represents street light
16
Anhui JNGE Power Co.,Ltd
mode

0x1037 Timing off the load 2 H


(the original timing to
turn off the light)
0x1038 Charging on/off 2 0 shut down
1 Boot up
0x1039 Buzzer enable 2 0 Turn off the buzzer
1 Turn on the buzzer
0x103A Number of battery 2 string
strings
0x103B Battery Type 2 0 Lead-acid batteries
1 Gel battery
2 Ternary lithium battery
3 Lifepo4
4 customize
0x103C Load on/off 2 0 Off load
1 Open load
0x103D … Reserved
0x103E … Reserved
0x103F … Reserved
0x1040 … Reserved
… … Reserved
… … Reserved
0x104A … Reserved

Remarks:

Please convert the corresponding value of the enumeration type in the table into

hexadecimal when actually transmitting and sending.

Manufacturer parameters are not open to customers, and passwords are required

when enterin

17
Anhui JNGE Power Co.,Ltd
Device type code definition:

Device type code (bits) Type information


11 MPPT inverter and
controller all in one
21 MPPT controller
22 PWM controller
23 AC mains controller
31 Inverter
32 AC mains inverter
41 Wind and solar
hybrid controller

Fault code definition::

Fault code (bits) Accident details

0 Battery overpressure
1 Battery is not connected
2 PV array overvoltage
3 Controller short circuit
4 Charging overcurrent
5 Controller overheated
6 The battery is
overheated
7 Output overload
8 Memory read and write
error
9 Reserved
10 Reserved
11 Battery undervoltage
12 Controller temperature
sensor failure
13 Battery temperature

18
Anhui JNGE Power Co.,Ltd

sensor failure
14 PV array undervoltage
15 Reserved

Note: The red font in the table is a fault, and the black font is an alarm.

19

You might also like