SECTION 9. INPUT/OUTPUT INSTRUCTIONS
9-12
PARAMETER 1. ADDRESS
Enter the address of the SDI-12 sensor (0-9).
†Extended addresses (A through Z and a
through z) may be used by entering the decimal
equivalent for the appropriate ASCII character
(see Appendix C). For example, address ‘A’
would be entered as 65, and address ‘z’ would
be entered as 122.
PARAMETER 2. 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 CR510:
TABLE 9-6. SDI-12 Command Codes
ENTRY
COMMAND
DESCRIPTION
0
M
Initiate Measurement
0 --
C
†Initiate Concurrent
Measurement
1..9
M1..M9
Additional
Measurement
commands specified
by the SDI-12 sensor
10
V
Initiate Verify
sequence
11
I
Send Identification
Command 0: the CR510 will issue the ‘M’ SDI-
12 measurement command and wait for the
sensor to complete its measurement before
requesting the data and proceeding to the next
instruction in the program table. If Instruction
105 is placed in Table 1, program execution will
be suspended during this delay. If it is placed in
Table 2, instructions in Table 1 may be
executed during this delay.
†Command 0--: this command enables
concurrent measurements with SDI-12 sensors
that support this feature. With concurrent
measurements, the CR510 can initiate
measurements with multiple SDI-12 sensors
without having to wait for each individual
sensor to complete its sequence before
proceeding to the next sensor. The CR510 will
issue the ‘C’ SDI-12 concurrent measurement
command and wait for the sensor response,
which includes the amount of time in seconds it
will take for the sensor to make the
measurement. The CR510 will not wait for the
data: rather, it will continue executing the table.
The next time the instruction is executed, the
CR510 will check the elapsed time. If the
elapsed time is equal to or greater than that
given by the sensor, the CR510 will get the data
from the SDI-12 sensor. In the following
execution of the instruction, the CR510 will
again issue the ‘C’ command.
CAUTION:
If you are using C2/P3 as a
pulse input or interrupt subroutine, you must
use the concurrent measurement option
with the SDI-12 sensors on C1.
The results of an M, C, M1-M9, or V command
sequence is numerical data, stored in input
location(s). The response to the I command is
text information, which is written directly to Final
Storage regardless of the Output Flag's state.
The
∗
7 mode of the CR510 cannot be used to
view text data.
†In addition to the Standard SDI-12 commands,
the CR510 can issue ‘Extended’ SDI-12
commands. Instruction 68, Extended
Parameters 4 Digit, is used to supply the
characters and values to be transmitted.
Multiple Instructions 68 can be used
sequentially to extend the command string. The
Command parameter 2 in Instruction 105 must
be 0, not 0--. Parameter 4 in Instruction 105
should refer to the first Input Location, if any, to
be sent as part of the command string. The
parameters placed in P68 are the decimal
ASCII equivalent of literal characters to be sent,
or ‘128’ if the value in an input location is to be
sent. Enter a parameter of zero to end the
string. The address prefix and ‘!’ suffix are
automatically sent in addition to the information
listed in Instruction(s) 68. The CR510 keeps no
data from the sensor response.
Example: To send the command 1A0+2.3456-
87.654! where 1 is the SDI-12 sensor address,
+2.3456 is the value in Input Location 5 and -
87.654 is the value in Input Location 6, use the
following instructions:
Содержание CR510
Страница 1: ...CR510 DATALOGGER OPERATOR S MANUAL REVISION 2 03 COPYRIGHT c 1986 2003 CAMPBELL SCIENTIFIC INC ...
Страница 2: ...This is a blank page ...
Страница 4: ...This is a blank page ...
Страница 10: ...This is a blank page ...
Страница 44: ...SECTION 1 FUNCTIONAL MODES 1 14 This is a blank page ...
Страница 56: ...SECTION 3 INSTRUCTION SET BASICS 3 8 ...
Страница 104: ...SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES 8 8 This is a blank page ...
Страница 128: ...SECTION 10 PROCESSING INSTRUCTIONS 10 8 This is a blank page ...
Страница 144: ...SECTION 12 PROGRAM CONTROL INSTRUCTIONS 12 10 This is a blank page ...
Страница 172: ...SECTION 14 INSTALLATION AND MAINTENANCE 14 10 This is a blank page ...
Страница 176: ...APPENDIX A GLOSSARY A 4 This is a blank page ...
Страница 184: ...This is a blank page ...
Страница 188: ...APPENDIX D DATALOGGER INITIATED COMMUNICATIONS D 4 This is a blank page ...
Страница 196: ...APPENDIX F MODBUS ON THE CR10 X AND CR510 F 4 This is a blank page ...
Страница 197: ...APPENDIX G TD OPERATING SYSTEM ADDENDUM FOR CR510 CR10X AND CR23X MANUALS ...
Страница 198: ...This is a blank page ...
Страница 200: ...This is a blank page ...
Страница 206: ...TABLE DATA ADDENDUM AD 6 This is a blank page ...
Страница 222: ...TD ADDENDUM SECTION 1 FUNCTIONAL MODES AD 1 8 This is a blank page ...
Страница 238: ...TD ADDENDUM SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES AD 8 10 This is a blank page ...
Страница 240: ...This is a blank page ...