
Table of Contents
Chapter 1
Introduction
1
.
Introduction
1-1
LI What is a Modem?
1-1
1.2
Make
a
Call or
Answer
1-2
1.3
Use
Your Modem with a Database
1-2
1.4
Easy to Use
1-3
1.5 Introduction to Modem Features
1-3
1.6 How to Use this Manual . . .
. 1-3
Chapter 2
Installation
2.0 Getting Ready
2-1
2.1
Connecting Your Tandy Modem to
the
Telephone Line
2-1
2.2
Connecting Your Modem
to
Your Computer
2-2
2.3
Installation
2-2
2.4
Auto
Answer
2-4
2.5
Testing Your Modem
2-5

5.8
M
-
Monitor Speaker Control
5-7
5.9 O
-
Return
to
On-line State/Initiate
Retrain Sequence/RDL
Test
5-8
5.10 P
-
Pulse Dialing
5-9
5.11
Q
-
Quiet Mode Control (Result Codes)
5-9
5.12
R
-
Reverse
Mode
5-10
5.13
Sr?
-
Determine Status
of
a
Register
5-10
5.14
Sr=n
-
Change Register Value
5-11
5.15 T
-
Touch
Tone
Dialing
5-11
5.16 V
-
Result Code Control
5-12
5.17 W
-
Wait for Dial Tone
5-13
5.18 X
-
Extended
Result
Code Set
5-13
5.19
Z
-
Modem Reset
5-15
Chapter
6
Modem
Registers
6.1 The Set Command
6-1
6.2 Reading and Changing
Registers
6-2
6.3 Register SO
-
Auto Answer
6-3
6.4 Register SI
-
Rings
Passed
6-4
6.5
Register
S2
-
Escape Code
ASCII
Value
6-4
6.6 Register
S3
-
Command Terminator
ASCII
Value
6-5
6.7 Register S4
-
Line Feed ASCII Value
6-6
6.8 Register S5
-
Back Space
ASCII Value
6-6
6.9
Register
S6
-
Wait for Dial
Tone Time Period . . .
6-6
6.10 Register S7
-
Wait for
Carrier Time Period
6-7
6.11 Register S8
-
Pause Time of Comma
6-7
6.12 Register S9
-
Carrier Signal
Detect Time
6-8
6.13 Register
S10
-
Carrier Loss
to
Disconnect
Delay Time
6-9
6.14 Register Sll
-
Speed Control for
Touch
Tone
Dialing
6-10
6.15 Register S12
-
Escape
Code
Guard Time
6-10

Introduction
Chapter 1
INTRODUCTION
1.0 Introduction
Welcome
to
the world of
personal computer
communications-
You
have purchased Tandy's 1200
bps
internal modem for the Tandy
1400 LT. With this system and
your personal
computer,
you can
call
information sources, such
as
Dow Jones News
Retrieval, ex-
change
information with mainframes,
minis, or
personal comput-
ers, and
transfer files.
The Tandy system you
have purchased
contains several elements:
1)
The modem card.
2)
A modular
telephone cable.
3)
This
manual, which provides
complete
installation and oper-
ating instructions.
1.1 What is a
Modem?
A
modem allows
your computer
or terminal to
communicate with
another
terminal
or computer over the
phone lines.
The word
"modem" is an
acronym for
MOdulator/DEModulator. A
modem
converts
digital data,
generated by
the
computer,
into analog, or
l~l

Introduction
Once
you
are connected
to one
of them,
you
can, for example,
read
the
latest
stock quotes or the morning's Wall Street Journal.
1.4 Easy-to-Use
Your
Tandy
1200
bps
internal modem is made to be easy to
use.
More and more
applications for the
PC
and
your
modem are
be-
coming available.
Now,
for example,
you
can plan your
travel
by
linking with the latest airline schedules or
check your bank bal-
ance from the comfort of your living room. In the
future, the
uses
for your modem will continue to grow.
1.5 Introduction to Modem Features
Your modem has many
advanced features, such
as:
1)
Auto-dial and
auto-answer: no telephone is required.
2)
Powerful automatic dialer commands compatible with virtu-
ally all of the
communications software available.
3)
Can
be
used with an
acoustic coupler.
1.6 How to
Use
This Manual
This manual should
be
used
in conjunction
with your software
manual. Chapter
2 includes complete
installation instructions.
1-3

Installation
Chapter 2
INSTALLATION
2.0 Getting
Ready
This chapter will explain installation of
the Tandy 1200
bps
inter-
nal modem.
2,1 Connecting Your Tandy
Modem to the
Telephone Line
In order to operate, your
modem must be
connected
to a
tele-
phone line. Your modem is FCC registered for direct
connection
to
the
telephone line. Before proceeding, you should call your lo-
cal telephone company and
inform them that
you
are going to
connect registered equipment.
Follow these steps:
Inform the local telephone company that
you
are
connecting regis-
tered equipment. Give them the
following information:
Manufacturer: Tandy
Corp.
Fort Worth, TX
Model: 1200 bps
Internal Modem
Registration:
AU692V25-35 10
Ringer Equivalence:
0.4B
2-1

2.3
Installation
Installation
S*
1
y®v
MODEM OPTION
X
SLOT
COVER
1
e
\%y.y.y.y.*7777
<S>
®\yAy/Q
z
-it- :v_cc EXTER\A
L
DIS*
MVE^
©\y.yWe
©V.v.v,,-,;,-.-.-/^
SCREWS'
To Install:
1)
Remove the slot cover
over
the "Modem Option" slot on the
back of the
computer.
It is held in
place
by two
small s crews -
2)
Gently slide
in the
modem
as
illustrated. Press in to ensure
that
it is seated securely in the
connector.
Use the
screws that
held the cover to secure the modem into the
computer.
2-3

Installation
connected even
when
your computer
is turned off.
It will
not
affect
the
normal
use
of your telephone.
4)
If
you will
be using the Tandy
Acoustic
Coupler, insert
the
connector
into
the holes marked
Acoustic
Coupler.
There
is
only
one
way to insert the
connector.
TELEPHONE
CABLE
\_
ACOUSTIC
COUPLER PLUG
ACOUSTIC COUPLER
JACK
5)
You are
now ready
to
initialize
the modem.
Begin from
the
DOS
prompt
"A:"
While
holding
down
the Ctrl and
Alt keys,
press
the Ins
key.
This
will bring
up the Tandy 1400
LT
Set
Up Menu.
6)
Press the F4 key
to
highlight
the RS232C /
Internal
Modem
option.
Press the right
arrow key to
highlight MODEM.
Press
ENTER.
7)
Press
the F5
key to highlight
the Direct Modem /
Acoustic
Coupler
option. Press
the arrow
keys
to
highlight DIRECT
if
you will
be
connecting
the modem
directly
to
the
phone line
or
to ACOUST
if
you will
be
using the Acoustic Coupler.
Press ENTER
and then escape to return
to DOS.
8)
You
are now ready to
use the modem. Note
that
you do not
need
to
reinitialize
each
time
you
use the modem.
However,
2-5

Chapter
2
each
time
you
switch between direct
use
and
the
acoustic
cou-
pler, you will need to reinitialize, following steps
5-7.
2,4
Auto
Answer
Your modem is set up to automatically
answer incoming calls. The
auto answer function
is controlled
by
the SO register.
If
you wish
to disable auto answer, access the modem command
set
with
your
communications software and
enter
the
command ATS0=0<CR>.
See section 4,7 for additional information.
2.5
Testing Your
Modem
So that
you
can make sure that your equipment is correctly in-
stalled and
working, your modem can perform several self tests.
Consult
Chapter 3 for instructions.
2-6

Chapter
3
If the modem is correctly
installed, it should respond:
CONNECT
At this point every
character entered
from
the
keyboard
goes to
the modem's
transmitter section and, instead
of going
out
over the
phone line, is rerouted to
the modem's receiver section.
From
here,
the characters are
displayed
on
the screen.
The key
you
press
should match the character
displayed on the screen,
4)
To
exit the test, enter:
+++
Do not enter
<CR>
after +++.
The modem responds:
OK
5)
If you do not
wish
to test
the answer
mode, proceed
to
step 7.
Now,
if you wish to test
the Answer Mode,
type
in
the com-
mand:
AT S16=l A<CR>
The modem should respond:
CONNECT
As with the Originate
test,
every character
entered from the
keyboard should match the
character displayed on the
screen.
6)
To exit the test,
enter:
+++
Do
not enter <CR> after
+++.
The modem responds:
OK
7)
Enter:
AT S16=0H<CR>
3-2

Chapter
3
The
test is now underway.
The
message CONNECT
followed
by OK will be displayed.
Note
that a result
code of ERROR
indicates
that the remote
modem is not
capable
of responding
to RDL
or has not
been
conditioned
to do so.
2)
Enter
a test message:
How now brown
cow.
3)
Check
to
see
whether
your
test
message
is appearing
on the
screen
exactly
as
you
entered
it.
4)
To
end the
test, enter:
+++
5)
Modem should
respond:
OK
You are
now in command
mode.
6)
Enter:
AT01<CR>
7)
Modem
responds:
CONNECT
The
test is ended
Notes:
1)
RDL is
automatically terminated
when
the connection is
dis-
continued.
2)
If the line
is disconnected
during RDL (the
phone
line is
pulled
out of the
wall, etc.), the requesting
modem will reset.
This
prevents
an unexpected request
for RDL during
the next
call.
3)
Your modem
will always
respond to RDL when on-line.
The
modem will
respond to and
initiate RDL;
it
does
not matter
which modem
placed the original
call.
3-4

Introduction
to
Modem Operation
Chapter 4
INTRODUCTION TO MODEM OPERATION
4.0
Direct Entry into the 1200 BPS
Internal
Modem Command Mode
This chapter describes the functional
states
of the 1200
bps
inter-
nal modem and
the guidelines
to
follow when sending commands
to it. The
responses
which the
modem sends to your
commands
are also
described.
For those who want to use
the modem's
commands directly,
ac-
cess
the modem
through your communications
software. Then
en-
ter the command AT
Z<CR>
t
which will set
the modem options
to
their default values.
4.1 Functional
States
The modem
will
always be in one
of
two states:
local
command
state or on-line state. In the local command
state, the user is
making commands
to
the
modem via keyboard or
program con-
trol. No data
is being sent
or
received.
The local
command state
is
provided
so
that
the modem can be
commanded to
perform vari-
ous
functions, such
as
changing
configurations and
dialing. In
the
on-line state, the data is
sent and
received over the phone lines.
When on-line, the modem will be
in the
originate mode (when
the modem is
making a call) or the
answer mode (when accepting
4-1

Chapter
4
an incoming call).
Occasionally,
you
may make
use of a special
form
of answer
mode,
called
"reverse
mode,"
which is
used to
initiate a call to
an originate-only
modem
(a 300 baud
acoustic
coupler,
for example).
Changing
between originate and answer
modes
is not something
you need
to worry
about,
because
the mo-
dem makes
the switch automatically.
In normal
operation, the change
from the local command
state to
the
on-line
state
is automatic.
For instance, once
the command
to
dial is
given,
the transition to
the on-line state is
performed auto-
matically
when the connection
to another modem
is
made.
The
on-line state is
also achieved when the
modem answers
a
call.
When
the carrier
is lost, for whatever
reason, the modem auto-
matically returns
to the local
command state.
The
modem will
not respond
to
local
commands when on-line.
If
you wish
to enter
a
command,
you must first return
the modem
to
the
local state. This is
accomplished
by entering the Escape Code.
4.2
Changing of
States
Escape
Code
The escape code is
a message to the modem which
tells it to re-
turn to
the
local state,
allowing
you
to enter commands.
The for-
mat consists
of an
escape guard time and an escape character.
The escape code
does not
drop
the connection with the other mo-
dem; it merely suspends the transmission and reception of
data
over the
line temporarily. The command
to
hang-up, ATH<CR>,
must
be
entered to drop the phone line.
4-2

Introduction
to
Modem Operation
The default escape
code is entered
as
followed:
Wait at least
one second after the last
character entered.
Enter:
+++
Wait
at
least
one second for
the result code.
The modem will
return
to
local
state and respond with
the result
code OK.
NOTE:
The result
code
will
be
returned only
if the options
QO
and
VI are set.
The purpose
of
the
guard time
(the one second delay
around the
+++)
is to prevent the
modem from accidentally
escaping
into
command mode
during normal operation.
The one-second
guard
time
surrounding the escape
code tells
the modem that
"+++"
is
a
command
to the modem,
not
just a
stream
of data.
The default
values
of the
escape code
and
the guard time may
be
changed
(Registers
S2
and
S12). The escape code
must
be a
single
character
entered
three times
and surrounded
by
a
designated
pe-
riod
of time. If you are
in auto-answer
mode, it is advisable
to
disable the escape
code or
set it to
a
different value from
that
of
the originating
modem (See Register
S2
for instructions).
That
way, your modem
will not be accidentally put
into local command
state
by the
distant
modem.
4-3

Chapter
4
4.3
Command
Syntax
Attention
All
commands must
begin with
the letters AT.
AT is short for
"Attention"
and is
used
by
the
modem to automatically
set
the
baud rate and parity, AT
must
be
entered
in upper case;
all other
commands
may
be
in either
upper or
lower
case,
This
command
is
the
signal to the modem
that
what follows is
a command.
Line
Length Limits
AT
may
be
followed
by one or more commands.
The commands
wili be
performed
in the order
given. The
number of
commands
given
at once is limited
by the line length, which
cannot
exceed 40
characters
following AT*
Control
characters and spaces
are not
counted,
but
punctuation marks
such as dashes
or commas
are.
For
example,
the
syntax of
a
command
to
the modem
is as fol-
lows:
AT
<command>
<CR>
Command
Terminator
Note that
<CR> denotes carriage
return.
This is the
command
terminator;
the command
is not
processed until a
<CR> is
entered.
Example:
AT M2 DT
(408)
767-8900<CR>
In this example
there
are two commands: the
M (monitor
speaker)
and
D
(dial).
Notice that
a space has been
put
between
the line elements. This
is optional;
the commands
can
be
entered
one right after
the other.
4-4

Introduction
to
Modem Operation
There are two
parameters shown in this example. The
first (M2)
indicates that
the speaker
will
be
on
at
all times. The
second
command
(DT) tells the modem
to
dial, using
touch tone* the fol-
lowing number. (See
the
D
and
M commands).
Regarding the PHONE
NUMBER: The numbers in
this string
can
be added
together
without the parentheses and dash.
However,
if
it is more
readable
to use
these
delimiters,
the
modem will accept
them.
Line Editing
When entering
commands to the modem,
editing
can be done by
using the
backspace key, which deletes the last
character entered,
The
backspace
key
does
not
delete the attention
code,
"AT."
Note
that
when backspacing over
a
"space,"
the space is ignored
and the next character is erased
regardless
of
whether or not
it
appears properly
on
the screen.
Null Parameters
Commands
to
the modem consist of a letter, such as
D for DIAL,
followed by a
number, or
parameter, generally
0,
1,
or 2. If
a
command parameter is inadvertently or
intentionally left out
the
modem assumes a value of 0. For
instance,
if
a
command were
entered "AT M DT
(555)
555-llll<CR>," it
would
be
equivalent
to
"AT MO
DT
(555)
555-llll<CR>". The
parameter associated
with the M command
would
be
instead of 2 as
in the previous
example. The
result
of this
change would be
to turn the speaker
off.
4.4
Command
Results
After the
CARRIAGE RETURN
("<CR>" above)
has been en-
tered,
the modem returns
a RESULT
CODE after
every operation.
4-5

Introduction
to
Modem
Operation
7
BUSY
NO ANSWER
ing
the
dial sequence.
This
result
code will only
appear
if
X2, X4 or the
W com-
mand have been
selected.
The
modem has
detected
a
busy signal.
This result
code will only
appear if the
X3,
X4, or
@
commands
have been selected.
The number dialed was
not
answered. This result
code
will only appear
if the
@
command has
been used in
dialing.
Result
Code Notes
The NO ANSWER result
code appears
only when
the mo-
dem
is dialed using the
@
command. See
Section 4.7.
VO
and
VI
are the
modem commands that
determine
whether the modem
is to render numeric
or verbal result
codes, respectively,
The
Q
command
determines
whether or not results
are
sent. In the default
state, the modem
returns
only Codes
0-4.
RING only indicates
that the phone
is
ringing.
The modem
does
not answer it
unless commanded to or unless auto-
answer is enabled.
NO CARRIER
is
displayed if the
carrier signal from
the
other
modem is not detected for a
sufficient length of
time.
NO
CARRIER
means
that
a
data call
was not
suc-
cessfully completed.
4-7

