home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
modem
/
mt224eh9.arc
/
MT224EH9.DOC
Wrap
Text File
|
1988-07-01
|
30KB
|
742 lines
SETTING UP YOU MT224EH FOR HIGH SPEED OPERATION
July 1, 1988
Version 9
A. PURPOSE
=======
These instructions will help you get the most out of your new
MultiTech MT224EH modem by enabling RTS/CTS flow control. You
will be able to do the following:
use MNP level 5 protocol for error free communication
use data compression to communicate at data rates from 5%
to 100% faster
use the new protocols Imodem and Ymodem-G that depend on
the modem doing error correction
configure Qmodem 3.1A or Procomm Plus
In order to use data compression, you must transmit data to the
modem faster than it transmits data on the telephone line. These
instructions set your serial port for 9600 baud and the modem
for 2400 baud.
In order to for the modem to re-transmit garbled blocks of data
or to send out compressed data at 2400 baud while receiving
data from your computer at 9600 baud, it must have a way of
telling your communication program to stop transmitting new
data. For this the modem uses RTS/CTS flow control.
"The MultiTech 224E is one of the most popular 2400 baud modems
that incorporates MNP error correction into its circuitry.
Setting the various hardware and software parameters to enable
MNP and CTS/RTS flow control is somewhat tricky, and this
document is intended to simplify that task."
MultiTech publishes a fine reference manual that describes all
the switches and options available. You should read it for all
the details.
Unfortunately, the manual does not describe the COMBINATION of
all switches which must be set for effective MNP level 5 use,
nor does it say how to install popular communications software
to take advantage of MNP level 5. Therefore, I have provided
these instructions for a first time user who may be overwhelmed
with the choices in the manual and need a cookbook like this.
"The instructions are for the MT224EH models that have Class 5
MNP. For those older models that incorporate Class 3 MNP only,
some of the software switch settings will generate errors. These
will not affect modem operation. (MultiTech does have a program
to upgrade Class 3 MNP to Class 5 MNP; contact them for
information.)"
B. CAUTION
=======
In order to set up your system to take advantage of MNP level 5
you must do ALL, repeat ALL of the following as described in
this document:
1. have a correct modem cable
2. set the 8 hardware DIP switches under the MT224EH
3. set the 4 hardware DIP switches inside the MT224EH
4. set the 3 hardware jumpers inside the MT224EH
5. store MT224EH software configuration parameters
6. configure your communications program
You cannot do only some of these steps. All parameters and
settings must be MUTUALLY CONSISTENT for communication to take
place. If after following the directions below, your system
doesn't work, please double-check everything.
C. CORRECTIONS AND FEEDBACK
========================
I appreciate your feedback on how to improve this document.
Thanks.
Paul Thompson
leave a message on John Friel's Qmodem board 319-233-6157
or on the MultiTech board 612-631-0922
D. ACKNOWLEDGEMENT
===============
These instructions are an extension of a document originally put
together by:
S. David Klein
The Software Society PCBoard
201-729-7410
11/15/87
who writes, "These settings have been tested using Qmodem SST
3.1a with both the IModem and YModemG protocols with
artificially injected noise on the phone line, and we have been
unable to produce a bad file transfer. With a Class 5 connection (CONNECT RELIABLE COMPRESSED), using the alternate
settings given [below], we have achieved throughput of over 650
cps on an un-compressed document file, and over 290 cps on an
ARC file, a better than 20% improvement over normal 2400 baud
Class 3 connections."
(Quoted text is from David's document.)
E. PRE-CHECK
=========
Before using the MT224EH's advanced features, first see if the
normal set-up works.
Attach the MT224EH to your computer. Leave all settings as they
come from the factory. This includes hardware switches and
jumpers as well as software switches stored in RAM inside the
unit. (You can reset the software switches to factory default
with the command AT&F&W0. If the hardware switches or jumpers
have been messed with, check them carefully.)
Follow the directions in Qmodem SST 3.1A or Procomm Plus
documentation for installing a Hayes modem. Test communications. Hopefully, everything is fine and you are now ready to move on
to setting flow control.
(There are many things that can go wrong with communications:
bad cable, using wrong port, two serial cards set to the same
port address, wrong DIP switch settings, bad set-up strings in
your communications program, etc. It just makes sense to start
from a known situation; and there is more help for you if your
starting point is 100% Hayes emulation.)
F. CHECK YOUR MODEM CABLE
======================
Even though your cable may have worked for standard Hayes, it
may not be correct for flow control. Some cables have fewer
pins, or strap certain pins together. Your communications
program must have the ability to read the true state of CD and
CTS and to control RTS and DTR. All lines should be straight
through. See page 3-7 of your MultiTech user manual.
This set-up requires:
pin 2 SD Transmitted Data
pin 3 RD Received Data
pin 4 RTS Request to Send (used for flow control)
pin 5 CTS Clear to Send (used for flow control)
pin 6 DSR Data Set Ready
pin 7 SG Signal Ground
pin 8 CD Carrier Detect (used by communications program)
pin 20 DTR Data Terminal Ready (used by comm prog to hang-up)
pin 22 RI Ring Indicator
G. SETTING THE MULTI-TECH 224EH HARDWARE SWITCHES
==============================================
"The MT224E has two banks of DIP switches and three jumpers. One
bank of eight switches is accessible underneath the modem. These
8 option switches duplicate the Hayes 1200 switches. The other
bank of four switches and jumpers are accessible only by
removing the cover of the modem. (Refer to your owner's manual
pages 9-1 to 9-13 for instructions on opening the modem and
locating the switches and jumpers).
"The following settings will enable MNP error correction
(providing the modem that is called is so equipped) and CTS/RTS
flow control. They will also enable the full verbose response
set of the MT224 which will keep you apprised of what the modem
is doing, and will wait for dial tone before dialing. The
setting of the bank of eight switches should be as follows (up
refers to the OPEN position):
1-UP (DTR normal),
2-UP (verbose responses),
3-DOWN (enable command response),
4-UP (enable command echo),
5-UP (enable auto answer),
6-UP (CD & DSR normal),
7-UP (single line RJ11), and
8-DOWN (enable command mode)
"All of these are the factory default settings with the
exception of switch 1, which is reversed.
"The setting of the bank of four switches [located inside the
unit behind the front panel] should be as follows (up refers to
the OPEN position):
1-DOWN (CTS normal),
2-UP (Dial-up operation),
3-UP (wait for dial tone),
4-DOWN (asynch operation).
"Switches 2 and 4 are factory default, switches 1 and 3 are
reversed.
"The jumpers should be set as follows:
RTS normal (not forced),
CTS to follow RTS,
DSR to follow CD.
The CTS and DSR jumpers are factory default; the RTS is
reversed."
[Viewing the inside of the MT224EH from above with the front
panel on the right, the jumpers should be set as follows:
---------------------------------------------------------------
| |
| CTS/RTS |
| === |
| * * * |
| |
| DUUD |
| 4321 |
| |
| |
| |
| |
| === |
|* * * |
|D |
|S |
|R |
| |
| |
| |
| R |
| T |
| S |
| === |
| * * * |
| |
|-------------------------------------------------------------|
H. SETTING THE MULTI-TECH 224EH SOFTWARE SWITCHES
==============================================
The following software switches should be set. (Chapter 5 and 7
in the manual)
B1 - Wait for dial tone
E1 - Echo on
M1 - Speaker on until connect (can also be M0)
Q0 - Result codes on
V1 - Result codes sent as words
X1 - Extended result codes
&E1 - Auto reliable mode
&E4 - CTS flow control
&E7 - XON/XOFF pass thru on
&E8 - ENQ/ACK off
&E10 - Normal mode Modem flow control off
&E13 - Pacing on
&E15 - Compression on
&Q0 - Standard result codes
$MB2400 - Set modem baud rate 2400
$SB9600 - Set serial port baud rate 9600
$BA0 - Baud adjust off
&W0 - Store parameters
&A0 - Answer back off
$A1 - Buffer data during link
&B0 - Normal transmit buffer
&BS1 - Max block of 256 bytes
&C1 - Carrier detect normal
$D0 - DTR dialing off
$F1 - Fall back on CR during link
&G0 - Guard tone off
&I1 - 10 min inactivity timer (can also disable or set longer)
$MI0 - MI/MIC option off
&R1 - CTS forced on
$R1 - do not disconnect after 12 tries (can also enable)
&S1 - DSR normal
&T5 - Remote loop off
&V1 - CCITT V.22 answer tone
&W0 - Store parameters
To set the modem, enter your communications program and without
dialing (ie modem is in command mode/offline) type the
following lines. The modem will reply OK after each line. The
&W0 ensures that your selections are written to the modem's
memory where they are maintained by a 7 year battery. Any time
you turn power on or issue ATZ, these settings will be actived.
AT B1 E1 M1 Q0 V1 X1 &E1 &E4 &E7
AT &E8 &E10 &E13 &E15 &Q0
AT $MB2400 $SB9600 $BA0 &W0
AT &A0 $A1 &B0 &BS1 &C1 $D0
AT $F1 &G0 &I1 $MI0 &R1 $R1
AT &S1 &T5 &V1 &W0
Use ATL5L7 to have the modem display its current settings.
Refer to the manual for more detailed explanations.
"A few words of explanation on some of the software switch
settings:
&E1 enables automatic MNP error correction if the modem you
are calling also has MNP enabled.
&E4 enables the CTS flow control that the new file
transfer protocols use to control data flow between your
computer and the modem.
&E7 passes the X-on X-off codes through to the remote
computer. A careful re-reading of the manual and some
limited experimentation seem to confirm that this setting
has no effect on transmission when &E4 is set, but I keep
it on anyway since I've had months of reliable usage with
it set.
&R1 forces CTS initially high so that your communications
program will know CTS is enabled. The setting of the
jumpers and hardware switches ensure that even with &R1,
flow control will work."
$R1 prevents a hang-up if someone picks up the telephone
from another extension.
&E13 allows the communications program to tell the modem
to stop sending data by dropping RTS. It's not clear that
the communications programs actually use this feature, but
I've allowed for it.
&E15 enables Class 5.
$MB2400 sets the modem to respond initially at 2400 baud.
If the remote modem is slower, the local modem will
connect at a lower baud rate.
$SB9600 sets the serial port at 9600 baud so you gain the
advantages of data compression (more throughput).
$BA0 turns speed conversion (turn off baud adjust). Set
your communications program for 9600 baud. Do not allow it
to reset the serial port speed.
A few old mainframes (1200-7-E-1) like Genie get confused
when my modem sends a link message to them and they
interpret the link message as the user name and/or
password. Before dialing them I turn MNP off (AT&E0) but
leave all other switches unchanged. After hanging up I
turn MNP back on (AT&E1). To make it easy, I assign these
strings to function keys.
A somewhat "jerky" screen writing is normal when connected
in reliable mode. This is because the modem holds an entire
block of characters until they are received error free
before sending them to the screen in a burst. If you have
noisy telephone lines this effect will be more obvious. You
can get a somewhat smoother flow by using smaller block
sizes &BS0.
I. SETTING THE MODEM'S "S" REGISTERS
=================================
ATS0=0 Sets the number of rings before modem answers
(leave default 0, do not answer; your communication
program host/answer mode command resets this
to S0=1)
ATS7=60 Sets number of seconds to wait for carrier before
hanging up (Default 30 not enough for long distance
dialing)
AT&W0 Writes these values into modem's memory
(See chapter 6 in the manual.)
J. QMODEM 3.1A INSTALLATION INSTRUCTIONS
=====================================
You can call the QINSTAL program from the DOS command prompt or
from within QMODEM with Alt-N. I've taken snapshots of the
relevant installation screens. Rather than tell you what to do,
I thought I'd show you. These settings are known to work. Get
your program working with these settings first; then change
later if you want.
1. Qinstall - Modem Communication Parameters
Set your initial baud rate to 9600 and keep all communication
to the modem at that speed.
Baud Data Parity Stop
Enter initial modem settings [9600 ] [8] [N] [1]
-----^
String to send BEFORE changing Baud rate ....... [ ]
String to send AFTER changing Baud rate ........ [ ]
Number of seconds between redial attempts ...... [1 ]
Number of seconds before cancelling a call ..... [45 ]
Number of milliseconds for DIAL pacing ......... [1 ]
Initial COM port your modem is attached to [1-8] [1]
2. Qinstall - Modem Dial and Redial Parameters
Use the DTR method to hang up the modem. Use ATZ to set the
modem to the parameters you stored in the modem's memory.
Message your modem returns when connected ..........[CONNECT ]
Four messages your modem returns when Dialing was unsuccessful
[NO CARRIER ] [BUSY ] [NO DIALTONE ] [NO CONNECT]
Text sent to cancel a Redial attempt .................. [DTR ]
^----
Text received that cancels a Redial attempt ........... [RING ]
Modem Initialization text ... [ATZ{ ]
^-----
Modem Dial Prefix [ATDT ] Modem Dial Suffix [{ ]
Text sent to Hang up the Modem ........................ [DTR ]
^----
Character (if any) to be sent twice in BINARY transfers [ ]
3. Qinstall - Misc. Parameters Part 1
You must turn CTS signal checking on, and set baud rate adjust
off.
Do you want to use XON / XOFF ..... [Y/N] [Y] <------
Do you want Qmodem to make noise .. [Y/N] [Y]
Do you want to add LINEFEEDS to CRs [Y/N] [N]
Do you want MUSIC played when found [Y/N] [Y]
Do you want CTS signal checking ... [Y/N] [Y] <------
Do you want Redial to set Baud rate [Y/N] [N] <------
Swap the BS to DEL on Startup ..... [Y/N] [N]
Memory for Stack/Heap in K .............. [96 ] (min 48K, max
640K)
Use BIOS screen write method ...... [Y/N] [N]
Download Buffer Blocks .................. [8 ] (min 8, max
240)
4. Qinstall - Misc. Parameters Part 2
Add a few additional seconds to transfer timeout because Qmodem
uses the serial port speed (9600) to compute timeout and your
modem is running at a slower speed (2400).
Does your screen blink when Scrolling [Y/N]? [N]
Status window duration in Seconds [real] ... [0.5 ]
Additional Seconds added to Transfer Timeout [20 ] <-----
Are you using a PCjr? ...................... [N]
Connect Tones, up to 3 may be defined ...... [300 ] [350 ][400]
Download Completion Tone ................... [400 ]
Upload Completion Tone .................... [300 ]
Default Terminal Emulation ................ [B]
[A] TTY [B] ANSI
[C] VT100 [D] TVI 925
5. Qmodem Phone Book
Set all entries to 9600 baud.
1 The Forbin Project, Home of Qmodem 1-319-233-6157 9600-8-N-1
2 Terrapin Station 1-612-623-0152 9600-8-N-1
3.Multi-tech 1-612=631-0922 9600-8-N-1
K. QMODEM NOTES
============
1. Be sure your modem is turned on before calling Qmodem 3.1a.
Otherwise, Qmodem won't use CTS/RTS handshaking.
2. Qmodem 3.1a computes the efficiency of file transfers based on
the serial port speed (9600 baud) rather than the modem speed
(2400/1200/300 baud). This measures the efficiency of the use
of the serial port (irrelevant) rather than the efficiency of
the modem (what you really want). Sorry 'bout that. Maybe John
Friel will change that in a new release.
So, don't be alarmed by low efficiency numbers. These aren't
real. Your modem really is working well.
In the case below, a Y-modem transfer, the efficiency was 96%.
(You must multiply the reported efficiency by 4 because the
modem connected at 2400 baud, the serial port was set to 9600
baud and 9600 /2400 = 4. If your connection is at 1200, you
must multiply by 8.)
The average CPS figures are always accurate.
╒═[ Download File (receive) ]════════════════════════════╕
│Press [PgDn] to abort. │
│Total Blocks received : 6 Bytes/Blk : 577 │
│-- Long Block errors : 0 Tot. Bytes: 6144 │
│-- Short Block errors : 0 │
│-- SOH errors : 0 Average CPS : 231 │
│-- Complement errors : 0 Efficiency : 24.0% │
│-- Block number errors : 0 │
│-- Timeout errors : 0 │
│-- Resend Block errors : 0 │
│-- CRC errors : 0 │
│-- Last error message : │
╘════════════════════════════════════════════════════════╛
When using an MNP level 5 connection, your efficiency may even
exceed 100%. In the case below, a reliable compressed
connection was made at 2400 baud and Y-modem-G used to download
a non-arc'd text file. The actual modem/line efficiency was
186% because of compression. Again the CPS figures are correct.
This example also shows why you need the serial port set at
9600 baud. You could not have achieved any higher transfer rate
than 240 CPS (+- 20%) if the serial port had been set at 2400.
╒═[ Download File (receive) ]════════════════════════════╕
│Press [PgDn] to abort. │
│Total Blocks received : 18 Bytes/Blk : 743 │
│-- Long Block errors : 0 Tot. Bytes: 18432 │
│-- Short Block errors : 0 │
│-- SOH errors : 0 Average CPS : 447 │
│-- Complement errors : 0 Efficiency : 46.5% │
│-- Block number errors : 0 │
│-- Timeout errors : 0 │
│-- Resend Block errors : 0 │
│-- CRC errors : 0 │
│-- Last error message : │
╘════════════════════════════════════════════════════════╛
L. PROCOMM PLUS INSTALLATION INSTRUCTIONS
======================================
You can call the set-up screen from Procomm Plus with Alt-S or
from DOS with PCSETUP. Note that some of the parameters used
here are different from the installation program defaults.
1. PROCOMM PLUS SETUP UTILITY MODEM OPTIONS
The initialization string needs be only ATZ because you have
stored your parameter settings with &W0.
A- Initialization command .. ATZ^M <------
B- Dialing command ......... ATDT
C- Dialing command suffix .. ^M
D- Hangup command .......... ~~~+++~~~AT H0 S0=0 ^M
E- Auto answer command ..... AT S0=1 S2=255 E0 ^M
F- Wait for connection ..... 45 seconds
G- Pause between calls ..... 1 seconds
H- Auto baud detect ........ OFF <------
I- Drop DTR to hangup ...... YES
(S2=255 disables the modem from responding to +++ from a remote
user while in HOST mode; this would throw your modem out of
on-line state. After leaving HOST mode you MAY have to reset
this to ATS2=43. It all depends on which version of Procomm +
you have. Procomm + will reset it automatically whenever the
modem is initialized.)
2. PROCOMM PLUS SETUP UTILITY MODEM RESULT MESSAGES
A- 300 baud connect message ...... CONNECT^M
B- 1200 baud connect message ..... CONNECT 1200
C- 2400 baud connect message ..... CONNECT 2400
D- 4800 baud connect message .....
E- 9600 baud connect message .....
F- 19200 baud connect message ....
G- No connect message 1 .......... NO CARRIER
H- No connect message 2 .......... BUSY
I- No connect message 3 .......... ERROR
J- No connect message 4 .......... NO DIALTONE
3. PROCOMM PLUS SETUP UTILITY TERMINAL OPTIONS
Turn on hardware flow control.
A- Terminal emulation ................ ANSI
B- Duplex ............................ FULL
C- Software flow control (XON/XOFF) .. ON <-----
D- Hardware flow control (RTS/CTS) ... ON <-----
E- Line wrap ......................... ON
F- Screen scroll ..................... ON
G- CR translation .................... CR
H- BS translation .................... DESTRUCTIVE
I- Break length (milliseconds) ....... 350
J- Enquiry (ENQ) ..................... OFF
4. PROCOMM PLUS PHONEBOOK
Set all the entries in the phone book to 9600 baud.
M. TESTING
=======
Test your settings by dialing the MultiTech Bulletin Board.
612-631-0922
N. CONFIGURATION
=============
These settings have worked reliably for my system: an old
fashioned IBM PC (ROM BIOS 10/27/82) with a PMI 80286
accelerator card running at 8 MHz, an AST six pack serial port,
and a MultiTech 224EH with ROM 1 version # = 607 and ROM 2
version # = 506.
O. REPORTED PROBLEMS
=================
1. A small bug in Qmodem 3.1a: when receiving text non-stop and
you go into the scrollback buffer (up arrow) and you are in
reliable mode (&E1) and the buffer fills up (about 6200)
characters, then Qmodem locks up the machine. The bug does not
occur when you are out of reliable mode (&E0). This bug does
not apply to file transfers.
Procomm Plus 1.0 does not have this problem in the redisplay
buffer (Alt-F6). It stops when its buffer fills up and begins
receiving more data when you exit the redisplay screen.
2. I have tested a problem reported to me by Dave Stoddard about
the compatibility of the MultiTech 224EH and the USR HST 9600
both running in MNP level 5 Reliable Compressed mode. (Dave is
a beta tester for Qmodem and MT224EH user.)
The problem appears when you connect in RELIABLE COMPRESSED
mode. When uploading files from your MultiTech to the USR,
using either ProComm+ 1.1A or Qmodem 3.1A, and using protocols
Ymodem or Sealink, the upload fails. I have verified this on
Nick's Nest, 612-490-0341.
Specifically, the uploading software reports bad blocks and
aborts after about 5 tries. At that point, the keystrokes sent
to the remote are not echoed back correctly. Sometimes two
characters are returned for one keystroke and anyway the
characters are never correct. The only solution is to
disconnect and re-dial.
The problem also occurs when using MNP level 4 (MT224EH command
&E14), in that the upload aborts; however, after the abort you
can continue to talk with the BBS and do not have to
disconnect.
The problem does not occur when MNP is disabled (MT224EH
command &E0).
The problem does not occur (for me) on downloads or interactive
use, but I haven't tested a lot.
The problem does not occur when dialing into 2400 baud modems.
The problem does not occur when dialing into the USR HST 9600
at Plymouth BBS, 612-553-0150 (an older HST with only MNP level
3). This seems significant. Apparently, USR introduced a glitch
when upgrading to MNP level 5 or possibly the USR modems are
configured differently (hardware and software switches).
It's also, of course, possible that the problem could be in the
MultiTech modem.
I recommend the technical experts from MultiTech and USR get
together to resolve this problem.
In the meantime, if you're having trouble, turn off MNP prior
to uploading.
P. ADDENDUM - DSZ SETTINGS
=======================
I'm not a user of DSZ but I downloaded some old documentation
and tested the following receive command. It worked correctly
with Qmodem 3.1A. The "handshake on" appeared to be necessary
to get DSZ to work with CTS/RTS flow control. I have not tested
the send command.
for receiving:
DSZ handshake on rz
for sending:
DSZ handshake on sz %3 %4 %5 %6 %7 %8 %9
Q. ADDENDUM - MT224EC HARDWARE SWITCH SETTINGS
===========================================
I don't have the MT224EC (the internal 2400 modem) but have
been informed that the switches should be set as follows:
Bank 1:
#1 Carrier Detect normal
#2 Set to desired COM: port
Bank 2:
#1 UP auto-reliable
#2 UP hardware flow control
#3 DOWN " "
#4 DOWN MultiTech responses