Webseiten-Werkzeuge


APC Back-UPS XS 700U

Linux config

apt install apcupsd

/etc/default/apcupsd

ISCONFIGURED=yes

/etc/apcupsd/apcupsd.conf

UPSCABLE usb
UPSTYPE usb
DEVICE /dev/usb/hiddev[[0-15]]

read status

jack@x4:~$ /sbin/apcaccess 
APC      : 001,036,0858
DATE     : 2018-04-04 13:52:01 +0200  
HOSTNAME : x4
VERSION  : 3.14.14 (31 May 2016) debian
UPSNAME  : x4
CABLE    : USB Cable
DRIVER   : USB UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2018-04-04 13:24:46 +0200  
MODEL    : Back-UPS XS 700U   
STATUS   : ONLINE 
LINEV    : 224.0 Volts
LOADPCT  : 0.0 Percent
BCHARGE  : 100.0 Percent
TIMELEFT : 285.8 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME  : 0 Seconds
SENSE    : Medium
LOTRANS  : 140.0 Volts
HITRANS  : 300.0 Volts
ALARMDEL : 30 Seconds
BATTV    : 13.8 Volts
LASTXFER : No transfers since turnon
NUMXFERS : 0
TONBATT  : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
SELFTEST : NO
STATFLAG : 0x05000008
SERIALNO : 3B1752X08311  
BATTDATE : 2017-12-28
NOMINV   : 230 Volts
NOMBATTV : 12.0 Volts
NOMPOWER : 390 Watts
FIRMWARE : 924.Z3 .I USB FW:Z3
END APC  : 2018-04-04 13:52:01 +0200  

USV/UPS IBM - 9910-140

Eigenschaften

=>identify
Global UPS For IBM

Model:    LI????VA
Unit ID:  
Serial #: 
Version:  4.01 
Released: 04/01/99

RS-232 Kommandos

Siehe auch: usv-ferrups503.pdf (ist nicht identisch aber viele Sachen ähnlich)

Status - Statusabfrage

=>Status
System status report for LI????VA [] (#)
Monday, January 02, 1996 - 07:41:48

Line status   | Load status   | UPS status    | Totals
--------------|---------------|---------------|---------------
V In      225 | I Out      .1 | Mode:  OnLine | SysHrs  00019
V Out     223 | VA Out     22 | Tap:   Bypass | InvMin 0042.7
Freq 50.00 Hz | Watts       0 | V Batt   52.7 | #PwrOut     2
PF  1.00 ---- | FullLoad% 001 | Runtime   55m | #OvrLds     0

Front panel:  -  B  - | 

Last battery power run duration: 2562 seconds.

Active alarms:
(None)

cd -- contdisplay

Gibt bis Unterbrechung (z.b. <Return> senden) die angegebenen Parameter aus.

=>cd 8 9
08 Freq 49.97 Hz
09 Runtime   55m
08 Freq 49.97 Hz
09 Runtime   55m
08 Freq 49.97 Hz
09 Runtime   55m
08 Freq 49.96 Hz
09 Runtime   55m
08 Freq 49.97 Hz
09 Runtime   55m

oder cd 1 7 8 20 (Vin Vbatt Freq #pwroutages)

command - Verfügbare Kommandos

=>command
?               123DCP          AlarmsHelp      AlarmLog        AlarmStatus
AlarmTest       ChargerMode     ClearAlarms     ClearHistory    ClearLogs
ClearPassword   ComMands        ContDisplay     ContStatus      DAte
DEFAULT         DeLay           Display         eXtendedHistory Format
FormatConfig    FormatParam     HElp            History         Identify
InverterLog     LocK            Logs            MEMory          Message
Off             PRogram         Parameters      ParamKeywords   PassWord
PrinT           RESET           RESTART         ShutDown        SHutup
Status          SystemMode      SystemTeST      TEST            Time
TurnOFF         UnLock          Unshutup        DB26            ContDB26

eXtendedHistory

=>eXtendedHistory
  97.0  228.0  217.0  230.0  16.10  58.10     21    179

password - Wechseln in Service Mode

2639 ist anscheinend Default Passwort

=>password 2639
Serv => .... -jetzt in Service Mode-

Serv => password
=> .... -jetzt wieder normal

systemmode

„Online“ USV Schaltet die USV auf Batteriebetrieb.

Serv => systemmode inverter
System mode: Inverter
Serv =>
{Inverter:     On}

Automatik

Serv => systemmode auto
System mode: Auto
Serv =>
{Inverter:    Off}

Parameters / paramkeywords

Parameters ist wie paramkeywords nur ohne Benamung der Felder

=>paramkeywords
00 Time 08:03:19        Time
01 V In      225        acVoltsIn
02 V Out     224        acVoltsOut
03  -  B  - |         DiSplay
04 I Out      .1        acampsiOut
05 VA Out     22        VAout
06 CPM V OUT     .0        DCVOut
07 V Batt   52.7        VBattery
08 Freq 49.99 Hz        Frequency
09 Runtime   55m        RunTime
10 Date 01/02/96        Date
11 Day     1)Mon        DAYofweek
12 PWLvl  0)None        PassWordLevel
13 Model Name   
LI????VA                ModelName
14 Serial Number
                        SerialNumber
