Multi-Tech Systems MT2834BA Series manual AT Command Editing, Functional Modes, Command Mode

Page 28

Chapter 5 - Command Mode

5.1Introduction

AT commands are the means by which you, and your communications software, are able to communicate with and configure your modem. They enable you to establish, read, and modify parameters in addition to dialing. The following provides both a summary and a detailed explanation of the AT commands recognized by the MultiModem.

5.1.1AT Command Editing

The BACKSPACE key on your keyboard can be used to edit characters in the AT command line. An AT command is not executed until the RETURN key is pressed. The BACKSPACE key erases the previous character for reentering.

The BACKSPACE key does not erase the AT characters once they are entered. If your keyboard has no BACKSPACE key, CTRL-Hdoes the same thing. The character recognized by the modem as BACKSPACE may be changed to any other ASCII character with S-Register S5.

If you wish to cancel an entire command that has been entered but not yet executed, enter CTRL-X. This also clears the command buffer. The effect is the same as backspacing to cancel the entire command, only quicker.

Characters entered in a command are stored in the modem's Command Buffermemory( ) until executed by hitting RETURN. The Command Buffer's capacity is sixty characters. The Attention Characters AT do not count in the sixty allowed Command characters. Spaces, which may be used for increased display readability, may be used when entering a command, but are not stored in the Command Buffer and are not counted in the sixty allowed characters. Hyphens, parentheses, etc. are not allowed.

If the sixty character limit is exceeded or if invalid characters are entered, the Command Buffer automatically erases, and an ERROR message appears. You would then re-enter your command within the sixty-character maximum, using only the allowed characters.

5.1.2Functional Modes

