background image

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 
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. 

The ResponseString is used to specify the response code expected back from 
the modem when a connection is made.  When a null string is entered ("") the 
default is "1"+ CHR(13). 

SendVariables 

The SendVariables instruction is used to send value(s) from a variable or 
variable array to a data table in a destination PakBus device. 

In the example data callback program, the variable “dummy” is sent to 
LoggerNet as a signal for LoggerNet to begin collection of the datalogger. 

5.3  Edlog Dataloggers and LoggerTalk 

To program a voice capable mixed-array or PakBus Edlog datalogger for voice 
communications, voice codes are appended to the datalogger’s *.dld file.  
LoggerTalk software is shipped with the COM310 to accomplish this.  
LoggerTalk requires a PC running Windows NT/98/ME/2000/XP and 
equipped with a CD-ROM drive for installation. 

5.3.1  Install 

To install LoggerTalk, insert the auto-run CD into the drive and follow 
directions to complete the installation. 

5.3.2  Helps and Tutorials 

LoggerTalk information is available in its extensive Help system.  You can 
access Help by pressing the F1 key, by selecting Help from the main window, 
or by clicking the Help button. 

Two tutorials are included in LoggerTalk Help.  The first is a basic tutorial on 
creating voice strings, sending the LoggerTalk edited *.dld program to the 
datalogger, and navigating through the voice modem menus.  The second 

19 

Summary of Contents for COM310

Page 1: ...or USOC RJ11C This equipment complies with the requirements in Part 15 of FCC Rules for Class A computing device Operation of this equipment in a residential area may cause unacceptable interference to radio and TV reception requiring the operator to take whatever steps are necessary to correct the interference COM310 VOICE SYNTHESIZER 12V G 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 ...

Page 2: ......

Page 3: ...ill return such products by surface carrier prepaid within the continental United States of America To all other locations Campbell will return such products best way CIP Port of Entry INCOTERM 2010 prepaid This warranty shall not apply to any Campbell products which have been subjected to modification misuse neglect improper service accidents of nature or shipping damage This warranty is in lieu ...

Page 4: ...ng container Campbell Scientific s shipping address is CAMPBELL SCIENTIFIC INC RMA _____ 815 West 1800 North Logan Utah 84321 1784 For all returns the customer must fill out a Statement of Product Cleanliness and Decontamination form and comply with the requirements specified in it The form is available from our web site at www campbellsci com repair A completed form must be either emailed to repa...

Page 5: ... 5 1 Features 13 5 1 1 Callback 13 5 1 2 Voice Callin 14 5 1 3 Voice Storage Data 14 5 2 Native PakBus Dataloggers 15 5 2 1 Voice Instructions 15 5 2 2 Data Callback 17 5 3 Edlog Dataloggers and LoggerTalk 19 5 3 1 Install 19 5 3 2 Helps and Tutorials 19 5 3 3 Modem Security Code 20 5 3 4 Commercial Mode 20 5 3 5 Custom Menu Strings 20 5 3 6 Voice Callback 21 5 3 7 View and Remove Voice Code 21 5 ...

Page 6: ...Pin Serial Port E 1 F Reading Voice Code in a DLD File F 1 F 1 Typical Voice Code F 1 F 2 Callback Code F 2 F 3 Modem Security Enabled F 3 G COM310 Word List G 1 G 1 COM310 Word List Numerical Order G 1 G 2 COM310 Word List Alphabetical Order G 3 Figures 1 COM310 Voice Synthesizer Modem 1 2 COM310 Hardware Connection Using Standard RJ11 Phone Jack 22 3 COM310 CR1000 Using Surge Protection Device 2...

Page 7: ...om the CR1000 CR3000 and other dataloggers with OSs that support it The CR10X CR510 and CR23X mixed array OSs support data callback but their PakBus OSs do not This manual provides information regarding COM310 specifications installation and operation Quick Start Section 3 presents an example CR1000 voice callback callin program with descriptions of the code a Section 6 3 explains how to make a go...

Page 8: ... cm Weight 0 75 lbs 0 34 kg For information regarding the COM310 theory of operation refer to Appendix A of this manual 3 Quick Start This section presents Basic_Voice_2 cr1 an example voice callback callin program written to demonstrate functions of the COM310 It can serve as a starting point from which you build your own application program Test well the auto disconnect capability as you customi...

