Question about Serial communication (RS422 standard) and conversion

AI Thread Summary
The discussion centers on the RS422 standard and its advantages over RS232 for high data rate transmission, particularly in the context of using a LIDAR device. The user seeks clarification on whether using an RS422 to RS232 converter would limit the baud rate to that of the RS232 port on their computer. It is noted that RS422 offers better noise rejection and is more suitable for faster data rates due to its differential signaling. Recommendations include considering an RS422 PCI card or a USB to RS422 interface to avoid the limitations of RS232. The user also inquires about potential code modifications in LabView when transitioning from RS232 to RS422, with indications that LabView may already support RS422 configurations, potentially minimizing the need for extensive recoding. Overall, the focus is on achieving the highest possible baud rate while ensuring compatibility with existing systems.
BigSteve
Messages
18
Reaction score
0
This is my first post.
I am an aerospace engineer so these very technical computer questions still elude me.

My question is mostly about RS422 standard.
I have a piece of equipment (LIDAR) that is able to transmit data via a 9 pin serial port. If you put a jumper across two of the pins it knows to transmit as RS422, otherwise it transmits RS232. I make all the cables myself, so that is no problem.
The reason that RS422 is better for my application is that is transmits at a much higher data rate than i can get from 232. I don't care about cable length because my cables are only a few feet long.
My computer has a 9 pin serial port that can send and receive data as RS232. I have multiple USB2 ports as well as a PC Card slot.
I have been researching RS422 converters, and this is where my question comes in. If I use a 422 to 232 converter, am I still limited in the BAUD rate of the 232 port on my computer?
Which RS422 converter types would provide me with the fastest BAUD rate possible? Which would impede the data rate the least? 232, USB, or PC card.

One other question that is a little more obscure. I have programmed a device driver in LabView that uses the LIDAR as one of its devices. Will I have to completely re-code the Tx and Rx parts of the code if I use a 232 to 422 converter, or will the converter take care of that for me?

Thanks
 
Computer science news on Phys.org
Welcome to PhysicsForums, BigSteve!

You may be able to chop up this knot by buying an RS-422 PCI card, or at least a RS-422 to USB interface card, thus avoiding the need to go back to RS-232. When I was with a robotics project, we used the USB-COMi from these guys:
http://www.easysync.co.uk/

It was built around FTDI's USB-serial conversion chips (one of them plus probably a MAX485), so you may be able to find one that doesn't have to ship in from England (though to be fair, it worked really well--at least under Linux, and with the really good CS guys we had working on it). After a little bit of Googling, these guys seem to sell the exact same thing:
http://www.byterunner.com/byterunne...+RS-422,+RS-485+Serial+Adapters+(Single+Port)

One of the big differences between RS-422 and RS-232 is that in RS-422, there's differential signaling (half the signal on one pin, half on the other), giving it better noise rejection, and making it much more suitable for long-haul transmission (few hundred feet, if I recall correctly) at much faster data rates.

If LabView has the SICK built-in (I assume it's the SICK), then it should have something to handle the RS-422 side of things (probably a configuration option somewhere). Which actually should give you the fastest possible BAUD rate (I seem to recall that, at least in Windows XP, the serial port was restricted to about 125 kbps)
 
Thanks man.
I wanted to use USB but I thought it might bottle neck the higher data rate.
So,I'll definitely look into the product you suggested.
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Sorry if 'Profile Badge' is not the correct term. I have an MS 365 subscription and I've noticed on my Word documents the small circle with my initials in it is sometimes different in colour document to document (it's the circle at the top right of the doc, that, when you hover over it it tells you you're signed in; if you click on it you get a bit more info). Last night I had four docs with a red circle, one with blue. When I closed the blue and opened it again it was red. Today I have 3...
Back
Top