The MultiModem can be in one of two functional states (see Figure 4-1). These are "Command mode" and "On-line mode". (There is also an in-between state, "Wait-for-Carrier", where the modem is out of Command mode but not yet really On-Line.

When the modem is initially powered up, it is in Command mode and is ready to accept commands from your keyboard or software. The modem enters On-line mode after dialing, making a connection with another modem, and then detecting a valid carrier signal. If no carrier is detected within a certain time frame, the modem abandons the call and re-enters Command mode.

Once on line, the modem exits On-line mode if one of two conditions is met. If the carrier is lost or intentionally dropped, the modem hangs up and re-enters Command mode. Also, if the modem recognizes the Escape sequence for which it is configured (i.e., either the Escape characters in the serial data stream, the Remote Escape characters in the modulated data stream, or the Break signal), the modem will exit On-line mode, retain the datacomm link, and enter Command mode.

You can force the modem into On-line mode without dialing by sending the ATD or ATA command to the modem.

Multi-Tech Systems, Inc. MT2834BA/BL Series User Guide

28

Image 28
Contents User Guide User Guide Record of Revisions Date DescriptionPatents TrademarksContents Registers Index 117Introduction and Description How To Use This Manual IntroductionModem Features 1 MT2834BA/BL Series Features Fax FeaturesTechnical Specifications Power Modem LED Indicators MT2834BA LED DisplayControls on PC Board Installation and Connection What Is in Your Modem Package? InstallationSafety Warnings Installation ProcedureMultiModemBA Connections Installing PhoneTools, the Data Communications Software Is Your Modem Ready for Use?Software Configuration and Modem Basics Configuring Your Software Configuring Software for Your ModemSoftware Configuration PC Initialization StringsChanging Default Parameters Configuring Software for Your ComputerOther Parameters AT &F S0=0 &F9 &W0 CRModem Basics Answer/Originate Voice/Data Toggle SwitchSimple Operations Manual Dial and Automatic Answer Dialing/On-Line/Answering Manual Dial and Automatic AnswerDial Backup and Leased Line Restoral Manual Dial Backup Call TerminationAutomatic Leased Line Restoral Operation Dial-Up Operation Manual Call OriginationAutomatic Answering Manual AnsweringHandshaking Details Abort TimerCall Termination Command Mode Command Mode AT Command EditingFunctional Modes Summary of AT Commands Functional ModesStore Modem Configure Data Multi-Tech Result Codes Result CodesStandard AT Result Codes Dialing Commands Dialing Action CommandsDial Modifier Commands Voice/Data Dialing $VDPulse or Tone Dial P T Set Pulse Dial Ratios &PReturn to Command Mode After Dial Command Execution Reverse the Mode of Operation RAutomatic Pauses in Dialing Long Space Disconnect YCalling Card Detect Tones $ Quiet Answer @Phone Number Memory Commands Storing Phone Numbers D...NNumber Linking NN Listing Numbers Stored in Memory LLoading Factory Defaults &F Configuration and Default Storage CommandsModem Reset Z Unix Uucp Spoofing $SP Async/Sync Mode Switching &MSynchronous Transmit Clock Select &X Command Response Result Code Commands Echo Command Mode Characters EResult Codes Enable/Disable and No Response Answer Q Result Codes Multi-Tech or Standard AT &QResult Codes Basic and Extended and Call Progress Selection Phone Line Conditioning Commands Enable/Disable Trelis Coded Modulation #TGuard Tones Not Used in BAI/BLI Models &G Bell/V.21 ToneFallback Modes When On-Line #F Enable/Disable Lowspeed Fast Connect $FCCleardown at Disconnect &CD Auto Speed Detect #A7 RS-232C Interface Control Commands Carrier Detect Control &CData Terminal Ready Control &D CTS Control &RCTS/RTS Interaction Control &RF Data Set Ready Control &SDSR/CD Interaction Control &SF Error Correction Commands Normal Mode &E0Auto-Reliable Mode &E1 Reliable Mode &E2Mode Select #L Auto-Reliable Buffering $AError Correction/300bps $E Enable/Disable Auto Reliable Fallback Character $FRetransmit Count $R Hardware Flow Control &E4 Flow Control CommandsXon/Xoff Flow Control &E5 Send Xon/Xoff Characters #X Xon/Xoff Pass-Through &E7Hewlett-Packard ENQ/ACK Pacing &E9 Normal Mode Modem Flow Control On &E11 Terminal/Computer Initiated Pacing &E13Maximum Block Size &BS Parity Selection #PXon/Xoff Pass-Through Commands Normal/Auto-Reliable/Reliable Mode CommandsEnq/Ack Pacing Commands Speed Conversion $BA Speed Conversion CommandsModem Baud Rate $MB Serial Port Baud Rate $SB Immediate Action Commands Listing On-Line Diagnostics L8 Off Hook HForce Answer Mode a Line Probe CommandsExiting Command Mode, Going Back On-Line O Registers Number of Rings Until Modem Answers Rings Which Have OccurredEscape Code Character Return CharacterTime for Carrier Abort Timer Line Feed CharacterBackspace Character Wait Time for Dial ToneS10 Carrier Loss Disconnect Delay Time S13 Remote Configuration Escape CharacterCarrier Detect Response Time S11 Tone Dialing Tone Spacing and DurationS15 Callback Time Delay S19 MT2834BL Only Dial-Back TimerS16 Callback Attempts S17 Changing Break TimeS26 Failed Password Attempts S29 Local Inactivity TimerS24 PBX/CBX Disconnect Drop Time for DSR/CTS/CD S25 DTR Dropout TimeS30 Inactivity Timer S32 Time Elapse for Escape SequenceS36 Time Between DTR Inactive and Modem Off-Hook S37 Time Between DTR Active and Modem On-HookS48 Program V.34bis Connect Speeds Examples of Assigning Values Reading and Assigning S-Register ValuesExamples of Reading Values AT Command and S-Register Summary Callback Security and Remote Configuration Callback Feature Description Callback Security and Remote ConfigurationRemote Configuration Description To change your Remote Configuration feature statusTo set parity of the password/message prompt AT#CBN0xxxxxxxxxxCRCallback Operational Sequence Procedures Remote Configuration Procedures Remote Configuration Operation ProceduresRemote Configuration and Callback Security AT Commands Remote Configuration/Callback Security S-Registers DIP-Switch Settings Dip-Switch Settings MT2834BA PC BoardDIP-Switch Option Settings Switch #4 AS/400 Mode Synchronous Mode/Leased Line/Dial-UP = Down Down Dip-Switch Settings Speaker Volume Control Recording Option Configurations Switch Function Position EffectDIP Switches #15-16 MT2834BA DIP Switches #13-14DIP Switches #15-16 MT2834BL Warranty, Service and Tech Support Multi-Tech Systems, Inc. Warranty & Repairs Policies Warranty, Service, and Technical SupportOnline Warranty Registration Repair Procedures for International DistributorsReplacement Parts Technical SupportInternet Sites Country TelephoneAppendixes Appendix a Upgrading Your Modem’s Firmware Upgrade OverviewAppendix a Upgrading Your Modem’s Firmware Download the Upgrade File Upgrade the Modem’s Firmware Appendix B Troubleshooting None of the LEDs Light When the Modem Is OnModem Does Not Respond to Commands Appendix B TroubleshootingAppendix B Troubleshooting Modem Dials But Cannot Make a Connection Modem Cannot Connect When Answering Modem Disconnects While On-lineFile Transfer Is Slower Than It Should Be Am Losing DataAm Getting Garbage Characters on the Monitor Appendix C AT Command Summary Appendix C AT Command SummaryCommand Values Description DsNd Multi-Tech Systems, Inc. MT2834BA/BL Series User Guide 100$FCn MT2834BL Multi-Tech Systems, Inc. MT2834BA/BL Series User Guide 101$MBn Multi-Tech Systems, Inc. MT2834BA/BL Series User Guide 102$SBn Multi-Tech Systems, Inc. MT2834BA/BL Series User Guide 103Dial Tone Multi-Tech Systems, Inc. MT2834BA/BL Series User Guide 104Callback Security/Remote Configuration Command Summary Password Command Summary 25bis CommandsDelayed and Forbidden Numbers Appendix D V.25bis Operation25bis Operation Appendix D V.25bis Operation25bis Mode AT Commands 25bis DIP-Switches25bis Set-Up and Initialization Multi-Tech Systems, Inc. MT2834BA/BL Series User Guide 10825bis AT Commands Enable/Disable V.25bis Mode $V CommandChange Serial Baud Rate CSP Command 25bis Responses Result CodesDial Phone Number Provided CRN Command Listing Delayed Phone Numbers RLD CommandListing Forbidden Phone Number RLF Command Disregard or Connect to Incoming Calls DIC or CIC CommandITU V.25bis Country Specific Information Singapore Appendix D V.25bis Operation BelgiumMulti-Tech Systems, Inc. MT2834BA/BL Series User Guide 112 Appendix E MultiModemBA Cables Appendix E MultiModemBA/BL CablesFCC Part 68 Telecom Appendix F Regulatory InformationFCC Part Canadian Limitations Notice Multi-Tech Systems, Inc. MT2834BA/BL Series User Guide 115South African Notice Multi-Tech Systems, Inc. MT2834BA/BL Series User Guide 116Appendix G Weee Statement Index Multi-Tech Systems, Inc. MT2834BA/BL Series User Guide 11791-116 Multi-Tech Systems, Inc. MT2834BA/BL Series User Guide 118PBX/CBX Disconnect Drop Time for DSR/CTS/CD63 Multi-Tech Systems, Inc. MT2834BA/BL Series User Guide 119