Campbell Scientific CR1000KD CR800 and CR850 Measurement and Control Systems - Page 103
Durable Settings
View all Campbell Scientific CR1000KD manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 103 highlights
Section 7. Installation Careful programming is required when changing settings via CRBasic to ensure users are not inadvertently blocked from communicating with the CR800, the remedy for which may be a site visit. 7.6.3.3 Durable Settings Many CR800 settings can be changed remotely over a telecommunications link either directly or as part of the CRBasic program. This convenience comes with the risk of inadvertently changing settings and disabling communications. Such an instance will likely require an on-site visit to correct the problem. For example, wireless-ethernet (cell) modems are often controlled by a switched 12-Vdc (SW12) channel. SW12 is normally off, so, if the program controlling SW12 is disabled, such as by replacing it with a program that neglects SW12 control, the cell modem is switched off and the remote CR800 drops out of telecommunications. Campbell Scientific recommends implementing one or both of the provisions described in "Include" File (p. 103) and Default.cr8 File (p. 105) to help preserve remote communication, or other vital settings. 7.6.3.3.1 "Include" File The Include file is a CRBasic program file that resides in CR800 memory and compiles as an insert to the user-entered program. It is essentially a subroutine stored in a file separate from the main program file. It can be used once or multiple times by the main program, and by multiple programs. The Include file begins with the SlowSequence instruction and can contain any code. Procedure to use the Include file: 1. write the Include file, beginning with the SlowSequence instruction followed by any other code. 2. send the Include file to the CR800 using tools in the File Control menu of datalogger support software (p. 76). 3. enter the path and name of the file in the Include File setting in the CR800 using DevConfig or PakBusGraph. Figures "Include File" Settings via DevConfig (p. 104) and "Include File" settings via PakBusGraph (p. 104) show methods to set required Include file settings via DevConfig or via telecommunications. There is no restriction on the length of the Include file. CRBasic example Using an "Include File" to Control Switched 12 V (p. 104) shows a program that expects an Include file to control power to a modem; CRBasic example "Include File" to Control Switched 12 V (p. 105) lists the "Include File" code. 103