114 set time, 117 read datalogger id, 130 error monitor – Campbell Scientific CR510 Basic Datalogger User Manual
Page 119

SECTION 9. INPUT/OUTPUT INSTRUCTIONS
9-15
PARAMETER 3. LOCATION
This parameter determines the starting input
location for the 'nn' values to be returned to the
recorder. The 'M' or 'M1-M9' command issued
by the SDI-12 recorder determines if the starting
location is actually that specified in Parameter 3
or a multiple of 'nn' past Parameter 3.
Starting input location = Parameter 3 + (nn
∗
x),
where nn is specified in Parameter 2, and, x is
the number following the 'M' sent by the SDI-12
recorder (1-9).If the 'M' command is sent by the
recorder x = 0.
Results of Instruction 106
The sensor CR510 will return a set of input
locations in response to the M or M1..M9
command sequence. The set of Locations
returned is determined by Parameters 2 and 3
of Instruction 106.
The three values, sent in response to a V
command sequence, indicate the status of the
sensor CR510. The first and second values are
from the
∗
B mode of the sensor CR510, giving
the number of watchdog errors (E08) and the
number of table overruns that have occurred.
The third is a signature of the sensor CR510
memory. This signature is created by the same
technique that the Instruction 19 (Signature)
uses.
In response to an I command, the CR510 sends
the string 'AVVCAMPBELLCR510 OS' where A
is the sensor address, VV is the SDI-12 version
number, OS is the CR510 operating system
number.
*** 114 SET TIME ***
FUNCTION
Instruction 114 can be used to set the CR510
clock from values in input locations.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
2
Option code:
0
set time with
hr,min,sec with
values in 3 input
locations.
1
set time with
day,hr,min,sec
using 4 input
locations.
2
set time with
yr,day,hr,min,sec
using 5 input
locations.
02:
4
Input location number
*** 117 READ DATALOGGER ID ***
FUNCTION
Instruction 117 stores the datalogger ID into an
input location. The datalogger ID is set in the
∗
D mode with Command 8 (Section 1.8.4).
PARAM
DATA
NUMBER
TYPE
DESCRIPTION
01:
4
Input location number
*** 130 Error Monitor ***
FUNCTION
Stores an error count or status information from
*B into an input location. Indexing the option
code will cause the instruction to store the value
into an input location and then clear the *B
value. This is designed to assist with
troubleshooting and to alert users of possible
problems.
PARAM
DATA
NUMBER
TYPE
DESCRIPTION
01:
2
Option Code (Index (--) to
reset error count after
reading)
02:
4
Input Location
Option Codes:
0
Read Watchdog or E08s Errors
1
Read Table Overruns
2
Read Low 12V Detection
3
Read Lithium Battery Voltage Level
(Indexing does nothing)
4
Read Flash (for CR510-1M or CR510-
2M) Errors
Input Locations Altered: 1