It is quite simple once you have understood the transmission of 2 data terminal equipment (DTE, e.g. terminal, computer) with 2 data transmission equipment (DCE, e.g. modem) via a
PHONE LINE(! NOT via RS-232!).
Code: Select all
DTE<-- RS-232 -->DCE<-- Telephone Cable (2-Wire-Line) -->DCE<-- RS-232 -->DTE
SER2 on the QL is configured as DTE, so to connect a modem you always should use SER2. SER1 on the QL is configured as DCE, you should use it to connect it to a DTE (e.g. a printer).
In order to obtain reliable connections, the QL should
ALWAYS work with hardware handshake (RTS/CTS), but this is not really possible as the QL does not have RTS, but see below (but I'm not sure, it's been too long).
However, the problem with early modems (300 to 2400 baud modems) was that these modems had no buffer (or only a few bytes) and the modem ignored the RTS signal (output at the DTE) (at the latest when the small buffer was full). In addition, the baud rate for SER2 had to be exactly the same as the transmission rate via the telephone line. This was no longer the case with the later high-speed modems (ZyXEL, Courier), which supported hardware handshaking (RTS/CTS). These modems had much larger buffers and even if the transmission speed between the two modems over the telephone line was 14400 baud, the DTEs were connected to the DCEs at a much higher baud rate (19200 for QL with Hermes).
The RTS (Request To Send, output at the DTE) is misleading, by the way. Originally, RS-232 was intended for half-duplex modems and RTS actually meant that the DTE signalled to the DCE (modem) that it wanted to send data. But in the (late?) 80s this was changed and the signal name was also changed to RTR (Ready To Receive). This meant that the DTE signalled to the DCE (modem) that it was ready to receive data. Problem: The QL has no RTS. I'm not sure (it's been too long since I worked with modems on the QL), but it could be that you can use DTR instead, i.e. connect DTR from the QL to RTS from the modem. Anyway, I had stable connections with Hermes and the ZyXEL modem (had the one that supported 19200 baud) and I think I abused DTR from the QL as RTS back then. It's worth a try.
I.e. to connect a modern modem to the QL via SER2:
1. a higher baud rate is selected for
SER2 than the actual speed via the telephone line(!).
It is connected as follows (the PIN numbers apply to the English connector on the QL [I don't have the German pin assignment to hand at the moment] and 25-pin/9-pin connector):
Code: Select all
QL-Pin Signal 25-Pol-Pin 9-Pol-Pin
1 GND 7 5
2 TXD 2 3
3 RXD 3 2
Option 1:
4 DTR 20 4
Option 2:
4 RTS 4 7
5 CTS 5 8
6 Special QL always +12 volts can be used for special things, e.g. with option 2 as a DTR signal.