Page 9: ...ication program Step 1 LoggerNet Setup 1 In LoggerNet Setup create the following device map 2 Configure ComPort and PhoneBase for your PC s phone modem 3 Configure PhoneRemote to include the COM310 s analog phone number followed by six commas and a 9 4 Click on CR1000phone renamed and verify that the PakBus Address is 1 Step 2 Hardware Setup 1 Start with a CR1000 having factory settings If unsure ...

Page 10: ...o CR1000phone If you send BASIC_VOICE_2 CR1 before VOICE TXT you ll see some errors In this case just send VOICE TXT followed by BASIC_VOICE_2 CR1 again and it will compile properly NOTE 8 Close File Control and Disconnect from CR1000phone 9 Your CR1000 voice station is ready to demo Step 4 Callin 1 Using a touch tone phone dial the number of the analog phone line connected to the COM310 2 You sho...

Page 11: ...l attenuation Depending on your particular phone equipment and the phone lines and equipment between you and the voice station you may at times experience some of the following a You press and the voice station hangs up but doesn t say Goodbye b A voice callback rings your phone but you pick up to silence Certain phones are more of a problem due to low signal levels or switch bounce 6 Helpful hint...

Page 12: ... the total on line time are constants listed below and can be adjusted Public Value 3 Alias Value 1 BatteryV Alias Value 2 PTemp Alias Value 3 TCValue_F Const KeyTimeout 800 8 second timeout waiting for key stroke before hangup Const SecsOnLine 360 6 minutes On Line Timeout Const STAR 42 The key STAR Const POUND 35 The key Const HangupIfKeyTimeout TRUE Will hangup if times out waiting for a key Co...

Page 13: ...EndSub Called when calling out Public Alarm As Boolean ArmAlarm As Boolean ManualAlarm As Boolean Sub CallOutVoice Dial reset to reset alarm 0 Timer 1 Sec 2 Start timer Do VoiceSpeak 50MSPRESSPOUNDTORESETALARM50MSPRESSSTARTODISCONNECT 0 mykey VoiceKey 0 If Timer 1 Sec 4 RINGTIME Then ExitSub Max time to await pick up and press Loop Until mykey POUND Someone cleared the alarm let them proceed and d...

Page 14: ...out If port 0 AND port 8 Then keybit 2 port 1 Bit 0 7 is set in keybit Keybit 2 port 1 Do ReadIO state b11111111 VoiceSpeak 50MS C port IS 0 If state AND keybit 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 ReadIO state b11111111 If state AND keybit Then state state AND NOT keybit Else state stat...

Page 15: ...ASUREMENT PROGRAM BeginProg Scan 1 Sec 3 0 Battery BatteryV PanelTemp PTemp 250 TCDiff TCvalue_F 1 mV2_5C 7 TypeT PTemp True 0 250 1 8 32 Add measurement code here CallTable Test NextScan VOICE CALLBACK CODE that executes when alarm conditions are met SlowSequence Slow Sequence do loop forever possibly doing alarm call out Const NUMPHONES 3 3 phone numbers to try Const PHONE1 1112223333 Const PHON...

Page 16: ...mbers until alarm is no longer true It signals Voice Beg when a callout dial up is in progress VoiceSetup The VoiceSetup instruction is used to control the hang up of the COM310 voice modem It controls which key is used to exit a subroutine and which is used to continue to the next VoiceKey instruction It also determines how long the COM310 can be off hook before the datalogger automatically hangs...

Page 17: ...te of the ports and flags can be toggled as well as heard SlowSequence Contains code that continually executes looking for the Diff 7 thermocouple to exceed 85F in which case the variable alarm is set to True and a call out callback is initiated It dials the first phone number on the list If no answer after 20 seconds the second number is dialed The list of phone numbers is dialed repeatedly until...

Page 18: ...ns 4 3 2 Table Data The TD OSs OS10XTD OS510TD and OS23XTD do not support any COM310 communications For data collection you can use a COM210 modem 4 3 3 PakBus With PakBus dataloggers the COM310 supports such functions as program send data collection and clock check The following voice data functions are supported as well COM310 PakBus Datalogger Support DATALOGGER Voice Callback Voice Callin Data...

Page 19: ...g data receiving key presses from the remote phone and acting upon those key presses For Edlog dataloggers use multiple P97s with a different flag for each P97 5 1 1 Callback Callback is the ability of a datalogger COM310 station to initiate a phone call back to a PC running LoggerNet data mode or to a telephone voice mode You can include data callback and voice callback code in the same program S...

