File: apc.txt

package info (click to toggle)
nut 2.8.4%2Breally-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,720 kB
  • sloc: ansic: 132,030; sh: 17,256; cpp: 12,566; makefile: 5,646; python: 1,114; perl: 856; xml: 47
file content (260 lines) | stat: -rw-r--r-- 16,109 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
Desc: APC UPS cables
File: apc.txt
Date: 12 February 2010
Auth: Arjen de Korte <adkorte-guest@alioth.debian.org

http://lists.alioth.debian.org/pipermail/nut-upsuser/2005-August/000118.html

Note that APC UPS serial cable part numbers follow a numbering scheme
where the "940-" prefix identifies them as cables.

       940-1000        straight through cable
       940-0103        null modem cable
       940-0020        Basic Signaling Cable (OB and kill power)
       940-0023        Simple Signaling Cable (OB only)
       940-LL24        Smart Signaling Cable
       940-0095        PnP Cable (see Apcupsd manual for diagram)
       940-0119        Simple Signaling Cable (OB and kill power)
       940-0127        RJ45-10P10C to USB Cable
       940-0128        Simple Signaling Cable for Back-UPS CS

"LL" represents the length:

       00      six feet
       NN      NN feet

The suffix letter represents a minor revision in physical design, or a
change of OEM, _not_ a change of wiring or pin-out, and all cables
differing only in this suffix letter are electrically interchangeable.
Note though the following quote from the APC Discussion Forums:  "At one
point there were a small number of revision D cables [940-0024D] that
had some shielding issues from the manufacturer that could maybe cause
[...] [spontaneous] self-tests)."


+-----------------------------------------------------------------+
|                                                                 |
|  Black APC 940-0024C Smart Signalling UPS Cable Wiring Diagram  |
|  This information is verified and tested to be 100% correct.    |
|                                                                 |
+-----------------------------------------------------------------+
|                                                                 |
|       DB9M(UPS)            2m Cable          DB9F(Computer)     |
|       ---------            --------          --------------     |
|                                                                 |
|         (SHELL)<---------+----//----+----------------<(SHELL)   |
|                          |          |                           |
|                          -          -                           |
|                         | |        | |                          |
|       CHASSIS 9<--------------//---------------------<5 SG      |
|                         | |        | |                          |
|           TXD 2<--------------//---------------------<2 RXD     |
|                         | |        | |                          |
|           RXD 1<--------------//---------------------<3 TXD     |
|                         | |        | |                          |
|                          -          -             +--<1 DCD     |
|                                                   |             |
|                                                   +--<4 DTR     |
|    NOTES:                                                       |
|    Cable type is shielded 28AWG.                  +--<7 RTS     |
|    The DB shells are connected                    |             |
|    to each other via the shield.                  +--<8 CTS     |
|                                                                 |
+-----------------------------------------------------------------+
|                                                                 |
|    Operation:     The UPS communicates with the Computer via    |
|    ordinary RS-232 serial protocol at 2400-8N1 with software    |
|    flow control. Jumpered pins in the DB9F connector are for    |
|    automatic or PNP cable identification by UPS software.       |
|                                                                 |
+-----------------------------------------------------------------+
|                                                                 |
|                           Male (pins)        Female (holes)     |
|   DB9 RS-232  PC                                                |
|   type connector          1         5         5         1       |
|  ----------------       _______________     _______________     |
|  Pinout numbering       \  . . . . .  /     \  o o o o o  /     |
|  looking into the        \  . . . .  /       \  o o o o  /      |
|  end of the cable         -----------         -----------       |
|                             6     9             9     6         |
|                                                                 |
|  NOTE: Solder a wire to the metal shell for use as a FRAME-GND  |
|                                                                 |
+-----------------------------------------------------------------+



+-----------------------------------------------------------------+
|                                                                 |
|  Gray APC 940-0020B Simple Signalling UPS Cable Wiring Diagram  |
|  This information is verified and tested to be 100% correct.    |
|                                                                 |
+-----------------------------------------------------------------+
|                                                                 |
|      DB9M(UPS)          2m Cable             DB9F(Computer)     |
|      ---------          --------             --------------     |
|                                                                 |
|        (SHELL)<-------+----//----+-------------------<(SHELL)   |
|                       |          |                              |
|      CHASSIS 9<--+    -          -                              |
|                  |   | |        | |                             |
|       COMMON 4<--+---------//------------------------<5 SG      |
|                      | |        | |                             |
|   POWER-FAIL 2<------------//------------------------<8 CTS     |
|                      | |        | |                             |
|     SHUTDOWN 1<------------//------------------------<4 DTR     |
|                      | |        | |                             |
|  BATTERY-LOW 5<------------//--------47K--+--47K--+--<7 RTS     |
|                      | |        | |       |       |             |
|                       -          -        |    E  |             |
|    NOTES:                                 |B  |<--+             |
|    RTS must be held at +V SPACE.          +---|                 |
|    TXD must be held at -V MARK.       2N3906  |---+--<1 DCD     |
|    All resistors are 5% 1/8W CF.               C  |             |
|    Cable type is shielded 28AWG.                 4K7            |
|    The DB shells are connected                    |             |
|    to each other via the shield.                  +--<3 TXD     |
|                                                                 |
+-----------------------------------------------------------------+
|                                                                 |
|    Operation:   The UPS communicates with the Computer via      |
|    the RS-232 handshaking lines only, and does not use any      |
|    serial protocol. Upon power fail, the UPS forces CTS to      |
|    -V MARK. When the battery is low, the UPS forces DCD to      |
|    +V SPACE via the transistor. When the Computer forces a      |
|    +V SPACE on DTR, the UPS will shut down and turn off.        |
|    Presence of the cable can be sensed by signaling on TXD      |
|    while monitoring DCD.                                        |
|                                                                 |
+-----------------------------------------------------------------+
|                                                                 |
|                           Male (pins)        Female (holes)     |
|   DB9 RS-232  PC                                                |
|   type connector          1         5         5         1       |
|  ----------------       _______________     _______________     |
|  Pinout numbering       \  . . . . .  /     \  o o o o o  /     |
|  looking into the        \  . . . .  /       \  o o o o  /      |
|  end of the cable         -----------         -----------       |
|                             6     9             9     6         |
|                                                                 |
|  NOTE: Solder a wire to the metal shell for use as a FRAME-GND  |
|                                                                 |
+-----------------------------------------------------------------+



