Model T Serial Cable: Difference between revisions
Line 46: | Line 46: | ||
:This "HP PLotter" cable is bizarre. | :This "HP PLotter" cable is bizarre. | ||
:DCD<-->RTS | :DCD<-->RTS | ||
:DSR+CTS<--> | :DSR+CTS<-->DTR | ||
:No RI | :No RI | ||
:This is a very unusual type of cable. If you don't have an HP plotter, I would not recommend getting this. But, strictly for the TX/RX and the physical connectors, as long as the software is ignoring RTS/CTS and DSR/DTR | :This is a very unusual type of cable. If you don't have an HP plotter, I would not recommend getting this. But, strictly for the TX/RX and the physical connectors, as long as the software is ignoring RTS/CTS and DSR/DTR, it does work, so if you do have an HP (or some IBM rebranded) plotter, then you could use this for both. | ||
*[https://www.tripplite.com/null-modem-serial-db9-serial-cable-db9-db25-female-male-6-ft~P456006/ Tripp-Lite P456-006] | *[https://www.tripplite.com/null-modem-serial-db9-serial-cable-db9-db25-female-male-6-ft~P456006/ Tripp-Lite P456-006] | ||
:DCD<-->RTS+CTS | :DCD<-->RTS+CTS |
Revision as of 23:56, 4 June 2020
Summary
The ideal cable to go from a PC to a Model 100, 102, 200, or 600, would be described as "9F/25M serial null-modem full-handshake".
That is an uncommon configuration to find in a single cable without needing adapters or needing to build it yourself custom.
The serial ports on Models 100-600 are wired DTE, the same as a com port on a PC, but with a female connector, unlike any pc.
This is a backwards configuration from everything else today. It has been suggested that maybe this is actually the original standard, and IBM came along later and changed it by putting male connectors on their PCs (probably to distinguish them from the printer port), but the standard today is that DTE ports are male. A female 25 pin port is either a parallel printer port or a DCE port on a modem.
That means that usually you always need some kind of adapter between a PC and a M100/102/200/600, because none of the normal cables you will have lying around will have the right combination of wiring and connectors.
The easiest way to connect with parts you are most likely to already have lying around, is to use a common 9F/25M Modem Cable combined with a 9M/F Null-Modem Adapter.
Ideal Cables
These cables are wired null-modem, have all the connections for hardware flow-control, and the right connectors on both ends, all in one factory-molded piece. You don't need any null-modem adapters or gender-changer adapters.
- DCD+DSR<-->DTR
- S+PG (Shield is also connected to pin 1 on the 25 pin connector, aka PG, Protective Ground)
- No RI
- Cable is thin. Good for portablity, but might mean the wires are thin and possibly not durable.
- DCD+DSR<-->DTR
- S+PG
- No RI
- Includes nuts (removable) on the 9-pin plug screws, so you can screw a usb-serial adapter together to the cable, no matter whether the usb-serial adapter has screws or nuts.
- No DCD
- No RI
Ideal but Less-Ideal Cables
These cables actually work fine for everything(*). They are "less-ideal" only because the RTS/CTS hardware flow control lines are non-standard, or self-satisfied (shorted, looped-back), or missing. But they have the correct physical plugs, and correct TX/RX wiring, an so data and software flow-control works.
And software flow-control is the only thing any of the old software ever used. The system rom doesn't even contain anything that accesses the RTS/CTS lines, not in BASIC nor TELCOM.
But the hardware in Models 100-600 can actually do RTS/CTS, the pins are actually wired up to the uart. But to use them, you have to manipulate the UART registers yourself from a machine language program. The only software I know of that does this is HTERM. So these cables are NOT suitable for HTERM. (* The exception to "everything")
But these cables are wired null-modem and have the right connectors all in one factory-molded piece also. They don't need any null-modem adapters or gender-changer adapters. And so they are "ideal" for connecting a Model 100/102/200/600 to a pc, just, less-perfect than the ones above.
- DCD<-->RTS+CTS
- Unlike all others: RI<-->RI
- DCD<-->RTS+CTS
- No RI
- This "HP PLotter" cable is bizarre.
- DCD<-->RTS
- DSR+CTS<-->DTR
- No RI
- This is a very unusual type of cable. If you don't have an HP plotter, I would not recommend getting this. But, strictly for the TX/RX and the physical connectors, as long as the software is ignoring RTS/CTS and DSR/DTR, it does work, so if you do have an HP (or some IBM rebranded) plotter, then you could use this for both.
- DCD<-->RTS+CTS
- No RI
- DTR<-->DCD+RTS+CTS
- No RI
USB-Serial Adaters
Any one will work well enough. But some considerations are:
Models based on FTDI chips are generally better than the ones based on Prolific chips.
The serial cables all have screws in the plugs, so if you get a usb-serial adapter that has nuts (instead of screws) then the serial cable can be locked onto the usb-serial adapter with the screws.
- Sabrent SBT-FTDI
- Tera Grande 3ft w/ jack nuts
- TrendNet TU-S9 (Prolific-based, but better than most other Prolific-based)