2400 BPS Internal Modem (250-3525) COMMANDS Faxback Doc. # 4935 BASIC COMMAND CODES ┌─────────┬───────────────┬─────────────────────────────────────────────────┐ │CODE │ DESCRIPTION │ FUNCTION │ ├─────────┼───────────────┼─────────────────────────────────────────────────┤ │ AT │Attention Code │ All commands must begin with the letters AT. AT│ │ │ │ is short for "Attention" and your modem uses │ │ │ │ these letters to automatically set the baud rate│ │ │ │ and the parity. You can enter AT and all other │ │ │ │ commands in either upper or lower case. │ ├─────────┼───────────────┼─────────────────────────────────────────────────┤ │ A │Answer Command │ This command causes the modem to go off-hook and│ │ │ │ generate an answer carrier tone. Used for man- │ │ │ │ ual answer. │ ├─────────┼───────────────┼─────────────────────────────────────────────────┤ │ A/ │Repeat Last │ When this command is issued (without an AT pre- │ │ │Command │ fix) the last command entered is repeated. If │ │ │ │ the last command was a dial command and a con- │ │ │ │ nection was established, the last command will │ │ │ │ not be repeated. │ ├─────────┼───────────────┼─────────────────────────────────────────────────┤ │ENTER │Carriage Return│ Ends the command line and executes commands. Re-│ │ │ │ gister 3 defines the carriage return character. │ ├─────────┼───────────────┼─────────────────────────────────────────────────┤ │BACKSPACE│ BACKSPACE │ Deletes characters on the command line one by │ │ │ │ one. Register 5 defines the backspace character.│ ├─────────┼───────────────┼─────────────────────────────────────────────────┤ │ +++ │ Escape Code │ The command state in the modem can be entered │ │ │ │ during the on-line state by sending the escape │ │ │ │ sequence. The sequence consists of no trans- │ │ │ │ mission for the time specified by register S12, │ │ │ │ followed by three consecutive escape characters │ │ │ │ from register S2 and followed by another S12 re-│ │ │ │ gister time of no transmission. The default is:│ │ │ │ 1 second wait, +++, 1 second wait. The modem │ │ │ │ will respond with OK. │ ├─────────┼───────────────┼─────────────────────────────────────────────────┤ │ Z │ Reset Command │ This command resets the modem to its power up │ │ │ │ condition. Any connection present is broken. │ └─────────┴───────────────┴─────────────────────────────────────────────────┘ DIALING AND ANSWERING COMMANDS ┌──────────────┬─────────┬──────────────────────────────────────────────────┐ │ COMMAND │ DIALING │ FUNCTION │ ├──────────────┼─────────┼──────────────────────────────────────────────────┤ │ D │ Dialing │ Causes the modem to go off-hook and autodial the │ │ │ │ specified number using the specified parameters. │ ├───┬──────────┼─────────┼──────────────────────────────────────────────────┤ │ M │ P, T │ │ Select pulse or tone dialing. │ │ ├──────────┼─────────┼──────────────────────────────────────────────────┤ │ O │ , │ │ Pause for the time specified in register S8. │ │ │ │ │ (Default 2 seconds.) │ │ D ├──────────┼─────────┼──────────────────────────────────────────────────┤ │ │ ; │ │ Put the modem in the command state after dialing.│ │ I ├──────────┼─────────┼──────────────────────────────────────────────────┤ │ │ @ │ │ Wait for one or more rings followed by 5 seconds │ │ F │ │ │ of silence for the time specified in register S7.│ │ │ │ │ (Default = 30 seconds.) │ │ I ├──────────┼─────────┼──────────────────────────────────────────────────┤ │ │ ! │ │ Flash the modem on-hook for 1/2 second. │ │ E ├──────────┼─────────┼──────────────────────────────────────────────────┤ │ │ R │ │ Reverse the connection to answer instead of orig-│ │ R │ │ │ inate after dialing. │ │ ├──────────┼─────────┼──────────────────────────────────────────────────┤ │ S │ W │ │ Wait for dial tone. │ └───┴──────────┴─────────┴──────────────────────────────────────────────────┘ COMMANDS WITH PARAMETERS ┌───────┬────────────┬──────────────────────────────────────────────────────┐ │COMMAND│ PARAMETERS │ FUNCTION │ ├───────┼────────────┼──────────────────────────────────────────────────────┤ │ B │ 0 │ Selects CCITT V.22 operation when communicating at │ │ │ │ 1200 bps. │ │ │ 1 (Default)│ Selects BELL 103/212A operation when communicating at│ │ │ │ 1200 bps. │ ├───────┼────────────┼──────────────────────────────────────────────────────┤ │ E │ 0 │ Commands are not echoed │ │ │ 1 (Default)│ Commands are echoed. │ ├───────┼────────────┼──────────────────────────────────────────────────────┤ │ H │ 0 (Default)│ On hook (hang up). │ │ │ 1 │ Go off hook. │ ├───────┼────────────┼──────────────────────────────────────────────────────┤ │ I │ 0 │ Requests product identification code. │ │ │ 1 │ Performs checksum on firmware ROM; returns checksum. │ │ │ 2 │ Tests the modem's firmware ROM and memory; return OK │ │ │ │ or ERROR. │ ├───────┼────────────┼──────────────────────────────────────────────────────┤ │ M │ 0 │ Speaker off. │ │ │ 1 (Default)│ Speaker on until carrier detected. │ │ │ 2 │ Speaker always on. │ │ │ 3 │ Speaker on after dial until carrier detected. │ ├───────┼────────────┼──────────────────────────────────────────────────────┤ │ O │ │ The O command will cause the modem to return to the │ │ │ │ on-line state after the escape sequence has been │ │ │ │ entered. │ ├───────┼────────────┼──────────────────────────────────────────────────────┤ │ Q │ 0 (Default)│ Modem returns result codes. │ │ │ 1 │ Modem does not return result codes. │ ├───────┼────────────┼──────────────────────────────────────────────────────┤ │ V │ 0 │ Numeric result codes │ │ │ 1 (Default)│ Word result codes │ ├───────┼────────────┼──────────────────────────────────────────────────────┤ │ X │ 0 │ Result code set 0 │ │ │ 1 │ Result code set 1 │ │ │ 2 │ Result code set 2 │ │ │ 3 │ Result code set 3 │ │ │ 4 (Default)│ Result code set 4 │ └───────┴────────────┴──────────────────────────────────────────────────────┘ SUMMARY OF THE X COMMAND CONDITIONS ┌─────────────────────┬───────────────────────────────────────────────┐ │ FUNCTION │ X0 X1 X2 X3 X4 │ ├─────────────────────┼───────────────────────────────────────────────┤ │ BUSY detected │ No No No Yes Yes│ ├─────────────────────┼───────────────────────────────────────────────┤ │ DIAL TONE detected │ No No Yes No Yes│ ├─────────────────────┼───────────────────────────────────────────────│ │ CONNECT message only│ Yes No No No No │ ├─────────────────────┼───────────────────────────────────────────────┤ │ BLIND DIAL enabled │ Yes Yes No Yes No │ └─────────────────────┴───────────────────────────────────────────────┘ ADVANCED COMMANDS ┌───────┬────────────┬──────────────────────────────────────────────────────┐ │COMMAND│ PARAMETERS │ FUNCTION │ ├───────┼────────────┼──────────────────────────────────────────────────────┤ │ &C │ 0 (Default)│ DCD (Data Carrier Detect) always on. │ │ │ 1 │ DCD on indicates presence of data carrier. │ ├───────┼────────────┼──────────────────────────────────────────────────────┤ │ &D │ 0 │ Modem ignores DTR (Data Terminal Ready). │ │ │ 1 │ Modem assumes command mode when on-to-off transition │ │ │ │ is detected on DTR. │ │ │ 2 │ When on-line with a host system, modem goes on-hook │ │ │ │ and assumes command mode upon detecting an on-to-off │ │ │ │ transition on DTR. │ │ │ 3 │ Modem initializes upon detecting an on-to-off transi-│ │ │ │ tion on DTR. │ ├───────┼────────────┼──────────────────────────────────────────────────────┤ │ &F │ None │ Recalls the factory defaults. │ ├───────┼────────────┼──────────────────────────────────────────────────────┤ │ &P │ 0 (Default)│ Pulse dial make/break ratio 39:61 (USA). │ │ │ 1 │ Pulse dial make/break ratio 33:67 (UK/HK). │ ├───────┼────────────┼──────────────────────────────────────────────────────┤ │ &S │ 0 (Default)│ DSR (Data Set Ready) always on. │ │ │ 1 │ DSR operates in accordance with EIA. │ │ │ 2 │ RS-232C specifications. │ ├───────┼────────────┼──────────────────────────────────────────────────────┤ │ &Tn │ 0 │ Stops any test in progress. │ │ │ 1 │ Start Local Analog Loopback Test. │ │ │ 3 │ Start Local Digital Loopback Test. │ │ │ 4 │ Enable Remote Digital Loopback Request. │ │ │ 5 │ Disable Remote Digital Loopback Request. │ │ │ 6 │ Start Remote Digital Loopback Request. │ │ │ 7 │ Start Remote Digital Loopback Request with automatic │ │ │ │ test pattern generation/checking. │ │ │ 8 │ Start Remote Analog Loopback Request with automatic │ │ │ │ test pattern generation/checking. │ └───────┴────────────┴──────────────────────────────────────────────────────┘ (css 07/28/93)