15 Unit ID      
                        unitIDentify
16 FullLoad% 001        fullLoad
17 Watts       0        Watts
18 PF  1.00 ----        PowerFactor
19 CrestF   1.44        CrestFactor
20 #PwrOut     4        PoWeROuts
21 #OvrLds     0        OverLoads
22 SysHrs  00019        SystemHours
23 InvMin 0043.1        InverterMinutes
24 #Bad PW     2        BadPassword
25 BTTime  02:00        BattTestTime
26 BTIntervl  14        BattTestInterval
27 KeyClic  1)On        KeyClick
28 BeepTone 0)Lo        BeeperTone
29 Ferro 0)Off
Min volts counts now  7Bh        REServed
30 Min Volts Count 7Bh        MINDcv
31 MaxDCV   57.9        MAXDcv
32 MinACVI   224        MINacVI
33 MaxACVI   225        MAXacVI
34 MinACVO   221        MINacVO
35 MaxACVO   229        MAXacVO
36 Min VA     22        MINVA
37 Max VA     22        MAXVA
38 Low Rntm         3        LowRuntime
39 AutoRst    60        AutoRestart
40 Nom VIn   230        NomacVoltsIn
41 Nom VOut  230        NomacVoltsOut
42 Low VOut  191        LowVoltsOut
43 Hi VOut  259        HiVoltsOut 
44 Boost V   172        BoostVolts
45 Bypass V  200        BYpassVolts
46 Buck V    251        BucKVolts
47 InverterV 277        InverterVolts
48 BBHyst      4        BuckBoostHyst
49 RatedVA   1400        RatedVA
50 RatedW    1400        RatedWatts
51 CBLimit   384        CBLimit
52 Nom Freq 0)50        NomFrequency
53 AutoFrq 1)Yes        AutoFrequency
54 LowFreq -3.00        LowFrequency
55 HiFreq  +3.00        HighFrequency
56 Slew Rate  50        SlewRate
57 PhaseWin  500        PhaseWindow
58 FreqSens    3        FreqSensitivity
59 LineSens   10        LineSensitivity
60 FaltSens 1)Hi        FauLTSensitivity
61 NomDCV   48.0        NomDCVolts
62 LowBatt  38.4        LowBattery
63 NrLoBatt 43.2        NearLowBattery
64 HighBatt 61.4        HighBattery
65 Maint V  53.2        MaintenanceVolts
66 Eqlz V   56.0        EqualizeVolts
67 ConITm      6        ConstantITime
68 ConVTm    240        ConstantVTime
69 EqlzTm   1080        EqualizeTime
70 EqlzInvl   30        EqualizeInterval
71 BaudRt 1)600        BauDrate
72 WordFmt 0)8N1        WordFormat
73 PNP     1)Yes        PlugNPlay
74 TxHS    1)Yes        TransmitxHs
75 RxHS    1)Yes        ReceivexHs
76 Prompt  1)Yes        PRompt
77 Echo    1)Yes        EChoback
78 AutoMsg 1)Yes        AutoMessage
79 ID Msg  1)Yes        IDentifyMessage
80 Con Ctrl   15        ConsoleControl
81 AlmCPol 0)Neg        AlarmConPolarity
82 AlmEnbl 65535        AlarmcEnables
83 ShdnPol 0)Neg        ShutdownPolarity
84 ShdnDbnc  5.0        ShutdownDeBounce
85 ShdnDly  30.0        ShutdownDeLay
86 EPO Pol 0)Neg        EPOPolarity
87 EPO Dbnc   .2        EpoDeBounce
88 EPO Dly    .1        EpoDeLay
89 InvCPol 0)Neg        InvContPolarity
90 InvCDly   150        InvContDelay
91 OnTime  08:00        powerONTime
92 OnTmDays    0
SFTWTMS: 0000000        ONtimeDays
93 OffTime 17:00        powerOFfTime
94 OffTmDays   0
SMTWTFS: 0000000        OFftimeDays
95 POMode   1)On        PowerOnMode
96 XferDly   1.5        XferDelay
97 TapSwDly   .2        TapSwitchDelay
98 TapSwPh     8        TapSwitchPhase
99 GuardSt    27        GuardpStart
100 GuardEnd    6        GuardpEnd
101 ChargdV 51.2        CHargedVbattery
102 RntmK1   850        RuntimeK1
103 RntmK2     2        RuntimeK2
104 RntmK3    90        RuntimeK3
105 RntmK4    19        RuntimeK4
106 BatSavV 36.0        BatterySaverV
107 CycChg 1)Yes        CycleCHarger
111 CFACVIN  115        CFacVIN
112 CFACVID   72        CFacVID
113 CFACVON  116        CFacVON
114 CFACVOD   76        CFacVOD
115 CFA AO N 200-230   50        CFacAONHiV
116 CFA AO N 100-120   60        CFacAONLowV
117 CFA AO D 200-230   43        CFacAODHiV
118 CFA AO D 100-120   27        CFacAODLowV
119 CFDCVN   166        CFDCvN
120 CFDCVD    68        CFDCvD
121 RefNom   170        ReferenceNominal
122 XfmrRes    0        XfmrResistance
123 Inhibits 00h        INHibits
124 RefLevel 170        ReferenceLevel
125 Num Batts     2        NumberBatteries
142 DBTest 0)No        DBTests
146 LRefNominal   174
LRefScaled   174        
147 CStart 0)Neg        
148 Dev1     0        
149 Sum VI Peaks
0000h        
150 Lastflags  17        
151 TestFlags   0        
152 ConditionFlags   0        
153 CPM RAW Counts   0        
154 P5G contents =    0        
155 AVG Flsgs Content  80h  

Nicht implementiert

  • Logs
  • AlarmLog
  • InverterLog
  • ChargerMode

RS-232 Adapter

Baudrate steht in den Parametern.

Sub-D 9 pol. male (USV) Sub-D 9 pol. female (PC) Funktion genormte Farben
1 3 Tx (Vom PC aus) orange
2 2 Rx (Vom PC aus) rot
4 5 GND grün

http://de.wikipedia.org/wiki/RS-232

Rotronic/Roline LineSecure 700

Dry Contact Signals

  • PIN2: Contact with PIN4 when AC fault.
  • PIN5: Contact with PIN4 when Battery low
  • PIN4: Common GND of PIN2, 5
  • PIN6: Input high level over 500ms to turn off UPS.
  • PIN7: GND of PIN6

RS-232

Adapter Schematic
  • PIN9: TX
  • PIN6: RX
  • PIN7: GND
  • BAUD RATE : 2400 bps
  • DATE LENGTH : 8 bit ASCII Code
  • STOP BIT : 1 bit
  • PARITY : NONE
  • Data Stream :
    • a. Manufacturer
    • b. UPS Model
    • c. CPU Version
    • d. Voltage Rating
    • e. Current Rating
    • f. Input Voltage
    • g. Output Voltage
    • h. Input Frequency
    • i. Output Frequency
    • j. Load Level
    • k. Battery Level
    • l. Temperature
    • m. Schedule ON/OFF command
    • n. Self test command
    • o. Shutdown command
CMD description example return value
a Manufacturer
b UPS Model

Siehe auch

notiz/usv.txt · Zuletzt geändert: 2018/04/04 13:53 von marc