Campbell Scientific CR10 CR10 Measurement and Control - Page 142

NUMBER, of lnstruction

Page 142 highlights

SECTION 9. INPUT/OUTPUT INSTRUCTIONS PARAM. DATA NUMBER TYPE 01: 02: 4 4 03: 4 DESCRIPTION ADDRESS (0-e) TIMEA/ALUES tttn: ttt=time(sec) n=no. values LOCATION starting loc. for n values Input locations altered: 0 Intermediate locations required: 82. This rinecqrueiraessedth.aTt hthee*dAemfaoudltese(stteincgonodf 64 be window) is used to specify Intermediate locations. PARAMETER 1. ADDRESS Enter the address for the CR10 acting as a SDI12 sensor (0-9). Each SDI-12 sensor must have a unique address. Non standard addresses may be used by entering the appropriate ASCI I code. PARAMETER 2, TIMEA/ALUES Enter the time required for the sensor CRl O to complete subroutine 98 followed by the number of input locations to be returned to the SDI-12 recorder. The format of the entry must be'tttn' where ttt specifies the time and n is the number of input locations values. The time to complete subroutine 98 is the time required to execute all instructions from Instruction 106 (SDl-12 sensor) to the final Instruction 95 (End). The entered time may be longer than the actual time without slowing the data exchange because the sensor CR1 0 signals the SDI-12 data recorder when the data is ready for transfer. lf the entered time is too short the sensor CR10 will not respond properly and the data values will not be transferred. Enter a time of 0 to transfer the values already stored in input locations, in this case the remainder of the subroutine is not executed. A maximum of 9 input locations can be transferred at one time since 'n' is a single digit. See Parameter 3 LOCATION description for information on transferring more than 9 locations. PARAMETER 3. LOCATION This parameter determines the starting input location for the 'n' values to be returned to the recorder. The'M' or'M1-M9' command issued by the SDI-12 recorder determines if the starti location is actually that specified in Parameter 3 or-a multiple of 'n' past Parameter 3. Starting input location = Parameter 3 + (n*x), where n is specified in Parameter 2, and, x is the number following the 'M' sent by the SDI-12 recorder (1-9).lf the'M' command is sent by the recorder x = 0. Results of lnstruction 106 The sensor CR10 will return a set of input locations in response to the M or Mt..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 sfreonmsothr eC*RB1m0.oTdeheoffirthsteasnednssoercoCnRd1v0a, lugeivsinagre the number of watchdog errors (E08) and the number of table overruns that have occurred. The third is a signature of the sensor CR10 memory. This signature is created by the same technique that the Instruction 19 (Signature) uses. The CR10 manualcontains more information on *B and Instruction 19. In response to an I command, the sensor CR10 sends the string 'l0CAMPBELL CR10 001 aaaa' where aaaa is the number from the eighth window of the "B mode. 9-18

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238

01:
02:
03:
SECTION
9.
INPUT/OUTPUT INSTRUCTIONS
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
4
ADDRESS (0-e)
4
TIMEA/ALUES
tttn:
ttt=time(sec)
n=no. values
4
LOCATION starting
loc.
for
n
values
Input locations
altered:
0
Intermediate locations required:
82.
This
requires that the default setting of
64
be
increased.
The
*A
mode (second
window)
is
used
to
specify Intermediate locations.
PARAMETER
1.
ADDRESS
Enter the address for the CR10 acting as
a
SDI-
12
sensor
(0-9).
Each SDI-12
sensor
must
have
a
unique
address.
Non standard
addresses may be used by entering the
appropriate
ASCI
I
code.
PARAMETER
2,
TIMEA/ALUES
Enter the
time
required for
the
sensor
CRl
O
to
complete subroutine
98
followed
by
the
number
of input locations
to be
returned to
the
SDI-12
recorder.
The
format
of
the
entry
must
be'tttn'
where ttt specifies the time and n
is
the
number
of input locations values.
The time to complete subroutine
98
is
the
time
required to execute
all
instructions from
Instruction 106
(SDl-12
sensor) to the final
Instruction 95
(End).
The entered
time
may
be
longer than the actual time without slowing
the
data exchange because the sensor
CR1
0
signals
the
SDI-12
data
recorder when the data
is ready for
transfer.
lf the entered
time
is
too
short the sensor CR10
will
not respond properly
and the data values
will
not
be
transferred.
Enter
a
time of
0
to transfer the values already
stored in input locations,
in
this case the
remainder
of
the
subroutine is not executed.
A
maximum of
9
input locations
can
be
transferred at one
time
since 'n'
is
a single digit.
See Parameter 3 LOCATION description
for
information
on
transferring
more
than
9
locations.
PARAMETER
3.
LOCATION
This
parameter determines
the
starting input
location for the 'n' values
to
be returned to the
recorder.
The'M' or'M1-M9'
command
issued
by
the
SDI-12 recorder determines
if
the
starti
location is actually that specified
in
Parameter
3
or-a multiple of 'n' past Parameter
3.
Starting input location
=
Parameter 3
+
(n*x),
where n
is
specified
in
Parameter
2,
and,
x
is
the
number following
the
'M' sent
by
the
SDI-12
recorder (1-9).lf
the'M'
command is sent
by
the
recorder x
=
0.
Results
of lnstruction
106
The sensor CR10
will
return a set
of
input
locations
in
response to
the
M or
Mt..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
CR10.
The
first
and second values are
from
the
*B
mode
of
the
sensor CR10, giving
the
number
of
watchdog
errors (E08) and the
number of table overruns
that
have occurred.
The
third
is
a signature of the sensor CR10
memory. This
signature
is
created by
the
same
technique that
the
Instruction
19
(Signature)
uses.
The
CR10
manualcontains
more
information on
*B
and
Instruction
19.
In
response to
an
I
command,
the
sensor CR10
sends the string
'l0CAMPBELL
CR10
001
aaaa' where
aaaa
is
the
number from
the
eighth
window
of
the "B
mode.
9-18