Converting AB PLC DH485 to USB
Converting AB PLC DH485 to RS232 and then to USB can be tricky.
This is a sample of the kind of information on our PLC Cables and Drivers Training Video DVD ...
Connecting RS485 (DH485) from PLC to RS232 (9 pin port) on PC (laptop) can be simple as having the correct cable. But the evolution of computers has made the conversion not quite so simple now days. Most computers (laptops) now days do not have a 9 pin RS232 serial port, but utilize USB ports.
As shown in the video about Allen Bradley PLC Cables (AB Demo on YouTube), you can not use the AB PIC box (RS485 to RS232 converter cable) with a USB to RS232 converter cable. You must get a single cable designed to convert RS485 to USB. As there are electronics involved, it is not just straight wiring. Then with some PLC vendors, they might slightly modify the protocol so you have to buy the RS485 to USB converter directly from the PLC vendor. Like AB uses what they call "DH485" and sells a 1747-UIC converter to do the job with one cable.
You can also use a RS232 port replicator (plugs into your PCMCIA slot instead of using a USB to RS232 converter cable). The port replicator creates a com 1 as if it is the original laptop comport, in contrast to the USB to RS232 converter which randomly picks a com port number (except com 1), like com 13 for example. You still con not use the port replicator with a PIC box (RS232 to RS485 converter), but it is easier to use with serial null modem cable than a USB to RS232 converting cable because the PLC communication software (like RSLinx) also defaults to com 1.
To find out what com port your USB to RS232 cable driver decided to use, you need to view [Device Manager] - To open Device Manager, click Start, point to Settings, and then click Control Panel. Double-click System. On the Hardware tab, click Device Manager. scroll down to "Ports" one in the list will be your USB to RS232 driver and you will see com port number to the right of it. Then you can go to RSLinx or what ever your PLC communication software is, and set com port accordingly for RS232 driver in RSLinx.
When using a USB to RS232 converter cable with the PLC vendor's RS485 to RS232 cable, like the AB PLC cable, you not only have the electronics, com 1 dependency; but also driver for the USB converter cable, drivers for the RS485 cable and drivers for the PLC software like RSLinx.
All the drivers, software and hardware leave a lot of room for conflicts, incompatibility and headaches. So save your self some headaches and use a PCMCIA com port replicator instead of a USB to RS232 converter cable.
On a side note: It has been indicated by experts in the field that a RS232 to RS485 converter does not work with a USB to RS232 converter cable because of the power requirements of the electronics in the RS485 converter and the communication speed requirements of the RS485 converter. It has been rumored that a Belkin USB to RS232 converter will work, but at this time we have not prove this. We stick with the non-OEM replacement for the 1747-PIC box, provided by www.plccable.com or the Allen Bradley 1747-UIC specifically made to convert USB to RS484.
Purchase Full Copy of AB PLC Cables - Drivers Video DVD
PLC Training Video Library (10 DVD Set w/ workbook)
PLC Technicians Dream bundle (Training software)
Electrical Training Video Library (10 DVD Set w/ workbook)