Campbell Scientific CR10 CR10 Measurement and Control - Page 140

Entry

Page 140 highlights

SECTION 9. INPUT/OUTPUT INSTRUCTIONS CD16AC's may be addressed, making it possible to control a maximum of 256 ports from the first three datalogger control ports. For each Rep, the 16 ports of the addressed SDM-CD16AC are sent according to 16 sequential input locations starting at the input location specified in parameter 3. Any non-zero value stored in an input location activates (connects to ground) the associated SDMCD16AC port. A value of zero (0) deactivates the port (open circuit). For example, assuming 2 Reps and a starting input location of 33, OUTPUT 1 through 16 of the first SDM- CD16AC are set according to input locations 33 through 48, and OUTPUT 1 through 16 of the second SDM-CD16AC are set according to input locations 49 through 64. See the SDM- CD16AC manualfor detailed instructions and examples. PARAM. DATA NUMBER TYPE 01: 2 02: 2 03: 4 DESCRIPTION Reps (# of CD16AC modules sequentially addressed) Starting Address (base 4:00..33) Starting input location *** 105 SDF12 RECORDER *** Instruction 105 allows data to be collected from a SDI-12 sensor. A single Control Port is connected to the SDI-12 sensor data line; the SDI-12 ground should be connected to a "G" terminal on the CR'|0 wiring panel. The CR10 may also be used as the 12 volt power supply for sensors. lf multiple SDI-12 sensors are used, each sensor requires a separate lnstruction 105. Instruction 105 is only in standard PROMs OS10-1.1 and OS10-1.2. PARAM. NUMBER TDAYTAPE DESCRIPTION 01: 02". 4 ADDRESS (0-e) 2 COMMAND (Table 1) 03: 2 PORT (1-8) 04: 4 INPUT LOC. 05: FP MULT 06: FP OFFSET Input locations altered:0-9 (SDl-12 sensor dependent) lntermediate Locations required: 9 9-16 PARAMETER 1. ADDRESS Enter the address of the SDI-12 sensor (0-9). Non-standard addresses may be used entering the appropriate ASCII code. PARAMETER2. COMMAND Enter a number to select the command to be sent to the SDI-12 sensor. Usually 0 is entered to select the M command. The following Standard SDI-12 commands are supported by the CR10: TABLE 9-6. SDI-12 Command Codes ENTRY COMMAND DESCRIPTION OM 1..9 M1..M9 lnitiate Measurement Additional Measurement commands specified by the SDI-12 sensor 10 V Initiate Verify sequence 11 I Send ldentification The result of a M, M1-M9, or V command sequence is numericaldata, stored in an input location. The response to the I command is information, which is written directly to Final Storage regardless of the Output Flag's state. The *7 mode of the datalogger cannot be used with this type of data. PARAMETER3. PORT Enter the CRlO control port connected to the SDI-12 sensor data line. Any port 1-8 (C1-CB) may be used. Default port is C8. PARAMETER 4. INPUT LOCATION Input location where the returned data is stored. lf multiple values are returned from the SDI-12 sensor they are stored in sequential input locations beginning at the specified location. ERRORS lf the CR10 receives either an incorrect response or no response is received from a SDI-12 sensor, the CR10 will retry the operation. lf, after the retries, a valid response has not been received, the CR10 will store a 99999 in the input location specified in Parameter 4. Only the first location will be altered. Sequential locations will contain values f rom previous measurements.

  • 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

SECTION
9.
INPUT/OUTPUT INSTRUCTIONS
CD16AC's may be
addressed,
making
it
possible to control
a
maximum of 256 ports
from the first three datalogger
control
ports.
For
each
Rep,
the
16
ports
of
the addressed
SDM-CD16AC are sent according
to
16
sequential input locations starting at
the
input
location specified in parameter
3.
Any
non-zero
value stored in
an
input location activates
(connects to ground)
the
associated SDM-
CD16AC
port.
A value
of
zero
(0) deactivates
the port (open
circuit).
For example, assuming
2
Reps and
a
starting input location of
33,
OUTPUT
1
through
16 of
the
first
SDM-
CD16AC are set according
to
input locations
33
through 48, and
OUTPUT
1
through
16 of
the
second SDM-CD16AC are set according
to
input locations
49
through
64.
See the SDM-
CD16AC
manualfor detailed
instructions and
examples.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
2
Reps (# of CD16AC
modules sequentially
addressed)
02:
2
Starting
Address
(base
4:00..33)
03:
4
Starting input location
***
105
SDF12
RECORDER
***
Instruction
105
allows data
to
be
collected from
a SDI-12
sensor.
A single
Control
Port
is
connected to
the
SDI-12 sensor
data
line;
the
SDI-12 ground should be connected to a "G"
terminal on the
CR'|0
wiring
panel.
The
CR10
may also be used as
the
12
volt
power supply
for
sensors.
lf
multiple SDI-12 sensors are
used, each
sensor
requires a separate
lnstruction
105.
Instruction 105 is only in
standard
PROMs OS10-1.1 and OS10-1.2.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
4
ADDRESS
(0-e)
2
COMMAND
(Table
1)
2
PORT (1-8)
4
INPUT
LOC.
FP
MULT
FP
OFFSET
Input locations
altered:0-9
(SDl-12
sensor
dependent)
lntermediate
Locations
required:
9
9-16
01:
02".
03:
04:
05:
06:
PARAMETER
1.
ADDRESS
Enter the address of the SDI-12
sensor
(0-9).
Non-standard addresses may be used entering
the appropriate ASCII code.
PARAMETER2.
COMMAND
Enter
a
number
to
select the command
to
be
sent to
the
SDI-12
sensor.
Usually
0
is
entered
to
select
the
M
command.
The following
Standard SDI-12 commands are supported by
the
CR10:
TABLE
9-6.
SDI-12
Command Codes
ENTRY
COMMAND
DESCRIPTION
lnitiate Measurement
Additional
Measurement
commands
specified
by
the SDI-12 sensor
Initiate Verify
sequence
Send
ldentification
OM
1..9
M1..M9
10
11
V
I
The
result of
a
M, M1-M9, or V
command
sequence is
numericaldata,
stored in
an
input
location. The
response to
the
I
command
is
information,
which
is
written directly
to
Final
Storage regardless of the Output Flag's state.
The
*7
mode of the datalogger
cannot be
used
with this type of data.
PARAMETER3.
PORT
Enter the
CRlO control
port connected to
the
SDI-12 sensor data
line.
Any
port 1-8
(C1-CB)
may be
used.
Default port
is C8.
PARAMETER
4.
INPUT LOCATION
Input location where
the
returned data
is
stored.
lf
multiple values
are
returned from
the
SDI-12
sensor they are stored
in
sequential input
locations beginning
at
the
specified location.
ERRORS
lf
the
CR10 receives either
an
incorrect
response
or
no response is received
from
a
SDI-12 sensor, the CR10
will
retry
the
operation.
lf, after
the
retries,
a
valid
response
has not been received,
the
CR10 will store a
-
99999
in
the
input location specified
in
Parameter
4.
Only the
first
location will
be
altered.
Sequential locations will contain values
f
rom previous measurements.