Newsgroup: it.comp.hardware
Titolo: APC Back-UPS 650 e cavo seriale!

Ho da poco acquistato un gruppo di continuitą APC Back-UPS 650 ed ho subito
scaricato da sito l'utility PowerChute plus v5.0.2 per Windows 9x.
Volevo chiedervi che tipo di cavo seriale acquistare o realizzarmi perchč
sul manuale di installazione mi sembra che si parli di un cavo seriale
proprietario (con dei particolari collegamenti) per abilitare tutte le
funzioni di comunicazione!
Grazie per le Vostre risposte
---------------------------------------------------------------
by Crisha
ICQ 34817404
cris...@itol.it

chiedi informazioni al numero verde.
Al numero verde mi hanno confermato che si tratta di un cavo proprietario e
mi hanno detto anche del suo costo che mi sembra insostenibile per un comune
mortale: 75.000 + spese di spedizione.
Penso infatti di costruirmelo da solo se riesco a trovare qualche bun anima
che mi suggerisca la combinazione tra i 9 pin dem maschio e della femmina.

che mi suggerisca la combinazione tra i 9 pin dem maschio e della femmina.
/* apcd.h - Definitons file for APC SmartUPS daemon
 */
/*
 * A few words regarding the APC serial protocol
 *
 * Firstly, the cable:
 *
 * You will need a simple 3 wires cable connected as follows:
 *
 * PC (9 pin)     APC
 *  2 RxD          2
 *  3 TxD          1
 *  5 GND          9
 *
 * Communication protocol which is used for controlling the APC
SmartUPS
 * is very simple ASCII protocol.
 * The serial communication is 2400 Bd, 8N1
 *
 * Basically, your computer send a character to the UPS and UPS answer
 * with the requested information in the form of the ASCII string
terminated
 * with CR/LF.
 * In some cases, the UPS answer is the action like battery test etc.
 *
 * There are two exceptions. If the UPS is switching to the battery,
the
 * characters "!!" are sent to the computer. If the UPS is switching
back
 * on-line, the charater '$' is sent to the computer. If battery is
low,
 * '%' is sent to the computer. When battery is recharged to more than
15%,
 * '+' is sent to the computer.
 *
 * The protocol description is not based on informations obtained from
APC.
 * I tried to analyse the protocol on RS-232 port, so my description
 * is not complete.
 *
 * Command are:
 *
 * SEND   ANSWER
 *
 * f   Battery status in %   100 = fully loaded
 * N   Line minimum voltage (V)
 * M   Line maximum voltage (V)
 * Q   Status byte 8 bits long.
 *                              - 08  On-line LED ON
 *                              - 10  On Battery LED ON
 *                              - 18  Both LEDs ON
 *                              - 02  UPS in shut down state, waiting
for AC 
 *
 *                              0 - If 1, UPS is in calibration
 *                              1 - If 1, UPS is sleeping
 *                              2 -
 *                              3 - If 1, AC is here
 *                              4 - If 1, UPS is running on battery
 *                              5 -
 *                              6 - If 1, Battery is low
 *                              7 -
 *
 *
 * P   UPS load (VA)
 * F   Line frequency (Hz)
 * L   Line voltage (V)
 * O   Output voltage (V)
 * C   Inside temperature (Celsius degrees)
 * B   Battery voltage
 *
 *
 * Some signals for UPS control
 *
 *      Y                       Attention
 * W   Switch on battery
 * X   Switch back on-line
 * A   Lights test
 * U   Power failure test
 * c   UPS identification ???
 *
 * One very special signal
 *
 * Z ~1500ms pause Z Switch off the UPS completely and imediately
 *
 *
 * Special thanks to Kevin D. Smolkowski (
kev...@tigger.oslc.org
)
 *  who observed other control codes
 *
 *      D                       Runtime calibration   ON/OFF
 *      V                       Firmware revison
 *      c                       UPS Identification
 *      k                       UPS Warning (Power Fail, Power Fail +
30, Low Battery, OFF
 *      l                       Low transfer point
 *      m                       Manufacture date
 *      n                       UPS serial number
 *      o                       Nominal UPS output
 *      p                       UPS turn off delay "020" "180" "300"
"600" Cycles
 *      q                       Low battery signal time "02" "05" "07"
"10" Cycles
 *      r                       Wakeup Delay
 *      s                       Sensitivity "H" "M" "L"
 *      u                       High transfer point
 *      x                       Battery replacement date
 *      y                       Brand "(C) APCC"
 *      7                       Option switch settings (Hex) "0F" "0E"
"0C" "08" "00"
 *
 *      -                       Change prev. settings
 *
 *                              To change UPS name   c - /n newname /n
 *
 *
 * Further codes, not fully tested
 *
 *      S                       Soft shutdown, UPS will go back
on-line when AC is back
 *      @222                    Soft shutdown, UPS will NOT go back
when AC is back
 *      U                       Power failure test
 *      G                       Return 'T' if there was a power
failure
 *                              Return 'S' if there was not a power
failure
 *                              UPS Test will reset the value to the
'S'
 *      K 1500ms pause K        Switch off UPS completely after delay
 *
 */

che mi suggerisca la combinazione tra i 9 pin dem maschio e della femmina.
Di cavi APC ne esistono diversi, dipende dal modello.
www.apcc.com/support/faq.cfm
Il cavo per il tuo dovrebbe essere il 940-0020 che non ho a portata di
mano (compro solo Smart con cavo 940-0024), ma non dovrei avere
difficolta' a procurarmene uno.
mp
If you are having difficulty getting your American Power Conversion
(APC) uninterruptable power supply (UPS) system to work with Windows
NT, it may be due to the serial cable you are using. The following
information applies to APC Back-Ups models 250, 400, 450, 600, 900,
and 1250.
 
Make sure the following pins are connected:
 
   DB9 9-Pin Female Connector              DB9 9-Pin Male Connector
      (to PC serial port)                    (to UPS connector)
   ----------------------------------------------------------------
      Pin #5----------Ground------------------Pin #4
      Pin #8----------Power Failure-----------Pin #2
      Pin #4----------UPS Shutdown------------Pin #1
      Pin #1----------Low Battery---------Pin #5--[10k ohm]--Pin #8

che mi suggerisca la combinazione tra i 9 pin dem maschio e della femmina.
Aggiungiamo anche questi e non se ne parla piu'.
Scusate per la trasmissione a singhiozzi, sto facendo altro e tra una
pausa e l'altra, invece di fumarmi una sigaretta (ho smesso...sic)
posto messaggi, ma non e' la stessa cosa....
http://www.exploits.org/~rkroll/ups.html
http://www.wsrcc.com/wolfgang/ups/
http://www.pop-uc.rcts.pt/mirrors/UPS/smupsd.html#toc1
mp

 - Tue, 19 Oct 1999 23:19:46 +0200:
