Operation
2
The commands designate the Modem’s operation and the register values
determine how the commands will be executed. The command structure is
patterned from the industry standard AT-string-interface command, which
makes the Modem Hayes-software compatible.
Command
codes
.)
All command lines begin with the AT (attention code) string and end with
a
carriage return
[ENTER_)
.
AT must be entered in uppercase letters, but
the commands following can be entered in either upper- or lowercase letters.
When the AT command is received, the Modem will automatically set the
baud rate and parity.
I
You can store a sequence of commands in the command buffer memory,
provided the command line does not exceed the 40-character buffer capaci-
ty. These commands, however, must be entered in logical order in order to
be executed. If the command line exceeds the buffer-character limit, the
Modem will not execute the commands and instead sends an error result code
(Table
6).
Example
1.
Sample command line
Now,
to review the commands, one by one:
AT V1 S6
=
3 DP9, T(l11)123-4567R
(ENTER)
AT
v1
S6=3
DP9,
T
R
(ENTER)
Beginning of command line. Place the Modem in command
receptive mode.
Display the verbal result code. (Refer to
Result codes
later
in this chapter.)
Wait 3 seconds for the dial tone.
Dial
9
by pulse dialing, then pause 2 seconds (default value
of register
S8).
(Refer to the section on
Registers.)
Touch-tone dial the telephone number that follows.
Change to answer mode and wait for carrier.
End
of
command line. Execute all commands.
The attention code AT, control characters and spaces do not take up space
in the command buffer. The punctuation used in the telephone number to
make it easier to read does take up space. Input the attention code AT, reset
command
Z,
or turn
OFF
the power supply of the Modem to clear the com-
mand buffer.
17