Modbus Protocol For P39-1
Modbus Protocol For P39-1
Modbus Protocol For P39-1
Protocol in P39.......................................................................................................................................2
1. Warning item............................................................................................................................2
2. Capability setting(look for Application example 1)........................................................4
3. Control item(look for Application example 2).................................................................6
4. The result of control.................................................................................................................6
6. Setting Parameter to default value.........................................................................................7
5. UPS working status..................................................................................................................7
6. UPS battery information (sys or rack info inquiry addr)...................................................8
7.The temperature inquiry..........................................................................................................9
8. The three phase load inquiry..................................................................................................9
9. The bypass three phase info....................................................................................................9
10. The output power factor inquiry..........................................................................................9
11. Load level inquiry..................................................................................................................9
12. UPS working Mode..............................................................................................................10
13. UPS fault information.........................................................................................................10
14. Loss point..............................................................................................................................10
15. Setting Parameter item........................................................................................................10
16. Setting Parameter succeed or fail.......................................................................................11
17. CPU information..................................................................................................................12
18. UPS model and rating information....................................................................................12
19.Date inquiry (sys or rack info inquiry addr).....................................................................13
20.Set date (sys or rack info set addr).....................................................................................13
21.On line module ID number inquiry and select..................................................................13
22.Baud Rate...............................................................................................................................14
23.Output Dry Contact Function.............................................................................................14
Note......................................................................................................................................................15
1. Note1................................................................................................................................................15
2. Note2................................................................................................................................................15
3. Note3................................................................................................................................................16
4. Note4................................................................................................................................................17
5. Note5................................................................................................................................................17
6. Note6................................................................................................................................................18
Application example..........................................................................................................................19
1. Audible alarm Enable or Disable.........................................................................................19
2. Setting buzzer beeps Silent....................................................................................................20
3. Setting control parameter to default value..........................................................................20
4. Get input voltage....................................................................................................................20
5. Output socket status..............................................................................................................20
6. Remote shut down the UPS...................................................................................................20
7. Shut down UPS and auto restart later.................................................................................20
8. Setting Parameter item..........................................................................................................21
Modbus Protocol for P39
:unused
Protocol in P39
1. Warning item
De
Hex Size Content Bit value type
c
bit15 cBattLow 0:FALSE/1:TRUE Read only
bit14 cBatOpen 0:FALSE/1:TRUE Read only
bit13 cBatPhaseLoss 0:FALSE/1:TRUE Read only
bit12 cLineIpNLoss 0:FALSE/1:TRUE Read only
bit11 cLinePhaseErr 0:FALSE/1:TRUE Read only
bit10 cLineVoltAbnormal 0:FALSE/1:TRUE Read only
bit9 cLinePhaseAutoAdaptFailed 0:FALSE/1:TRUE Read only
bit8 cOverChg 0:FALSE/1:TRUE Read only
0x0000 0
bit7 cChgrFail 0:FALSE/1:TRUE Read only
bit6 cOverTemp 0:FALSE/1:TRUE Read only
bit5 cPFCCurUnbalance 0:FALSE/1:TRUE Read only
bit4 cFanLock 0:FALSE/1:TRUE Read only
bit3 cLineFuseOpen 0:FALSE/1:TRUE Read only
bit2 cIICEepromFail 0:FALSE/1:TRUE Read only
bit1 cBypassIpNLoss 0:FALSE/1:TRUE Read only
bit0 cBpsPhaseErr 0:FALSE/1:TRUE Read only
0x0001 1 bit15 cBypassVoltAbnormal 0:FALSE/1:TRUE Read only
bit14 cBypassPhaseAutoAdaptFailed 0:FALSE/1:TRUE Read only
bit13 cOverLoad 0:FALSE/1:TRUE Read only
bit12 cOverLoadLock 0:FALSE/1:TRUE Read only
Bit11 cEpoActive 0:FALSE/1:TRUE Read only
Bit10 cMaintainSwitchOpen 0:FALSE/1:TRUE Read only
Bit9 cLineDiff 0:FALSE/1:TRUE Read only
Bit8 cBypassDiff 0:FALSE/1:TRUE Read only
Bit7 cInvCurrUnbalance 0:FALSE/1:TRUE Read only
Bit6 cBypassUnstable 0:FALSE/1:TRUE Read only
Bit5 cRedundancyFail 0:FALSE/1:TRUE Read only
Bit4 cBatteryAgeAlert 0:FALSE/1:TRUE Read only
Bit3 cInputDryContactWarning1 0:FALSE/1:TRUE Read only
Bit2 cInputDryContactWarning2 0:FALSE/1:TRUE Read only
Bit1 cControllerSpsFail1 0:FALSE/1:TRUE Read only
Modbus Protocol for P39
Bit0 cControllerSpsFail2 0:FALSE/1:TRUE Read only
bit15 Battery open 0:FALSE/1:TRUE Read only
Bit14 IP N loss 0:FALSE/1:TRUE Read only
Bit13 IP site fail 0:FALSE/1:TRUE Read only
Bit12 Line phase error 0:FALSE/1:TRUE Read only
Bit11 Bypass phase error 0:FALSE/1:TRUE Read only
Bit10 Bypass frequency unstable 0:FALSE/1:TRUE Read only
Bit9 Battery over charge 0:FALSE/1:TRUE Read only
Bit8 Battery low 0:FALSE/1:TRUE Read only
0x0002 2
Bit7 Overload warning 0:FALSE/1:TRUE Read only
bit6 Fan lock warning 0:FALSE/1:TRUE Read only
bit5 EPO active 0:FALSE/1:TRUE Read only
bit4 Turn on abnormal 0:FALSE/1:TRUE Read only
bit3 Over temperature 0:FALSE/1:TRUE Read only
bit2 Charger fail 0:FALSE/1:TRUE Read only
bit1 Remote shut down 0:FALSE/1:TRUE Read only
bit0 L1 IP fuse fail 0:FALSE/1:TRUE Read only
bit15 L2 IP fuse fail 0:FALSE/1:TRUE Read only
bit14 L3 IP fuse fail 0:FALSE/1:TRUE Read only
bit13 L1 PFC positive error 0:FALSE/1:TRUE Read only
bit12 L1 PFC negative error 0:FALSE/1:TRUE Read only
bit11 L2 PFC positive error 0:FALSE/1:TRUE Read only
bit10 L2 PFC negative error 0:FALSE/1:TRUE Read only
bit9 L3 PFC positive error 0:FALSE/1:TRUE Read only
bit8 L3 PFC negative error 0:FALSE/1:TRUE Read only
0x0003 3
Bit7 CAN communication error 0:FALSE/1:TRUE Read only
Bit6 Synchronization line error 0:FALSE/1:TRUE Read only
Bit5 Synchronization pulse error 0:FALSE/1:TRUE Read only
Bit4 Host line error 0:FALSE/1:TRUE Read only
Bit3 Male connection error 0:FALSE/1:TRUE Read only
Bit2 Female connection error 0:FALSE/1:TRUE Read only
Bit1 Parallel line connection error 0:FALSE/1:TRUE Read only
Bit0 Battery connect different 0:FALSE/1:TRUE Read only
0x0004 4 bit15 Line connect different 0:FALSE/1:TRUE Read only
Bit14 Bypass connect different 0:FALSE/1:TRUE Read only
Bit13 Mode type different 0:FALSE/1:TRUE Read only
Bit12 Parallel inverter voltage setting different 0:FALSE/1:TRUE Read only
Bit11 Parallel output frequency setting different 0:FALSE/1:TRUE Read only
Bit10 Battery cell over charge 0:FALSE/1:TRUE Read only
Bit9 Parallel output parallel setting different 0:FALSE/1:TRUE Read only
Bit8 Parallel output phase setting different 0:FALSE/1:TRUE Read only
Modbus Protocol for P39
Bit7 Parallel Bypass Forbidden setting different 0:FALSE/1:TRUE Read only
bit6 Parallel Converter Enable setting different 0:FALSE/1:TRUE Read only
bit5 Parallel Bypass Freq High loss setting different 0:FALSE/1:TRUE Read only
bit4 Parallel Bypass Freq Low loss setting different 0:FALSE/1:TRUE Read only
bit3 Parallel Bypass Volt High loss setting different 0:FALSE/1:TRUE Read only
bit2 Parallel Bypass Volt Low Loss setting different 0:FALSE/1:TRUE Read only
bit1 Parallel Line Freq High Loss setting different 0:FALSE/1:TRUE Read only
bit0 Parallel Line Freq Low Loss setting different 0:FALSE/1:TRUE Read only
bit15 Parallel Line Volt High Loss setting different 0:FALSE/1:TRUE Read only
Bit14 Parallel Line Volt Low Loss setting different 0:FALSE/1:TRUE Read only
Locked in bypass after overload 3 times in
Bit13 0:FALSE/1:TRUE Read only
30min
Warning for three-phase AC input current
Bit12 0:FALSE/1:TRUE Read only
unbalance
Bit11 Battery fuse broken 0:FALSE/1:TRUE Read only
Bit10 Inverter inter-current unbalance 0:FALSE/1:TRUE Read only
Bit9 P1 cut off pre-alarm 0:FALSE/1:TRUE Read only
0x05 5 Bit8 Warning for Battery replace 0:FALSE/1:TRUE Read only
Warning for input phase error for LV 6-10K
Bit7 0:FALSE/1:TRUE Read only
UPS
bit6 Cover of maintain switch is open 0:FALSE/1:TRUE Read only
bit5 Phase Auto Adapt Failed 0:FALSE/1:TRUE Read only
bit4 Utility extremely unbalanced 0:FALSE/1:TRUE Read only
bit3 Bypass unstable 0:FALSE/1:TRUE Read only
bit2 EEPROM operation eeror 0:FALSE/1:TRUE Read only
bit1 Parallel protect warning 0:FALSE/1:TRUE Read only
bit0 Discharger overly 0:FALSE/1:TRUE Read only
Bit15 QFSN,<ID><cr> not UPS module ID on line 0:FALSE/1:TRUE Read only
Bit14 Q3WSN,<ID><cr> not UPS module ID on line 0:FALSE/1:TRUE Read only
Bit13 QVFWN,<ID><cr> not UPS module ID on line 0:FALSE/1:TRUE Read only
Bit12 QVFW2N,<ID><cr> not UPS module ID on line 0:FALSE/1:TRUE Read only
0x01F8 504
Bit11 QVFW3N,<ID><cr> not UPS module ID on line 0:FALSE/1:TRUE Read only
Bit10 QIDN,<ID><cr> not UPS module ID on line 0:FALSE/1:TRUE Read only
Bit9 QYFN,<ID><cr>: not UPS module ID on line 0:FALSE/1:TRUE Read only
Bit8-bit0= reserved
bit0 – b5 =Reservation
0x0201 521 1 battery group number, the range is from 01~12 Read/Write
0x0202 522 1 battery capacity factor, the range is from 05~20 Read/Write
0x020b 531 1 System total module number 01 to 10 Read/Write
0x020c 532 1 System Redundancy module number 00 to 99 Read/Write
0x0200 565 12 Note5 Note5 Read/Write
0x021F 543 8 Set System Real Time Read/Write
Set bypass frequency high loss point and low loss
0x0227 551 1 Read/Write
point
22.Baud Rate
The value is 24, 48, and 96. It means comport0
0x0217 535 1 bps Read/Write
baud rate is 2400, 4800 and 9600
The value is 24, 48, and 96. It means comport1
0x021 536 1 bps Read/Write
baud rate is 2400, 4800 and 9600
Note
1. Note1
Note 1:
B8b9
00: standy; bit15 bit14
01: line-interactive;
10: on-line.
815(bit15- b7: Utility Fail
bit8) b6: Battery Low
b5: Bypass/Boost Active
b4: UPS Failed
b3: EPO
b2: Test in Progress
b1: Shutdown Active
815 b0: bat silence
(bit3-bit0) a1: Bat test fail
a0: Bat test OK
Modbus Protocol for P39
2. Note2
Note 2:
P: Power on mode
S: Standby mode
Y: Bypass mode
L: Line mode
B: Battery mode
0x00D0H
T: Battery test mode
F: Fault mode
E: HE/ECO mode
C: Converter mode
D: Shutdown mode
3. Note3
01 cBusSoftFault
02 cBusOver
03 cBusUnder
04 cBusUnbalance
05 cBusVoltVaryFault
06 cPFCOverCurr
07 cOverTempFault
08 cBatScrFault
17 cInvSoftFault
18 cInvVoltHigh
19 cInvVoltLow
Modbus Protocol for P39
20 cRInvVoltShort
21 cSInvVoltShort
22 cTInvVoltShort
23 cRSInvVoltShort
24 cSTInvVoltShort
25 cTRInvVoltShort
26 cInvRNegPow
27 cInvSNegPow
28 cInvTNegPow
33 cInvRlySTSOpen
34 cInvRlySTSShort
35 cOpRlySTSOpen
36 cOpRlySTSShort
37 cWiringFault
38 cBatFuseOpenFault
39 cChargerShort
49 cCommCANFault
50 cHostLineFault
51 cOPCircuitFault
52 cVerIncompatible
65 cDSPCommFault
66 cOverLoadFault
67 cChgrFault
68 cModelFault
69 cMcuCommFault
70 cCTSatiation
71 cFanFault
4. Note4
Bit Remarks
0x02AEH 7 1:DCTODC on
Modbus Protocol for P39
6 1:PFC on
5 1: INVERTER on
4 Reserved(always 0)
3 1:input relay on
2 1:O/P relay on
1 Reserved(always 0)
0 Reserved(always 0)
5. Note5
6. Note6
06 Battery test failure Performs the battery test. The battery test fails.
07 Internal communication failure DSP and MCU stop communication in power module.
External parallel communication Communication error between power modules.
08
failure
Output overload Connected load is over rated output of the UPS.
09
warning/shutdown
10 Power module fault shutdown The module fails and the UPS shuts down.
Power module warning The module has errors, but the UPS can still function
11
normally.
12 EPO Active Urgently power off the UPS.
Example:
Computer: DRY010203040506><cr>
UPS: (ACK<cr>
Means: Refer to below table.
Application example
1. Audible alarm Enable or Disable
Look for Enable audible alarm, It in table address 0x000E bit15.Then you may write 0x8000 to
0x000E to Enable audible alarm or write 0xEFFF to 0x0E to disable audible alarm.
For example:
[XX 10 00 0E 00 01 02 80 00 CRCL CRCH]Mean: Enable audible alarm.
[XX 10 00 0E 00 01 02 7F FF CRCL CRCH]Mean: Disable audible alarm.
Inquire the result of execute, you may read the follow address 0x10 bit15.
For example:
[XX 03 00 10 00 01 CRCL CRCH]
[XX 03 02 80 00 CRCL CRCH]Mean: Execute success
[XX 03 02 00 00 CRCL CRCH]Mean: Execute fail