beautypg.com

Setting s-registers – ZyXEL Communications Omni TA128 User Manual

Page 143

background image

131

AT&Vn

n=0 - View S-register settings for current active profile.

n=1-4 - View settings for user profile number (n-1).

n=5 - View the factory default settings.

n=6 - View the analog adapter’s setting, Phone 1.

n=7 - View the analog adapter’s setting, Phone 2.

The S-register values may be displayed in either Decimal or
Hexadecimal format when using the preceding commands. Bit 3 of
S-register 84 sets which numbering system is used for display.

ATS84.3=0 - for decimal format.

ATS84.3=0 - for Hex format.

To display the value of bit b of S-register r, type:

ATSr.b?

Setting S-registers

In order to change the value in S-register ‘r’ to value ‘n’ use:

ATSr=n (range 0-255)

In order to change the value in a specific bit (b) of S-register r, use:

ATSr.b=n (range 0-1)

In both commands, n is a decimal number in the given range.
While the first command modifies all bits in the S-register
simultaneously, the second command lets you change bit b without
affecting other bits in this S-register. When using ATSr=n, you
need to do a conversion to or from the binary number to find out
which bits you manipulate.

For example, if you want to set S38 bit 3 to 1 for a specific
application, you may either use ATS38.3=1 (simple) or use the
following (difficult):