S-Register Descriptions - ZyXEL Communications U-1496 series User Manual

U-1496 series universal modems
Table of Contents

Advertisement

to set only bit 'b' of S-Register 'r' to value 'n' 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 the
bits. For example, if you want to set S38 bit 3 to 1 for a specific application:
Do an ATS38 = ? to find the original value.
Convert it to binary:
Bit
Binary Value
0
00000001
1
00000010
2
00000100
3
00001000
4
00010000
5
00100000
6
01000000
7
10000000
To set a bit to '1', do a logic OR with the value:
10001000
OR
00001000
10001000
To set a bit to '0', do a logic NOT AND with the value:
NOT
00001000
11110111
AND
10001000
10000000
Using the decimal value, do an ATS38 = n to set the register.
Using ATS38.3 = 1 to do the same is much easier.
Note: If you enter values from the U-1496 front panel, use the sedecimal (hex) values.

S-REGISTER DESCRIPTIONS

Following are the descriptions for each S-Register. In most bit mapped S-Registers, the default
bit value is 0 which is the normal situation and only the non-default situation is described. Some
reserved bits are for factory use and the user should not change them.
S0
Default= 0;
S0=0 disables autoanswer. The range of rings is 0 to 255. (Country specific)
S1
Default=0;
read but should not change this value.
S2
Default=43;
Default character is "+". A value of 128-255 disables the escape code.
S3
Default=13;
S4
Default=10;
Decimal Value Sedecimal Value
1
$01
2
$02
4
$04
8
$08
*
16
$10
32
$20
64
$40
128
$80
136
$88
01000000
8
$08
00001000
136
$88
01001000
8
$08
00001000
247
$F7
11110111
136
$88
01000000
128
$80
01000000
Sets the number of rings on which the modem will answer automatically.
Counts the incoming rings and stores the value to this register. User can
S2 holds the ASCII decimal value for Escape Sequence character.
Holds the ASCII decimal value of Carriage Return character.
Holds the ASCII decimal value of Line Feed character.
We Use
64
$40
8
$08
72
$48
8
$08
247
$F7
64
$40
64
$40

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents