COM320 Voice Communications Modem
15
the current VoiceSpeak string and move to the next one. If any other key is
pressed, the COM320 will skip to the next group of
VoiceSpeak()
instructions.
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
program conditions.
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.1 Example Data Callback Program
The following program (downloadable from CSI web site under
Support/Downloads/Program | Examples, COM310 Examples) does data
callbacks to the phone number associated with the
DialModem()
instruction
whenever the thermocouple temperature exceeds 85 °F. To complete the
system, provide a PC running
LoggerNet
with a phone modem connected to the
phone line dialed.
' CR1000 Series Datalogger
' BASIC_DATA_CLBK_1.CR1
' Program description: Does a DATA CALLBACK via COM320 when DIFF 7 TC temp > 85F
' LoggerNet Map:
' ComPort
' PhoneBase
' PhoneRemote
' PakBusPort
' CR1000 (PakBus Address matches remote DL)
' Use Type T thermocouple or change TCDiff instruction accordingly
Public batt_volt, Result
Public PTemp, TCvalue_F, dummy
Dim DialSuccess
DataTable (TestA,1,1000)
DataInterval (0,0,Sec,10)
Sample (1,PTemp,FP2)
Sample (1,TCvalue_F,FP2)
Sample (1,batt_volt,FP2)
Sample (1,DialSuccess,FP2)
Sample (1,Result,FP2)
EndTable
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
Summary of Contents for COM320
Page 2: ......
Page 6: ......
Page 32: ...COM320 Voice Communications Modem 24 ...
Page 34: ......
Page 40: ...Appendix B Updating and Configuring the COM320 B 6 ...
Page 46: ...Appendix D COM320 Word List D 4 ...
Page 47: ......