ZyXEL Communications 2864 Network Card User Manual


 
8–1
Chapter 8
STATUS REGISTERS
S-registers (status registers) contain values that determine and reflect how your
modem operates and executes commands. You can read their values and change
them, either using terminal commands or the modem's panel controls with the
same results.
Every user profile corresponds to a set of S-register values, but when we mention
S-registers, we are referring to the ones that correspond to the active profile. If you
want to read or change the values in a profile that is currently inactive, you will have
to recall the profile to make it active (see chapter 7).
The 2864 series modems are provided with 128 S-registers from S0 to S127. S0 to
S11 are standard AT S-registers, and S12 to S127 are mostly bit-map configured.
Changes in the bit-map configuration can have the same effect as issuing AT com-
mands. However, using the equivalent AT commands is recommended.
Reading and Setting S-Registers
See Status Register Content Modification section in chapter 6 for reading and set-
ting S-registers using the LCD model's LCD panel. When using AT commands,
use:
ATSr?
to display the value stored in S-register r; use:
ATSr.b?
to display the content of bit b of S-register r.
In order to modify the corresponding units use:
ATSr=n (0 r 127; 0 n 255)
ATSr.b=n (0 r 127; 0 b 7; 0 n 1)
In both commands, n is a decimal number in the given range.While the first com-
mand modifies all bits in the S-register r 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 are manipulating.