Page 20: ... 310 Voice 2 5 Disabled when User Flag 5 is High 3 45 Seconds Call Time Limit 4 30 Seconds Before Fast Attempts 5 1 Fast Attempts 6 30 Minutes Before Slow Attempts 7 2 Failure Loc P97_Failures 8 0000 Call Back ID 5 1 2 Voice Callin Callin is the ability of a station to accept a phone call and announce words and data and possibly accept menu key presses All voice capable dataloggers support callin ...

Page 21: ... the modem under certain condition s prior to the execution of the EndVoice instruction The VoiceKey instruction is also used to add a delay before the EndVoice instruction is executed so that the datalogger will not end the VoiceSpeak command before the spoken message is completed 5 2 1 2 VoiceSpeak The VoiceSpeak instruction is used to define the voice string that should be spoken by the voice m...

Page 22: ...communication attempt to hang up the voice modem The DialString is the telephone number and any other codes used to dial the modem The DialString can be a variable A comma in the DialString inserts a 2 second pause 5 2 1 6 VoiceHangup The VoiceHangup instruction is used most often with the DialVoice instruction to hang up the modem after communication The VoiceHangup instruction is not needed if t...

Page 23: ...erNet to do a collection of datalogger data 5 2 2 1 Example Data Callback Program The following program downloadable from CSI web site under Support Download Program Examples does data callbacks to the phone number associated with the DialModem instruction whenever the TC temperature exceeds 85F To complete the system provide a PC running LoggerNet with a phone modem connected to the phone line di...

Page 24: ...15 Sec Prevents too soon callback Endif CallTable TestA CallTable TestB NextScan EndProg In the above data callback program the phone number is dialed in the DialSequence EndDialSequence using the DialModem instruction Any needed re dials are handled by EndDialSequence DialSuccess LoggerNet recognizes the incoming call as a data callback by the arrival of the Public and Callback strings sent by th...

Page 25: ...ables instruction is used to send value s from a variable or variable array to a data table in a destination PakBus device In the example data callback program the variable dummy is sent to LoggerNet as a signal for LoggerNet to begin collection of the datalogger 5 3 Edlog Dataloggers and LoggerTalk To program a voice capable mixed array or PakBus Edlog datalogger for voice communications voice co...

Page 26: ...ion If you should forget an assigned modem security code you can run LoggerTalk open associate the datalogger program file and obtain the assigned modem security code from the main menu LoggerTalk s Modem Security Code is unrelated to the Datalogger s C mode passwords For more information on the datalogger s C mode please refer to the datalogger operator s manual NOTE 5 3 4 Commercial Mode If you ...

Page 27: ...gerNet By default the COM310 operates in voice mode enabling you to call a station and hear voice announcements or enabling the station to do a callback to you and announce an alarm The COM310 also has the ability to function in data mode In data mode the COM310 supports data collection and other standard LoggerNet functions You can set up LoggerNet to call and perform scheduled collections of sto...

Page 28: ...r to the Basic Tutorial in LoggerTalk help 6 Hardware Installation 6 1 Site Requirements Connection to telephone company provided COIN service Central Office Implemented systems is prohibited Connection to party line service is subject to state tariffs NOTE The COM310 is compatible with standard analog telephone lines It connects to the telephone line by means of a USOC RJ11C jack standard modular...

Page 29: ...ou 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 The COM310 comes with a mating green power connector for this purpose The following Campbell Scientific dataloggers lack 12 VDC power on CS I O pin 8 TABLE 1 Dataloggers Wiring Panels Lacking 12 VDC on CS I O Port ...

Page 30: ... directly to a high quality earth ground Read the datalogger manual section on GROUNDING for details on creating such an earth ground A quality EARTH GROUND connection to the COM310 and datalogger maximizes protection against electro static discharge Follow carefully the EARTH GROUND scheme in Figure 4 The COM310 employs spark gaps on the phone lines however they will be ineffective without qualit...

Page 31: ...cal phone company does not provide phone line surge protection a Campbell Scientific surge suppressor should be used Refer to Section 6 6 for more information NOTE 6 5 Telephone Transfers The COM310 has the ability to do certain transfers by telephone 1 Set Get AT parameters in COM310 s Connexant chip set Appendix D 2 Retrieve word list from COM310 3 Install OS to COM310 4 Install new voice word f...

Page 32: ...l the way through Getting wires crossed typically does not damage anything The phone line just will not work until the wires are straightened out 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 CAUTION FIGURE 5 Top View of Surge Suppresso...