Introduction to
Modem Operation
the
screen telling
you at
what speed the
connection
has
been
made. You must then make sure that your computer is also set to
the
correct
baud
rate
(1200,
300)
for the call or the data you re-
ceive
will
be garbled. Most
frequently,
you
will switch speeds \jrith
a
command to your communications software, which will tell the
modem at what
speed to
operate.
If you have
chosen XI, X2, X3, or X4, you
will
be
informed of
the
final connect speed
by
the result
code which appears on your
screen (e.g.,
CONNECT 1200 for a
1200 baud call). In the de-
fault setting
of
X0, the modem will return only the
message CON-
NECT.
4.6 Dialing
with
Examples
Since dialing and answering are the main
functions of the modem,
the
following is
a
summary of the
instructions
for
these operations
with examples.
Dialing
When
a
dial command is given,
the modem is immediately
put
into
originate mode. You are then able
to
call any
distant comput-
er or
timesharing system connected to
a
modem.
The Dial Command is D. This
command
may be
followed
by a
number
of
commands associated with the dial
command,
but in its
simplest form D may
be
followed with only the
number to
be di-
aled.
4-9

Introduction
to
Modem Operation
,
(Comma) Pause.
The modem will
pause
for two seconds
(default time). It allows the modem
to wait
for
a
second dial
tone,
as,
for
example, when
waiting for an "outside line" on a PBX
board.
• '
a.
Example:
AT
D9,767-8900 <CR>
W
Meaning: Dial
9,
2 second pause,
dial
second
number.
Note; Multiple commas may
be
used to in-
crease
pause
time.
Wait for dial tone
before dialing.
Example:
AT
DTW767-8900 <CR>
Meaning: Wait
for a
dial
tone, then
dial the
number using tones. Note
that the W com-
mand MUST be
preceded
by
the D
command.
Note: This
command tells the modem to
wait
for 3 seconds
of continuous
dial tone before
beginning to
dial. The
W command
will return
a
result code
of
NO
DIALTONE if no dial
tone is found. The amount
of time the modem
waits
is
governed
by
the
S7
register. If the X2
or X4 commands
are used
in conjunction with
the W command,
the modem
will only wait
5
seconds
for
dial
tone
instead of S7
time. The
factory default
setting
of S7
is
30
seconds.
4-11

Introduction to Modem Operation
Hook Flash
Example:
AT D767-8900! <CR>
T
P
Meaning: Dial
a
number, hang
up
for half
a
second.
Note: The hookflash
tells the modem to
hang
up
for
a
half
a second.
It
is like
holding
the
button
on
your phone down for
a
moment.
This command may
be used to
transfer a call,
for example.
Touch-Tone Dialing
Pulse Dialing
Example:
AT
DP9,T 767-8900
<CR>
Meaning:
Dial
9
using pulse
(rotary) dialing,
pause
for
two
seconds, dial the rest of the
number using touch-tone.
Note:
When the modem
is turned
on, it
de-
faults to Pulse dialing. The P and T com-
mands specify which
type
of
dialing to
use.
The modem will then always default to the last
method
used. If you
were
to
enter AT
D767-8900<CR> immediately after the previ-
ous
example,
the modem would automatically
dial using touch
tone, which was the last
method used.
4-13

Chapter
4
;
(Semicolon)
Returns
modem
to
command
mode
after
dial-
ing.
Note:
This
command
is
used
to return
the
mo
dem
to the
command
state
at
the
end of
dial-
ing
a number.
It
basically
serves
the
same
function
as an
escape
code
(+++)
but
can
be
used
automatically
at the
end of
a
command.
This
feature
may
come
in
handy
when
you
wish
to
call a
timesharing
service
which
will
require
you
to dial
additional
digits
once
you
connect.
You
will
continue
to hear
the
call
being
made
as in
normal
operation.
Example:
AT D
767-8900
:<CR>
Meaning:
Dial the
phone
number
and
return
for
command.
R
Reverse
Mode.
Used to
call
an
"originate
only"
modem
such
as an
acoustic
coupler.
:
n
1 1
mi- i
fT i-r TiTifr 1 1 r
1 1
i r r ii rn- 11- 1 r n i r !
;
T-,•i-i:i f r i r 1
1
- ^i n i , r
,
>
--,
, v,
.'
,.
,>,
,
,,;'.-,
^^V^.";,'....-. ^^
]]
.
.-:
. .
. . . ;
:•'
.:-:
f
-\
Example:
AT
DP9,T767~8900R<CR>
Meaning:
Go into originate
mode,
dial
the
first
number
using
pulse
dialing,
pause,
dial the
second
number
using
touch
tone,
reverse
into
answer
mode
so that
the modem
will
"answer"
the
originate
only
modem.
Note:
The
R
command is
always
placed
at the
end
of a string
of
commands.
4-14

Introduction
to
Modem Operation
Auto-Dialing
for
Voice
Calls
The
modem may
be used to
automatically dial
a
number
for
you
with
the D command.
You would
enter
a
number,
listen
for
the
ring, pick
up
the phone,
press any key, which tells the modem
to
hang up. You
can
then
talk to
the person
on. the other end.
Example;
AT D 767-8900<CR>
If the phone line
is
busy, you
would then only have
to
enter A/
to
redial if
you
hear
a busy
signal-
Timing Parameters
The times assigned
to
the dialing sequences are controlled
by
reg-
isters
S6
through SI 1.
See
Chapter 6 for
a
complete
listing
of all
of the registers, functions and values.
4.7
Auto
Answer
Mode
The modem
is
set to
automatically answer calls. This
is
a
useful
feature when
you
wish
to access
your computer from a distant lo-
cation, for example.
The auto
answer function is contoLled
by
the
SO
register.
To disable the auto
answer function, enter the direct
command AT S0=0<CR>.
The
SO
register determines the number of rings the modem
will
wait before answering a call. The register may have values from
0-255.
Setting the register at tells the modem not to answer the
call at all.
4-15