+-----------------------------------------------------------------+
|                                                                 |
|  Gray APC 940-0095A Smart Signalling UPS Cable Wiring Diagram   |
|  This information is verified and tested to be 100% correct.    |
|                                                                 |
+-----------------------------------------------------------------+
|                                                                 |
|      DB9M(UPS)          2m Cable              DB9F(Computer)    |
|      ---------          --------              --------------    |
|                                                                 |
|        (SHELL)<-------+----//----+--------------------<(SHELL)  |
|                       |          |                              |
|      CHASSIS 9<--+    -          -                              |
|                  |   | |        | |                             |
|       COMMON 4<--+---------//-------------------------<5 SG     |
|                      | |        | |                             |
|  BATTERY-LOW 5<------------//--------47K--+--47K--+---<4 DTR    |
|                      | |        | |       |       |             |
|                                           |       +---<6 DSR    |
|                      | |        | |       |    E  |             |
|   NOTES:                                  |B  |<--+---<8 CTS    |
|   DTR must be held at +V SPACE. | |       +---|                 |
|   TXD must be held at -V MARK.         2N3906 |---+---<1 DCD    |
|   All resistors are 5% 1/8W CF. | |            C  |             |
|   Cable type is shielded 28AWG.                  4K7            |
|   The DB shells are connected   | |               |             |
|   to each other via the shield.        +----4K7---+---<3 TXD    |
|                      | |        | |    |                        |
|                                        |                        |
|                      | |        | |    |   1N4148               |
|     SHUTDOWN 1<------------//----------+----|<|-------<7 RTS    |
|                      | |        | |        K   A                |
|   POWER-FAIL 2<------------//---------------------+---<2 RXD    |
|                      | |        | |               |             |
|                       -          -                +---<9 RI     |
|                                                                 |
+-----------------------------------------------------------------+
|                                                                 |
|    Operation:   The UPS can communicate with the Computer       |
|    solely via the RS-232 handshaking lines, or via RS-232       |
|    serial protocol at 2400-8N1 with software flow control.      |
|    Upon power fail, the UPS forces RI to -V MARK. When the      |
|    battery is low, the UPS forces DCD to +V SPACE via the       |
|    transistor. When the Computer forces a +V SPACE on RTS,      |
|    the UPS will shut down and turn off. Jumpered pins in        |
|    the DB9F connector allow for automatic automatic or PNP      |
|    cable identification by UPS software.                        |
|                                                                 |
+-----------------------------------------------------------------+
|                                                                 |
|                           Male (pins)        Female (holes)     |
|   DB9 RS-232  PC                                                |
|   type connector          1         5         5         1       |
|  ----------------       _______________     _______________     |
|  Pinout numbering       \  . . . . .  /     \  o o o o o  /     |
|  looking into the        \  . . . .  /       \  o o o o  /      |
|  end of the cable         -----------         -----------       |
|                             6     9             9     6         |
|                                                                 |
|  NOTE: Solder a wire to the metal shell for use as a FRAME-GND  |
|                                                                 |
+-----------------------------------------------------------------+



+-----------------------------------------------------------------+
|                                                                 |
|  APC 940-1000 Straight Through cable                            |
|  Universal APC serial extension cable for use in conjunction    |
|  with an APC UPS cable. This cable is verified to work.         |
|                                                                 |
+-----------------------------------------------------------------+
|                                                                 |
|  DB9M to UPS cable     Shielded Cable       DB9F to Computer    |
|  -----------------     --- 28AWG ----       ----------------    |
|                                                                 |
|    (SHELL)<----+-------------//-------------+----<(SHELL)       |
|                |                            |                   |
|                -                            -                   |
|               | |                          | |                  |
|          1<------------------//------------------<1 DCD         |
|               | |                          | |                  |
|          2<------------------//------------------<2 RXD         |
|               | |                          | |                  |
|          3<------------------//------------------<3 TXD         |
|               | |                          | |                  |
|          4<------------------//------------------<4 DTR         |
|               | |                          | |                  |
|          5<------------------//------------------<5 SG          |
|               | |                          | |                  |
|          6<------------------//------------------<6 DSR         |
|               | |                          | |                  |
|          7<------------------//------------------<7 RTS         |
|               | |                          | |                  |
|          8<------------------//------------------<8 CTS         |
|               | |                          | |                  |
|          9<------------------//------------------<9 RI          |
|               | |                          | |                  |
|                -                            -                   |
| NOTE: The DB shells are connected to each other via the shield. |
|                                                                 |
+-----------------------------------------------------------------+
|                                                                 |
|                           Male (pins)        Female (holes)     |
|   DB9 RS-232  PC                                                |
|   type connector          1         5         5         1       |
|  ----------------       _______________     _______________     |
|  Pinout numbering       \  . . . . .  /     \  o o o o o  /     |
|  looking into the        \  . . . .  /       \  o o o o  /      |
|  end of the cable         -----------         -----------       |
|                             6     9             9     6         |
|                                                                 |
|  NOTE: Solder a wire to the metal shell for use as a FRAME-GND  |
|                                                                 |
+-----------------------------------------------------------------+