Communication Protocol-20150924 - Customer
Communication Protocol-20150924 - Customer
2
3.7 F<nn><cr>: Setting device output rating frequency .............................................................................. 18
3.8 POP<NN><cr>: Setting device output source priority .......................................................................... 18
3.9 PBCV<nn.n><cr>: Set battery re-charge voltage for SBU priority...................................................... 18
3.10 PBDV<nn.n><cr>: Set battery re-discharge voltage Computer: PBDV<nn.n><CRC><cr> .. 18
3.11 PCP<NN><cr>: Setting device charger priority ..................................................................................... 18
3.12 PGR<NN><cr>: Setting device grid working range............................................................................... 19
3.13 PBT<NN><cr>: Setting battery type ....................................................................................................... 19
3.14 POPM<nn ><cr>: Set output mode (For 4000/5000) ............................................................................. 19
3.15 PPCP<MNN><cr>: Setting parallel device charger priority (For 4000/5000) ..................................... 19
3.16 PSDV<nn.n><cr>: Setting battery cut-off voltage (Battery under voltage) ......................................... 19
3.17 PCVV<nn.n><cr>: Setting battery C.V. (constant voltage) charging voltage ...................................... 20
3.18 PBFT<nn.n><cr>: Setting battery float charging voltage ..................................................................... 20
3.19 PCST<NN><cr>: Setting charging stage ................................................................................................. 20
3.20 PCVT<NNN><cr>: Setting charging time in CV mode ......................................................................... 20
3.21 PPVOKC<n ><cr>: Setting PV OK condition ........................................................................................ 20
3.22 PSPB<n ><cr>: Setting Solar power balance .......................................................................................... 20
4 Appendix ............................................................................................................................................... 21
4.1 CRC calibration method ........................................................................................................................... 21
3
RJ45 to RS232 or USB cable between computer and device
1 Communication format
Baud rate Start bit Data bit Parity bit Stop bit
2400 1 8 N 1
2 Inquiry Command
1
Computer: QVFW<CRC><cr>
Device: (VERFW: 00123.01<CRC><cr>
00123: firmware series number;01:version
2
9. N38N39.N41 Battery rating voltage V
10. N43N44.N46 Battery re-charge voltage V
11. N48N49.N51 Battery under voltage V
12. N53N54.N56 Battery bulk voltage V
13. N58N59.N61 Battery float voltage V
0: AGM
14. N63 Battery type 1: Flooded
2: User
15. N65N66 Current max AC charging current A
16. N68N69N70 Current max charging current A
0: Appliance
17. N72 Input voltage range
1: UPS
0: Utility first
18. N74 Output source priority 1: Solar first
2: SBU first
For KS and Plus Duo Series:
0: Utility first
1: Solar first
2: Solar + Utility
3: Only solar charging permitted
19. N76 Charger source priority
For MKS Series 1K~3K:
0: Utility first
1: Solar first
2: Solar + Utility
3: Only solar charging permitted
20. N78 Parallel max num For KS & MKS 4K~5K
00: Grid tie;
01: Off Grid;
21. N80N81 Machine type 10: Hybrid.
11: Off Grid with 2 Trackers
20: Off Grid with 3 Trackers
0: Transformerless
22. N83 Topology
1: Transformer
00: single machine output
01: parallel output
23. N85 Output mode 02: Phase 1 of 3 Phase output
03: Phase 2 of 3 Phase output
04: Phase 3 of 3 Phase output
24. N87N88.N90 Battery re-discharge voltage V
0: As long as one unit of inverters has
connect PV, parallel system will consider
25. N92 PV OK condition for parallel
PV OK;
1: Only All of inverters have connect PV,
3
parallel system will consider PV OK
0: PV input max current will be the max
charged current;
26. N94 PV power balance 1: PV input max power will be the sum
of the max charged power and loads
power.
4
HHH is the maximum one of
W% or VA% value.
VA% is a percent of apparent
8. N33N34N35 Output load percent power.
W% is a percent of active
power.
The unit is %.
9. N37N38N39 BUS voltage V
10. N41N42.N44N45 Battery voltage V
11. N47N48N49 Battery charging current A
12. N51N52N53 Battery capacity %
The unit is ℃(NTC A/D
13. N55N56N57N58 Inverter heat sink temperature
value for 1~3KVA )
PV Input current for battery.
14. N60N61N62N63 A
PV Input current 1
15. N65N66N67.N69 PV Input voltage 1 V
16. N71N72.N74N75 Battery voltage from SCC 1 V
17. N77N78N79N80N81 Battery discharge current A
b83: add SBU priority
version, 1: yes, 0: no
b84: configuration status:
1: Change 0: unchanged
b85: SCC firmware version
1: Updated 0: unchanged
b86: Load status:
0: Load off 1:Load on
b87: battery voltage to steady
while charging
b88: Charging
18. b83b84b85b86b87b88b89b90 Device status status( Charging on/off)
b89: Charging status( SCC1
charging on/off)
B90: Charging status(AC
charging on/off)
b88b89b90:
000: Do nothing
110: Charging on with SCC1
charge on
101: Charging on with AC
charge on
111: Charging on with SCC1
5
and AC charge on
19. N92N93 Battery voltage offset for fans on 10mV
20. N95N96 EEPROM version
21. N98N99N100N101N102 PV Charging power 1 Watt
B104: flag for charging to
floating mode
22. b104b105b106 Device status
b105: Switch On
b106: reserved
6
A ( Start byte
The parallel num whether 0:No exist.
B A
exist 1:Exist.
BBBBBBBB B is an Integer ranging from 0 to
C Serial number
BBBBBB 9.
D C Work mode C is an character, refer to QMOD
D is an Integer ranging from 0 to
E DD Fault code
9.
E is an Integer ranging from 0 to
F EEE.E Grid voltage
9. The units is V.
F is an Integer ranging from 0 to
G FF.FF Grid frequency
9. The unit is Hz.
G is an Integer ranging from 0 to
H GGG.G AC output voltage
9. The units is V.
H is an Integer ranging from 0 to
I HH.HH AC output frequency
9. The unit is Hz.
I is an Integer number from 0 to
J IIII AC output apparent power
9. The units is VA
J is an Integer ranging from 0 to
K JJJJ AC output active power
9. The units is W.
K is an Integer ranging from 0 to
L KKK Load percentage
9. The unit is %.
L is an Integer ranging from 0 to
M LL.L Battery voltage
9. The unit is V.
M is an Integer ranging from 0 to
N MMM Battery charging current
9. The units is A.
N is an Integer ranging from 0 to
O NNN Battery capacity
9. The unit is %.
O is an Integer ranging from 0 to
P OOO. O PV Input Voltage 9.
The units is V.
P is an Integer ranging from 0 to
Q PPP Total charging current
9. The units is A.
Total AC output apparent Q is an Integer ranging from 0 to
R QQQQQ
power 9. The unit is VA.
R is an Integer ranging from 0 to
S RRRRR Total output active power
9. The units is W.
S is an Integer ranging from 0 to
T SSS Total AC output percentage
9. The unit is %.
b7: 1 SCC OK, 0 SCC LOSS
b6: 1 AC Charging
U b7b6b5b4b3b2b1b0 Inverter Status
0 AC no charging
b5: 1 SCC Charging
7
0 SCC no charging
b4b3: 2 battery open,
1 battery under, 0 battery
normal
b2: 1 Line loss
0 Line ok
b1: 1 load on, 0 load off
b0: configuration status:
1: Change 0: unchanged
0: single machine
1: parallel output
V T Output mode 2: Phase 1 of 3 phase output
3: Phase 2 of 3 phase output
4: Phase 3 of 3 phase output
0: Utility first
1: Solar first
W U Charger source priority
2: Solar + Utility
3: Solar only
V is an Integer ranging from 0 to
X VVV Max charger current
9. The units is A.
W is an Integer ranging from 0 to
Y WWW Max charger range
9. The units is A.
Z is an Integer ranging from 0 to
Z ZZ Max AC charger current
9. The units is A.
PV input current for X is an Integer ranging from 0 to
a XX
battery 9. The units is A.
Y is an Integer ranging from 0 to
b YYY Battery discharge current
9. The units is A.
8
9. The unit is A.
E is an Integer ranging from 0 to
F EEEEE PV2 charging power
9. The units is W.
F is an Integer ranging from 0 to
G FFF.F PV3 input voltage
9. The unit is V.
G is an Integer ranging from 0 to
H GGGG PV3 input current
9. The units is A.
H is an Integer ranging from 0 to
I HHHHH PV3 charging power
9. The units is W.
I1: 1: SCC2 OK, 0: SCC2 LOSS
I2: 1: SCC2 Charging,
0: SCC2 do no charging
J I1I2I3I4I5I6I7I8 SCC status I3: 1: SCC3 OK, 0: SCC3 LOSS
I4: 1: SCC3 Charging,
0: SCC3 do no charging
I5~I8: Reserved
Example:
Computer: QMOD<CRC><cr>
DEVICE: (L<CRC><cr>
Means: the current DEVICE mode is Grid mode.
9
b1 Reserved
b2 Inverter fault Fault
b3 Bus Over Fault
b4 Bus Under Fault
b5 Bus Soft Fail Fault
b6 LINE_FAIL Warning
b7 OPVShort Warning
b8 Inverter voltage too low Fault
b9 Inverter voltage too high Fault
Compile with a1, if a1=1,fault,
b10 Over temperature
otherwise warning
Compile with a1, if a1=1,fault,
b11 Fan locked
otherwise warning
Compile with a1, if a1=1,fault,
b12 Battery voltage high
otherwise warning
b13 Battery low alarm Warning
b14 Reserved(Overcharge)
b15 Battery under shutdown Warning
b16 Reserved((Battery derating) Warning
Compile with a1, if a1=1,fault,
b17 Over load
otherwise warning
b18 Eeprom fault Warning
b19 Inverter Over Current Fault
b20 Inverter Soft Fail Fault
b21 Self Test Fail Fault
b22 OP DC Voltage Over Fault
b23 Bat Open Fault
b24 Current Sensor Fail Fault
b25 Battery Short Fault
b26 Power limit Warning
b27 PV voltage high 1 Warning
b28 MPPT overload fault 1 Warning
b29 MPPT overload warning 1 Warning
b30 Battery too low to charge 1 Warning
b31 PV voltage high 2 Warning
b32 MPPT overload fault 2 Warning
b33 MPPT overload warning 2 Warning
b34 Battery too low to charge 2 Warning
10
b35 PV voltage high 3 Warning
b36 MPPT overload fault 3 Warning
b37 MPPT overload warning 3 Warning
b38 Battery too low to charge 3 Warning
11
model
KS Series 50A
MKS-1000-24
MKS-2000-24
25A
MKS-3000-24
(not
MKS-1000-48
show)
MKS-2000-48
KS&MKS: MKS-3000-48
Max charging current MKS-4000
9. N35N36 A MKS-5000
MKS Plus Duo: MKS-2000-48
60A
Max AC charging current MKS-3000-48
MKS-2000-48 Plus
MKS-3000-48 Plus
12
Enable/Disable alarm on Default 1 for enable alarm on when
19. N56 when primary source primary source interrupt
interrupt
Enable/Disable fault
20. N58 Default 0 for disable fault code record
code record
Default 0 for disable overload bypass
21. N60 Overload bypass
function
Enable/Disable LCD
Default 1 for LCD display escape to
22. N62 display escape to default
default page
page after 1min timeout
23. N64 Output mode Default 0 for single output
Battery re-discharge V
24. N66N67.N69 13.5/27/54 for 12/24/48V unit.
voltage
Only for KS-4000, KS-5000,
MKS-4000, MKS-5000;
PV OK condition for
25. N71 0: As long as one unit of inverters has
parallel
connect PV, parallel system will
consider PV OK;
Only for KS-4000, KS-5000,
MKS-4000, MKS-5000;
26. N73 PV power balance
0: PV input max current will be the max
charged current;
Default 0 is for charging stage
27. N75 Charging stage auto-determined by unit. (1: 2-stage, 2:
3-stage)
Enable or disable data Only for MKS Plus Duo Series
28. N77
log pop-up function Default 0 is for disable data log pop-up
MKS-1500-12 Plus Duo
80A
Maximum Solar charging MKS-3000-24 Plus Duo
29. N79N80N81
current MKS-1500-48 Plus Duo
40A
MKS-3000-48 Plus Duo
Default 255 is for CV charging time
30. N83N84N85 Charge time in CV mode Minute
auto-determined by unit.
13
2.17 QMUCHGCR<cr>: Enquiry selectable value about max utility charging current
Computer: QMUCHGCR<CRC><cr>
Device: (N1N2N3 N5N6N7 N9N10N11 N13N14N15……<CRC><cr>
More value can be added, make sure there is a space character between every value.
2.18 QMSCHGCR<cr>: Enquiry selectable value about max solar charging current
Computer: QMSCHGCR<CRC><cr>
Device: (N1N2N3 N5N6N7 N9N10N11 N13N14N15……<CRC><cr>
More value can be added, make sure there is a space character between every value.
14
3 Setting parameters Command
KS Series 50A
MKS-1000-24
MKS-2000-24
MKS-3000-24
25A
MKS-1000-48
3.
Max charging current MKS-2000-48
MKS-3000-48
MKS-4000
MKS-5000
60A
MKS-2000-48
MKS-3000-48
15
MKS-2000-48 Plus
MKS-3000-48 Plus
MKS-1000-12 Plus Duo
MKS-1000-48 Plus Duo
60A
MKS-3000-24 Plus Duo
MKS-3000-48 Plus Duo
KS-1000
20A
MKS-1000-24
KS-2000
KS-3000
KS-4000
KS-5000
30A
MKS-2000-24
MKS-3000-24
MKS-2000-24 Plus
4. Max utility charging current
MKS-3000-24 Plus
MKS-1000-48
MKS-2000-48
MKS-3000-48 15A
MKS-2000-48 Plus
MKS-3000-48 Plus
MKS-1000-12 Plus Duo
MKS-1000-48 Plus Duo
30A
MKS-3000-24 Plus Duo
MKS-3000-48 Plus Duo
5. AC input voltage range 0: Appliance range
6. Output source priority 0: Utility first
7. Battery re-charge voltage 11.5/23/46 for 12/24/48V unit.
8. Charger source priority 0: Utility first
9. Battery type 0: AGM
10. Enable/disable buzzer alarm 1: Enable buzzer alarm
11. Enable/Disable power saving 0: Disable power saving
12. Enable/Disable overload restart 0: Disable overload restart
13. Enable/Disable over temperature restart 0: Disable over temperature restart
14. Enable/Disable LCD backlight on 1: Enable LCD backlight on
Enable/Disable alarm on when primary 1: Enable beep on when primary source
15.
source interrupt interrupt
Enable/Disable overload bypass when 0: Disable overload bypass
16.
overload happened in battery mode
17. Enable/Disable LCD display escape to 1: Enable LCD display escape to default page
16
default page after 1min timeout
18. Output mode 0: single output(for 4K/5K)
19. float charging voltage 13.5/27/54 for 12/24/48V unit.
20. Bulk charging voltage 14.1/28.2/56.4 for 12/24/48V unit.
KS&MKS Series:
10.5V/21.0V/42.0V for 12V/24V/48V model
21. Battery cut-off voltage
Plus Duo Series:
10.2V/20.4V/40.8V for 12V/24V/48V model
22. Battery re-discharge voltage 13.5/27/54 for 12/24/48V unit.
23. Enable/Disable fault record 0: Disable fault record
24. Charger stage 0: 2 or 3 stage is auto-determined by unit
25. Enable/Disable data log pop-up 0: Disable data log pop-up
Maximum Solar charging current Plus Duo:
26. 80: 80A for 48V model
40: 40A for 12V/24V model
Charger time in CV mode 255: CV charging time is auto-determined by
27.
unit
Note: The correct default value can be gain by QDI command.
17
3.6 MSCHGC<nnn><cr>: Setting solar max charging current
Computer: MSCHGC<nnn><CRC><cr>
Device: (ACK<CRC><cr> if device accepts this command, otherwise, responds
(NAK<CRC><cr>
Setting value can be gain by QMSCHGCR command.
18
(NAK<CRC><cr>
Set output source priority, 00 for utility first, 01 for solar first, 02 for solar and utility
For KS: 00 for utility first, 01 for solar first, 02 for solar and utility, 03 for only solar charging
For MKS: 00 for utility first, 01 for solar first, 03 for only solar charging
19
3.17 PCVV<nn.n><cr>: Setting battery C.V. (constant voltage) charging voltage
Computer: PCVV <nn.n><CRC><cr>
Device: (ACK<CRC><cr> if device accepts this command, otherwise, responds (NAK<CRC><cr>
nn.n: 48.0V ~ 58.4V for 48V unit
20
4 Appendix
21