Campbell COM310 Instruction Manual

Campbell COM310 Instruction Manual

Voice communications modem

Advertisement

Quick Links

COM310
Voice Communications Modem
Revision: 11/11
C A M P B E LL
S/ N
1 0 0 2
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 .

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COM310 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Campbell COM310

  • Page 1 COM310 Voice Communications Modem Revision: 11/11 C A M P B E LL S/ N 1 0 0 2 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 .
  • Page 3 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 in the corresponding Campbell product manual.
  • Page 4 SCIENTIFIC, INC., phone (435) 227-2342. After an applications engineer determines the nature of the problem, an RMA number will be issued. Please write this number clearly on the outside of the shipping container. Campbell Scientific's shipping address is: CAMPBELL SCIENTIFIC, INC.
  • Page 5: Table Of Contents

    COM310 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 2. Specifications ..............2 3. Quick Start..............2 4. System Components ..........11 4.1 COM310 Modem..................11 4.2 Surge Suppressor ..................12 4.3 Voice Capable Dataloggers ..............12...
  • Page 6 COM310 Table of Contents 7. Troubleshooting COM310 Voice Systems ....27 7.1 No Communications ................27 7.2 Communications Problems ..............28 Appendices A. Theory of Operation ..........A-1 B. FCC Warning to Users of Class A Computing Devices..............B-1 C. IC Information ............C-1 D.
  • Page 7: Introduction

    COM310 Voice Communications Modem 1. Introduction The COM310 is a voice-synthesizer modem that supports the PakBus and mixed-array dataloggers that have voice capability (see Section 4.3). The COM310 allows them to announce by telephone the data stored in variables or input locations, the status of control ports, and the status of user flags.
  • Page 8: Specifications

    COM310 Voice Communications Modem 2. Specifications • Bell 212A, CCITT V.21, and V.32BIS compatible • Full duplex at 9600 and 1200 baud to datalogger • V.42 LAPM and MNP2-4 error detection/correction • Hayes AT command set • RJ-11C telephone jack •...
  • Page 9 COM310 Voice Communications Modem Unlike the CR10X, CR510 and CR23X where voice code is appended to a finished measurement program using LoggerTalk software, the CR1000 voice code is created along with the measurement program using the CRBasic editor. It is recommended you finish and debug the voice portion of your program first, and then add the measurement code.
  • Page 10 COM310 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 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.
  • Page 11 COM310 Voice Communications Modem Pressing the # key you should hear: C R ONE THOUSAND STATION PRESS ONE TO HEAR A SENSOR VALUE 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...
  • Page 12 COM310 Voice Communications Modem ' CR1000 ' BASIC_VOICE_2.CR1 ' Send VOICE.TXT to CR1000 before sending this program. ' Program employs VoiceSetup instruction available in OS CR1000.Std.12 and later ' 1st phone number is called if Diff 7 TC temperature > 85F ‘...
  • Page 13 COM310 Voice Communications Modem ' ***** Subroutines ***** ' Called when calling in: Sub CallInVoice 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)
  • Page 14 COM310 Voice Communications Modem ' Monitors a value Sub SubKey1 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"...
  • Page 15 COM310 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)
  • Page 16 COM310 Voice Communications Modem ElseIf (TCvalue_F > 85 AND ArmAlarm) OR ManualAlarm = TRUE Then ManualAlarm = False Alarm = TRUE' 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...
  • Page 17: System Components

    CS I/O port and datalogger CS I/O port. The COM310’s communication port is designed to function with NOTE a Campbell Scientific CS I/O port. This is not an RS-232 port. See Appendix E for the CS I/O port description.
  • Page 18: Surge Suppressor

    Item # 4330 is the surge protector with no mounting hardware (see Section 6.6). 4.3 Voice Capable Dataloggers There are several Campbell Scientific dataloggers that are capable of voice communications. The following sections tell which mixed-array, PakBus, and table-based dataloggers are capable of which functions.
  • Page 19: Datalogger Voice Programming

    COM310 Voice Communications Modem NOTE The COM310 must connect to an analog phone line. Some office environment PBX phone lines are digital and don’t interface to an analog modem such as the COM310. Of course, any phone may be used to call in to or receive callbacks from the COM310.
  • Page 20: Voice Callin

    COM310 Voice Communications Modem 5.1.1.2 Voice Callback The COM310 gives you the ability to do voice callbacks. You can program a station to call one or more telephone numbers and announce an alarm message when conditions you specify are met. You can input multiple phone numbers to increase the probability that someone will receive the message.
  • Page 21: Native Pakbus Dataloggers

    COM310 Voice Communications Modem The VoiceSpeak code might look like this: TC_1 = Public.AirTemp(1,1) VoiceSpeak ("THE AIR TEMPERATURE WAS" + TC_1 + "DEGREES", 0) 5.2 Native PakBus Dataloggers The CR1000 and other voice capable CRBasic dataloggers can be programmed to provide the features available in the Edlog dataloggers, and most any other feature you can imagine.
  • Page 22 COM310 Voice Communications Modem announced menu; however, the user can respond by pressing a key in the middle of an announcement. If doing concurrent communications (via multiple communication peripherals) with your datalogger it is recommended that the VoiceKey timeout be extended to over 5 seconds.
  • Page 23: Data Callback

    COM310 Voice Communications Modem The CallOut parameter is a Boolean value that indicates the COM310 mode. When the value returned in this parameter is True the datalogger has called out. When the value is False the datalogger has received an incoming call. If the same ASCII character is used for HangUpKey and ExitSubKey, the datalogger will exit a subroutine if it is in one, otherwise, it will hang up the COM310.
  • Page 24 COM310 Voice Communications Modem DataTable (TestB,1,1000) DataInterval (0,0,Sec,10) Sample (1,PTemp,IEEE4) Sample (1,TCvalue_F,IEEE4) Average (1,TCvalue_F,IEEE4,False) Sample (1,batt_volt,FP2) Sample (1,DialSuccess,FP2) Sample (1,Result,FP2) EndTable DialSequence (4094) DialSuccess = DialModem (Com310, 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.8,32) If TCvalue_F >...
  • Page 25: Edlog Dataloggers And Loggertalk

    COM310 Voice Communications Modem 5.2.2.1 Data Callback Instructions The following instructions are used to program a data callback. DialSequence/EndDialSequence The DialSequence/EndDialSequence instructions are used to define the code necessary to route packets to a PakBus datalogger. Any time an instruction (SendVariables) in the main program requires that communication be made with the remote PakBus device identified by the PakBusAddr parameter (LoggerNet server with PakBus address = 4094), the DialSequence code for...
  • Page 26: Modem Security Code

    COM310 Voice Communications Modem tutorial is a more advanced tutorial for setting up voice callback. Example program files are included for use in the tutorials. If you’ve had little experience in creating/editing datalogger programs in Edlog, we suggest that you begin with Quick Start (Section 3) and the basic LoggerTalk tutorial, referring to the Help system with any questions you might have.
  • Page 27: Voice Callback

    COM310 Voice Communications Modem 5.3.6 Voice Callback LoggerTalk can program a voice callback when associated with a *.dld file that includes a P97 with Parameter 1 = “31” for mixed-array dataloggers or “39” for PakBus dataloggers (see Section 5.1.1.2). LoggerTalk allows you to input multiple phone numbers to increase the probability that the alarm message will get through.
  • Page 28: Hardware Installation

    COM310 Voice Communications Modem In LoggerNet a comma represents a 1 second delay. You may need to adjust the number of commas so that the “9” occurs during the voice announcement, depending upon the length of time required to establish the connection with the modem.
  • Page 29: Powering The Com310 Modem

    (where there’s no available Standard RJ11 Connection) 6.2 Powering the COM310 Modem Newer Campbell Scientific dataloggers provide 12 VDC on CS I/O connector pin 8 for powering peripherals such as the COM310. The alternative, if you have a dataloggers/wiring panel lacking 12 VDC on pin 8, is to wire the green connector on the side of the COM310 to the datalogger +12 VDC and power ground terminals (refer to Figure 4).
  • Page 30: Grounding The Com310 System

    COM310 Voice Communications Modem 6.3 Grounding the COM310 System Connect the green 14 AWG grounding wire (provided with the COM310) to the GND terminal on the COM310 and to the station enclosure’s earth ground connection. It is important that you connect the COM310 and datalogger directly to a high quality earth ground.
  • Page 31: Telephone Service

    Campbell Scientific for details. 6.6 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.
  • Page 32 Phone wires are live, typically with low voltage (24 Vdc). CAUTION 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. Top View of Surge Suppressor Wiring...
  • Page 33: Troubleshooting Com310 Voice Systems

    COM310 Voice Communications Modem FIGURE 6. Side View of Surge Suppressor Wiring 7. Troubleshooting COM310 Voice Systems Following are some possible reasons for your COM310 system not working or not working properly. 7.1 No Communications Voice Mode — No voice announcements when you call the station 1) The COM310 not getting 12V power due to an older datalogger/wiring panel that does not provide 12V on CS I/O pin 8.
  • Page 34: Communications Problems

    COM310 Voice Communications Modem 6) LoggerNet Setup configured for the wrong PC modem. 7) LoggerNet configured for a baud rate the station cannot handle (try 9600). 8) COM310 configuration was changed from its default factory settings (see Appendix D). 7.2 Communications Problems Voice Mode 1) Can’t get beyond the initial voice announcement a) Security mode is enabled (Edlog datalogger).
  • Page 35: A. Theory Of Operation

    Appendix A. Theory of Operation The COM310 modem is used to transmit data over bandwidth-limited channels such as telephone lines by modulating audio tones, using Phase Shift Keying (PSK) at 9600 or 1200 baud and Frequency Shift Keying (FSK) at 300 baud. The COM310 has four connectors: 1.
  • Page 36 This is a blank page.
  • Page 37: B. Fcc Warning To Users Of Class A Computing Devices

    Appendix B. FCC Warning to Users of Class A 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. It has been tested and found to comply with the limits for a Class A computing device pursuant to Subpart J of Part 15...
  • Page 38 This is a blank page.
  • Page 39: Ic Information

    Appendix C. 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).
  • Page 40 This is a blank page.
  • Page 41: D. Set Rings, At Parameters

    Appendix D. Set Rings, AT Parameters D.1 Set Number of COM310 Rings before Answer To program the number of rings before the COM310 answers, use the datalogger’s *D3 setting. Changing the COM310’s ATS0 setting (as with the COM210) will not change the number of rings before answer. *D3 setup for the CR10X, CR23X, or CR510: (1) Key in *D3A (2) Key in 1, 2, or 3 according to desired number of rings...
  • Page 42 Appendix D. Set Rings, AT Parameters (3) Step 3 (a) Dial the phone number (b) Wait until “Connected” appears at lower-left on screen. You will hear some tones as a modem connection is established. (c) After connection HyperTerminal should display: (d) Wait until you see the “>”...
  • Page 43 Appendix E. CS I/O 9 Pin Serial Port NOTE The COM310’s CS I/O port is not a standard RS-232 connection. Pin Description The COM310 modem connects to the datalogger using an SC12 cable connected to the datalogger’s CS I/O port. The COM310’s connector configuration is shown in Figure E-1.
  • Page 44 Appendix E. CS I/O 9 Pin Serial Port TABLE E-1. Pin Description ABR = Abbreviation for the function name. = Pin number. = Signal Out of the datalogger to a peripheral. = Signal Into the datalogger from a peripheral. Description 5 VDC supply (not used for COM310).
  • Page 45: F. Reading Voice Code In A *.Dld File

    Appendix F. Reading Voice Code in a *.DLD File When a CR10X, CR23X, or CR510 file is edited and saved in LoggerTalk, the information for voice communications is appended to the *.DLD file. This information can be verified for accuracy. An example of some typical voice code is shown below.
  • Page 46: Callback Code

    The above code translates to: Input Locations Ports Flags (four decimal places) Campbell Scientific Datalogger Program (pause) (pause) (pause) "Datalogger Internal Temperature" is (input location 3) Degrees Fahrenheit. (four decimal places) Datalogger Battery Voltage is (input location 1) Volts. F.2 Callback Code If the datalogger has been programmed to initiate voice calls, you will see the phone number associated with the call command at the very end of the listing.
  • Page 47: Modem Security Enabled

    This code translates to: (security code 1234) Input Locations Ports Flags (4 decimal places) Campbell Scientific Datalogger Program (pause) (pause) (pause) "Datalogger Internal Temperature" Is (input location 3) Degrees Fahrenheit. (4 decimal places) "Datalogger Battery Voltage" Is (input location 1)
  • Page 48 Appendix F. Reading Voice Code in a *.DLD File This is a blank page.
  • Page 49: Com310 Word List

    38. DISCONNECT 85. IS 132. HUMIDITY 39. YOU 86. TEMPERATURE 133. IN 40. THE 87. DEGREES 134. INCHES 41. HAVE 88. CAMPBELL 135. INTERNAL 42. SELECTED 89. SCIENTIFIC 136. KILO 43. MONITOR 90. ACRE 137. LAST 44. KEY 91. AIR 138.
  • Page 50 Appendix G. COM310 Word List 141. MAXIMUM 195. WATTS 249. DURING 142. MERCURY 196. WEATHER 250. E 143. METER 197. WELL 251. EAST 144. METERS 198. WIND 252. EASTERN 145. MICRO 199. A 253. EFFLUENT 146. MILES 200. A-M 254. ELECTRON 147.
  • Page 51 Appendix G. COM310 Word List 303. L 347. POND 391. SUNBURN 304. LAKE 348. POTASSIUM 392. SUNDAY 305. LAYER 349. POWDER 393. SURFACE 306. LINE 350. POWER 394. SURFACTANCE 307. LOAD 351. PREHEAT 395. SYSTEM 308. LOCATED 352. PROBE 396. T 309.
  • Page 52 283. HAS 228. CALL 254. ELECTRON 284. HASH 73. CALLBACK 255. ELEVATION 41. HAVE 229. CALLS 11. ELEVEN 285. HEAD 88. CAMPBELL 256. EMPTIED 34. HEAR 230. CAN 257. ENGINE 286. HEAT 100. CELSIUS 68. ENTER 129. HELLO 231. CEMENT 76.
  • Page 53 Appendix G. COM310 Word List 85. IS 324. NEEDS 165. PRESSURE 299. IT 325. NETWORK 47. PREVIOUS 300. J 153. NEW 352. PROBE 301. K 326. NEXT 353. PRODUCT 44. KEY NINE 74. PROGRAM 136. KILO 19. NINETEEN 166. PROGRESS 77.
  • Page 54 Appendix G. COM310 Word List 75. SIGNATURE 51. TOGGLE 380. SINCE 408. TOTAL 178. SITE 409. TRIGGERED 410. TUESDAY 16. SIXTEEN 189. TURBIDITY 24. SIXTY 12. TWELVE 381. SKIING 20. TWENTY 382. SMOG 179. SNOW 411. U 383. SODIUM 412. ULTRAVIOLET 180.
  • Page 56 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)

Table of Contents