What is it about some applications that require a physical COM port?

strantor

Member
Join Date
Sep 2010
Location
katy tx
Posts
401
In the distant past I was involved in troubleshooting a wide array of PLCs from all MFGs, ranging from brand new to fossilized. I remember there were some PLCs (esp older Allen Bradley if I remember correctly) that you could not connect to them via a USB->Serial converter; had to be a physical COM port.

For the past 4 years I have been dealing with nothing but brand-new Omron PLCs which are interfaced with using a straight USB cable. Now I'm getting back into my old line of work and looking to purchase a new laptop for that purpose. I'm looking for a brand new laptop with a physical COM port and apparently that's a unicorn.

So it makes me wonder exactly what is it about some applications that require a physical COM port? Is the software doing some kind of strange thing with the pin voltages that only a physical port can do?

And 2 related questions:
1. Are there any brand-new laptops today, with a physical COM port?
2. Have there been any USB-Serial converters to come out in the last few years which can replace a physical COM port in every way, and interface with these old PLCs?
 
The pre-NT/2000/XP/7/10 O/S's, that is DOS/3/95/98, controlled the serial COM ports differently than the later MS O/S's. I'm straining to remember details and I'm coming up blank. NT might have been a grey area, I can't recall.

The effect was that software apps using serial com ports designed for DOS/3/95/98 would not work in the NT-forward O/S's.

I do know that I've had excellent performance from USB/232 converters that use the FTDI chipset in XP and 7. But I rarely, if ever, deal with DOS/3/95/98 era stuff.
 
Get one of these:
https://www.plccable.com/usb-to-rs232-plc-programming-cable-special-plctalk-net/

You might run into a rare case where the above cable won't work but all of the hardware I have dealt with so far has worked with it.

I can also recommend this kit for most all A/B PLCs:
https://www.plccable.com/allen-bradley-1747-uic-usb-1747-cp3-1761-cbl-pm02-1756-cp3-programming-set/

It includes a DH-485 cable and cables/adapters for the Micrologix round 8 pin connector.

I have used the DH485 cable with old Panelviews and the SLC 5/03 with no problems.

I can't answer in good detail your specific questions about the real serial port except that I understand it to be an issue with timing, not voltages.
 
The pre-NT/2000/XP/7/10 O/S's, that is DOS/3/95/98, controlled the serial COM ports differently than the later MS O/S's. I'm straining to remember details and I'm coming up blank. NT might have been a grey area, I can't recall.

The effect was that software apps using serial com ports designed for DOS/3/95/98 would not work in the NT-forward O/S's.

I do know that I've had excellent performance from USB/232 converters that use the FTDI chipset in XP and 7. But I rarely, if ever, deal with DOS/3/95/98 era stuff.

I never used DOS for PLC programming, whatever the issues I was experiencing in the past (which I also strain to remember, exactly what the issues were) I was using WIN7 and/or XP.
 
you'll probably have to build the laptop look for motherboards with rs232 ports if you want one with a built in RS232 port :
https://www.directron.com/efika.htm...MIw6W0mOiv2AIVSrjACh0hQwgwEAQYBCABEgJmUvD_BwE these motherboard types are still available although considered legacy,

it may be that these controllers had more than just RS232 on that port if it had 422 and you were to pass a signal there it would stop comms, I would look at the programming cable pinout and the pinout of the controller to make sure
 
Get one of these:
https://www.plccable.com/usb-to-rs232-plc-programming-cable-special-plctalk-net/

You might run into a rare case where the above cable won't work but all of the hardware I have dealt with so far has worked with it.

I can also recommend this kit for most all A/B PLCs:
https://www.plccable.com/allen-bradley-1747-uic-usb-1747-cp3-1761-cbl-pm02-1756-cp3-programming-set/

It includes a DH-485 cable and cables/adapters for the Micrologix round 8 pin connector.

I have used the DH485 cable with old Panelviews and the SLC 5/03 with no problems.

I can't answer in good detail your specific questions about the real serial port except that I understand it to be an issue with timing, not voltages.

Thanks for the links. Those looked familiar so I pulled out my old funbag of cables, and I already have that 1747-UIC kit. Still in the box, wrapped in plastic; I don't think I've ever used it. I guess if that specific Allen Bradley need arises, I have that one covered.

I cited one specific (Allen Bradley) scenario where a physical COM port was required, and that one's been crossed off now, but I remember there were more scenarios than just that one. I can't recall what they were though. I want to say there were some old Servo drives that gave me trouble.

I would be happy as a clam if there were some (USB/Ethernet/Other) device that were guaranteed to do be able to do everything a physical COM port can do (Or find a laptop with a COM port), so that I can take that into the field with me and always rest easy that whatever I come across, no matter what it is or if I've ever heard of it before, I will be able to talk to it.
 
you'll probably have to build the laptop look for motherboards with rs232 ports if you want one with a built in RS232 port :
https://www.directron.com/efika.htm...MIw6W0mOiv2AIVSrjACh0hQwgwEAQYBCABEgJmUvD_BwE these motherboard types are still available although considered legacy,

it may be that these controllers had more than just RS232 on that port if it had 422 and you were to pass a signal there it would stop comms, I would look at the programming cable pinout and the pinout of the controller to make sure

