COM320 Voice Communications Modem Revision: 9/11 C o p y r i g h t © 2 0 0 2 - 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 “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.
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-2342.
COM320 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 2. Specifications ..............................................................2 3. Quick Start....................................................................2 4. System Components .................................................11 4.1 4.2 4.
COM320 Table of Contents 7. Troubleshooting COM320 Voice Systems ...............24 7.1 No Communications .............................................................................. 24 7.2 Communications Problems .................................................................... 25 Appendices A. IC Information .......................................................... A-1 B. Updating and Configuring the COM320 ................ B-1 B.1 B.2 B.3 B.4 B.5 B.6 Removing the Cover to Access the USB Port ....
COM320 Voice Communications Modem 1. Introduction The COM320 is a voice-synthesized modem that supports the CR800, CR850, CR1000, and CR3000 dataloggers. The COM320 allows the datalogger to announce over the telephone specific variable data, present state of flags and/or control ports, and the ability to toggle flags and/or control ports.
COM320 Voice Communications Modem 2. Specifications • Standards: V.92, K56Flex, V.90, V.34, V.32bis, V32, V23, V22bis, V22, V.21, B212, B103 • Registration: FCC US: 3A4M508BSM2-T-W IC 2377 A-SM2TW TBR21 • Operating voltage: 12 VDC • Current drain: 100 μA quiescent; 35 mA active • Operation: Full-duplex over standard analog phone lines • Operating temperature: -25° to +50°C std, -40° to +85°C optional • Dimensions: 6.5” x 1.0” x 2.6” (16.5 x 2.5 x 6.6 cm) • Weight: 0.35 lbs (0.
COM320 Voice Communications Modem The datalogger’s voice code is created along with the measurement program using the CRBasic editor. It is recommended to finish and debug the voice portion of the program first, and then add the measurement code.
COM320 Voice Communications Modem Step 3 – Send BASIC_VOICE_2.CR1 to CR1000 1) Download BASIC_VOICE_2.CR1 from CSI web site under Support, Downloads, Program Examples, COM310 Examples to a folder on your hard drive. 2) From LoggerNet Toolbar run CRBasic editor and open BASIC_VOICE_2.CR1. 3) Change PHONE1 (a constant in SlowSequence near bottom of program) to your office phone number to be used for callback and Save and Compile the change. 4) You can change PHONE2, etc.
COM320 Voice Communications Modem PRESS TWO TO HEAR OR TOGGLE PORT PRESS THREE TO HEAR OR TOGGLE FLAG PRESS STAR TO DISCONNECT 3) Navigate around in the menus to learn the program’s capabilities: a) Press 2 to access the Ports Menu. b) Press 1 to read the logic state of Control Port 1. c) Press # to toggle the logic state of Control Port 1 (C1’s LED should turn on). d) Press # again (C1’s LED should turn off). e) Press * to return to “C R ONE THOUSAND STATION” menu. f) Press * to hang up.
COM320 Voice Communications Modem ' CR1000 ' BASIC_VOICE_2.CR1 ' Program employs VoiceSetup instruction available in OS CR1000.Std.12 and later ' 1st phone number is called if Diff 7 TC temperature > 85F ‘ Program continues to call callback phone number list until someone answers and presses # key ‘ resetting alarm. ' Callback phone numbers are in constants in the SlowSequence at the bottom of the program.
COM320 Voice Communications Modem ' ***** Subroutines ***** ' Called when calling in: Sub CallInVoice Do VoiceSpeak ("CURRENT STATION DATA 50MS 50MS", 0) VoiceSpeak ("PRESS ONE TO HEAR THE BATTERY VOLTAGE 50MS", 0) VoiceSpeak ("PRESS TWO TO HEAR THE DATALOGGER TEMPERATURE 50MS", 0) VoiceSpeak ("PRESS THREE TO HEAR THE T C TEMPERATURE 50MS", 0) VoiceSpeak ("PRESS STAR TO DISCONNECT", 0) Select Case VoiceKey(keytimeout) Case 1 VoiceSpeak ("THE BATTERY VOLTAGE IS" + Value(1) + "VOLTS", 1) Case 2 VoiceSpeak ("
COM320 Voice Communications Modem ' Monitors a value Sub SubKey1 Do VoiceSpeak ("50MS PRESS SENSOR NUMBER 50MS PRESS STAR TO RETURN", 0) mykey = VoiceKey (KeyTimeout) If mykey = 1 Then VoiceSpeak ("50MS THE BATTERY VOLTAGE IS" + Value(1) + "VOLTS", 1) If (mykey = 2) Then VoiceSpeak ("50MS THE REFERENCE IS" + Value(2) + "DEGREES", 1) If (mykey = 3) Then VoiceSpeak ("50MS THE T C IS" + Value(3) + "DEGREES", 1) Loop ' Sensor value loop EndSub ' Read a port and possibly toggle Sub SubKey2 Do ' Until * or timeo
COM320 Voice Communications Modem If Flags(mykey) Then VoiceSpeak("ON",0) Else VoiceSpeak("OFF",0) EndIf VoiceSpeak("50MS PRESS POUND TO TOGGLE 50MS PRESS STAR TO RETURN", 0) If VoiceKey(KeyTimeout) = POUND Then flags(mykey) = NOT flags(mykey) Else ExitDo EndIf Loop EndIf Loop ' Port loop EndSub DataTable (Test,1,-1) DataInterval (0,0,Sec,10) Minimum (1,BatteryV,FP2,0,False) Sample (1,PTemp,FP2) Sample (1,TCvalue_F,FP2) EndTable ' <<<<<<<<<<<<<<<<<< MEASUREMENT PROGRAM >>>>>>>>>>>>>>>>>> BeginProg Scan (1,
COM320 Voice Communications Modem ElseIf (TCvalue_F > 85 AND ArmAlarm) OR ManualAlarm = TRUE Then ManualAlarm = False Alarm = TRUE' Do For i = 1 To NUMPHONES ' Call these numbers until the alarm is cleared If Alarm Then DialVoice(phones(i)) ' Calls only if alarm is set Next i If Alarm Then Delay(1,1,min) Loop Until Alarm = FALSE ArmAlarm = False EndIf Loop EndProg Example Program Description NOTE Bold text indicates a CRBasic instruction. Italic text indicates a subroutine. Basic_Voice_2.
COM320 Voice Communications Modem WARNING The VoiceSetup SecsOnLine setting is important as it hangs up (auto-disconnects) the modem in case someone hangs up the phone or leaves the phone offhook without pressing star keys for an orderly “goodbye” disconnect. Test the entire program in this regard before deployment to avoid possible lengthy off-hook states disallowing incoming calls, running up a phone bill and draining the station power supply.
COM320 Voice Communications Modem The COM320 ships with an SC12 cable (9-pin to 9-pin) for connecting between the modem CS I/O port and datalogger CS I/O port. NOTE The COM320’s communication port is designed to function with a Campbell Scientific CS I/O port. This is not an RS-232 port. See Appendix E for the CS I/O port description. 4.2 Surge Suppressor If the phone company does not provide surge protection at the datalogger site, you will need to install some. CSI offers surge protectors in two forms.
COM320 Voice Communications Modem 5.1 Features The voice instructions listed in 5.2 are combined with standard CRBasic instructions to create the code needed for telephone answering, dialing, voicing word strings, voicing data, receiving key presses from the remote phone, and acting upon those key presses. 5.1.1 Callback Callback is the ability of a datalogger/COM320 station to initiate a phone call ‘back’ to a PC running LoggerNet (data mode) or to a telephone (voice mode).
COM320 Voice Communications Modem 5.2 Voice Instructions The Quick Start example voice callback/callin program “BASIC_VOICE_2.CR1” provides a starting point from which to build the features you want. Patterned after the example program in Quick Start, voice instructions can be combined in a variety of ways to provide phone access to datalogger data and for control of datalogger flags/output control ports. 5.2.
COM320 Voice Communications Modem 5.2.4 VoiceNumber The VoiceNumber instruction returns the accumulated touch tone digits that are received prior to the receipt of a # or * key. The example voice callback/callin program uses no VoiceNumber instructions; however, this instruction may be useful for phone transfer of long numbers such as for passwords, etc. 5.2.5 DialVoice The DialVoice instruction is used to define the dialing string for a COM320 voice modem, usually for voice callback.
COM320 Voice Communications Modem 5.2.8 VoicePhrases The VoicePhrases instruction is used to provide a list of phrases for a VoiceSpeak instruction. This instruction allows the VoiceSpeak instruction to output a string from a list of several strings, depending upon some condition in the program. 5.3 Data Callback The COM320 can be put into data mode to accomplish data callback, instructing LoggerNet to do a collection of datalogger data. 5.3.
COM320 Voice Communications Modem Sample (1,DialSuccess,FP2) Sample (1,Result,FP2) EndTable DialSequence (4094) DialSuccess = DialModem (COM320, 9600,"1112223333","") 'Phone number to call EndDialSequence (DialSuccess) BeginProg Scan (30,Sec,0,0) PanelTemp (PTemp,250) Battery (Batt_volt) dummy = 0 TCDiff (TCvalue_F,1,mV2_5C,7,TypeT,PTemp,True ,0,250,1.
COM320 Voice Communications Modem with the remote PakBus device identified by the PakBusAddr parameter (LoggerNet server with PakBus address = 4094), the DialSequence code for that datalogger will be executed. DialModem The DialModem instruction is used to send a modem dial string out one of the datalogger's ports. DialModem can be used within DialSequence / EndDialSequence to specify a communication route to be used for a PakBus device.
COM320 Voice Communications Modem For callback collection, the datalogger’s DialSequence instruction changes the COM320 from default voice mode to data mode. The commas create a delay so that the “9” is received by the COM320 during the voice announcement. When the COM320 detects the “9” it disables voice communications and enables data mode for the remainder of that connection.
COM320 Voice Communications Modem 2 3 L H 2 4 5 L H 3 6 7 L H POWER IN G 12V 8 4 L P2 1 EX1 1 H P1 SE DIFF CAUTION DC ONLY G 12V GROUND LUG 11 12 6 H L 10 5 H L 13 14 7 H L 15 16 8 H L CR1000 WIRING PANEL EX3 9 EX2 SE DIFF CS I/O PERIPHERAL PORT G C8 C5 G C7 C4 C6 COM3 COM4 Tx Rx Tx Rx C3 COM1 COM2 Tx Rx Tx Rx C2 G SW-12 G 12V G 12V G 5V POWER OUT C1 RS-232 (Not Isolated) SN: SDM MADE IN USA Earth Ground Telephone Wall Jack SC12 Cable Earth Gro
COM320 Voice Communications Modem 3 L H 4 5 L H 2 6 7 L H 3 POWER IN G 12V 8 4 L P2 2 1 EX1 1 H P1 SE DIFF CAUTION DC ONLY G 12V GROUND LUG 11 12 6 H L 10 5 H L 13 14 7 H L CR1000 15 16 8 H L WIRING PANEL EX3 9 EX2 SE DIFF CS I/O PERIPHERAL PORT G C8 C5 G C7 C4 C6 COM3 COM4 Tx Rx Tx Rx C3 COM1 COM2 Tx Rx Tx Rx C2 G SW-12 G 12V G 12V G 5V POWER OUT C1 RS-232 (Not Isolated) SN: MADE IN USA SDM SC12 Cable Blue = Ring Burial Phone Cable Earth Ground
COM320 Voice Communications Modem 2 3 L H 2 4 5 L H 3 6 7 L H POWER IN G 12V 8 4 L P2 1 EX1 1 H P1 SE DIFF CAUTION DC ONLY G 12V GROUND LUG 11 12 6 H L 10 5 H L 13 14 7 H L 15 16 8 H L CR1000 WIRING PANEL EX3 9 EX2 SE DIFF CS I/O PERIPHERAL PORT G C8 C5 G C7 C4 C6 COM3 COM4 Tx Rx Tx Rx C3 COM1 COM2 Tx Rx Tx Rx C2 G SW-12 G 12V G 12V G 5V POWER OUT C1 RS-232 (Not Isolated) SN: SDM MADE IN USA Earth Ground Telephone Wall Jack SC12 Cable Earth Gro
COM320 Voice Communications Modem 6.5 Connecting to a Surge Protector Campbell Scientific offers two surge protectors (CSI model 4330 and CSI model 6362). The 4330 and 6362 are essentially the same, except 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.
COM320 Voice Communications Modem FIGURE 6. Side View of Surge Suppressor Wiring 7. Troubleshooting COM320 Voice Systems Following are some possible reasons for your COM320 system not working or not working properly. 7.1 No Communications Voice Mode — No voice announcements when you call the station 1) The COM320 is connected to a digital rather than an analog phone line. 2) The COM320 configuration was changed from its default factory settings (see Appendix D).
COM320 Voice Communications Modem 7.2 Communications Problems Voice Mode 1) Can’t get beyond the initial voice announcement a) The security code was not received. Try pressing # again, then xxx# again (where xxx = modem security code). 2) Pressing handset keys sometimes fails to produce the correct response. a) Handset keys not being pressed long enough. b) Key presses (especially # #) were not spaced far enough apart and the station is waiting for the last key (#).
COM320 Voice Communications Modem 26
Appendix A. 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 A.
Appendix B. Updating and Configuring the COM320 The COM320 has an internal USB port for connecting the mode to a computer. Connection to a computer is required to install the drivers, download an operating system, change COM320 settings, and retrieve a vocabulary list. NOTE The COM320’s case must be removed to access the USB port (see Section B.1). B.1 Removing the Cover to Access the USB Port 1) Use a Philips screwdriver to remove the five screws on the sides of the COM320. 2) Lift off the case. B.
Appendix B. Updating and Configuring the COM320 4) After some delay, your computer should show a dialog similar to that shown below. Since the driver is obtained from Campbell Scientific, you should select the option No, not this time in the dialog.
Appendix B. Updating and Configuring the COM320 6) In the next dialog, you will need to specify the location where the downloaded driver file was stored. In the example shown, the driver was stored in the c:\download directory. 7) You will get a warning from the operating system indicating that the driver is "unsigned". In order to continue with installation, you need to select the Continue Anyway button.
Appendix B. Updating and Configuring the COM320 8) When the driver installation process has completed, the following final dialog should be shown: B.4 Downloading a New Operating System to the COM320 To download a new operating system to the COM320, follow these steps: 1) You must remove the top cover of the modem to expose the USB port. This is done by first removing the five Phillips head screws on the sides of the COM320. 2) You must also provide a power source (+12VDC) for the modem.
Appendix B. Updating and Configuring the COM320 7) Click the Start button. 8) In the resulting file open dialogue box that appears, select the file that should be sent as the modem's operating system. CAUTION Do not attempt to load any operating system other than that designed for the COM320 modem. 9) The program should now send the operating system to the modem. CAUTION Interrupting this process may corrupt the modem operating system. FIGURE B-1. Send OS Screen in Device Configuration B.
Appendix B. Updating and Configuring the COM320 2) You must also provide a power source (+12VDC) for the modem. This can be done by applying power on the green 12Vand G terminals on the device or plugging the modem into the CS I/O port of a datalogger. 3) Connect the COM320 USB port to one of the USB ports on your computer and wait for the computer operating system to load its device drivers.
Appendix B. Updating and Configuring the COM320 7) Click on the Connect button to connect to the COM320 and enter the settings editor (Figure B-3). FIGURE B-3. Device Configuration Settings Editor CAUTION When doing datalogger to datalogger communications with the COM320, if more than six rings are specified, the datalogger may time out before the modem answers; communication will never be established! Be sure to try the set up locally before installing at a remote location. B.
Appendix B. Updating and Configuring the COM320 3) Launch the Device Configuration Utility and select device type Unknown, the correct PC serial port connected to the COM320, a baud rate of 9600 and press the connect button. 4) By pressing the “V” key you should see a list of words scroll by in the Device Configuration Utility terminal window. If you want to save this list to a file, select the Start Export button and enter a name for the file it will create.
Appendix C. CS I/O 9 Pin Serial Port NOTE The COM320’s CS I/O port is not a standard RS-232 connection. Pin Description The COM320 modem connects to the datalogger using an SC12 cable connected to the datalogger’s CS I/O port. The COM320’s connector configuration is shown in Figure C-1. Table C-1 shows the I/O pin configuration, and gives a brief description of the function of each pin. CS I/O FIGURE C-1.
Appendix C. CS I/O 9 Pin Serial Port TABLE C-1. Pin Description ABR = Abbreviation for the function name. C-2 PIN = Pin number. O = Signal Out of the datalogger to a peripheral. I = Signal Into the datalogger from a peripheral. PIN ABR I/O Description 1 5V I 2 SG 3 RING O Ring: Raised by the modem to put the datalogger in the telecommunications mode. 4 RXD O Receive Data: Serial data transmitted by the modem are transmitted on pin 4.
Appendix D. COM320 Word List D.
Appendix D.
Appendix D.
Appendix D.
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.