Technical Reference for ZyXEL omni.net series
B-3
bits in the S-register simultaneously, the second command lets you change bit 'm' without affecting
other bits in this S-register. When using ATS
r
=
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 the
straight-forward command ATS38b3=1 or use the following ATS38=
n
command, as explained in
the following example:
1.
Read the value from S38 using ATS38?
NOTE:
The values used in the example below differ from the actual
values in the S-register and are used for demonstration purposes only.
2.
Convert it to binary, using the following weight table:
Bit
Binary value
Decimal value
Hexadecimal value
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
3.
To set bit 3 to 1 (binary), do a logic OR operation with the value.
Operation
Example-1
Example-2
Binary
Dec.
Hex
Binary
Dec.
Hex.
10001000 136 $88 01000000 64
$40
OR
00001000 8 $08 00001000 8
$08
10001000 136 $88 01001000 72
$48
Содержание omni.net D
Страница 4: ......
Страница 16: ......
Страница 20: ......
Страница 21: ...Part I Introduction...
Страница 22: ......
Страница 46: ......
Страница 47: ...Part II ISDN Function...
Страница 48: ......
Страница 61: ...Part III Voice Features...
Страница 62: ......
Страница 78: ......
Страница 79: ...Part IV Data Function...
Страница 80: ......
Страница 88: ......
Страница 106: ...Technical Reference for ZyXEL omni net series 8 18 AT VC Password Enter new supervisory password OK...
Страница 107: ...Part V Fax Modem Function...
Страница 108: ......
Страница 119: ...Part VI Diagnostics Firmware Update...
Страница 120: ......
Страница 128: ......
Страница 131: ...Technical Reference for ZyXEL omni net series 11 3 3 of the flash upgrading procedure outlined above...
Страница 132: ......
Страница 133: ...Part VII Appendices...
Страница 134: ......
Страница 152: ......
Страница 180: ......