G.3 cr23x programming, G.3.1 rs232 application – Campbell Scientific CR23X Micrologger User Manual
Page 285

APPENDIX G. CALLBACK (CR23X INITIATED TELECOMMUNICATIONS)
G-3
FIGURE G.2-3. Configuring a Task
c)
As shown in Figure G.2-3, go to
PC208W | Setup and add Task1 to the
device map. Also go to PC208W |
Setup | Task1 | Hardware and enter the
name of the executable file that will
indicate an alarm.
3) Program the CR23X to make the call.
Section G.3 addresses CR23X
programming.
G.3 CR23X PROGRAMMING
The CR23X is programmed for Callback by the
use of Instruction P97 Initiate
Telecommunications. A detailed description of
each P97 parameter is given in Section 12.
Initially, set parameter 3 to 60 seconds; set
parameters 4, 5, and 6 to 0. Doing otherwise
increases the risk of large long distance
charges, dead datalogger batteries, and phone
calls in the middle of the night. After initial
success, parameters 3 through 6 can be
adjusted to refine the application.
In most examples below, the program
measures a 107 temperature probe once per 10
second interval and stores an average
temperature in final storage once per 1 minute
interval. If the air temperature exceeds 32°C,
the computer is called, data saved to disk, and
a batch file executed to show a visual alarm
(batch file is not supplied by Campbell
Scientific).
G.3.1 RS232 APPLICATION
Following is an example program for use with a
CR23X connected to a computer via an SC32A
Optically Isolated RS232 Interface or an SC929
Interface Cable.