Command Summary
Chapter
5
COMMAND
SUMMARY
The
following is a summary
of all of the modem
commands in al-
phabetical order with
examples. For each command a
parameter
table is provided stating
the default
values
(those
established when
the modem is turned on
or reset). Recall that a value of is as-
sumed when no
parameter is entered.
Command examples
follow
the
description.
5.1 A
-
Answer
Immediately
Default
Parameter
Parameter
Command Value Range
Description
A
—
—
—
Sending an A
command
to
the
modem tells it
to
answer
immedi-
ately without waiting
for a
ring.
It then will wait for a
Carrier Sig-
nal. It could also be
used, for
instance, if the RING
result code
appears on the screen
when the
modem is not
set
for auto
answer.
Once
the A
command is executed, no other
commands can be
entered.
i
Example:
AT
A<CR>
There are no
parameters
associated with this
command. When it is
entered,
the
modem immediately goes
off-hook
(without waiting
5-1

Chapter
5
for
a ring)
and
"listens"
for
the
Carrier
signal.
The
default time
is
30
seconds
(use the
S7=
command
to
change
this value).
5.2 A/
-
Repeat
Last
Command
Default
Parameter
Parameter
Command
Value
Range
Description
A/
A/
This
command
will
repeat
the last
command
line.
It
is
most
useful
when
used
to re-dial
the last
number
dialed.
;.;.;
'""
""
ttttiiiimmttmtmmmiiimmmimiMiiiiit^^
Example:
A/
This
command
differs
from
all
the
others
in
two ways:
*
It
is
not
preceded
by AT.
*
No CARRIAGE
RETURN
is
entered.
5-2

Command
Summary
5.3 C
-
Carrier
Signal
Control
Default
Parameter
Parameter
Command Value
Range
Description
C
CI
0-1
0=transmitter
off
l=transmitter on
The C
command allows
manual control
of the modem's
carrier
signal. The carrier is the
high pitched
whistle
you
hear when call-
ing a
modem. In the CI
state (the default)
the
carrier signal
set
by
the
modem
automatically goes on and
off as
required.
That is,
Carrier
is on:
*
after
dialing
a
number results in a
connection.
*
after
an A
command detects a
Carrier from the
other end.
At all other times,
the Carrier
signal is not
output. If
CO
is en-
tered, the
Carrier signal is never
output. This is
handy
when using
the modem to
dial
voice
calls.
i i i
:
i -nn ii-f^—
i iii i —i^-i—«*r n n
ii i i h i —y^f*^*.h
i in i ii h i i h i 1
1
Example:
AT
C0<CR>
This command
prevents the modem
from
outputting
the
carrier
signal. To change
this condition, the
CI or Z
command
must
be
entered. Be
very careful
in using the CO
command. If
entered
while communicating
with Telenet,
Tymnet,
or some
other
net-
work,
the network
will disconnect you.
5-3

Command Summary
5.5 E
-
Echo Back Control
Default
Parameter Parameter
Command Value Range Description
E El
0-1
0=do not echo in
command
mode
l=echo characters
in
command mode
Whether
or not
keystrokes are echoed back to the screen when
the modem is in the Command State is determined
by
the
E com-
mand. The default setting
(El)
displays
all
characters
on
the
screen.
The EO command should
be
used when the modem
is
connected
to a
terminal in half-duplex. The reason for this
is
that
if the terminal is in half-duplex, both it and the modem will echo
the character
on the screen
resulting in double printing.
To
pre-
vent this, turn the modem's echo off
(AT E0<CR>). The echo
feature
is only
activated in the Command State, that is, when
you
are entering commands to the modem.
It
is not activated
when
data
is
transmitted
to
a
remote
system. Some communications soft-
ware also requires that character echoing be suppressed.
5.6 F
-
Set Communications
Mode
Default Parameter
Parameter
Command Value
Range Description
F
Fl
0-1
0=half-duplex
l=full-duplex
The communication mode is normally set to
full duplex, which is
the default setting of
your modem. This command
is available pri-
5-5

Command
Summary
from the
cradle,
you go
off-hook
(a
dial tone is heard); when
you
replace it in the
cradle,
you go
on-hook (drop the connection). In
normal
operation
only the HO command is used
to go
on hook
(terminate the
call).
Going
off hook is automatic
when
the Dialing
command is entered.
1
Example:
AT
H<CR>
This command assumes
that the user has temporarily suspended
the On-line
State to enter the Command
State by
entering the
Escape
Code
(+++).
After the CARRIAGE
RETURN <CR> is en-
tered, the Carrier
Signal is terminated and the connection
put on-
hook. Notice
that no
parameter
was entered in
this example;
hence,
a
entry
is assumed.
5.8 M
-
Monitor Speaker Control
Default Parameter Parameter
Command
Value
Range Description
M
Ml
0-2
0=Speaker off
l=On until carrier.
2=Speaker
always
on.
The computer's speaker can
be
used to listen in on
a
call in proc-
ess. For
instance, the default setting (Ml) sends all
tones (e.g.,
dial tone,
busy, ringing)
up to
the point the carrier is received.
Once the carrier is received, the speaker is automatically turned
off. Alternately, the MO command can be entered to keep the
5-7

