2 reading and assigning s-register values, 1 examples of assigning values, 2 examples of reading values – Multitech MT1432BA User Manual

Page 84: Reading and assigning s-register values, Examples of assigning values, Examples of reading values

Advertising
background image

84

MultiModemBA User Guide

6.2

Reading and Assigning S-Register Values

The S command is used to assign a value to, and to read the current value of, an S-Register. To read
an S-Register value, enter the letter S followed by the S-register number and a question mark (?),
then hit RETURN. For example, entering ATS7? and hitting RETURN displays the value of S-
Register S7 in a 3-digit decimal form. The number 8 would appear as 008, the number 30 would
appear as 030, and the number 255 would appear as 255.

To assign a value to an S-Register, enter the letter S followed by the S-Register number and an
equals sign (=), and then a decimal response to the message “ENTER THE NEW VALUE IN
DECIMAL FORMAT”.
Convert all ASCII characters to their decimal equivalents before entering them.
S-Register decimal values range from 0-127 for ASCII characters, or 0-255 for numeric values. A
complete ASCII conversion chart is located in

Appendix B

of this manual.

6.2.1

Examples of Assigning Values

1.

Let’s say you wish to have longer pauses caused by the comma in a dial command; five seconds
instead of two. Entering ATS8=5 assigns 5 as the value for S-Register S8 (meaning the modem
pauses five seconds for a comma in a dial command).

2.

In a second example, let’s say that you wish to configure the modem to answer incoming calls
after the 30th ring instead of after the first ring. To configure S-Register S0 with a value of 30,
enter ATS0=30 and hit RETURN.

3.

In a third example, let’s say you are calling long distance to another country code, and it is taking
a long time to connect. The S-Register S7 (Abort Timer) setting of 45 seconds, is insufficient.
The abort timer times out and cancels the call before a connection is made. To change the S7
value to 55 seconds, enter Command mode, then enter ATS7=55 and hit RETURN. Now, after
dialing, the modem allows 10 more seconds for a carrier signal before aborting the call. The
additional 10 seconds should provide enough time for international calls.

6.2.2

Examples of Reading Values

To verify that you entered the value correctly in the above examples, enter ATS8? and hit RETURN
in the first example, ATS0? in the second, and ATS2? in the third example. You should receive the
response 005 in the first example, 030 in the second example, and 055 in the third example.

When configuring the S-Registers, it is a good practice to include the verification read-entry in the
same command line as the configuration assignment-entry. In the three preceding examples, enter
ATS8=5S8?, ATS0=30S3?, and ATS7=55S7?.

Advertising
This manual is related to the following products: