Sn – read or write values to s-register, Sn – dsr control – Westermo TD-32 User Manual
Page 28
28
6178-2203
Sn – Read or Write Values to S-register
This command is used for selecting an S-register as default, for reading the value stored in the
register or for storing a new value.
The values in the S-registers must be within the permitted interval for each register, otherwise the
command that sets the value will be reported with ERROR. Some registers are only readable and
some act as if they are writeable but the value will not be stored.
n
The register with this number n will be the register which is used by the next register
function.
n=v
The value v will be stored in register n.
n?
The value in register n will be loaded and displayed.
The parameter n can be omitted, in which case register S0 is assumed. If S is omitted the last
S-register accessed will be assumed (default register). Some S-registers can not be changed or
can only be changed within certain intervals, depending on the different country requirements.
For example:
ATS7
Sets register S7 as default.
AT=40
Sets the value of default register to 40.
AT?
Returns the value of default register.
ATS=20
Sets register S0 to the value 20.
ATS6=30
Sets register S6 to the value 30.
ATS2?
Returns the contents of register S2.
Please also refer to the description of S-registers.
&Sn – DSR Control
This command determines how the modem will control DSR. The value is written to S21 bit 6.
&S0
DSR will remain ON at all times. (Default)
&S1
DSR will be activated when answer tone is detected and deactivated when the carrier
is lost.
Please also refer to AT&D,AT&C