Chapter
5
speaker
off
all of
the time
or the
M2
command
entered
to
send
all
signals,
including
the
Carrier
Signal,
to the
speaker.
Note that
the
M2
command
can
be used as
a form
of trouble-
shooting.
If
unanticipated
call
terminations
occur frequently,
enter
M2
and listen
to the
Carrier
signal.
If it
changes
tone
or
stops, the
modem
will
drop
the
connection.
In
this
case, the
phone
lines
are
faulty
or the
modem
at the
other
end
is
malfunctioning.
"
f
' """
n ii i h i i ii i niiiiiiin , .,
'
.v,,
,•',
v
---,-:,-•,•;,:;.
:,.
;..::..
..:.
: ::...;;.>;
f
Example:
AT M<CR>
This
command
is
used
to turn
off the
speaker
so that no
signals
are
sent
to
the
speaker.
Notice
that no
parameter is
entered
so
that
is
assumed.
5.9
-
Return
to On-line
State/Initiate
or Exit
RDL
Default
Parameter
Parameter
Command Value
Range
Description
O
OO
0-2
0=Return
to on line
state.
1-Exit
RDL and
return
on-line
2=Initiate
RDL and
return
on-line.
This
command
is generally
used
to return
to
the On-Line
State
after
an Escape
Code
(+++)
has
been entered
to
exit to
the
Com-
mand
State,
as
in
the following
example.
5-1

Example:
Command Summary
Enter:
+ +
+
Result:
OK
AT
MO 0<CR>
CONNECT
Note:
Returns
modem
to local
command state.
Turns
the speaker off
and
returns
on line.
Two specialized
versions
of the command, Ol
and
02,
are
used
to
exit and
initiate Remote
Digital Loopback.
These two
commands
are
used
ONLY
when
entering or exiting RDL. Consult
Chapter
3
of
this manual
for information
on how to perform these
tests.
5.10
P
-
Pulse
Dialing
Command
P
Default
Value
Parameter
Range
Parameter
Description
Before
a Dial is
attempted,
the
modem
must
be told whether pulse
(rotary)
dialing
or touch tone dialing methods
should
be used.
This
command
sets the modem
so that all numbers
output
by
sub-
sequent
dialing commands
use
the
pulse
dialing
method
until told
otherwise.
^^^^^^???!T'-!-!
'!*!"
T'-^^^^^^^W!
!!
!
!!!!
!!! V.
'-!•'
'-'
'
.'.M.'.M.
'
M.^M!*"*'""!'!™!'!'!'"!'!'!^
Example:
AT DP767-8900<CR>
5-9

Chapter
5
This is
the
only
form
of this
command-
There
are no
parameters
associated
with
it.
5.11
Q
-
Quiet
Mode
(Result
Code)
Control
Default
Parameter
Parameter
Command
Value
Range
Description
QO
0-1
0=Result
codes
sent
l=Result
codes
not sent
Whether
or not
the Result
codes
are returned
is
set
with
this
com-
mand.
For
example,
the
command Ql
would
be
used when
you
are using
the
modem with
a receive-only
printer.
This
command
would
prevent
the
result
codes from
being printed
out.
5.12
R
-
Reverse
Mode
Default
Parameter
Parameter
Command
Value
Range
Description
R
This
command
is
used
at the
end of
a command
to put the 1200
bps
internal
modem
into
answer mode
when trying
to
establish
contact
with
an originate-only
modem.
.
f*********^**«****«^**^****^*^>^^
"'"Tii'ii i'lii'ii
''""'"
, '
''
''" ''
Example:
AT D
767-8900R<CR>
5-10

Command Summary
The
modem is
instructed
to
dial
the number
and then enter
an-
swer mode.
5.13 Sr?
-
Determine
Status
of
a
Register
Default
Parameter
Parameter
Command
Value
Range
Description
Sr? 0-16
"r" in this command
specifies one
of the
modem's
registers.
This
command allows
the user
to display the
contents of the
regis-
ter specified
in the
command. These registers
set
certain
opera-
tional
characteristics. All
of the
characteristics
have a default
value
set when the
modem is turned
on or reset.
However,
they
can
be
changed
(see the next command)
if needed. For a
description
of
the registers
and examples
of
the
Sr? command, see
the
"Set
Command"
(Section
6.7).
5.14 Sr=n
-
Change
Register Value
Default
Parameter
Parameter
Command Value
Range
Description
Sr=n
—
0-16
for "r" (register
number)
0-255
for
"n" (value
in
register)
As
mentioned previously,
certain modem operations
are controlled
by
the contents of the registers. When the
modem
is turned
on or
5-11

Command Summary
5.16
V
-
Result
Code
Control
Default Parameter Parameter
Command
Value
Range Description
V VI
0-1
0=Result
numbers
displayed
1= Result words
displayed
In
the default
mode, all
result codes are displayed as English
words. Alternatively,
the V0 command can be
entered
to render
numbers instead of words.
See Section
4.5 for an explanation of
the
words and their corresponding numbers along with the
mean-
ing of
each. Recall that
words are
recommended
when the results
are
to be
interpreted
by
a user and numbers should
be used
when
the results are interpreted
by
a program.
"??WWTW!f'Wf^?WfWW""7!f"Tr»ffl
,
!Wr^
Example:
AT
V0<CR>
Enter this command from the Command State before turning
over
control of the modem from the user
to a
program.
5-13

Command Summary
Code
XO XI X2
X3 X4
OK
*
1
CONNECT
*
2
RING
*
3 NO CARRIER
*
4
ERROR
4
5 CONNECT 1200
-
6 NO DIALTONE
7 BUSY
8
NO
ANSWER
* * *
* * *
* * *
* * *
* *
*
* * *
*
_
*
* *
Notes:
1)
Most software
written
for the
"AT"
modem command set does
not accept the extended
result codes
(5
through 10), so the de-
fault XO is used.
2)
The NO
ANSWER result code is returned
only when the mo-
dem
is using the
@
command.
See
Section
4.7.
3)
The BUSY and
NO
DIALTONE
result
codes
will
be
displayed
after 5 seconds instead
of after 30 seconds
(default of S7).
5-15

Chapter
5
5.19 Z
-
Modem
Reset
Default
Parameter
Parameter
Command
Value
Range
Description
The Z
command
resets
the modem.
There
are
several results
when
the
modem
is reset.
*
any
call-in-progress is
terminated.
*
all commands
are reset
to
the
default
values.
*
all
commands
after
the Z command
in a
command
line
are NOT
executed.
'•t*iL+iZ*iZhjLujjjjjjjjJL^^
;-;•; ',"•
;
;;;;;;;;;:;;::•;; :; ;•;;:-:
'vi
:
i
:
::
-;
;:;;:;:;
>:-;
:::; ;;-;;-:-;-:-:
:-:-;
;-::-;
;
;-; ;-;-;-;•; ;-:
:
:
::--::
:':
:::::::
:
:
:
:
:-:
:
:::
:v:
:::
:
:
:
:
ftoSJ
Example:
AT
Z<CR>
This is
the
only form
of this command.
There
are no parameters
associated with
it.
5-16

Modem Registers
Chapter
6
MODEM REGISTERS
6.1 The
Set Command
There are two
Set command
forms:
ATSr?<CR>
ATSr=n<CR>
The first
reveals
the contents of
the register indicated
by
"r." The
second changes the contents of "r"
to
the value specified
by
"n."
These registers are dedicated memory locations within the 1200
bps internal modem's memory space that control certain opera-
tions. Every time the modem is turned on or reset (with the
Z
command), the default values are set. This means
that if
changes
are required to one or more registers
to
ensure proper operations,
they must
be
made each
time
the modem is
turned
on.
The following table
lists the
registers
and
summarizes
their effect
upon operation.
Register Range
Unit Default
50
0-255
rings
1
51
0-255
rings
52
0-127
ASCII 43
Description
Ring to answer
on
Number of
rings
passed
Escape code character
6-1

Modem Registers
the current value in the register. Several registers
may be
checked
at
one time. For
example if
you
wanted to check
what
ring the
modem is set to answer on (Register
SO)
and how long the modem
will wait for
a
dial tone (Register
36),
you would enter:
AT SO? S6? <CR>
If the registers are set at default values, the response
would be;
001 The
modem
is
set
to
answer
after one ring.
002
The modem waits
two
seconds for
a
dial tone.
OK
End of sequence.
To change the value in these registers,
you
would
use the Sr=n
command. Using the same registers as the previous example,
you
would enter:
AT S0=4<CR> (Change the value in Register
SO
to
4; mo-
dem will answer on ring
4.)
OK (Command acknowledged
by
modem.)
AT S6=3
<CR> (Change
the value
in
Register
S6
to
3;
mo-
dem will wait three seconds for dial tone.)
OK (Command acknowledged
by modem)
The next section describes each register
in
greater detail.
6.3 Register
SO
-
Auto
Answer
To Display Modem To Change
Status, Enter: Displays: Status, Enter:
AT SO? <CR> or
1 AT
S0=n
<CR>
n=0-255
6-3

Modem Registers
of the user's
choosing. The
value for "n" MUST be
a legitimate
ASCII
character
within the range of
0-127.
Setting "n" out of this
range
disables the Escape Code.
Recall the
sequence of steps necessary
to
effect an escape from
the
On-line
State
to
the Command State:
1)
Wait 1 second (see register SI 2 to change)
2)
Enter
escape
character three times
(e.g.,
+++)
3)
Wait
1 second (see register
S12 to
change)
Notice that both the Escape Character
AND the
Guard Time (the
time period in steps 1 and
3)
can be
redefined.
6.6 Register
S3
-
Command Terminator
ASCII
Value
To Display Modem To Change
Status,
Enter: Displays:
Status,
Enter:
AT S3?
<CR> 13
AT S3=n
<CR>
(n=0-127)
The default
value of this
register
is 13,
which
is the
ASCII charac-
ter for carriage return. There should
be
no need
to
change this
value
unless
another special character better suits the user's needs.
6-5

Modem Registers
The S6 register
sets the amount of time
the modem waits between
going
off
hook and
dialing
the number. The modem
will
accept
a
minimum
of
a
2 second delay. (In fact,
even
if this
register is
set
to
1,
the modem still
waits for 2 seconds.)
If
outward dialing repeatedly
fails (result code 3 or NO CAR-
RIER), it
may be
because a
dial tone
is not rendered
to
the
mo-
dem
by
the phone company before
dialing begins. In this case,
increase
the
value
of the
S6
register until
a satisfactory delay is
established. Note
that
rt
n" is
a
value expressed
in seconds.
6.10 Register
S7
-
Wait for
Carrier
Time
Period
To Display
Modem To Change
Status, Enter:
Displays:
Status, Enter:
AT S7?
<CR>
30
AT S7=n
<CR>
(seconds)
(n=0-255)
S7
sets the number of seconds the
modem waits for the carrier
signal after
a
number
has been dialed. This value can
be de-
creased if the modem
at the other end is particularly fast
at re-
sponding.
A minimum figure of 10 for numbers within
your
area
code
and 20 for numbers which require
a
different area
code
is
recommended.
6-7