Page 33: ...nnected to a digital rather than an analog phone line 3 The COM310 configuration was changed from its default factory settings see Appendix D Data Mode Can t connect to the station with LoggerNet software 1 No commas and or 9 added to the dial string in LoggerNet to temporarily put the COM310 into data mode 2 The 9 is being dialed before the COM310 picks up and voices the announcement not enough c...

Page 34: ... 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 c Phone line introducing excessive noise or signal attenuation d Handset introducing excessive noise or producing too low signal levels 3 Station has ...

Page 35: ...s continuously powered but draws less than 2 μA The COM310 passes a detected ring signal on to the datalogger through an opto coupler The datalogger responds by addressing the COM310 synchronously pins 6 and 7 which switches on 5 VDC power to the COM310 The COM310 then negotiates a connection with the calling modem and remains off hook until it loses the carrier or until the datalogger sends it a ...

Page 36: ...This is a blank page ...

Page 37: ... of devices which may be connected to the telephone line Excessive REN s on the telephone line may result in the devices not ringing in response to an incoming call In most but not all areas the sum of the REN s should not exceed five 5 0 To be certain of the number of devices that may be connected to the line as determined by the total REN s contact the telephone company to determine the maximum ...

Page 38: ...This is a blank page ...

Page 39: ... be coordinated by a representative designated by the supplier Any repairs or alterations made by the user to this equipment or equipment malfunctions may give the telecommunications company cause to request the user to disconnect the equipment Users should ensure for their own protection that the electrical ground connections of the power utility telephone lines and internal metallic water pipe s...

Page 40: ...This is a blank page ...

Page 41: ...rn to factory for non warranty work We recommend that you test a setting change locally before changing it remotely Also there is the slight risk of phone line noise causing erroneous setting changes to occur The following describes how to view and change AT parameters of the COM310 s Connexant chipset via telephone See above CAUTION The following assumes that your PC has an internal or external m...

Page 42: ... ATO CONNECT 9600 g At the prompt you can type AT commands to the Connexant chipset in your COM310 See CAUTION There is a summary of AT commands in the COM210 Instruction Manual Appendix A available on CSI s web site h To see version number of the COM310 OS type HOS You should see H8 OS mm dd yy on the terminal screen i To quit type ATH ENTER and wait until Disconnected appears at lower left on sc...

Page 43: ...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 Table E 1 shows the I O pin configuration and gives a brief description of the function of each pin CS I O FIGURE E 1 COM310 s Male 9 Pin Connector NOTE ...

Page 44: ...the telecommunications mode 4 RXD O Receive Data Serial data transmitted by the modem are transmitted on pin 4 5 ME I Modem Enable A logic high internally switches power to the modem A logic low internally powers down the modem 6 SDE I Synchronous Device Enable A logic high disables communication with the modem without removing power or changing the modem s mode 8 TE I 12 VDC power supply 9 TXD I ...

Page 45: ...e follows this information The first line of the voice code is the wording used for input locations The second line is the wording used for ports The third line is the wording used for flags The lines following are used for message descriptions Each message will terminate with a period Notice that line four below starts with 4 The indicates the string is an initial message The 4 following the slas...

Page 46: ...at the very end of the listing The flag number used to initiate the call and the phone number will be between at symbols This example initiates a voice call 56 57 53 52 2 4 98 191 85 1 192 2555 1234 Line four above starts out as 2 4 The means this message is selected as an initial message The 2 indicates that this message will be spoken if flag 2 is the flag that initiates callback The 2 preceding...

Page 47: ...the characters following the at the beginning of the character stream The security code will always be the very first thing in the imbedded character portion of the DLD file 1234 56 57 53 52 4 88 89 109 74 71 71 71 109 135 86 85 3 87 122 4 109 98 191 85 1 192 This code translates to security code 1234 Input Locations Ports Flags 4 decimal places Campbell Scientific Datalogger Program pause pause p...

Page 48: ...Appendix F Reading Voice Code in a DLD File F 4 This is a blank page ...

Page 49: ...OF 61 SECURITY 62 CODE 63 YOUR 64 POINT 65 PLEASE 66 BY 67 MINUS 68 ENTER 69 SELECTION 70 GOODBYE 71 50MS 72 MESSAGE 73 CALLBACK 74 PROGRAM 75 SIGNATURE 76 EPROM 77 KILOBYTES 78 MEMORY 79 NUMBER 80 E08 S 81 TABLE 82 OVERRUNS 83 VERSION 84 REVISION 85 IS 86 TEMPERATURE 87 DEGREES 88 CAMPBELL 89 SCIENTIFIC 90 ACRE 91 AIR 92 ALARM 93 ARE 94 AT 95 AVERAGE 96 BAROMETRIC 97 BARS 98 BATTERY 99 CALIBRATE ...

