ZyXEL Communications Comet 336P user manual Modem Result Codes, Viewing S Register Values

Page 19

AT Command Set/Type

Example

Fax and Voice AT+ commands

AT+FCLASS=2

S-Register command

ATS0=1

S-Register inquiry command

ATS0?

You may browse the lists of available commands for each command set by using the on-line help commands: AT$, AT*$, and AT&$.

Modem Result Codes

When you execute or try to execute an AT command, your modem sends a result code to let you know whether the command was executed. An OK result code means the AT command you sent was executed. If you receive an ERROR code, it means the command was invalid.

The Comet also provides result codes that show:

Whether or not a Dial Tone was detected when the modem originated a call.

If a busy signal was detected when the modem originated a call.

If a remote telephone ring was detected when dialing.

The speed, protocol, and error control/data compression method used.

If your modem has detected an incoming ring.

Result codes can originate from any of eight result code sets. The ATXn command lets you choose which set of result codes your modem uses. By default, your modem uses result codes equivalent to the ATX5 command.

Viewing S Register Values

Status registers (or "S-registers") contain values that determine the modem’s operating characteristics. Whenever you send an AT command to your modem, you are actually changing the value of an S-register.

You can use the Sr? command to view the value of S-registerr’. For example, to view the value of S-register S0, which controls auto-answering, type ATS0? and press Enter. The modem responds with a three-digit character showing the value of this register, followed by OK. A value of 002, for example, means your modem will auto-answer incoming calls after the second ring.

Changing S Register Values

You can use the ATS0=n command to change the value of an S-register.

Basic Modem Operation 13

Image 19 Contents
Comet 336P User’s Manual Acknowledgments Limited WarrantyFCC Part 15 Information Contacting ZyXEL FCC Requirements∙ E-mail Table of Contents AT Command Set Summaries Required Equipment IntroductionUnpacking Your Modem Hardware OverviewIntroduction Windows InstallationUsing INF file in the bundled diskette HardwareDOS Technical Notes for Enabler Fax/Modem EnablerIRQ Number Address Windows NTClick the Finish button Installation Installation Using the Windows 95 Hyper Terminal Program Understanding AT CommandsBasic Modem Operation Dialing and Answering Techniques Dialing using the ATD CommandATS0=0 Making Your First ConnectionAuto-Answer and Hook Controls ATS0=nCommand Description Quick Tips when issuing AT CommandsAT Command Set/Type Example Viewing S Register Values Modem Result CodesChanging S Register Values Dialing Stored Phone Numbers Saving Settings and User ProfilesNon-Volatile Memory Storing Phone NumbersAT Command Description Default Modem Settings for PC’sBasic Modem Operation Basic AT Command Set AT Command Set SummariesMNP4+MNP5 Extended AT& Command Set9600/7200T/4800 Extended AT* Command Set Register Definitions Status Registers & Result CodesRegisters ATSn=x Page ATXn Result Code Option Table Result Code Field Descriptions Result Code Chart Symbol Reference