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
action = ioctl(TIOMCBIS, DTR) set DTR (kills power)
RS232 Wiring and Signal Conventions
DB-25 Pin # DB-9 Pin # Name DTE-DCE Description
1 — FG – Frame Ground/Chassis GND
2 3 TD –> Transmitted Data, TxD
3 2 RD <– Received Data, RxD
4 7 RTS –> Request To Send
5 8 CTS <– Clear To Send
6 6 DSR <– Data Set Ready
7 5 SG –— Signal Ground, GND
8 1 DCD <– Data Carrier Detect
9 — — – Positive DC test voltage
10 — — – Negative DC test voltage
11 — QM <– Equalizer mode
12 — SDCD <– Secondary Data Carrier Detect
13 — SCTS <– Secondary Clear To Send
14 — STD –> Secondary Transmitted Data
15 — TC <– Transmitter (signal) Clock
16 — SRD <– Secondary Receiver Clock
17 — RC –> Receiver (signal) Clock
18 — DCR <– Divided Clock Receiver
19 — SRTS –> Secondary Request To Send
20 4 DTR –> Data Terminal Ready
21 — SQ <– Signal Quality Detect
22 9 RI <– Ring Indicator
23 — — –> Data rate selector
24 — — <– Data rate selector
25 — TC <– Transmitted Clock
Pin Assignment for the Serial Port (RS-232C), 25-pin and
9-pin, Female End
13 1 5 1
_______________________________ _______________
\ . . . . . . . . . . . . . / \ . . . . . / RS232-connectors
\ . . . . . . . . . . . . / \ . . . . / looking into the
--------------------------- ----------- end of the cable.
25 14 9 6
153










