[Nut-upsuser] Recommendation for big UPS (was CyberPower PR2200)

Charles Lepple clepple at gmail.com
Thu Nov 16 04:49:45 CET 2006


On 11/15/06, Doug Reynolds <mav at wastegate.net> wrote:
> I have a 1200AVR. I found out from the website that you can program
> Windows XP to use it as a contact-closure type of UPS. The generic
> windows custom UPS settings are: Power Fail/On Battery - Negative, Low
> Battery - Negative, UPS Shutdown - Positive.

Makes sense; here's the settings from the genericups man page for type 7:

           [CP=RTS] [OL=CTS] [LB=-DCD] [SD=DTR]

CP is "cable power", so the RTS pin sends power into the UPS relay
contacts. Windows' "Power Fail" is the opposite of OL, so "Negative"
corresponds to CTS (instead of -CTS).

Low Battery is also Negative, but it's the same polarity as NUT's LB;
hence, -DCD.

Since your UPS is not shutting down on its own, the "SD=DTR" is
probably a good guess. It is the only other output line available
besides sending a break on the Tx pin.

> I checked these settings with a serial port monitor. When the UPS is
> online, CTS is ON. When UPS is on battery, CTS is OFF. I wasn't able to
> check out the low battery or the other settings (it takes a lot of juice
> to kill these ups.. at 220W, it took 45min or so).
>
> Perhaps one of the maintainers know which generic drive types that will
> work with the windows settings I gave. The serial cable that came with
> mine is a straight thru cable (black). I check it myself with an ohm meter.
>
> The ups is also a smart ups once you initialize it with a few commands..
>
> the windows monitor program (that comes with the ups) sends:
>
> ** 0D 50 34 0D 50 34 0D 50 33 0D 50 32 0D 50 31 0D   .P4.P4.P3.P2.P1.
>  50 37 0D 50 36 0D 50 38 0D 50 39 0D 44 0D 43 0D   P7.P6.P8.P9.D.C.
>  44 0D 44 0D 44 0D 44 0D 44 0D 44 0D 44 0D 44 0D   D.D.D.D.D.D.D.D.**
>
> and the ups sends back:
>
> ** 23 32 0D 23 42 43 31 32 30 30 20 20 20 20 2C 31   #2.#BC1200    ,1
>  2E 36 30 30 2C 30 30 30 30 30 30 30 30 30 30 30   .600,00000000000
>  30 2C 43 59 42 45 52 20 50 4F 57 45 52 20 20 20   0,CYBER POWER
>  20 0D 23 42 43 31 32 30 30 20 20 20 20 2C 31 2E    .#BC1200    ,1.
>  36 30 30 2C 30 30 30 30 30 30 30 30 30 30 30 30   600,000000000000
>  2C 43 59 42 45 52 20 50 4F 57 45 52 20 20 20 20   ,CYBER POWER
>  0D 23 31 32 2E 30 2C 30 30 32 2C 30 30 38 2E 30   .#12.0,002,008.0
>  2C 30 30 0D 23 31 32 30 30 2C 30 37 32 30 2C 31   ,00.#1200,0720,1

I wonder if this '0720' has anything to do with the 7.2 factor you
mentioned for the load?

>  32 30 2C 34 37 2C 36 33 0D 23 31 32 30 2C 31 33   20,47,63.#120,13
>  38 2C 30 38 38 2C 33 35 0D 23 30 38 30 2C 30 38   8,088,35.#080,08
>  31 2C 30 38 32 2C 30 38 33 2C 30 38 34 2C 30 38   1,082,083,084,08
>  35 2C 30 38 36 2C 30 38 37 2C 30 38 38 2C 30 38   5,086,087,088,08
>  39 2C 30 39 30 0D 23 31 33 30 2C 31 33 31 2C 31   9,090.#130,131,1
>  33 32 2C 31 33 33 2C 31 33 34 2C 31 33 35 2C 31   32,133,134,135,1
>  33 36 2C 31 33 37 2C 31 33 38 2C 31 33 39 2C 31   36,137,138,139,1

These values look like tables of undervoltage and overvoltage thresholds.

>  34 30 0D 23 32 30 2C 32 35 2C 33 30 2C 33 35 2C   40.#20,25,30,35,
>  34 30 2C 34 35 2C 35 30 2C 35 35 2C 36 30 2C 36   40,45,50,55,60,6

Low battery percentage?

> I haven't figured out what the F060 or the 0S is.  they always stayed the same.  when the UPS went dead and
> turned off, it would still reply with the same reply, but all the numbers were zeros.€€

I wonder if it is actually 'F060.0' (60.0 Hz line frequency?) and 'S
0x80 0x80', where the '0x80 0x80' bytes are some sort of status.

> if anyone can help me put this into a driver, let me know...

Maybe someone else will recognize this as being similar to an existing driver.

> I also just tried running mine as genericups upstype=7, and it seems to be showing online/onbattery, so until
> I finish a "smart" driver, that one should work.
>
>
>
>
>
>
>
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
>


-- 
- Charles Lepple



More information about the Nut-upsuser mailing list