Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1514
  • Last Modified:

How does RS-422 work?

Suppose I have two computers connected using an RS-422 line.

Computer #1 sends three separate messages before Computer #2 reads any message.

Can Computer #2 still read all three messages or are some of them lost?


In other words, does RS-422 use buffering?

If messages are lost, how can I avoid this? Using "Ready to Send" and "Clear to Send" lines?
0
rfr1tz
Asked:
rfr1tz
  • 2
  • 2
4 Solutions
 
scrathcyboyCommented:
The specification itself does not imply buffering or include buffering, it is just a fast serial specification -
http://en.wikipedia.org/wiki/RS-422

However, it is possible to buffer the input and output on the specification, as the following examples indicate --

www.aeroflex.com/products/commtest/ber/productinfo/Parallel_Pods_Promo_030800.pdf
www.acttechnico.com/TVME322_Spec.pdf
www.bb-elec.com/sitemap.asp
www.rs485.com/psoftware.html

Note the last is a buffered driver for ethernet input/output, its speed is comparable to 10 base T.
0
 
grsteedCommented:
RS-422 uses a pair of wires for each signal (TX and RX) using a differential arrangement. That is when the signal on one wire is going positive (to indicate a mark or 1) the other wire is going negative. This allows the receivers to cancel out any noise that was picked up on the line since noise would show up as a positive or negative pulse in both wires of the pair.  It can operate on a minimus of 5 wires. ( 2-TX, 2-RX and a ground)

As opposed to RS-232 which can operate on  3 wires (1-TX, 1-RX, and a ground)  The signal levels are the same as RS-232 (+/-12V)

Cheers,
Gary
0
 
pgm554Commented:
The buffering is done through the UART (either an 8250 or a 16550)
If you are sending serially, this is handled by the protocol.(Xmodem,Zmodem,etc)

Check this out:

http://cristal.inria.fr/~doligez/zmodem/
0
 
grsteedCommented:
I guess I should have read the part about buffering.  LOL
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now