COM220 Telephone Modem Revision: 8/11 C o p y r i g h t © 1 9 9 7 - 2 0 1 1 C a m p b e l l S c i e n t i f i c , I n c .
Warranty and Assistance PRODUCTS MANUFACTURED BY CAMPBELL SCIENTIFIC, INC. are warranted by Campbell Scientific, Inc. (“Campbell”) to be free from defects in materials and workmanship under normal use and service for twelve (12) months from date of shipment unless otherwise specified on the corresponding Campbell invoice. Batteries, fine-wire thermocouples, desiccant, and other consumables have no warranty.
COM220 Telephone Modem Table of Contents PDF viewers note: These page numbers refer to the printed version of this document. Use the Adobe Acrobat® bookmarks tab for links to specific sections. 1. Introduction..................................................................1 1.1 General Description ..................................................................................1 1.2 Computer Requirements ...........................................................................2 2. Specifications ....
COM220 Telephone Modem Table of Contents D. FCC Warning to Users of Class A Computing Devices..............................D-1 E. IC Information .......................................................... E-1 List of Figures 1. 2. 3. 4. COM220 DIP Switches.............................................................................. 1 COM220 .................................................................................................... 2 CR1000 and COM220 Using Remote Telephone Line ..................
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 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 describes the CS I/O interface. The COM220 can be used as an originate modem at the datalogger site. For newer Pakbus dataloggers (e.g.
COM220 Telephone Modem 2. Specifications • Standards: V.92, K56Flex, V.90, V.34, V.32bis, V32, V23, V22bis, V22, V.
COM220 Telephone Modem TABLE 1.
COM220 Telephone Modem DIFF SE AG H L AG H L AG H L AG E3 AG G G 4 5 6 7 8 9 10 11 12 CAMPBELL SCIENTIFIC INC. SE DIFF G G G G 12V 12V SWITCHED 12V SERIAL I/O G 12V POWER IN CR10 MADE IN USA WIRING PANEL NO. SWITCHED 12V 1 2 3 4 5 6 CONTROL EARTH 1 2 3 AG H L AG H L AG H L AG E1 E2 G G G 5V 5V P1 P2 C8 C7 C6 C5 C4 C3 C2 C1 To Earth Ground Red (+12v) Black (Ground) 14 AWG Ground Wire SC12 Cable Telephone Wall Jack FIGURE 4.
COM220 Telephone Modem 3.3 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 CAUTION Phone wires are live, typically with low voltage (24 Vdc). While not harmful in most situations, Campbell Scientific recommends installing the surge protector in dry weather only by technicians with a healthy heart. FIGURE 5.
COM220 Telephone Modem FIGURE 6. Side View of Surge Suppressor Wiring 4. Modem Settings The COM220 is shipped from the factory with default settings that support PakBus dataloggers (e.g., CR800, CR1000, CR3000, 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 one may change 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 part time 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 4) If the COM220 is set for Modem Enable (DIP switch 1 open), verify that the ME baud rate selected (switches 3, 4) agrees with related communication instructions in the datalogger program. Instructions for setting the COM220’s ME baud rate are found in Appendix A.1. 5) If the COM220 is set for Modem Enable (DIP switch 1 open) and you are unable to connect to the datalogger, try setting the datalogger BaudrateME to a negative number (e.g.
COM220 Telephone Modem 11) Can you attach a normal analog telephone to the line and make a call out? If not, contact your local telephone company. If you can make a call out but the connection is poor or faint, contact your local telephone company. 12) Verify the COM220 is receiving 12 VDC. If the COM220 is receiving 12 VDC from a separate power supply instead of the datalogger, is the ground of the separate power supply connected to the datalogger’s ground? 13) Verify the datalogger is turned on.
COM220 Telephone Modem 12
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 modem setting 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 9600 38400 57600 115200 Switch 3 Open Open Closed Closed Switch 4 Open Closed Open Closed Please note that older dataloggers (e.g. CR10X, CR23X, 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 ~ 5 sec before changes to DIP switch settings are effective). 2) You must use an SC532A with a 12V AC 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 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 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 (hit 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 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 ModemCallBack(Result,ComSDC7,9600,0,"5551212","",40,60,Abort) CallTable Test5 NextScan End Program A.4.2 DialModem Example (for CR1000) The program below does 2-minute 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.
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, 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 COM220 DIP switch 5 to “closed”, 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.
Appendix A. Changing COM220 Settings SequentialMode DataTable (TestA,1,-1) DataInterval (0,2,Sec,10) Minimum (1,BatteryVoltage,FP2,0,False) Sample (1,PanelTemperature,FP2) EndTable DialSequence (4094) StaticRoute(ComSDC8,4094,4094) ' So router discovers LoggerNet server DialSuccess = DialModem (ComSDC8,9600,"5551212","") ‘ Param 4 = "" allows CR1000 to accept all possible COM220 responses ‘ DialSuccess: -1 means successful, 0 means failure.
Appendix B. CS I/O Connection B.1 CS I/O 9-Pin Connection The pin out of the connector is shown in Figure B-1. The direction of the signal relative to the modem is shown in parenthesis. Unless specified otherwise, all levels are 0 V for logic low, 5 V for logic high. FIGURE B-1. CS I/O Pin Out 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.
This is a blank page.
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).
This is a blank page.
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.
This is a blank page.
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.
This is a blank page.
Campbell Scientific Companies Campbell Scientific, Inc. (CSI) 815 West 1800 North Logan, Utah 84321 UNITED STATES www.campbellsci.com • info@campbellsci.com Campbell Scientific Africa Pty. Ltd. (CSAf) PO Box 2450 Somerset West 7129 SOUTH AFRICA www.csafrica.co.za • cleroux@csafrica.co.za Campbell Scientific Australia Pty. Ltd. (CSA) PO Box 444 Thuringowa Central QLD 4812 AUSTRALIA www.campbellsci.com.au • info@campbellsci.com.au Campbell Scientific do Brazil Ltda.