Solved

DB9 RS 232 Pinouts and how to make up  a usb to DB9 serial cable

Posted on 2016-09-12
3
83 Views
Last Modified: 2016-09-20
I have a factory machine with a digital motor on it.  In order to configure it I need to connect via the DB9 Serial interface  that is attached to the drive. The documentation that came with the drive displays the pin assignments in a manner that  I am not familiar with.  I am also not sure how to make up a male usb to male  DB9 cable.

Pin assignments

Pin 1 -        IN 1+
Pin 2-         IN 2+
Pin 3-         OUT 1-, OUT 2-
Pin 4-         OUT 1+
Pin 5-         OUT 2+
Pin 6-         IN 1-
Pin 7-         IN 2-
Pin 8-         OUT 1-, OUT 2-
Pin 9-         OUT 1-, OUT 2-

I would appreciate any advice that I can get.

Thanks
0
Comment
Question by:rabpwh1000
3 Comments
 
LVL 90

Expert Comment

by:John Hurst
Comment Utility
Making the USB plug manually is not normally done (very picky). Standard USB Male to DB9 Male are readily available in most any electronics store.

Check Staples, Best Buy, Tiger Direct, Amazon or like and purchase the cable you need. They are very inexpensive.
0
 
LVL 35

Expert Comment

by:Kimputer
Comment Utility
For serial to USB, you don't go soldering things yourself, you'll blow up the system. Just buy a proper Serial>USB converter. A bigger name is: https://www.startech.com/eu/Cards-Adapters/Serial-Cards-Adapters/USB-to-RS232-Serial-Adapter-Cable~ICUSB232V2

There are electronics involved, it's not a 1 on 1 pin layout.
0
 
LVL 20

Accepted Solution

by:
CompProbSolv earned 500 total points
Comment Utility
Those pin assignments seem rather odd.  Does the manufacturer claim that it is RS-232 or are you assuming that from the connector type?

If it truly is RS-232 and you don't have such an interface on your computer, there are two options.  Kimputer suggested the first one, a USB-Serial cable/adapter.  If you go that route, make sure that there are software drivers for your version of Windows.  I believe that there were issues with some chips used in those adapters when trying to run on Windows 8 or 10.

Depending on how the software communicates with the serial port, the adapter cable may not work.  If it uses Windows for the communication (more "modern" method) then there should be no problem.  If it tries to talk to the hardware at a lower level (older methods) then the adapter cable may not work.

An alternative is to add a physical serial port to the system with a card such as: https://www.amazon.com/StarTech-com-Native-Express-Adapter-PEX1S952/dp/B001H3CW64/ref=sr_1_3?ie=UTF8&qid=1473699274&sr=8-3&keywords=pci+express+serial+port+card .  There are many others from which to choose, this is just one example.

If you go with the card, make sure that it is appropriate for the expansion bus in the computer (this one is PCI-e), that it supports your version of Windows, and is the proper height (full-height or low-profile).

The card should be more likely to work with your software, but it will be more expensive and difficult to install as you'll have to open up the computer.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now