2 initiate modem calls – Campbell Scientific VS1 Telephone Modem with Voice Synthesizer User Manual

Page 20

Advertising
background image

VS1 AND VOICE SYNTHESIZER EDITOR

18



If you have a mouse use the mouse
cursor to check the box in front of the
correct flag.



For keyboards use the <Tab> to go to
the appropriate box in front of the flag
and press the space bar to check the
box.

6.

Enter the phone number the VS1 is to call
in the PHONE NUMBER: field. Do not use
parenthesis around the phone numbers.
The numbers can be all grouped together or
separated with a hyphen (-).

7.

Move the cursor to the OK field to save your
changes and exit.

Below is an example of a .DLD file that has
incorporated Instruction 97 to initiate a voice
call.

*

1Table 1 Programs

01:

60Sec. Execution Interval

01: P10Battery Voltage
01: 1Loc [:BAT VOLT ]

02:

P86Do

01: 12Set high Flag 2

03:

P91If Flag/Port

01: 21Do if flag 1 is low
02: 30Then Do

04:

P89If X<=>F

01: 1X Loc BAT VOLT
02: 4

<

03: 10.5 F
04: 22Set low Flag 2

05:

P95End

06: P97Initiate

Telecomm

01: 31Modem/Baud Option
02: 2Disabled when User Flag 2 is high
03: 40Seconds Call Time Limit
04: 30Seconds Before Fast Retry
05: 3Fast Retries
06: 0000Minutes Before Slow Retry
07: 3Failures Loc [:ERRORS ]
08: 100Datalogger ID

07:

P

End Table 1

If the battery voltage should fall below 10.5 VDC
the datalogger will initiate voice call. Notice how
the flags are used to control Instruction 97.

Flag 1 is used by the user to disable the
callback routine. If the datalogger detects an
alarm condition it will attempt to call the phone
number everytime the alarm condition is
met.When the VS1 initiates a voice call it does
not allow the user to listen to any of the initial
messages or get at any of the flag or port
locations. The voice call delivers the the initial
message line that has been flagged. To disable
the alarm condition the user would need to call
the datalogger back and set flag 1 high. After
the alarm condition is past, or corrected, flag 1
would need to be set back to low.

8.4.2 INITIATE MODEM CALLS

The Editor is not used to modify the *.DLD file to
initiate modem calls. To implement modem
calls in a *.DLD file you will need to use
Instruction 97 followed by Instruction 63.
Instruction 97 will require a special modem
option code.

The instruction to initiate modem calls is
Instruction 97 with modem option code 41.

If EDLOG is being used to create the program it
will highlight modem option code 41 as an error.
Press <Enter> and it will eventually take it. In
order for Instruction 97 to initiate you will need
to decide on the condition to reset your flag and
which flags to set. See the CR10 Operator's
Manual for more information.

Follow Instruction 97 with Instruction 63 to
include the phone number the datalogger is to
call.

An example of a .DLD file that has incorporated
Instruction 97 and 63 to initiate a modem call
follows.

*

1Table 1 Programs

01:

60Sec. Execution Interval

01: P11Temp 107 Probe

01: 1Rep
02: 1IN Chan
03: 1Excite all reps w/EXchan 1
04: 4Loc [:AIR TMP C]
05: 1Mult
06: 0Offset

Advertising