direct cable connection...

ZXNet echo conference «zxnet.pc»

From Eugene Palenock To All 31 March 2003

Hello All! So how to use a subject in Windows? It is necessary to connect from Windows 98 to 2000... Best regards, Evgeniy.

From Kirill Frolov To Max Harchenko 5 April 2003

Press RESET immediately, Max! 04 Apr 03 17:26, Max Harchenko wrote to Kirill Palmin: EP>>> So how to use a subject in Windows? EP>>> It is necessary to connect from Windows 98 to 2000... KP>> In 2000, you create a direct cable connection in a remote connection KP>> seems to be a slave, but 98, as usual, is in communication->direct connection KP>> put the leader. This is how it worked for me. MH> Yes, I wish someone could give me the wiring for the null modem cable. 2All: CUT, SAVE AND NEVER ASK AGAIN (and in general get to the nearest store and buy a ready-made cable - it will be cheaper): In IBM-compatible PCs, 4 types of connectors are widely used: DB25P cable for connecting printer or a serial interface connector in the PC case (outdated option) DB25S connector for connecting a printer in a PC case or serial cable (obsolete version) DB9P serial interface connector in the PC case DB9S serial cable Connector designations: DB25P or DB25M plug (male), 25 pins DB25S or DB25F socket (female), 25 pins DB9P or DB9M plug (male), 9 pins DB9S or DB9F socket (socket, “mother”), 9 pins("mother" and "father" are considered obscene in some places, so also use "plug" and "socket") Historically, all devices using serial interface are divided into two classes: terminal devices (DTE, data terminal equipment) and data communication equipment (DCE, data communication equipment). This division is very arbitrary, unnecessary and only introduces unnecessary confusion, since Fundamentally, DTE devices are no different from DCE devices. Device DTE can be considered a terminal (iron, with a green monitor, 10 kg keyboard...), printer or computer connected to a modem. As DCE The device can be a modem or a computer connected to a printer. Options can be very diverse. But the most important thing here is that they always connect two devices of different types, i.e. DTE and DCE. You can't directly connect two DTE devices, just as you cannot connect two DCEs together devices. The fact is that DTE devices have plugs (DB25P or DB9P), and sockets (DB25S or DB9S) are installed on the DCE equipment. Possibly direct connection of DTE and DCE devices, or a “straight” cable can be used, in which the pinout at both ends is the same, and the connectors are installed different - a plug at one end, a socket at the other. It's all about the connectors...It is precisely because of different connectors that devices of the same type cannot be connected. Even if you use a cable with the same type of connector at the ends (two plugs, or two sockets) it is still impossible to connect two devices of the same type -- it turns out that the output signals are connected to the outputs, and the inputs to the inputs, if A “straight” cable with matching pinouts at both ends is used. It’s unclear what they thought who developed this interface, certainly not with their heads... You have to use an “inverted” cable, in which the signals are wired to one of the ends is completely opposite - the first contact instead of the last and etc. You can also use a special adapter. And it's all because of stupid dividing all devices into two types, but it was possible to make the same type connectors and use “inverted” cables, as in telephony. Pinout of DB25P and DB9P plug connectors for DTE devices (fully corresponds to the connector on an IBM-compatible PC) signal DB9P DB25P direction purpose TD 3 2 output transmitted data RD 2 3 input received data RTS 7 4 output ready for receiving terminal CTS 8 5 input request transmission from modem DTR 4 20 output terminal readiness DSR 6 6 input modem readyDCD 1 8 input carrier detected RI 9 22 input bell indicator GND 5 7 signal common wire PG no 1 protective wire (housing) ***note: For real iron terminals, RTS, CTS and DTR, DSR are swapped. Why is unknown. In general, there are options... Pinout of DB25S and DB9S sockets, for DCE devices completely coincides with the pinout of DTE devices, in addition except that the direction of transmission (input-output) changes to the opposite. (the wiring shown corresponds to the connector of any modem) signal DB9P DB25P direction purpose TD 3 2 input transmitted data RD 2 3 output received data RTS 7 4 input ready for terminal reception CTS 8 5 output request transmission from modem DTR 4 20 input terminal readiness DSR 6 6 output modem ready DCD 1 8 output carrier detected RI 9 22 output bell indicator GND 5 7 signal common wire PG no 1 protective wire (housing) Thus, based on what was written above: if you need to connect twodevices of different types (one has a plug type connector, the other has a socket) then you can connect these devices directly if the housing design allows, or use a direct, so-called “modem” cable. If necessary connect two devices of the same type (both have the same type of connectors, or two plugs, or two sockets), then you can use a special adapter, adapter and a “modem” cable or a special “null-modem” cable (with cross-connected contacts at different ends). Wiring of a complete null modem cable or adapter for connecting two DTEs devices: DB9S DB25S DB9S DB25S 3 2 <--------------> 2 3 2 3 <--------------> 3 2 7 4 <--------------> 8 5 8 5 <--------------> 7 4 4 20 <--------+---> 6 6 | 1 8 <---+ +---> 1 8 | 6 6 <---+----------> 4 40 9 22 <- -> 9 22 5 7 <------------> 5 7 building 1 <-------------> building 1 Wiring of a simplified null modem cable or adapter for connecting two DTE devices (only TD-RD signals are connected): DB9S DB25S DB9S DB25S 3 2 <--------------> 2 3 2 3 <--------------> 3 2 7 4 <---+ +---> 8 5 | |8 5 <---+ +---> 7 4 4 20 <--+ +---> 6 6 | | 1 8 <---+ +---> 1 8 | | 6 6 <---+ +---> 4 40 9 22 <- -> 9 22 5 7 <------------> 5 7 building 1 <-------------> building 1 Connect all this WITH THE POWER OFF, WHEN THE POWER PLUGS ARE REMOVED FROM OUTLETS! Otherwise the ports will burn out. When the power is on, you can connect safely only if both computers are connected to one pilot extension cable or their the housings are electrically connected in a different way.