ZyXEL Omni TA 128 User Guide - Page 143

Setting S-registers

Page 143 highlights

AT&Vn • n=0 - View S-register settings for current active profile. • n=1-4 - View settings for user profile number (n-1). • n=5 - View the factory default settings. • n=6 - View the analog adapter's setting, Phone 1. • n=7 - View the analog adapter's setting, Phone 2. The S-register values may be displayed in either Decimal or Hexadecimal format when using the preceding commands. Bit 3 of S-register 84 sets which numbering system is used for display. • ATS84.3=0 - for decimal format. • ATS84.3=0 - for Hex format. To display the value of bit b of S-register r, type: ATSr.b? Setting S-registers In order to change the value in S-register 'r' to value 'n' use: ATSr=n (range 0-255) In order to change the value in a specific bit (b) of S-register r, use: ATSr.b=n (range 0-1) In both commands, n is a decimal number in the given range. While the first command modifies all bits in the S-register 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 manipulate. For example, if you want to set S38 bit 3 to 1 for a specific application, you may either use ATS38.3=1 (simple) or use the following (difficult): 131

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173

131
AT&Vn
n=0
-
View S-register settings for current active profile.
n=1-4
- View settings for user profile number (n-1).
n=5
- View the factory default settings.
n=6
- View the analog adapter’s setting, Phone 1.
n=7
- View the analog adapter’s setting, Phone 2.
The S-register values may be displayed in either Decimal or
Hexadecimal format when using the preceding commands. Bit 3 of
S-register 84 sets which numbering system is used for display.
ATS84.3=0 - for decimal format.
ATS84.3=0 - for Hex format.
To display the value of bit b of S-register r, type:
ATSr.b?
Setting S-registers
In order to change the value in S-register ‘r’ to value ‘n’ use:
ATSr=n (range 0-255)
In order to change the value in a specific bit (b) of S-register r, use:
ATSr.b=n (range 0-1)
In both commands, n is a decimal number in the given range.
While the first command modifies all bits in the S-register
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 manipulate.
For example, if you want to set S38 bit 3 to 1 for a specific
application, you may either use
ATS38.3=1
(simple) or use the
following (difficult):