1200 BPS Internal Modem (25-1013) Command Codes Faxback Doc. # 4740 BASIC COMMAND CODES ┌─────────────────────────────────────────────────────────────────────────┐ │CODE DESCRIPTION FUNCTION │ ├─────────────────────────────────────────────────────────────────────────┤ │AT Attention Code Command line prefix; precedes command │ │ lines except +++ (escape code) and A/ │ │ (Repeat Command). │ ├─────────────────────────────────────────────────────────────────────────┤ │A/ Repeated Command Repeats the command line. Neither AT │ │ nor (ENTER) is necessary for this │ │ command. │ ├─────────────────────────────────────────────────────────────────────────┤ │O On-line Returns the modem to on-line mode from │ │ command mode. │ ├─────────────────────────────────────────────────────────────────────────┤ │ENTER Carriage Return Closes the command line and executes │ │ command. S3 defines the carriage return │ │ character. │ ├─────────────────────────────────────────────────────────────────────────┤ │BACKSPACE BACKSPACE Edits the command line by deleting │ │ character one by one. S5 defines the │ │ backspace character. │ ├─────────────────────────────────────────────────────────────────────────┤ │+++ Escape Code Returns the modem to command mode from │ │ on-line mode. S2 defines the escape │ │ code character. S12 defines the escape │ │ code guard time. │ ├─────────────────────────────────────────────────────────────────────────┤ │Z Reset Resets the modem. │ └─────────────────────────────────────────────────────────────────────────┘ DIALING AND ANSWERING COMMANDS ┌─────────────────────────────────────────────────────────────────────────┐ │COMMAND DIALING FUNCTION │ ├─────────────────────────────────────────────────────────────────────────┤ │ D Dialing Sets the modem to originate a telephone │ │ call. D command parameters include:0-9 │ │ (),-,space,*,=,A,B,C, and D. │ ├───┬─────────────────────────────────────────────────────────────────────┤ │ │ P Pulse Dialing Sets the modem to pulse dialing mode. │ │ ├─────────────────────────────────────────────────────────────────────┤ │ │ T Touch-Tone Dialing Sets the modem to touch-tone dialing │ │ │ mode. │ │ ├─────────────────────────────────────────────────────────────────────┤ │ │ R Reverse Mode Changes the modem to answer mode auto- │ │ M │ matically after a call is originated. │ │ ├─────────────────────────────────────────────────────────────────────┤ │ O │ , Pause Causes the modem to pause when │ │ │ dialing. Place it after the access │ │ D │ code. Length of pause time is set │ │ │ by S8. │ │ I ├─────────────────────────────────────────────────────────────────────┤ │ │ / Delay for 0.125 seconds (a short │ │ F │ pause). │ │ ├─────────────────────────────────────────────────────────────────────┤ │ I │ @ Delay until no sound is heard. │ │ ├─────────────────────────────────────────────────────────────────────┤ │ E │ ! Flash the switchhook for 0.7 seconds. │ │ ├─────────────────────────────────────────────────────────────────────┤ │ R │ ; Returns the modem to command mode after │ │ │ dialing. │ │ S ├─────────────────────────────────────────────────────────────────────┤ │ │ A Answer Mode Sets the modem to answer mode │ │ │ immediately without waiting for │ │ │ a ringing signal. │ │ ├─────────────────────────────────────────────────────────────────────┤ │ │ W Waits for a dial tone before touch- │ │ │ tone dialing. It must be preceded by │ │ │ the D command. │ └───┴─────────────────────────────────────────────────────────────────────┘ COMMANDS WITH PARAMETERS ┌─────────────────────────────────────────────────────────────────────────┐ │COMMAND PARAMETERS FUNCTION DEFAULT │ ├─────────────────────────────────────────────────────────────────────────┤ │ Q 0 Result codes on Defined by DIP │ │ 1 Results codes off Switch 7 │ ├─────────────────────────────────────────────────────────────────────────┤ │ V 0 Numeric result codes Defined by DIP │ │ Verbal result codes Switch 5 │ ├─────────────────────────────────────────────────────────────────────────┤ │ X 0 Result code set 0 XO │ │ 1 Result code set 1 │ │ 2 Result code set 2 │ │ 3 Result code set 3 │ │ 4 Result code set 4 │ ├─────────────────────────────────────────────────────────────────────────┤ │ E 0 Commands are not echoed Defined by DIP │ │ 1 Echo commands Switch 4 │ ├─────────────────────────────────────────────────────────────────────────┤ │ F 0 Half duplex F1 │ │ 1 Full duplex │ ├─────────────────────────────────────────────────────────────────────────┤ │ M 0 Monitor speaker always M1 │ │ off. │ │ 1 Monitor speaker on │ │ until carrier-detect. │ │ 2 Monitor speaker always on. │ ├─────────────────────────────────────────────────────────────────────────┤ │ C 0 Transmitter off C1 │ │ 1 Transmitter on │ ├─────────────────────────────────────────────────────────────────────────┤ │ H 0 On hook (phone line is │ │ disconnected when not │ │ in use) H0 │ │ 1 Off hook (phone line is │ │ connected regardless of │ │ its condition) │ ├─────────────────────────────────────────────────────────────────────────┤ │ I 0 Product code None │ │ 1 ROM sumcheck │ │ 2 Internal memory test │ ├─────────────────────────────────────────────────────────────────────────┤ │ Z 0 Resets the modem to Z0 │ │ default condition │ │ 1 Goes back to the command │ │ mode with user setting intact. │ └─────────────────────────────────────────────────────────────────────────┘ 1200 BAUD PC MODEM 250-1013 COMMANDS (PROG) ────────────────────────────────────────────────────────────────────────────── COMMAND SYNTAX ATTENTION All commands must begin with the letters AT. AT is short for "Attention" and is used by the PC Modem to automatically set the baud rate and parity. AT must be entered in the upper case, all other commands may be in either upper or lower case. This command is the signal to the PC Modem that what follows is a command. LINE LENGTH LIMITS AT may be followed by one or more commands. The commands will be performed in the order given. The number of commands given at once is limited only by the line length, which cannot exceed 40 characters following AT. Control characters and spaces are not counted, but punctuation marks such as dashes or commas are. The syntax of a command to the PC Modem is as follows: AT CARRIAGE RETURN Note that denotes carriage return. This is the command terminator; the command is not processed until a is entered. ──────────────────────────────────────────────────────────────────────────── BASIC COMMANDS ┌──────────────────────────────────────────────────────────────────────────┐ │CODE DESCRIPTION FUNCTION │ ├──────────────────────────────────────────────────────────────────────────┤ │AT Attention Code Wakes up the modem to command receptive │ │ state. Starts the command line. │ ├──────────────────────────────────────────────────────────────────────────┤ │ENTER Carriage Return Closes the command line & executes command│ │ S3 defines the carriage return character. │ ├──────────────────────────────────────────────────────────────────────────┤ │BACKSPACE BACKSPACE Edits the command line by deleting char- │ │ acter one by one. S5 defines the back- │ │ space character. │ ├──────────────────────────────────────────────────────────────────────────┤ │+++ Escape Code Returns the modem to command mode from on-│ │ line mode. S2 defines the escape code │ │ character. S12 defines the escape code │ │ guard time. │ └──────────────────────────────────────────────────────────────────────────┘ AUTODIAL COMMANDS ┌──────────────────────────────────────────────────────────────────────────┐ │COMMAND DIALING FUNCTION │ ├──────────────────────────────────────────────────────────────────────────┤ │ D Dialing The PC Modem goes to originate mode and │ │ will dial the number following. │ ├──────────────────────────────────────────────────────────────────────────┤ │ , Pause The PC Modem will pause for two seconds │ │ (default time). It allows the PC Modem │ │comma to wait for a second dial tone, as, for │ │ example, when waiting on an outside line│ │ on a PBX board. │ ├──────────────────────────────────────────────────────────────────────────┤ │ T Touch-Tone Dialing Sets the modem to touch-tone dialing │ ├──────────────────────────────────────────────────────────────────────────┤ │ P Pulse Dialing Sets the modem to pulse dialing mode. │ ├──────────────────────────────────────────────────────────────────────────┤ │ R Reverse Mode Used to call an "originate only" modem │ │ such as an acoustic coupler. │ ├──────────────────────────────────────────────────────────────────────────┤ │ A/ Repeat Command Repeats the command line. Neither AT nor│ │ (ENTER) is necessary for this command. │ ├──────────────────────────────────────────────────────────────────────────┤ │ ; Returns the modem to command mode after │ │semicolon dialing. │ └──────────────────────────────────────────────────────────────────────────┘ ADDITIONAL COMMANDS ┌─────────────────────────────────────────────────────────────────────────┐ │COMMAND PARAMETERS FUNCTION │ ├─────────────────────────────────────────────────────────────────────────┤ │ A ──── Sets the modem to answer mode immediately without │ │ waiting for a ringing signal. │ ├─────────────────────────────────────────────────────────────────────────┤ │ Cn 0 Transmitter off │ │ 1 (+) Transmitter on │ ├─────────────────────────────────────────────────────────────────────────┤ │ En 0 Do not echo in command mode │ │ 1 (+) Echo characters in command mode │ ├─────────────────────────────────────────────────────────────────────────┤ │ Fn 0 Half duplex │ │ 1 (+) Full duplex │ ├─────────────────────────────────────────────────────────────────────────┤ │ Hn 0 On hook (phone line is disconnected when not in use│ │ 1 Off hook (phone line is connected regardless of its│ │ condition) │ ├─────────────────────────────────────────────────────────────────────────┤ │ Mn 0 Monitor speaker always off │ │ 1 (+) Monitor speaker on until carrier-detect. │ │ 2 Monitor speaker always on. │ ├─────────────────────────────────────────────────────────────────────────┤ │ On 0 (+) Return to previous state │ │ 1 Exit RDL & return on line │ │ 2 Initiate RDL & return on line │ ├─────────────────────────────────────────────────────────────────────────┤ │ Qn 0 (+) Result codes on │ │ 1 Results codes off │ ├─────────────────────────────────────────────────────────────────────────┤ │ Sr? 0-16 Determine status of the register indicated by "r" │ ├─────────────────────────────────────────────────────────────────────────┤ │ Sr=n Set register (r) to value (n) │ │ r 0-16 │ │ n 0-255 │ ├─────────────────────────────────────────────────────────────────────────┤ │ Vn 0 (+) Numeric result codes │ │ 1 Verbal result codes │ ├─────────────────────────────────────────────────────────────────────────┤ │ W ─── Waits for a dial tone before touch-tone dialing. │ │ It must be preceded by the D command. │ ├─────────────────────────────────────────────────────────────────────────┤ │ Xn 0 (+) Basic result codes (0-4) │ │ 1 Connect 1200 (code 5) enabled │ │ 2 Connect 1200 (code 5) and No Dial Tone (code 6) en-│ │ abled. │ │ 3 Connect 1200 (code 5), Busy (code 7), and No Answer│ │ (code 8) enabled. │ │ 4 Connect 1200 (code 5), No Dial Tone (code 6), Busy │ │ (code 7) and No Answer (code 8) enabled. │ ├─────────────────────────────────────────────────────────────────────────┤ │ Z ─── Resets the modem to default condition │ └─────────────────────────────────────────────────────────────────────────┘ (dkh-07/28/93)