To be honest I didn't even know that you could build your own laptop. I've built plenty of desktops but my laptop hardware experience has been limited to upgrading RAM, replacing HDD, and replacing cracked screens. I'll look into it. Thanks for the tip.
 
I recall that in DOS (Win 3x, 95, 98, ME), you could manipulate the hardware directly rather than us MS's device driver... Therefore some did, and caused the issue you are running into. In DOS, you had to 'roll your own driver', so you are pretty much SOL to run it through a USB converter.

I know I had a few old Win 3x programs that ran OK through my Keyspan converter on XP, but I haven't tried them yet since switching to Win 10 (which sucks). Not sure about 7 or 8, since I skipped them.
 
I use the 1747-UIC every once in a while with no issues.

Have used the keyspan USA-19HS USB to serial converter for many years with no issues.
Only one I use because it has worked so well for me.
https://www.tripplite.com/keyspan-high-speed-usb-to-serial-adapter~USA19HS/


FYI running Windows 7 Professional


I also have a Keyspan USA-19HS and it works well with all but one device I have ever tried it with.

I have begun to prefer the one from PLCCable simply for mechanical reasons. It has a nice long cable and stays where I put it whereas the Keyspan has that USB type A connection that can come loose. The Keyspan does include some handy utilities that I like though.

It is probably a good idea to have more than one brand of converter in your bag. I think I have 4 unique types of USB-RS232 converters.
 
I would be happy as a clam if there were some (USB/Ethernet/Other) device that were guaranteed to do be able to do everything a physical COM port can do (Or find a laptop with a COM port), so that I can take that into the field with me and always rest easy that whatever I come across, no matter what it is or if I've ever heard of it before, I will be able to talk to it.
As Hemingway said, "Isn't it pretty to think so", but I think its a pipe dream.
My client base was not huge and a significant percentage of it was GE gear. Even so, I was never able to consolidate on a single set of components to cover all serial communications needs.
The last laptop I purchased with a serial port is a Dell Latitude running Windows XP. That's my go-to for situations when I know the USB/serial converter won't work. The one in particular is to send a modified configuration to a GE VersaMax Genius network interface module. It's also the one I fire up when I just need to open a Series One or Series Six project using Logicmaster One or Logicmaster Six. Even then I need to run those apps under DOSbox.
When I actually have to connect to a Series One, Series Five or Series Six I have an old DOS computer with a 386 CPU.
The USB/serial converter I used to use with the XP machine came from Radio Shack and it served me well. But they discontinued it and never came out with drivers for Windows 7 so its useless with newer laptops. Fortunately, the converter from Staples has worked with everything I need it to. For those things that are RS485 only the converter from B&B works.
Generally when I leave the office to go to a customer's site, I know what I'll need and bring the necessary laptop, cables, and converters. If I'm not sure, I have serial cables with pigtail leads on one end and D-sub to terminal adapters so I can quickly come up with a custom serial cable.
 
A bit expensive but I would go the serial to Ethernet port server route. I have never had any issues with any serial device. It is also so great that I can drop the port server in a control panel and if there is Ethernet there I can connect anywhere in the plant where it is quite and better working conditions. I have used systech and digi units. You can find them cheap on Ebay used I have bought multiple units and never had a bad one. Another big plus is you can find units that have multiple ports. With the systech units they apply directly to the IQR on the pc. It is looked at as a real serial port in the hardware configuration.
 
USB or ethernet to serial can't get the same tight timing as you can with a standard serial port. It's especially true for application using the control signals on the port (CTS/RTS/DCD etc). I think you can find laptops with serial ports today as well, but you have to look for industrial laptops.

My old laptop had a serial port but I bought that a couple of years ago. Nowadays I just bring a small embedded industrial PC when I need something with a real serial port. It's very common to have that on those.
 
It may not be easy to find a new laptop with a physical COM port, but it is fairly easy to find laptops with the port that will allow you to add a physical COM port. An example would be a laptop with an ExpressCard slot and using one of these:

https://www.startech.com/Cards-Adap...sCard-RS232-Serial-Adapter-16950-UART~EC1S952

That's a good point! I forgot all about that even if I did that myself not that many years ago. I had a smaller card with a special cable that had the 9-pin d-sub on the other end.

Good thing was that you could have the card mounted all the time because it didn't stick out. Bad thing was that you had to make sure to bring the special serial cable.

PS. There is also the possibility to use the mini-pcie port available inside many modern laptops. There are serial mini-pcie cards available. Just more of a hack because you need to figure out how to get the dsub connector out.
 
Last edited:

Similar Topics

Hi, I am having trouble with the comms within FT view SE v11 (premanent license). I created an HMI program a while back which was working just...
Replies
0
Views
923
Good Morning , I've been using FactoryTalk View Studio from time to time , but I really don't understand all the options in FactoryTalk View...
Replies
2
Views
1,076
I apologize in advance for my ignorance. I am supposed to program a vfd for New Zealand at 50hz. Any info would be appreciated. That is the only...
Replies
4
Views
2,559
Has any come across a decent Industrial-Rated Cable Modem used for internet (Docsis 3.x) that they are using in their control panels? I've talked...
Replies
0
Views
809
I used “Apllication Manager” and “Distributed Application Manager”,BUT it didn't work!And my FactoryTalkView Studio sever with “neteork...
Replies
4
Views
5,955
Back
Top Bottom