Page 50: ...ONIUM 209 APPROACH 210 AREA 211 AVAILABLE 212 B 213 BACK UP 214 BAY 215 BE 216 BEAVER 217 BEDS 218 BEHIND 219 BELOW 220 BIG 221 BILLION 222 BLAST 223 BOILER 224 BUILDING 225 C 226 C O 227 CALCIUM 228 CALL 229 CALLS 230 CAN 231 CEMENT 232 CENTRAL 233 CHECK 234 CHILLER 235 CHLORIDE 236 CHLORINE 237 CONTACT 238 CORRECTED 239 CROSSING 240 CYCLES 241 D 242 DAYS 243 DELTA 244 DING 245 DISTRICT 246 DIVER...

Page 51: ...366 RESIDUAL 367 RISING 368 RIVER 369 ROAD 370 ROOM 371 RUN 372 RUNOFF 373 S 374 S O 2 375 SATURDAY 376 SEDIMENT 377 SENSOR 378 SENSORS 379 SHAFT 380 SINCE 381 SKIING 382 SMOG 383 SODIUM 384 SONAR 385 SOUTH 386 SPILL 387 STATES 388 STREAMBED 389 SUMMIT 390 SUMP 391 SUNBURN 392 SUNDAY 393 SURFACE 394 SURFACTANCE 395 SYSTEM 396 T 397 TAIL 398 TESTING 399 THANK 400 THAT 401 THIS 402 THRESHOLD 403 THU...

Page 52: ... DOCK 248 DOOR 115 DOWN 116 DRAW 249 DURING 250 E 118 E T O 80 E08 S 251 EAST 252 EASTERN 253 EFFLUENT 8 EIGHT 18 EIGHTEEN 26 EIGHTY 254 ELECTRON 255 ELEVATION 11 ELEVEN 256 EMPTIED 257 ENGINE 68 ENTER 76 EPROM 117 EQUAL 258 ERROR 119 EVENT 121 EXCEEDS 120 EXTERNAL 259 F 122 FAHRENHEIT 260 FAILED 261 FAILURE 123 FALL 262 FALLING 124 FEET 15 FIFTEEN 23 FIFTY 263 FIRST 5 FIVE 58 FLAG 52 FLAGS 125 FL...

Page 53: ...6 OFFSET 334 OK 157 ON 1 ONE 158 OPEN 335 OR 336 OUT 159 OVERFLOW 82 OVERRUNS 337 OZONE 338 P 163 P H 339 P M 167 P S I 340 PACIFIC 341 PARAMETER 160 PARTS 342 PAST 343 PEAK 344 PENDING 161 PER 162 PERCENT 345 PHONE 346 PLANT 65 PLEASE 64 POINT 347 POND 55 PORT 53 PORTS 348 POTASSIUM 32 POUND 349 POWDER 350 POWER 164 PRECIPITATION 351 PREHEAT 31 PRESS 165 PRESSURE 47 PREVIOUS 352 PROBE 353 PRODUCT...

Page 54: ...PERATURE 10 TEN 398 TESTING 399 THANK 400 THAT 40 THE 13 THIRTEEN 21 THIRTY 401 THIS 29 THOUSAND 3 THREE 402 THRESHOLD 54 THRU 403 THURSDAY 188 TIME 404 TING 405 TO 406 TODAY 407 TODAYS 51 TOGGLE 408 TOTAL 409 TRIGGERED 410 TUESDAY 189 TURBIDITY 12 TWELVE 20 TWENTY 2 TWO 411 U 412 ULTRAVIOLET 413 UNITS 414 UP 415 V 416 V O C 417 VALUE 190 VELOCITY 83 VERSION 418 VERTICAL 419 VIA 191 VOLTAGE 192 VO...

Page 55: ......

Page 56: ...entific Canada Corp CSC 11564 149th Street NW Edmonton Alberta T5M 1W7 CANADA www campbellsci ca dataloggers campbellsci ca 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 Ltd CSL Campbell Park 80 Hathern Road Shepshed Loughborough LE12 9GX UNITED KINGDOM www campbellsci c...

Reviews: