home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / MODEMS / USRMAN.ZIP / SIX.ASC < prev    next >
Encoding:
Text File  |  1990-12-27  |  27.0 KB  |  1,300 lines

  1.                      COURIER HIGH SPEED MODEMS
  2.  
  3.  
  4.  
  5. CHAPTER 6.  ASYNCHRONOUS DIALING AND ANSWERING
  6.  
  7.       
  8.  
  9.       The information in this chapter applies
  10.       to asynchronous calls only.  For
  11.       synchronous operations, refer to Chapter
  12.       7.
  13.  
  14.  
  15. BEFORE CONNECTING
  16.  
  17.       For two modems to connect and exchange
  18.       data, they must use the same modulation
  19.       standard and, for error control to be
  20.       successful, the same error control
  21.       protocol.  The end-to-end devices (the
  22.       computers, or DTEs) must use the same
  23.       word length, parity, and number of stop
  24.       bit settings.
  25.  
  26.  
  27. Modulation/Standards
  28.  
  29.       The Courier modem adheres to the
  30.       following modulation and signaling
  31.       standards.
  32.  
  33.        USR-HST   14.4K/12K/9600/7200/4800 bps
  34.                  (Dual Standard and HST
  35.                  modems)
  36.        CCITT V.32 bis    14.4K/12K/9600/7200/4
  37.                  800 bps (Dual Standard and
  38.                  V.32 bis modems)
  39.        CCITT V.32   9600/4800 bps (Dual
  40.                  Standard and V.32 bis modems)
  41.        V.22 bis  2400 bps
  42.        Bell 212A/   1200 bps
  43.        CCITT V.22   
  44.        CCITT V.23   1200 bps with 75 bps back
  45.                  channel (British phone
  46.                  system)
  47.  
  48.  
  49.                 Asynchronous Operations    6-1
  50.  
  51. COURIER HIGH SPEED MODEMS
  52.  
  53.  
  54.  
  55.        CCITT V.25   Answer sequence for calls
  56.                  originating outside the U.S.
  57.                  and Canada
  58.        Bell 103 or  300 bps
  59.        CCITT V.21   
  60.        CCITT V.42   LAPM error control, 1200
  61.                  bps and higher
  62.        CCITT V.42 bis    Data compression,
  63.                  1200 bps and higher
  64.        MNP       Levels 2, 3 and 4 error
  65.                  control, level 5 data
  66.                  compression, 1200 bps and
  67.                  higher
  68.        CCITT V.54   Analog digital and remote
  69.                  digital loopback testing
  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. 6-2    Asynchronous Operations
  100.  
  101.                      COURIER HIGH SPEED MODEMS
  102.  
  103.  
  104.  
  105. Setting the Transmission Rate
  106.  
  107.       Setting your terminal or software to
  108.       38.4K or 19.2K bps ensures that the
  109.       Courier can operate at its highest
  110.       speed.  The modem detects the rate from
  111.       the AT command and operates accordingly.
  112.       It also detects your terminal/software
  113.       settings for the data formats shown
  114.       below in Table 6.1.
  115.  
  116.       Follow the guidelines in the Quick Start
  117.       in Chapter 3 or the more detailed
  118.       instructions in Chapter 4 before
  119.       selecting either variable or fixed DTE
  120.       rates (&Bn).  Setting the modem to &B1
  121.       and your software to a high DTE rate
  122.       will give you the best throughput.   Set
  123.       the modem for flow control (&Hn), as
  124.       well.
  125.  
  126.       We recommend leaving the modem at its
  127.       link operation factory setting, &N0,
  128.       unless your application requires that
  129.       you specify a fixed link rate.  &N0
  130.       allows the Courier to automatically
  131.       negotiate with the remote modem for the
  132.       highest possible link rate.
  133.  
  134.  
  135. Data Format
  136.  
  137.       Both modems must use the same 10-bit
  138.       data format, which you must select
  139.       through your terminal or software.  The
  140.       formats allowed are as follows:
  141.  
  142.           Start Data               Stop
  143.            Bits Bits    Parity     Bits
  144.            
  145.             1    7    Even, Odd,    1
  146.                      Mark, Space        
  147.             1    7  None, Even, Odd     2    
  148.  
  149.                 Asynchronous Operations    6-3
  150.  
  151. COURIER HIGH SPEED MODEMS
  152.  
  153.  
  154.  
  155.                      Mark, Space
  156.             1    8       None           1,2  
  157.  
  158.           Table 6.1ΩAllowable Data Formats
  159.  
  160.  
  161.  
  162. Error Control
  163.  
  164.       For reliable high speed data transfer,
  165.       always set the Courier for error
  166.       control, &M4 (the default) or &M5, for
  167.       calls above 2400 bps.  Most users
  168.       communicating with V.42- or MNP-
  169.       compatible modems will want error
  170.       control at 2400 and 1200 bps as well.
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199. 6-4    Asynchronous Operations
  200.  
  201.                      COURIER HIGH SPEED MODEMS
  202.  
  203.  
  204.  
  205.       It is a good idea to find out if the
  206.       remote modem is MNP-compatible.  Some
  207.       public network services, for example,
  208.       are not.  If the remote modem doesn't
  209.       have MNP capability, it may misinterpret
  210.       the error control request and block a
  211.       successful connection.  If you know the
  212.       remote modem doesn't support MNP,
  213.       disable MNP handshaking by setting
  214.       Register S27 to 16.  The modem still
  215.       connects with V.42-compatible modems.
  216.  
  217.  
  218. PLACING CALLS
  219.  
  220.       The commands discussed in this section
  221.       are used in the following operations:
  222.  
  223.          Dialing     D (0-9 # * , ; ! P T W @
  224.            R), DSn
  225.          Redialing   A/, A>, >
  226.          Canceling dialing    <any key>
  227.  
  228.  
  229. Dial (D)
  230.  
  231.       When the Dial command is issued the
  232.       modem goes off hookΩthe equivalent of
  233.       picking up your phoneΩthen enters
  234.       Originate mode and dials the number
  235.       sequence that follows.  The modem also
  236.       executes any other commands or options
  237.       included in the command line.
  238.  
  239.       The command string may include up to 40
  240.       characters.  The modem counts, but
  241.       ignores punctuation characters such as
  242.       parentheses and hyphens.  It does not
  243.       count spaces, the AT prefix or the
  244.       Carriage Return (Enter key) required to
  245.       execute the command.
  246.  
  247.  
  248.  
  249.                 Asynchronous Operations    6-5
  250.  
  251. COURIER HIGH SPEED MODEMS
  252.  
  253.  
  254.  
  255.       The following command example instructs
  256.       the modem to stop the display of
  257.       commands (E0, turn off the local echo),
  258.       turn off the speaker (M0), and dial (D)
  259.       the phone number (1234567) using Touch-
  260.       Tone dialing (T).  The spaces shown are
  261.       ignored by the modem and are only
  262.       included here for readability.
  263.  
  264.              AT E0 M0 DT 1234567 <Enter>
  265.  
  266.  
  267. Cancel Dialing
  268.  
  269.       To cancel Dial-command execution, press
  270.       <any key>. If you inadvertently hit a
  271.       key on the keyboard while the modem is
  272.       dialing, the call is canceled.  If this
  273.       occurs, type the A/ command explained
  274.       under Redialing later in this chapter.
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299. 6-6    Asynchronous Operations
  300.  
  301.                      COURIER HIGH SPEED MODEMS
  302.  
  303.  
  304.  
  305. Dialing Type, Pulse or Tone
  306.  
  307.       If set to X0 or X1, the modem defaults
  308.       to pulse (rotary) dialing.  To have the
  309.       modem use tone dialing, which includes
  310.       the asterisk (*) and pound sign (#), use
  311.       the T command.   The command may be
  312.       included in the Dial string, as in the
  313.       previous command example, or issued
  314.       separately:
  315.  
  316.              ATT <Enter>
  317.  
  318.       The following command resets the modem
  319.       to pulse dialing:
  320.  
  321.              ATP <Enter>
  322.  
  323.       You can switch from one dial type to
  324.       another within a dialing sequence.
  325.  
  326.       NOTE:  The modem remains set to the
  327.       dialing type of the last call until it
  328.       is reset (ATZ command) or it receives a
  329.       different dial-type command.
  330.  
  331.  
  332. Adaptive Dialing (X2ΩX7)
  333.  
  334.       When any of the X2 through X7 options is
  335.       in effect and you do not issue a dialing
  336.       type in the Dial string, the Courier
  337.       uses tone dialing, which is faster than
  338.       the default pulse type.  However, if the
  339.       phone company's central office does not
  340.       have Touch-Tone detection equipment, the
  341.       modem cannot break dial and continues to
  342.       detect the dial tone.  If this occurs,
  343.       the modem automatically reverts to pulse
  344.       dialing.
  345.  
  346.  
  347. Pause (,)
  348.  
  349.                 Asynchronous Operations    6-7
  350.  
  351. COURIER HIGH SPEED MODEMS
  352.  
  353.  
  354.  
  355.       A comma causes a two-second delay in the
  356.       dial sequence.  The following example
  357.       contains four-second delays at several
  358.       points:
  359.  
  360.              ATDP 9,,7654321,,55555,,1 312
  361.              1234567 <Enter>
  362.  
  363.       The first four-second pause is to access
  364.       an outside line after dialing 9, but you
  365.       may wish the use the W option, described
  366.       in what follows.  The second pause is to
  367.       make sure the remote system is ready for
  368.       the user's account number, and the
  369.       third, to delay before dialing the long-
  370.       distance number.
  371.  
  372.       Such pauses, however, may not be
  373.       necessary.  Experiment and use delays
  374.       only as required.
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399. 6-8    Asynchronous Operations
  400.  
  401.                      COURIER HIGH SPEED MODEMS
  402.  
  403.  
  404.  
  405. Slash (/)
  406.  
  407.       A slash (/) can be used in any command
  408.       string to have the modem pause for only
  409.       125 milliseconds.  Some users find it
  410.       helpful to have the shorter delay of a
  411.       series of slashes, rather than the 2-
  412.       second comma pause.
  413.  
  414.  
  415. Wait for Another Dial Tone (W)
  416.  
  417.       This command is useful in situations
  418.       where you must wait for a second dial
  419.       tone before continuing dialing.  For
  420.       example, if you need to dial for an
  421.       outside line, as in the following
  422.       example, the Courier continues dialing
  423.       as soon as it detects the next dial
  424.       tone.
  425.  
  426.              ATD9W1234567 <Enter>
  427.  
  428.       NOTE:  This command executes only if
  429.       result code option X3 or greater has
  430.       been issued.  If the modem is set to X2
  431.       or lower, the modem interprets the W as
  432.       a comma (two-second pause).
  433.  
  434.  
  435. Dial and Return to Command Mode (;)     
  436.  
  437.       If your phone is plugged into the modem,
  438.       you can use this option to have the
  439.       modem Auto Dial a telephone rather than
  440.       a modem.  The Courier dials, remains off
  441.       hook and returns the OK message,
  442.       indicating it is in Command mode.
  443.  
  444.       For example, to have the modem place a
  445.       voice call, enter the Dial command with
  446.       a semicolon:
  447.  
  448.  
  449.                 Asynchronous Operations    6-9
  450.  
  451. COURIER HIGH SPEED MODEMS
  452.  
  453.  
  454.  
  455.              ATDT5551234; <Enter>
  456.  
  457.       When the modem returns the OK result,
  458.       pick up your phone receiver so you can
  459.       talk to the other party, and send the
  460.       command that hangs up the modem:
  461.  
  462.              ATH <Enter>
  463.  
  464.       Similarly, you can call a recorded
  465.       weather or other service.  Have the
  466.       modem Dial, listen to the recording over
  467.       the modem's speaker and, when you are
  468.       finished, tell the modem to hang up.
  469.  
  470.  
  471. Dialing Letters (+)
  472.  
  473.       Quotation marks are used to have the
  474.       modem dial abbreviations and acronyms
  475.       used as phone numbers, such as DIAL USR
  476.       (the USRobotics Sales Department's 800
  477.       number).  The option is
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499. 6-10    Asynchronous Operations
  500.  
  501.                      COURIER HIGH SPEED MODEMS
  502.  
  503.  
  504.  
  505.       called Quote mode.  Quotation marks are
  506.       inserted at the beginning of the
  507.       alphabetic string:
  508.  
  509.              ATDT+BBS NEWS <Enter>
  510.  
  511.       NOTE:  If you are including another
  512.       command after the dial string, use
  513.       closing quotation marks before the
  514.       additional command.
  515.  
  516.  
  517. Transferring Calls (!)
  518.  
  519.       This command applies to modems in
  520.       installations where other modems share
  521.       the phone line.  The modem flashes the
  522.       switch-hook, i.e., goes off hook 0.5
  523.       seconds, on hook for 0.5 seconds, and
  524.       off hook again to dial the specified
  525.       extension.  The following example
  526.       includes instructions to return to
  527.       Command mode (;) and to hang up (H).
  528.  
  529.              ATDT !1234;H <Enter>
  530.  
  531.  
  532. Wait for an Answer (@)   
  533.  
  534.       Some online services answer the phone
  535.       and return a tape-recorded request for
  536.       information before processing
  537.       transactions.  In such instances, the @
  538.       command can be used in the Dial string
  539.       to tell the modem to detect at least one
  540.       ring, wait for five seconds of silence
  541.       at the other end of the call, and then
  542.       continue to execute the Dial string.
  543.  
  544.       To use the @ command, set the modem to
  545.       X3, X4 or X7.  If the modem is set to X2
  546.       or lower, the modem returns an ERROR
  547.       message when encountering the @
  548.  
  549.                Asynchronous Operations    6-11
  550.  
  551. COURIER HIGH SPEED MODEMS
  552.  
  553.  
  554.  
  555.       character in a command string.  If set
  556.       to X5 or X6, the modem hangs up when it
  557.       detects a voice answer and sends the
  558.       VOICE result code.
  559.  
  560.       In the next example, the modem is set to
  561.       the X4 result code option and dials a
  562.       banking service.  Each occurrence of @
  563.       in the example indicates a five-second
  564.       wait for silence, that is, for taped
  565.       requests from the bank for a password
  566.       (12345), an account number (6789) and a
  567.       transaction code (2).  The transaction
  568.       code might indicate, for example, a
  569.       request for an account balance.
  570.  
  571.              ATX4 DT5551234 @ 12345 @ 6789 @ 2
  572.              <Enter>
  573.  
  574.       If the necessary conditions do not
  575.       occurΩno rings, or no following five
  576.       seconds of silenceΩthe modem times out
  577.       as it normally
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599. 6-12    Asynchronous Operations
  600.  
  601.                      COURIER HIGH SPEED MODEMS
  602.  
  603.  
  604.  
  605.       would (after 60 seconds).  It then sends
  606.       the message NO ANSWER to the screen and
  607.       aborts the command.
  608.  
  609.  
  610. Reversing Originate/Answer Frequencies (R)
  611.  
  612.       This command allows calls to an
  613.       originate-only modem.  It reverses the
  614.       modem's originate/answer frequencies,
  615.       forcing the Courier to dial out at the
  616.       answer frequency.  The command follows
  617.       the Dial command, before or after the
  618.       phone number:
  619.  
  620.              AT D1234567R <Enter>
  621.              AT DR1234567 <Enter>
  622.  
  623.  
  624. Dialing a Stored Number (DSn)
  625.  
  626.       Chapter 5 includes instructions for
  627.       storing up to four telephone numbers in
  628.       nonvolatile random access memory
  629.       (NVRAM).  To have the modem dial a
  630.       stored number use the DSn command, where
  631.       n is the number's position, 0-3, in
  632.       NVRAM.  In the first of the next two
  633.       examples, the phone number is stored at
  634.       position 0, assumed by the modem if
  635.       there is no numeric parameter:
  636.  
  637.              ATDS <Enter>
  638.              ATDS3 <Enter>
  639.  
  640.       You can store a partial dial sequence,
  641.       for example, the phone number of a
  642.       system, to which you might want to add
  643.       different codes for different
  644.       extensions.  Store the phone number so
  645.       that you don't have to type it each
  646.       time.  Use the DSn command to dial the
  647.       number; then have the modem dial
  648.  
  649.                Asynchronous Operations    6-13
  650.  
  651. COURIER HIGH SPEED MODEMS
  652.  
  653.  
  654.  
  655.       whichever code you want, as in the
  656.       following example.  The phone number is
  657.       stored at position 1.  Spaces in the
  658.       command string are included here only
  659.       for readability.
  660.  
  661.              AT DS1 D5678 <Enter>
  662.  
  663.  
  664. REDIALING
  665.  
  666.       The most frequent reason for redialing
  667.       is receipt of a busy signal.  The
  668.       Courier provides three ways to redial,
  669.       as follows.
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699. 6-14    Asynchronous Operations
  700.  
  701.                      COURIER HIGH SPEED MODEMS
  702.  
  703.  
  704.  
  705. Dial the Last Dialed Number (DL)
  706.  
  707.       When sent this command, the modem dials
  708.       the last dialed number, which it has
  709.       stored in a special buffer:
  710.  
  711.              ATDL
  712.  
  713.       To display the number stored in the
  714.       last-dialed buffer, use the following
  715.       command:
  716.  
  717.              ATDL?
  718.  
  719.       To write the last number dialed to
  720.       NVRAM, use &Zn = L where n is the
  721.       position in NVRAM.  The following
  722.       example stores the last dialed number at
  723.       position 3:
  724.  
  725.              &Z3 = L
  726.  
  727.       If a number is already stored at
  728.       position 3, that number is overwritten
  729.       with the last-dialed number.
  730.  
  731.  
  732. Re-execute the Last Command (A/)
  733.  
  734.       The A/ command, which does not take the
  735.       AT prefix or a Carriage Return, redials
  736.       one time:
  737.  
  738.              A/
  739.  
  740.       When the modem receives a command, it
  741.       stores the instruction in its command
  742.       buffer until it receives the next AT
  743.       command.  Note that if you've sent the
  744.       modem an additional command since the
  745.       Dial command, A/ re-executes that
  746.       command instead of redialing.
  747.  
  748.  
  749.                Asynchronous Operations    6-15
  750.  
  751. COURIER HIGH SPEED MODEMS
  752.  
  753.  
  754.  
  755.  
  756. Automated Redialing (>, A>)
  757.  
  758.       These two commands, while they can be
  759.       used to continuously repeat any command,
  760.       are designed for automated redialing.
  761.       The first (>) is included in the Dial
  762.       command.  The second (A>) is used alone
  763.       to continuously redial the command
  764.       string in the buffer.
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799. 6-16    Asynchronous Operations
  800.  
  801.                      COURIER HIGH SPEED MODEMS
  802.  
  803.  
  804.  
  805. Continuous Repeat (>)
  806.  
  807.       If you know the modem you are calling is
  808.       frequently busy, include the Repeat
  809.       command in the Dial string, as follows:
  810.  
  811.              AT > DT 1234567 <Enter>
  812.              AT DT 1234567 > <Enter>
  813.  
  814.       The modem enters Repeat mode, dials the
  815.       number, waits the default 60 seconds for
  816.       a carrier, and hangs up.  Then, after a
  817.       two-second pause, it redials.
  818.  
  819.       The cycle continues until the modems
  820.       connect or the modem reaches a maximum
  821.       of 10 attempts.  The 10-try limit is
  822.       mandated by the Canadian Department of
  823.       Communications (DOC) to prevent tying up
  824.       local telephone company exchanges with
  825.       unconnected calls.
  826.  
  827.  
  828. Continuous Re-execute (A>)
  829.  
  830.       This command combines the features of
  831.       both the A/ and > commands.  The modem
  832.       enters Repeat mode as described above,
  833.       and redials the Dial string in the
  834.       command buffer.  Like the A/ command, A>
  835.       does not take the AT prefix or a
  836.       Carriage Return:
  837.  
  838.              A>
  839.  
  840.  
  841. Exiting Repeat Mode
  842.  
  843.       Should you use > or A> with a command
  844.       other than a Dial string, abort the
  845.       cycle by pressing <any key>.
  846.  
  847.  
  848.  
  849.                Asynchronous Operations    6-17
  850.  
  851. COURIER HIGH SPEED MODEMS
  852.  
  853.  
  854.  
  855.       To abort automated redialing, be sure to
  856.       press <any key> when the result code
  857.       appears, during the pause before the
  858.       modem begins dialing again.  If you
  859.       press <any key> while the modem is
  860.       dialing, that dial attempt is canceled
  861.       but the cycle continues.
  862.  
  863.  
  864. ESCAPE CODE OPERATIONS (+++)  
  865.  
  866.       Once the modem is online to another
  867.       system, the only command it recognizes
  868.       is an escape code of three pluses, which
  869.       forces the
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899. 6-18    Asynchronous Operations
  900.  
  901.                      COURIER HIGH SPEED MODEMS
  902.  
  903.  
  904.  
  905.       modem back to Command mode.  Do the
  906.       following when issuing the command:
  907.  
  908.          ∙ Wait one second after sending the
  909.            last item of data
  910.          ∙ Type: +++
  911.          ∙ Wait one second before typing any
  912.            data
  913.  
  914.       Do not type the AT prefix or a Carriage
  915.       Return.  The guard time of one second
  916.       before and after the code prevents the
  917.       modem from misinterpreting the
  918.       occurrence of +++ in the transmitted
  919.       data stream.
  920.  
  921.       If necessary, the character used in the
  922.       escape code or the duration of the guard
  923.       time can be changed by resetting
  924.       Register S2 or S12.  See the S-Register
  925.       Summary in Appendix B.
  926.  
  927.  
  928. Modem Response to +++
  929.  
  930.       The modem returns to Command mode when
  931.       it detects the escape code.  However, it
  932.       keeps the line open or hangs up,
  933.       depending on the setting of DIP switch
  934.       9:
  935.  
  936.       DIP Switch 9  Response to +++
  937.       
  938.       UP        Modem goes on hook (hangs up),
  939.                 sends NO CARRIER result code
  940.                 (factory setting)
  941.       DOWN      Modem maintains connection
  942.                 (Online-Command mode), sends
  943.                 OK result code
  944.  
  945.       The factory setting (UP) forces an
  946.       automatic disconnect when you issue +++.
  947.       An advantage of this is that you are not
  948.  
  949.                Asynchronous Operations    6-19
  950.  
  951. COURIER HIGH SPEED MODEMS
  952.  
  953.  
  954.  
  955.       likely to inadvertently run up an all-
  956.       night phone bill.
  957.  
  958.       Set DIP switch 9 DOWN if you want the
  959.       modem to respond to +++ by entering
  960.       Online-Command mode, enabling it to
  961.       execute commands and return online.
  962.       (See the O command, below.)
  963.  
  964.       WARNING:  For unattended modem
  965.       operations:  in rare instances, the
  966.       modem may fail to recognize the +++
  967.       escape code sequence.  If you are
  968.       running the modem under software control
  969.       for unattended operations, we suggest
  970.       you use the surefire method of dropping
  971.       the DTR signal from the DTE for at least
  972.       50 milliseconds, to ensure against
  973.       costly phone charges.  Methods of turn-
  974.       ing the DTR signal offΩfor example,
  975.       closing the communications portΩdiffer
  976.       from one computer to another.
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999. 6-20    Asynchronous Operations
  1000.  
  1001.                      COURIER HIGH SPEED MODEMS
  1002.  
  1003.  
  1004.  
  1005. RETURNING ONLINE (O)
  1006.  
  1007.       If DIP switch 9 is DOWN (on detection of
  1008.       the escape code the modem maintains the
  1009.       connection), you can issue commands and
  1010.       then toggle the modem back online with
  1011.       the O command, as in this example:
  1012.  
  1013.              AT Q1 O <Enter>
  1014.  
  1015.  
  1016. HANGING UP (Hn)
  1017.  
  1018.       If DIP switch 9 is DOWN (factory
  1019.       setting), the escape code forces the
  1020.       modem back to Command mode but leaves
  1021.       the line open.  If you want the modem to
  1022.       hang up, issue the following command
  1023.       once the modem sends the OK result code.
  1024.  
  1025.              ATH <Enter>
  1026.  
  1027.       If DIP switch 9 is UP, the modem
  1028.       automatically hangs up on receipt of the
  1029.       escape code.
  1030.  
  1031.  
  1032. AUTOMATIC ANSWERING
  1033.  
  1034.       The Courier is shipped with DIP switch 5
  1035.       DOWN, Auto Answer suppressed.  To set
  1036.       the modem to automatically answer incom-
  1037.       ing calls, do one of the following:
  1038.  
  1039.       1. Before powering on your system, set
  1040.          DIP switch 5 UP.  When you turn the
  1041.          computer on, the modem answers
  1042.          incoming calls on the first ring.
  1043.  
  1044.       2. When the modem is on, use software
  1045.          control.  The following command
  1046.          instructs the modem to answer on the
  1047.          first ring.  (You can substitute a
  1048.  
  1049.                Asynchronous Operations    6-21
  1050.  
  1051. COURIER HIGH SPEED MODEMS
  1052.  
  1053.  
  1054.  
  1055.          higher value.  See the S-Register
  1056.          summary in Appendix B-5.)
  1057.  
  1058.              ATS0=1 <Enter>
  1059.  
  1060.       When the modem senses a call coming in,
  1061.       it sends the result code RING to your
  1062.       screen, goes off hook, and sends the
  1063.       remote modem a high-pitched answer tone.
  1064.       If there is no Carrier Detect within 60
  1065.       seconds, the modem hangs up. If the
  1066.       connection is made, the modem sends a
  1067.       CONNECT result code.  When the call is
  1068.       disconnected by you or the remote user,
  1069.       the modem hangs up and returns the NO
  1070.       CARRIER code.
  1071.  
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099. 6-22    Asynchronous Operations
  1100.  
  1101.                      COURIER HIGH SPEED MODEMS
  1102.  
  1103.  
  1104.  
  1105. Suppressing Auto Answer
  1106.  
  1107.       To disable Auto Answer, reverse Steps 1
  1108.       or 2 above.  Set DIP switch 5 DOWN
  1109.       before powering on the modem or set the
  1110.       modem to answer on zero rings:
  1111.  
  1112.              ATS0=0 <Enter>
  1113.  
  1114.  
  1115. Points to Remember
  1116.  
  1117.       1. If the modem is attached to a
  1118.          computer, you can set the modem to
  1119.          receive calls when you're not at your
  1120.          computer.  Load your communications
  1121.          software as you normally do, and set
  1122.          the modem to Auto Answer.  Also set
  1123.          your software's file-save function to
  1124.          save incoming messages and/or files.
  1125.  
  1126.       2. If you've attached your phone so it
  1127.          can be used for conventional calls,
  1128.          disable Auto Answer when you are not
  1129.          expecting incoming data calls.
  1130.          Otherwise, your modem may answer the
  1131.          phone before you do, greeting a voice
  1132.          caller with a high-pitched,
  1133.          irritating answer tone.
  1134.  
  1135.  
  1136. INTERNATIONAL CALLS
  1137.  
  1138.       There are three commands that apply to
  1139.       international calls at 1200 bps and
  1140.       above.
  1141.  
  1142.       NOTE:  To call or answer overseas modems
  1143.       at 300 bps, set the modem to CCITT V.21
  1144.       mode.  See Register S27 in Appendix B.
  1145.  
  1146.  
  1147. Handshaking Options (Bn)
  1148.  
  1149.                Asynchronous Operations    6-23
  1150.  
  1151. COURIER HIGH SPEED MODEMS
  1152.  
  1153.  
  1154.  
  1155.       This command is used primarily to select
  1156.       HST or V.32 bis operation.  However, to
  1157.       answer international calls, use the B0
  1158.       setting, as described below.
  1159.  
  1160.       B0  This setting is required for
  1161.           V.32/V.32 bis operation.  It also
  1162.           selects the CCITT V.25 answer tone
  1163.           used outside of North America.  This
  1164.           answer tone is incorporated into the
  1165.           V.32/V.32 bis recommendations.
  1166.  
  1167.           This setting is the default for the
  1168.           Courier V.32 bis and Dual Standard
  1169.           modems.  All you need to do is make
  1170.           sure that the modem is set for Auto
  1171.           Answer (ATS0=1).
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198.  
  1199. 6-24    Asynchronous Operations
  1200.  
  1201.                      COURIER HIGH SPEED MODEMS
  1202.  
  1203.  
  1204.  
  1205.           Set Courier HST modems to B0 to an-
  1206.           swer HST-mode international calls.
  1207.           The B0 setting does not affect the
  1208.           modem's ability to call or answer
  1209.           domestic modems.  It takes slightly
  1210.           longer, however, to connect.
  1211.  
  1212.       B1  This setting is required for HST
  1213.           operation.  It also selects the Bell
  1214.           2225 Hz answer tone used in the U.S.
  1215.           and Canada.  This is the default
  1216.           setting for the Courier HST.
  1217.  
  1218.  
  1219. Guard Tone (&Gn)
  1220.  
  1221.       This setting applies only to overseas
  1222.       calls at 2400 or 1200 bps.  British
  1223.       phone switching systems require the
  1224.       modem to send an 1800 Hz guard tone
  1225.       after it sends an answer tone.  Some
  1226.       other European phone networks require a
  1227.       550 Hz guard tone.  Guard tones are not
  1228.       used in the United States or Canada.
  1229.  
  1230.       &G0 No guard tone, U.S./Canada.
  1231.           Default.
  1232.  
  1233.       &G1 550 Hz guard tone follows answer
  1234.           tone.
  1235.  
  1236.       &G2 1800 Hz guard tone follows answer
  1237.           tone, United Kingdom and some
  1238.           Commonwealth countries.  Requires B0
  1239.           setting.
  1240.  
  1241.  
  1242. Pulse Dial Make/Break Ratio (&Pn)
  1243.  
  1244.       This command sets the ratio of the off-
  1245.       hook/on-hook (make/
  1246.       break) interval for pulse dialing.  The
  1247.       default sets the modem for use in North
  1248.  
  1249.                Asynchronous Operations    6-25
  1250.  
  1251. COURIER HIGH SPEED MODEMS
  1252.  
  1253.  
  1254.  
  1255.       America.  The ratio must be changed if
  1256.       the modem is used in the United Kingdom
  1257.       and some Commonwealth countries.
  1258.  
  1259.       &P0 Make/break ratio, U.S./Canada:
  1260.           39%/61%.  Default.
  1261.  
  1262.       &P1 Make/break ratio, United Kingdom,
  1263.           some Commonwealth countries:
  1264.           33%/67%.
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299. 6-26    Asynchronous Operations
  1300.