Multi-Tech Systems MTS2SA-T ユーザーズマニュアル

ページ / 181
Chapter 10 
− Modem Mode AT Commands, S-Registers, and Result Codes 
Multi-Tech Systems, Inc. MultiConnect Serial-to-Serial Adapter User Guide (S000354A) 
118
 
 
S-Registers 
This section covers S-Register descriptions and their default values (which may be loaded at any time by using the Z 
command). Registers or register fields quoted as “reserved” are reserved for current or future use by the firmware, or 
are permanently overridden by PTT limitations.  
All bit-mapped registers are read-only. The appropriate AT command, which controls the relevant bits in the S-
Register, should be used to change the value.
.
 
S - Read/Write S-Register 
The modem selects an S-Register, performs an S-Register read or write function, or reports the value of an S-
Register. 
n
 Establishes S-Register as the last register accessed. 
n=v
 Sets S-Register n to the value v
n?
 Reports the value of S-Register n
The parameter n can be omitted, in which case the last S-Register accessed will be assumed. The S can be omitted 
for AT= and AT?, in which case the last S-Register accessed will be assumed. For example: 
ATS7 establishes S7 as the last accessed register. 
AT=40 sets the contents of the last register accessed to 40. 
ATS=20 sets the contents of the last register accessed to 20. 
If the number n is outside the range of the S-Register available, the modem will return the ERROR message. If the 
value v is outside the range permitted for a given S-Register, the modem will return the ERROR message. Input and 
output are always in decimal format. Note that some S-Registers are read-only. 
In some cases, writing to the S-Register will appear to be accepted but the value will not actually be written. 
Due to country restrictions, some commands will be accepted, but the value may be limited and replaced by a 
maximum or minimum value. 
Minimum, maximum, and default values for S-Parameters may be altered by inserting a country profile using patch 
code. 
Certain modem values are stored in memory locations called
 
S-Registers. Use the S command to read or to alter the 
contents of S-Registers (see previous section).  
Table of S-Registers 
Register Unit Range Default Description 
S0
 1 
ring
 0–255  0 
Number of Rings to Auto-Answer:
 Sets the number of
 
rings until 
the modem answers. ATS0=0 disables autoanswer completely. * 
S1
 1 
ring 
0–255 
0  Ring Counter. Counts the rings that have occurred. S1 is cleared if 
no rings occur over eight-second intervals. 
S2
 decimal 
0–255 
43 
(+) 
Escape Character.
 Holds the decimal value of the ASCII character 
used as the escape character. The default value corresponds to an 
ASCII ‘+’. A value over 127 disables the escape process, e.g., no 
escape character will be recognized.*  
S3
 decimal 
0–127 
13 
(^M) 
Carriage Return Character.
 Sets the command line and result code 
terminator character. Pertains to asynchronous operation only. 
S4
 decimal 
0–127 
10 
(^J) 
Line Feed Character.
 Sets the character recognized as a line feed. 
Pertains to asynchronous operation only. The Line Feed control 
character is output after the Carriage Return control character if 
verbose result codes are used. 
S5
 decimal 
0–255 
(^H) 
Backspace Character.
 Sets the character recognized as a 
backspace. Pertains to asynchronous operation only. The modem will 
not recognize the Backspace character if it is set to a value that is 
greater than 32 ASCII. This character can be used to edit a command 
line. When the echo command is enabled, the modem echoes back to 
the local DTE the Backspace character, an ASCII space character 
and a second Backspace character; this means a total of three 
characters are transmitted each time the modem processes the 
Backspace character.