User's Manual UPS control system
Table Of Contents
- Apcupsd User's Manual
- Release Notes
- How To Use This Manual
- Basic User's Guide
- Planning Your Installation
- Building and Installing apcupsd
- After Installation
- Configuration Examples
- Testing Apcupsd
- Troubleshooting Your Installation
- Monitoring and Tuning your UPS
- Maintaining Your UPS
- Frequently-Asked Questions
- Apcupsd Bugs
- Advanced topics
- Customizing Event Handling
- Master/Slave Configurations
- Controlling Multiple UPSes on one Machine
- Support for SNMP UPSes
- Alternate Ways To Run The Network Information Server
- apcupsd System Logging
- Installation: Windows
- Windows Version of apcupsd
- Installation: Serial-Line UPSes
- Overview of Serial-Interface UPSes
- Connecting a Serial-Line UPS to a USB Port
- Connecting a APC USB UPS to either a PC USB or Serial Port
- Cables
- Smart-Custom Cable for SmartUPSes
- Smart Signalling Cable for BackUPS CS Models
- Voltage-Signalling Cable for "dumb" UPSes
- Other APC Cables that apcupsd Supports
- Voltage Signalling Features Supported by Apcupsd for Various Cables
- Voltage Signalling
- Back-UPS Office 500 signals
- Analyses of APC Cables
- Win32 Implementation Restrictions for Simple UPSes
- Internal Apcupsd Actions for Simple Cables
- RS232 Wiring and Signal Conventions
- Pin Assignment for the Serial Port (RS-232C), 25-pin and 9-pin, Female End
- Ioctl to RS232 Correspondence
- Testing Serial-Line UPSes
- Troubleshooting Serial Line communications
- Recalibrating the UPS Runtime
- DATA Logging
- Technical Reference
- Configuration Directive Reference
- apcupsd Status Logging
- Shutown Sequence and its Discontents
- APC smart protocol
- Apcupsd --- RPM Packaging FAQ
- Credits
- Kernel Config
DFO == (4)-all-countries (D)omestic (I)nternational (A)sia (J)apan
(M) North America - servers.
RSP == Total number possible answers returned by a given CMD.
FSZ == Max. number of field positions to be filled.
FVL == Values that are returned and legal.
Programming the UPS EEPROM
There are at this time a maximum of 12 different values that can be pro-
grammed into the UPS EEPROM. They are:
Item Command Meaning
1. c The UPS Id or name
2. x The last date the batteries were replaced
3. u The Upper Transfer Voltage
4. l The Lower Transfer Voltage
5. e The Return Battery Charge Percentage
6. o The Output Voltage when on Batteries
7. s The Sensitivity to Line Quality
8. p The Shutdown Grace Delay
9. q The Low Battery Warning Delay
10. k The Alarm Delay
11. r The Wakeup Delay
12. E The Automatic Self Test Interval
The first two cases (Ident and Batt date) are somewhat special in that you
tell the UPS you want to change the value, then you supply 8 characters that
are saved in the EEPROM. The last ten item are programmed by telling
the UPS that you want it to cycle to the next permitted value.
In each case, you indicate to the UPS that you want to change the EEPROM
by first sending the appropriate query command (e.g. “c” for the UPS ID
or “u” for the Upper Transfer voltage. This command is then immediately
followed by the cycle EEPROM command or “-”. In the case of the UPS Id
or the battery date, you follow the cycle command by the eight characters
that you want to put in the EEPROM. In the case of the other ten items,
there is nothing more to enter.
The UPS will respond by “OK” and approximately 5 seconds later by a
vertical bar (—) to indicate that the EEPROM was changed.
199










