INSTRUCTION MANUAL COM220 Telephone Modem Revision: 7/14 C o p y r i g h t © 1 9 9 7 - 2 0 1 4 C a m p b e l l S c i e n t i f i c , I n c .
Limited Warranty “Products manufactured by CSI are warranted by CSI to be free from defects in materials and workmanship under normal use and service for twelve months from the date of shipment unless otherwise specified in the corresponding product manual. (Product manuals are available for review online at www.campbellsci.com.) Products not manufactured by CSI, but that are resold by CSI, are warranted only to the limits extended by the original manufacturer.
Assistance Products may not be returned without prior authorization. The following contact information is for US and international customers residing in countries served by Campbell Scientific, Inc. directly. Affiliate companies handle repairs for customers within their territories. Please visit www.campbellsci.com to determine which Campbell Scientific company serves your country. To obtain a Returned Materials Authorization (RMA), contact CAMPBELL SCIENTIFIC, INC., phone (435) 227-9000.
Precautions DANGER — MANY HAZARDS ARE ASSOCIATED WITH INSTALLING, USING, MAINTAINING, AND WORKING ON OR AROUND TRIPODS, TOWERS, AND ANY ATTACHMENTS TO TRIPODS AND TOWERS SUCH AS SENSORS, CROSSARMS, ENCLOSURES, ANTENNAS, ETC. FAILURE TO PROPERLY AND COMPLETELY ASSEMBLE, INSTALL, OPERATE, USE, AND MAINTAIN TRIPODS, TOWERS, AND ATTACHMENTS, AND FAILURE TO HEED WARNINGS, INCREASES THE RISK OF DEATH, ACCIDENT, SERIOUS INJURY, PROPERTY DAMAGE, AND PRODUCT FAILURE.
Table of Contents PDF viewers: These page numbers refer to the printed version of this document. Use the PDF reader bookmarks tab for links to specific sections. 1. Introduction ................................................................. 1 1.1 1.2 General Description ............................................................................. 1 Computer Requirements ...................................................................... 3 2. Specifications ..........................................
Table of Contents Figures 1-1. 3-3. 3-4. A-1. A-2. A-3. A-4. B-1. COM220 DIP switches. Five screws and outer cover must be removed for access to DIP switches. ............................................... 1 COM220 .............................................................................................. 2 CR1000 and COM220 using remote telephone line ............................ 4 CR10X with CR10 wiring panel and COM220 using RJ11C telephone jack ....................................................
COM220 Telephone Modem 1. Introduction 1.1 General Description The COM220 modem is a selectable-baud-rate modem employing the Hayes AT command set. Its primary use is as a remote-site phone modem connected to a CSI datalogger. The modem is powered and enabled by the batterypowered datalogger. When not active, the COM220 draws 100 to 120 µA from the datalogger’s 12-Vdc output. During a call, it draws about 30 mA. The COM220 is a replacement for the COM210.
COM220 Telephone Modem TABLE 1-1. Default DIP Switch Settings DIP Switch Default Setting 1 Closed 2 Open 3 Closed 4 Closed 5 Open 6 Open 7 Open 8 Open The COM220 is connected to a CSI datalogger by a 9-pin subminiature D cable. This is the same 9-pin CS I/O interface common to all Campbell Scientific dataloggers (except the CR200 series). This is not an RS-232 connection. Appendix B, CS I/O Connection, describes the CS I/O interface.
COM220 Telephone Modem 1.2 Computer Requirements A Hayes-compatible modem is used at the computer site with Campbell Scientific computer software to call the datalogger attached to the COM220. The computer’s modem must be configured to the proper settings using a set of modem-initialization strings in the software program’s pick list. 2. Specifications Standards: V.92, K56Flex, V.90, V.34, V.32bis, V32, V23, V22bis, V22, V.
COM220 Telephone Modem TABLE 3-1. Dataloggers that Require Direct 12-Vdc Connection to COM220 CR10(X) with silver wiring panel CR10(X) with black CR10 wiring panel (pn 8032) 21X(L) — serial number 13,442 or lower CR500 serial number 1764 or lower CR7, CR700X — serial number 2778 or lower FIGURE 3-1.
COM220 Telephone Modem Red (+12V) 14-AWG Ground Wire FIGURE 3-2. CR10X with CR10 wiring panel and COM220 using RJ11C telephone jack 3.2 Connecting to Earth Ground Connect the green 14-AWG grounding wire (provided with the COM220) to the ground terminal (GND) on the COM220 and to the enclosure’s earth ground connection. If the site does not have a grounded enclosure, connect the ground wire directly to an earth ground connection.
COM220 Telephone Modem 3.3 6 LoggerNet Setup • In the LoggerNet Setup Screen, press Add Root and choose ComPort. From the ComPort, select Communications, and Add a PhoneBase, a PhoneRemote, a PakBusPort (if your datalogger is a PakBus datalogger), and your datalogger. • Click on the ComPort in your network map, and select the correct ComPort Connection for your modem. • Click on the PhoneBase in your network map.
COM220 Telephone Modem • 3.4 Press Apply to save your changes. Telephone to MD485 or Telephone to RF Systems Telephone-to-MD485 or telephone-to-radio configurations can be utilized for communicating with multiple dataloggers through one telephone line. For telephone-to-MD485 or telephone-to-radio communications (with no datalogger router), the COM220 should be set for ME mode. The COM220 and MD485 should be set to the same baud rate.
COM220 Telephone Modem 3.6 Connecting to a Surge Protector Campbell Scientific offers two surge protectors (pn 4330 and 6362). The 4330 and 6362 are essentially the same, except that the 6362 has hardware for mounting to an enclosure backplate. NOTE The 4330 is also known as the 2374-01. The 4330 and 6362 have a protector element for each line that consists of a heavy-duty rated, two-element gas tube, an external, backup gap assembly, and a switch-grade shorting mechanism.
COM220 Telephone Modem FIGURE 3-4. Side view of surge-suppressor wiring 4. Modem Settings The COM220 is shipped from the factory with default settings that support PakBus dataloggers (such as the CR800, CR1000, CR3000, and CR10XPB). The modem comes configured for synchronous device communication (SDC7), and, if using a PakBus datalogger, can answer a call as soon as a call is detected. Default settings must be changed if using a non-PakBus datalogger.
COM220 Telephone Modem Some of the AT command settings that may be changed are: Disable auto-answer: This option is used only when the modem is not to answer a call. For example, the COM220 is connected to a telephone line that is to be used partly for voice communication. In this situation, it is best to have the datalogger call the computer. Speaker on/off and volume: Default settings have the speaker on only during call establishment and set to a low volume.
COM220 Telephone Modem enable auto-bauding in the datalogger. If the datalogger BaudrateME is positive (due to an earlier program instruction or Status table configuration), the datalogger will be unable to communicate with the COM220 unless baud rates happen to match. A good rule of thumb is to keep baud rates negative (–) in programs and when configuring the Status table to allow datalogger auto-bauding.
COM220 Telephone Modem To comply with FCC rules and regulations, all repairs on the COM220 modem must be performed by Campbell Scientific, Inc. or an authorized agent of Campbell Scientific, Inc. For assistance in installation or troubleshooting or for repairs, contact Campbell Scientific: Campbell Scientific, Inc. 815 West 1800 North Logan, Utah 84321-1784 Telephone: (435) 227-9000 Fax: (435) 227-9001 Website: www.campbellsci.
Appendix A. Changing COM220 Settings CAUTION Changing any of the modem’s settings may result in communication problems. After changing the settings, try the modem locally before installing it at a remote location. To speed problem resolution when contacting Campbell Scientific for support, please inform us of any modemsettings changes that have been made. A.
Appendix A. Changing COM220 Settings TABLE A-1. Selecting ME Baud Rates via DIP Switches 3 and 4 ME Baud Rate Switch 3 Switch 4 9600 Open Open 38400 Open Closed 57600 Closed Open 115200 Closed Closed Please note that older dataloggers (such as the CR10X, CR23X, and CR510) cannot support the highest COM220 ME baud rates. TABLE A-2 lists maximum datalogger baud rates. TABLE A-2.
Appendix A. Changing COM220 Settings FIGURE A-1. COM220 to computer connection To configure the COM220 with Hayes AT commands, follow these steps: 1) Close DIP switch 8 on the COM220 (power to the COM220 must be cycled for about 5 sec before changes to DIP-switch settings are effective). 2) You must use an SC532A with a 12-Vac adapter or an SC532 interface to communicate with the modem. Connect the PC port (called RS232 on the SC532) to a serial port on your computer via an RS232 cable.
Appendix A. Changing COM220 Settings NOTE You must click on the connect button BEFORE applying power to the COM220. 7) Follow the instructions that appear in the terminal emulator screen (FIGURE A-3). 8) Be sure to save all new commands before exiting (by entering 5 and pressing Enter). 9) When finished, return DIP switch 8 on the COM220 to its open position. FIGURE A-2.
Appendix A. Changing COM220 Settings FIGURE A-3. Terminal Emulator screen in Device Configuration HAYES AT COMMAND SUMMARY: This manual does not attempt to be a primer on the Hayes AT command set. The commands are, therefore, only summarized below. For most applications, these commands will not need to be used. Except as noted, all commands should begin with an “AT” and end with a carriage return (press the Enter key). There are no “O” as in Oscar commands, only “0” as in Zero commands.
Appendix A. Changing COM220 Settings CAUTION M0 M1 (default) M2 Speaker always off Speaker on during call establishment Speak on during entire call session S0=0 S0=1 (default) S0=2 S0=n Disable Auto Answer Answer on second ring Answer on third ring Answer on (n + 1) ring.
Appendix A. Changing COM220 Settings FIGURE A-4. Send OS screen in Device Configuration A.4 Program Examples A.4.1 ModemCallback Example (for CR1000) The ModemCallBack instruction is available in the CR1000 with operating system std.12 or greater, in the CR3000 with operating system std.05 or greater, and in the CR800 or CR850 with operating system std.03 or greater. The following program uses the ModemCallBack instruction to call LoggerNet every 2 minutes.
Appendix A. Changing COM220 Settings A.4.2 DialModem Example (for CR1000) The program below does 2-min callbacks via the COM220 configured for SDC7. DialModem is set equal to a variable, so that the success/failure result can be used by the EndDialSequence instruction. If the call fails, the link will be terminated at the EndDialSequence instruction. If the call is successful, the device will be kept online until the SendVariables command is completed.
Appendix A. Changing COM220 Settings CAUTION The COM220 can return several possible responses once connected (each terminating in a carriage return): “1” CONNECT “5” CONNECT1200 “10” CONNECT2400 “13” CONNECT9600 “18” CONNECT4800 “20” CONNECT7200 “21” CONNECT12000 “25” CONNECT14400 Hence, to work with the COM220, the user must put in a NULL string, or else the DialModem will fail unless, by chance, it returns the specific string the user entered.
Appendix A. Changing COM220 Settings IMPORTANT Do not put Instruction 97 inside a loop or conditional statement; it must be executed each time the table is run. In the example below, the program does two minute data callbacks via the COM220 phone modem. Edit instruction 13 with your PC’s (LoggerNet’s) phone number. Remember to set switch 1 open for modem enable mode, and switches 3 and 4 open for 9600 baud. The callback ID in this example is 222.
Appendix A. Changing COM220 Settings 13: Extended Parameters (P63) ;7-digit phone number 1: 5 Option 2: 5 Option 3: 5 Option 4: 1 Option 5: 2 Option 6: 1 Option 7: 2 Option 8: 13 Option ;13 is the termination character; always place after phone number End Program A.4.4 Example Programs for Data Callbacks via a CR1000 Datalogger Router To do data callbacks via a datalogger router with COM220 and RF401s or MD485s, they must all be configured to communicate with one another.
Appendix A.
Appendix B. CS I/O Connection B.1 CS I/O 9-Pin Connection The pinout of the connector is shown in FIGURE B-1. The direction of the signal relative to the modem is shown in parentheses. Unless specified otherwise, all levels are 0 V for logic low, 5 V for logic high. FIGURE B-1. CS I/O pinout 1. (input) +5 Vdc supply. Used to power internal line drivers for ‘Ring’ and ‘RX Data’ output signals. 2. (input) Ground 3. (output) Ring — A logic high signifies a ring signal has been detected. 4.
Appendix B.
Appendix C. Theory of Operation C.1 Theory of Operation The COM220 modem is used to transmit data over bandwidth-limited channels such as telephone lines by modulating audio tones. The COM220 uses various modulation schemes including FSK (Frequency Shift Keying), TCM (Trellis Coded Modulation), QAM (Quadrature Amplitude Modulation), and DPSK (Differential Phase Shift Keying).
Appendix C.
Appendix D. FCC Warning to Users of Class B Computing Devices WARNING This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause interference to radio communications.
Appendix D.
Appendix E. IC Information NOTE Industry Canada (IC) was formerly known as DOC. CP-01, Issue 8, Part I Section 14.1 “NOTICE: The Industry Canada label identifies certified equipment. This certification means that the equipment meets certain telecommunications network protective, operational and safety requirements as prescribed in the appropriate Terminal Equipment Technical Requirements document(s). The Department does not guarantee the equipment will operate to the user’s satisfaction.
Appendix E.
Campbell Scientific Companies Campbell Scientific, Inc. (CSI) 815 West 1800 North Logan, Utah 84321 UNITED STATES www.campbellsci.com • info@campbellsci.com Campbell Scientific Centro Caribe S.A. (CSCC) 300 N Cementerio, Edificio Breller Santo Domingo, Heredia 40305 COSTA RICA www.campbellsci.cc • info@campbellsci.cc Campbell Scientific Africa Pty. Ltd. (CSAf) PO Box 2450 Somerset West 7129 SOUTH AFRICA www.csafrica.co.za • cleroux@csafrica.co.za Campbell Scientific Ltd.