Chapter
6
When
the carrier signal
from
the other end
goes
away,
it
is the
modem's
cue to terminate
the
connection.
In areas
with poor
quality
telephone lines,
the carrier
signal
can occasionally
drop
out
and
cause unintentional
disconnects.
Setting register
S10
for
the
default
values
allows for
occasional lapses
in the carrier
signal.
The actual
time window
for carrier
dropout is NOT
determined
by
the
contents
of the
S10
register.
Instead, this
period is
a function
of
the
following
formula:
S10
-
S9
=
window
(700
msec
-
600 msec.
=
100 msec or .1
seconds)
When
telephone lines
are
poor, the
value of
S10 can be increased
if
disconnects are
frequent. The
adverse effect
of this
command
is
that
some
"garbage" characters
may appear
on the screen
if the
time
is too long.
Every increment
increases the length
of time
by
1/10
seconds
(100
milliseconds).
Note that
a value of 255
tells the
modem
to consider the
carrier signal always
present.
6.14 Register
S11
-
Speed Control for
Touch
Tone
Dialing
To Display
Modem
To
Change
Status, Enter:
Displays:
Status, Enter:
AT
Sll? <CR>
70
Do not change
(msec.) (n=0-255)
The Sll
default setting
establishes
a touch tone dialing rate
of
around
7 digits per second
(DPS). This register should
not
be
changed.
Note that it
has no effect on the
pulse dialing rate.
6-10

Modem Registers
6,15
Register S12
-
Escape Code
Guard Time
To Display Modem To Change
Status, Enter: Displays: Status, Enter:
AT
S12? <CR>
50
AT S12=n
(1
second) (n=0-255)
Recall
that there are
two
wait periods that surround the entry of
the special
Escape Character (see
the description of
S2 for a
re-
view). The length
of
time
the
user
must wait is set
in register
S12.
Each increment adds 1/50
seconds
(20
milliseconds)
to
the delay.
Consider 50
as
the minimum and increment only in value of
50's
(1
second).
NOTE: A value of is certainly possible in this register.
In this
case,
entering three Escape characters without any
surrounding time buffers effects an immediate exit from
the On-line State. Be careful if this option
is selected
to
define an Escape Character that is unlikely to occur in
batches of
three
during data
entry while
the user is on-
line.
6.16
S1 3
-
S1 5 Status
Registers
The value
of these
registers can
be
read with the Sr? command.
DO NOT use the Sr=n command to alter their contents.
6-11

Modem
Registers
S14
-
Option
Register
Bit
Value Description
Auto Answer
disabled
1
Auto
Answer
enabled
1
Local Echo Disabled
1
Local Echo
Enabled
2
Result Codes
Enabled
1
Result
Codes
Disabled
3
Result
Codes as
Numbers
1
Result Codes as
Words (See
Vn
command)
4
Undefined
-
may be 1
or
5
Pulse dial
1 Tone
dial
6
1
Speaker enabled
until carrier
detected.
7
1
Speaker
enabled always.
Note:
Both bits 6 and 7 must be
zero
to
disable speaker.
6-13

Modem Registers
6.17
Programming
Suggestions
and
Considerations
The most important function of a modem control program is al-
ways to know
whether the modem is in the Command or On-line
State. If the program ever gets confused, data passed
from com-
puter
to
modem may
be
construed
as a
command and vice versa.
To avoid the consequences that
could result
from this
confusion
please make note of the following suggestions:
1. Send commands to the modem
only when it is in the Com-
mand
State.
2.
Commands entered when the modem is in the On-line State
are considered data and
will
be output as
such. Be sure
to
en-
ter the Escape
Code
before entering commands.
3. Data output
by
the computer when the modem is in the On-
line
State
is interpreted as data. Be sure to
enter
AT O <CR>
to
re-enter
the
On-line
State
after
a
temporary exit to the
Command state.
4. Do not have the computer echo command
results (either
word
or number) to the modem. This
would qualify
as
random data.
6.18 Command
Executions
Some commands execute
in
as
little
as
250 milliseconds (the Dial-
ing command being
a
notable exception).
For the computer to
"catch" the
result
code,
be
sure
it
is
prepared to do so
within this
time
constraint.
6-15

Appendix
Appendix
A
ASCII CODE CHART
This
table is a list of each of
the standard ASCII control
charac-
ters. The list shows the character, and the hex and decimal value
of the character.
Decimal
Value
00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
App-l
Keyboard
Character
Hex
Value
A
@
00
A
A
01
*B 02
A
C
03
A
D 04
A
E
05
-p
06
A
G
07
A
H
08
A
I 09
A
J 0A
A
K
0B
A
L
OC
A
M 0D
A
N 0E
"O OF
A
P 10
A
Q
11
A
R
12
A
S
13
"T
14
A
U
15
-v
16
A
W 17
A
X 18
A
Y
19
A
Z 1A

INDEX
A Command,
5-1
A/
Command
(Repeat Dialing),
5-2
Answer Immediately Command, see
A
Command
Answer Mode Test,
3-2
ASCII Code Chart, App-1
Auto Answer,
2-4,
4-15
Carrier Signal Control,
5-3
Changing of
States,
4-2
C Command,
5-3
Command
Executions,
6-15
Command
Results, 4-5,
5-13
Command
State,
4-2
Command
Syntax,
4-4
Commands, line limits,
4-4
Communications
Mode,
5-5
D
Command,
4-9,
5-4
Dialing Basics,
4-9
Dialing Command,
4-9,
5-4
Subcommands
,4-
10
Duplex,
5-5
E Command,
5-4
Escape
Code,
4-2
Precautions,
6-16
Examples,
Dialing,
4-9
F Command,
5-5
FCC
Requirements,
2-1
Functional States,
4-1