Article View: comp.sys.misc
Article #520Re: Null modem line
From: D'Arcy J.M. Cain
Date: Fri, 09 Oct 1992 11:56
Date: Fri, 09 Oct 1992 11:56
85 lines
3294 bytes
3294 bytes
jmorton@cayley.uwaterloo.ca (John Morton) writes:
>I am trying to make a long null modem line.(30+ feet) I know that there
That's not so long. That's even shorter than the specification maximum
and no one pays any attention to that. :-)
>Computer 1 Computer 2
> Pin Pin
> 2 ---------------- 3
> 3 ---------------- 2
> 4&5 -------------- 8
> 7 ---------------- 7
> 8 -------------- 4&5
Actually an NMC is rather loosley defined but in general it means:
Computer 1 Computer 2
Pin Pin
1 ---------------- 1 (Often omitted)
2 ---------------- 3
3 ---------------- 2
4 ---------------- 5
5 ---------------- 4
6 ---------------- 20
7 ---------------- 7
8 ---------------- 8
20 ---------------- 6
From this you have to decide what your system needs. For example pins 1 and
7 are both ground and generally connect internally and pin 1 is often left
off if there is a shortage of wires. 2 and 3 is for data and are generally
required but in **very** rare cases only one may be required. Note that
even if data is one way, for example on a printer, you may still need the
back channel for XON/XOFF handshaking. 4 and 5 are used for handshaking.
If one device requires this but the other doesn't support it you can tie
these lines together like this:
...
3 --------------- 2
4 ----- ----- 5
| |
5 ----- ----- 4
6 --------------- 20
...
If one side requires CD and the other supplies it at appropriate times you
should include pin 8. If it isn't supplied you can share the input from
pin 20 with pin 6. Here are 2 "classic" NMCs, a 5 and a 6 wire one:
Computer 1 Computer 2
Pin Pin
2 ---------------- 3
3 ---------------- 2
4 ----- ------ 5
| |
5 ----- ------ 4
7 ---------------- 7
6 ---------------- 20
|
8 --- --- 8
|
20 ---------------- 6
Computer 1 Computer 2
Pin Pin
2 ---------------- 3
3 ---------------- 2
4 ----- ------ 5
| |
5 ----- ------ 4
7 ---------------- 7
6 ---------------- 20
8 ---------------- 8
20 ---------------- 6
>Is this correct? Do I need more connections? Is it just my
>saudering(sp, I know) job? Should I shield the cable? If so how?
Soldering. The answers to these questions depend on the particular devices
you are connecting. Welcome to the world of serial communications.
--
D'Arcy J.M. Cain (darcy@druid.com) |
D'Arcy Cain Consulting | There's no government
Toronto, Ontario, Canada | like no government!
+1 416 424 2871 DoD#0082 |
Technical Details
Message-ID:
<1992Oct9.115630.16095@druid.uucp>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!wupost!cs.utexas.edu!torn!utgpu!attcan!telly!druid!darcyReferences:
<BvGL5q.H04@undergrad.math.waterloo.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!wupost!cs.utexas.edu!torn!utgpu!attcan!telly!druid!darcy From: darcy@druid.uucp (D'Arcy J.M. Cain) Newsgroups: comp.sys.misc Subject: Re: Null modem line Keywords: help Message-ID: <1992Oct9.115630.16095@druid.uucp> Date: 9 Oct 92 11:56:30 GMT References: <BvGL5q.H04@undergrad.math.waterloo.edu> Organization: D'Arcy Cain Consulting Lines: 85