Pip-Gk MK Protocol
Pip-Gk MK Protocol
Pip-Gk MK Protocol
1
2 Inquiry Command .................................................................................................................................. 1
2.1 QPI<cr>: Device Protocol ID Inquiry ........................................................................................................ 1
2.2 QID<cr>: The device serial number inquiry ............................................................................................. 1
2.3 QSID<cr>: The device serial number inquiry (the length is more than 14) ........................................... 1
2.4 QVFW<cr>: Main CPU Firmware version inquiry ................................................................................. 2
2.5 QVFW2<cr>: Another CPU Firmware version inquiry .......................................................................... 2
2.6 QVFW3<cr>: Remote Panel CPU Firmware version inquiry ................................................................. 2
2.7 VERFW:<cr>: BLE CPU Firmware version inquiry ............................................................................... 2
2.8 QPIRI<cr>: Device Rating Information inquiry ...................................................................................... 2
2.9 QFLAG<cr>: Device flag status inquiry ................................................................................................... 4
2.10 QPIGS<cr>: Device general status parameters inquiry........................................................................... 5
2.11 QMOD<cr>: Device Mode inquiry ............................................................................................................ 7
2.12 QPIWS<cr>: Device Warning Status inquiry ........................................................................................... 8
2.13 QDI<cr>: The default setting value information ...................................................................................... 9
2.14 QMCHGCR<cr>: Enquiry selectable value about max charging current ............................................11
2.15 QMUCHGCR<cr>: Enquiry selectable value about max utility charging current ..............................11
2.16 QOPPT<cr>: The device output source priority time order inquiry .....................................................11
2.17 QCHPT<cr>: The device charger source priority time order inquiry ..................................................11
2.18 QT<cr>: Time inquiry ............................................................................................................................... 12
2.19 QMN<cr>: Query model name................................................................................................................. 12
2.20 QGMN<cr>: Query general model name ................................................................................................ 12
2.21 QBEQI<cr>: Battery equalization status parameters inquiry .............................................................. 12
3 Setting parameters Command ............................................................................................................. 13
3.1 ATE1<CRC><cr>: Start ATE test, remote panel stop polling for inverter ....... 錯誤! 尚未定義書籤。
3.2 ATE0: End ATE test, remote panel start polling for inverter ............................. 錯誤! 尚未定義書籤。
3
3.8 V<nnn><cr>: Setting device output rating voltage ................................................................................ 15
3.9 POP<NN><cr>: Setting device output source priority .......................................................................... 15
3.10 POPM<nn><cr>: Setting output mode (Only for PIP-MK) .................................................................. 15
3.11 POPLG<nn><cr>: Setting operation logic (Only for PIP-MK) ............................................................ 15
3.12 PBCV<nn.n><cr>: Battery voltage back to utility ................................................................................. 15
3.13 PBDV<nn.n><cr>: Battery voltage back to battery ............................................................................... 16
3.14 PCP<NN><cr>: Setting device charger priority ..................................................................................... 16
3.15 PGR<NN><cr>: Setting device grid working range............................................................................... 16
3.16 PBT<NN><cr>: Setting battery type ....................................................................................................... 16
3.17 PSDV<nn.n><cr>: Setting battery cut-off voltage (Battery under voltage) ......................................... 16
3.18 PCVV<nn.n><cr>: Setting battery C.V. (constant voltage) charging voltage ...................................... 16
3.19 PBFT<nn.n><cr>: Setting battery float charging voltage ..................................................................... 17
3.20 BTA1<nnn.nn><cr>: Battery voltage adjust point one ....................................... 錯誤! 尚未定義書籤。
3.21 BTA2<nnn.nn><cr>: Battery voltage adjust point two ....................................... 錯誤! 尚未定義書籤。
3.22 BTA0<cr>: Set battery voltage adjust parameters to be default value .............. 錯誤! 尚未定義書籤。
4
RJ45 to RS232 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
2.3 QSID<cr>: The device serial number inquiry (the length is more than 14)
Computer: QSID<CRC><cr>
Device: (NNXXXXXXXXXXXXXXXXXXXX <CRC><cr>
NN: Serial number valid length, X: Serial number, invalid part is filled as ‘0’, total X is 20.
1
2.4 QVFW<cr>: Main CPU Firmware version inquiry
Computer: QVFW<CRC><cr>
Device: (VERFW:<NNNNN.NN><CRC><cr>
<N> is a HEX number from 0...9 or A…F.
Example:
Computer: QVFW<CRC><cr>
Device: (VERFW:00123.01<CRC><cr>
00123: firmware series number;01:version
2
F is an Integer ranging from 0 to 9.
F FF.F AC output rating current
The unit is A.
AC output rating apparent H is an Integer ranging from 0 to 9.
H HHHH
power The unit is VA.
AC output rating active I is an Integer ranging from 0 to 9.
I IIII
power The unit is W.
J is an Integer ranging from 0 to 9.
J JJ.J Battery rating voltage
The units is V.
K is an Integer ranging from 0 to 9.
K KK.K Battery re-charge voltage
The units is V.
J is an Integer ranging from 0 to 9.
l JJ.J Battery under voltage
The units is V.
K is an Integer ranging from 0 to 9.
M KK.K Battery bulk voltage
The units is V.
L is an Integer ranging from 0 to 9.
N LL.L Battery float voltage
The units is V.
0: AGM
O O Battery type 1: Flooded
2: User
Current max AC charging P is an Integer ranging from 0 to 9
P PP
current The units is A.
Q is an Integer ranging from 0 to 9.
Q QQ0 Current max charging current
The units is A.
0: Appliance
O O Input voltage range
1: UPS
0: Utility first
P P Output source priority 1: Solar first
2: SBU first
0: Utility first
1: Solar first
Q Q Charger source priority
2: Solar + Utility
3: Only solar charging permitted
R R Parallel max number R is an Integer ranging from 0 to 9.
00: Grid tie;
S SS Machine type 01: Off Grid;
10: Hybrid.
0: transformerless
T T Topology
1: transformer
00: single machine output
01: parallel output
U U Output mode 02: Phase 1 of 3 Phase output
03: Phase 2 of 3 Phase output
04: Phase 3 of 3 Phase output
3
V is an Integer ranging from 0 to 9.
V VV.V Battery re-discharge voltage
The unit is V.
0: As long as one unit of inverters
has connect PV, parallel system will
consider PV OK;
W W PV OK condition for parallel
1: Only All of inverters have connect
PV, parallel system will consider PV
OK
0: PV input max current will be the
max charged current;
X X PV power balance 1: PV input max power will be the
sum of the max charged power and
loads power.
Y is an Integer ranging from 0 to 9.
Max. charging time at C.V The unit is minute.
Y YYY
stage
(Only for PIP-MK)
0: Automatically
Operation Logic(For PIP-MK 1: On-line mode
Z Z
2: ECO mode
(Only for PIP-MK)
4
2.10 QPIGS<cr>: Device general status parameters inquiry
Computer: QPIGS <CRC><cr>
Device: (BBB.B CC.C DDD.D EE.E FFFF GGGG HHH III JJ.JJ KKK OOO TTTT EE.E
UUU.U WW.WW PPPPP b7b6b5b4b3b2b1b0 QQ VV MMMMM b10b9b8<CRC><cr>
Data Description Notes
a ( Start byte
b BBB.B Grid voltage B is an Integer number 0 to 9. The units is V.
C CC.C Grid frequency C s an Integer number 0 to 9. The units is Hz.
D DDD.D AC output voltage D is an Integer number 0 to 9. The units is V.
E EE.E AC output frequency E is an Integer number from 0 to 9. The units
is Hz.
F FFFF AC output apparent F is an Integer number from 0 to 9. The units
power is VA
G GGGG G is an Integer ranging from 0 to 9. The units
AC output active power
is W.
H HHH Output load percent DEVICE: HHH is Maximum of W% or VA%.
VA% is a percent of apparent power.
W% is a percent of active power.
The units is %.
I III BUS voltage I is an Integer ranging from 0 to 9. The units is
V.
j JJ.JJ Battery voltage J is an Integer ranging from 0 to 9. The units
is V.
k KKK Battery charging K is an Integer ranging from 0 to 9. The units
current is A.
o OOO Battery capacity X is an Integer ranging from 0 to 9. The units
is %.
P TTTT Inverter heat sink
T is an integer ranging from 0 to 9. The units
temperature is ℃
r EE.E PV Input current for E is an Integer ranging from 0 to 9. The units
battery. is A.
t UUU.U PV Input voltage 1 U is an Integer ranging from 0 to 9. The units
is V.
u WW.WW Battery voltage from W is an Integer ranging from 0 to 9. The units
SCC is V.
w PPPPP Battery discharge P is an Integer ranging from 0 to 9. The units
current is A.
x b7b6b5b4 Device status b7: PV or AC feed the load, 1:yes,0:no
b3b2b1b0 b6: configuration status: 1: Change 0:
5
unchanged
b5: SCC firmware version 1: Updated 0:
unchanged Keep
b4: Load status: 0: Load off 1:Load on b6~b4,
b3: reserved b2 ~ b0,
reserve
b2: Charging status( Charging on/off)
other
b1: Charging status( SCC charging on/off)
b0: Charging status(AC charging on/off)
b2b1b0:
000: Do nothing
110: Charging on with SCC charge on
101: Charging on with AC charge on
111: Charging on with SCC and AC charge on
y QQ Battery voltage offset Q is an Integer ranging from 0 to 9. The unit is
for fans on 10mV.
z VV EEPROM version V is an Integer ranging from 0 to 9.
MMMM PV Charging power M is an Integer ranging from 0 to 9. The unit
M is watt.
b10b9b8 Device status b10: flag for charging to floating mode
b9: Switch On
b8: flag for dustproof installed(1-dustproof
installed,0-no dustproof)
6
53 Inverter soft start failed
55 Over DC voltage on output of inverter
57 Current sensor failed
59 PV voltage high
Example:
7
Computer: QMOD<CRC><cr>
DEVICE: (L<CRC><cr>
Means: the current DEVICE mode is Grid mode.
8
a25 Power limit Warning(For PIP-MK)
a26 PV voltage high Warning/Fault (For PIP-MK)
a27 MPPT overload fault Fault (For PIP-MK)
a28 MPPT overload warning Warning(For PIP-MK)
a29 Battery too low to charge Warning(For PIP-MK)
a30 DC/DC Over Current Fault (For PIP-MK))
a31 D Fault code
a32 D Fault code
a33 Low PV energy Warning
High AC input during BUS soft
a34 Warning
start
a35 Battery equalization Warning
9
K is an Integer ranging
K K Output source priority Default 0 for utility first
from 0 to 1. No unit
Charger source L is an Integer ranging Default 2 for Utility and Solar
L L
priority from 0 to 1. No unit first
M is an Integer ranging
M M Battery type Default 0 for AGM
from 0 to 1. No unit
Enable/disable silence N is an Integer ranging
N N Default 0 for enable buzzer
buzzer or open buzzer from 0 to 1. No unit
Enable/Disable power O is an Integer ranging Default 0 for disable power
O O
saving from 0 to 1. No unit saving
Enable/Disable P is an Integer ranging Default 0 for disable overload
P P
overload restart from 0 to 1. No unit restart
Enable/Disable over Q is an Integer ranging Default 0 for disable over
Q Q
temperature restart from 0 to 1. No unit temperature restart
Enable/Disable LCD R is an Integer ranging Default 1 for enable LCD
R R
backlight on from 0 to 1. No unit backlight on
Enable/Disable alarm Default 1 for enable alarm on
S is an Integer ranging
S S on when primary when primary source interrupt
from 0 to 1. No unit
source interrupt
Enable/Disable fault T is an Integer ranging Default 0 for disable fault
T T
code record from 0 to 1. No unit code record
U is an Integer ranging Default 0 for disable overload
U U Overload bypass
from 0 to 1. No unit bypass function
Enable/Disable LCD
display escape to V is an Integer ranging Default 1 for LCD display
V V
default page after 1min from 0 to 1. No unit escape to default page
timeout
Output mode W is an Integer ranging
W W Default 0 for single output
from 0 to 4. No unit
Battery re-discharge W is an Integer ranging
Y YY.Y
voltage from 0 to 9. The unit is V
0: As long as one unit of
PV OK condition for X is an Integer ranging inverters has connect PV,
X X
parallel from 0 to 1 parallel system will consider
PV OK;
X is an Integer ranging 0: PV input max current will be
Z Z PV power balance
from 0 to 1 the max charged current;
Max. charging time at a is an Integer ranging 0: means automatically
a aaa
C.V stage from 0 to 1 (For PIP-MK)
b is an Integer ranging 0: automatically
b b Operation logic
from 0 to 1 (For PIP-MK)
10
2.14 QMCHGCR<cr>: Enquiry selectable value about max charging current
Computer: QMCHGCR<CRC><cr>
Device: (AAA BBB CCC DDD……<CRC><cr>
More value can be added, make sure there is a space character between every value.
2.15 QMUCHGCR<cr>: Enquiry selectable value about max utility charging current
Computer: QMUCHGCR<CRC><cr>
Device: (AAA BBB CCC DDD……<CRC><cr>
More value can be added, make sure there is a space character between every value.
2.16 QOPPT<cr>: The device output source priority time order inquiry
Computer: QOPPT<CRC><cr>
Device: (M M M M M M M M M M M M M M M M M M M M M M M M N O O O
<CRC><cr>
M: 24 hour correspond to the output source priority (0: Utility first, 1: Solar first, 2: SBU)
N: device output source priority
O: selection of output source priority order
Example:
Computer: QOPPT<CRC><cr>
DEVICE: (0 0 0 0 0 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 <CRC><cr>
Means: the device output source priority time order is SBU from 5 to 6, and remaining time is
Utility first.
2.17 QCHPT<cr>: The device charger source priority time order inquiry
Computer: QCHPT<CRC><cr>
Device: (M M M M M M M M M M M M M M M M M M M M M M M M N O O O
<CRC><cr>
M: 24 hour correspond to the charger source priority (1: Solar first, 2: Solar + Utility, 3: Only solar
charging permitted)
N: device charger source priority
O: selection of o charger source priority order
Example:
Computer: QCHPT<CRC><cr>
DEVICE: (1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 <CRC><cr>
Means: the device charger source priority time order is Solar + Utility from 16 to 23, and
remaining time is Solar first.
11
2.18 QT<cr>: Time inquiry
Computer: QT<cr>
Device:(YYYYMMDDHHMMSS<cr>
Example:
Computer: QT<cr>
DEVICE: (20180101111120<cr>
Means: The time is 2018/01/01,11:11:20.
Data Description Notes
a ( Start byte
b YYYYMMDD Date Y, M and D are an Integer number 0 to 9.
c HHMMSS Time H, M and S are an Integer number 0 to 9.
12
D DDD equalization period D is an Integer number 0 to 9. The unit is day.
E EEE equalization max E is an Integer number from 0 to 9. The unit is
current A.
F FFF reserved reserved
G GG.GG equalization voltage G is an Integer ranging from 0 to 9. The units
is V.
H HHH reserved reserved
13
All Device parameters set to default value.
x Parameter setting
Parameter Default value
1 AC output voltage 230.0V
2 AC output frequency 50.0Hz
3 Max charging current 60A
Max utility charging current 30A
4 AC input voltage range 0: Appliance range
5 Output source priority 0: Utility first
6 Battery re-charge voltage 11.5/23/46 for 12/24/48V unit.
7 Charger source priority 2: Utility and Solar first
8 Battery type 0: AGM
9 Enable/disable buzzer alarm 1: Enable buzzer alarm
10 Enable/Disable power saving 0: Disable power saving
11 Enable/Disable overload restart 0: Disable overload restart
12 Enable/Disable over temperature restart 0: Disable over temperature restart
13 Enable/Disable LCD backlight on 1: Enable LCD backlight on
14 Enable/Disable alarm on when primary 1: Enable beep on when primary source
source interrupt interrupt
15 Enable/Disable overload bypass when 0: Disable overload bypass
overload happened in battery mode
16 Enable/Disable LCD display escape to 1: Enable LCD display escape to default
default page after 1min timeout page
17 Output mode 0: Reserved
18 float charging voltage 13.5/27/54 for 12/24/48V unit.
19 Bulk charging voltage 14.1/28.2/56.4 for 12/24/48V unit.
20 Battery cut-off voltage 10.5/21/42 for 12/24/48V unit.
21 Battery re-discharge voltage 13.5/27/54 for 12/24/48V unit.
Note: The correct default value can be gain by QDI command.
14
3.4 MUCHGC<nnn><cr>: Setting utility max charging current
Computer: MUCHGC<nnn><CRC><cr>
Device: (ACK<CRC><cr> if device accepts this command, otherwise, responds
(NAK<CRC><cr>
Setting value can be gain by QMUCHGCR command.
15
Device: (ACK<CRC><cr> if device accepts this command, otherwise, responds (NAK<CRC><cr>
12V unit: 11V/11.3V/11.5V/11.8V/12V/12.3V/12.5V/12.8V
24V unit: 22V/22.5V/23V/23.5V/24V/24.5V/25V/25.5V
48V unit: 44V/45V/46V/47V/48V/49V/50V/51V
16
Device: (ACK<CRC><cr> if device accepts this command, otherwise, responds (NAK<CRC><cr>
nn.n: 24.0V~31.5V for 24V unit, 48.0V ~ 63.0V for 48V unit
17
Set equalization time, nnn is in the range of 5 to 900minute, every click increase or decrease
5minute.
18
4 Appendix
19