Stránka 1 z 1
Komunikační kabel pro APC
Napsal: pon 12. pro 2011, 01:59
od Vodny
Zdravim.
Pořídil jsem si na UPS APC smart SC 620 230V a rád bych zřídil komunikaci mez UPS a PC. Problém je v tom, že nemám komunikační kabel DB9 RS232 nebo jak to je a nový od APC stojí 600+!! což rozhodně nedám. Nemáte někdo nějaký tip na vlastní výrobu? nebo alespoň schéma zapojení toho jejich kabelu? Normální sériák tam prý nefunguje.
Věřím, že nejsem jediný kdo to řeší, tak pokud je tu někdo s KNOW HOW, nechť se pochlubí:-)
Re: Komunikační kabel pro APC
Napsal: pon 12. pro 2011, 02:14
od Vodny
Tak si odpovím sám. Snad to ještě někomu pomůže.
http://www.redhawk.org/index.php?option ... 9&Itemid=9
http://www.vologda.ru/~slivin/doc/apcup ... smart.html
Kód: Vybrat vše
Cables
First, you will need a serial port cable between the APC UPS and your computer running apcupsd. You can use either the cable that came with your UPS (the easiest if we support it) or you can make your own cable. We recommend that you obtain a supported cable directly from APC.
If you already have an APC cable, you can determine what kind it is by examining the flat sides of the two connectors where you will find the cable number embossed into the plastic. It is generally on one side of the male connector.
To make your own cable, first, you must know whether you have a Smart UPS that sends ASCII characters called Smart Signaling, or a "dumb" UPS that uses serial port line voltage signaling, called Simple Signaling.
The "dumb" UPSes are older models such as the BackUPS (not BackUPS Pro) and the ShareUPS Basic Port that use Simple Signaling. Most other UPSes use Smart Signaling. If in doubt consult the Configuration Section of this manual, or the documentation that came with your UPS.
Smart Signaling Cable for SmartUPSes
If you must build your own cable, and you have a Smart UPS, we recommend building the cable as follows:
SMART-CUSTOM CABLE
Signal Computer UPS
DB9F DB9M
RxD 2 -------------------- 2 TxD Send
TxD 3 -------------------- 1 RxD Receive
GND 5 -------------------- 9 Ground
Simple Signaling Cable for "dumb" UPSes
For "dumb" UPSes using Simple Signaling, if you are going to build your own cable, we recommend to do so as follows:
SIMPLE-CUSTOM CABLE
Signal Computer UPS
DB9F 4.7K ohm DB9M
DTR 4 --[####]--* DTR set to +5V by Apcupsd
|
CTS 8 ----------*--------- 5 Low Battery
GND 5 -------------------- 4 Ground
DCD 1 -------------------- 2 On Battery
RTS 7 -------------------- 1 Kill UPS Power
List of components one needs to make the Simple cable:
One (1) male DB9 connector, use solder type connector only.
One (1) female DB9/25F connector, use solder type connector only.
One (1) 4.7K ohm 1/4 watt 5% resistor.
resin core solder.
three (3) to five (5) feet of 22AWG multi-stranded four or more conductor cable.
- Solder the resistor into pin 4 of the female DB9 connector.
Re: Komunikační kabel pro APC
Napsal: úte 20. pro 2011, 23:18
od Vodny
Chci zde jen potvrdit, že zapojení kablelů viz nahoře je funkční. Připojil jsem SMART-UPS 620 skrz upravenej obyčejnej sériák za 45,- místo originálu za Xstovek.
Re: Komunikační kabel pro APC
Napsal: pát 6. led 2012, 05:54
od Behemot
To je klasika RS232 na RJ-12, ne? Proč tolik humbuku kolem?
Re: Komunikační kabel pro APC
Napsal: pát 6. led 2012, 13:31
od Vodny
Však já kvůli tomu nedělám takový humbuk. Jen mě napadlo, že by se to mohlo někomu hodit. Nic víc
A vlastně není to RS232 na RJ 12
Je to úprava RS232 za 45,- na místo zakoupování originálního kabelu od APS za x stovek. Ten kabel služí ke komunikace PC <-> UPS.
RS232 (F) na RS232 (M)
Re: Komunikační kabel pro APC
Napsal: pát 6. led 2012, 13:43
od Behemot
Vidím. Tím líp že to je jen změna za samce, naše PDU mají RJ-12, k tomu budu muset jednou pořešit prodlužovačku

Re: Komunikační kabel pro APC
Napsal: pát 6. led 2012, 14:31
od Vodny
Neni to změna na samce. Je to tak v originále jen jsou jinak zapojené piny.
Starší Smart-UPS mají RS na RS na jedne straně M na druhe F
http://www.czechcomputer.cz/product.jsp?artno=20428
Re: Komunikační kabel pro APC
Napsal: pát 6. led 2012, 14:38
od Behemot
Tak to je ještě jednodušší…