EasyManua.ls Logo

ZyXEL Communications U-1496 series - S-Register Descriptions

ZyXEL Communications U-1496 series
108 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 Decimal Value Sedecimal Value We Use
0 00000001 1 $01
1 00000010 2 $02
2 00000100 4 $04
3 00001000 8 $08 *
4 00010000 16 $10
5 00100000 32 $20
6 01000000 64 $40
7 10000000 128 $80
To set a bit to '1', do a logic OR with the value:
10001000 136 $88 01000000 64 $40
OR 00001000 8 $08 00001000 8 $08
10001000 136 $88 01001000 72 $48
To set a bit to '0', do a logic NOT AND with the value:
NOT 00001000 8 $08 00001000 8 $08
11110111 247 $F7 11110111 247 $F7
AND 10001000 136 $88 01000000 64 $40
10000000 128 $80 01000000 64 $40
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; Sets the number of rings on which the modem will answer automatically.
S0=0 disables autoanswer. The range of rings is 0 to 255. (Country specific)
S1 Default=0; Counts the incoming rings and stores the value to this register. User can
read but should not change this value.
S2 Default=43; S2 holds the ASCII decimal value for Escape Sequence character.
Default character is "+". A value of 128-255 disables the escape code.
S3 Default=13; Holds the ASCII decimal value of Carriage Return character.
S4 Default=10; Holds the ASCII decimal value of Line Feed character.

Table of Contents

Related product manuals