User manual

Table Of Contents
User Guide
CallTable CS215dat 'Call the table instruction to calculate and store the Avs
NextScan
EndProg
6. Changing the SDI-12 Address Using LoggerNet and
a Datalogger
Up to ten CS215s or other SDI-12 sensors can be connected to a single datalogger
control port. Each SDI-12 device must have a unique SDI-12 address between 0
and 9. (The CS215 also supports the extended range up to 126.)
The factory-set SDI-12 address for the CS215 is 0. The CS215 SDI-12 address is
changed in software by issuing the aAb! command to the CS215 over the SDI-12
interface, where a is the current address and b is the new address. The current
address can be found by issuing the ?! command.
The address can be changed by loading a program into the datalogger that
includes an instruction to send the aAb! command to change the sensor from its
old address “a” to new address “b”. (For an Edlog datalogger this involves using
instruction 105 with the character “A” followed by the character for the new
address sent as extended commands, using P68. Refer to the datalogger manual
for further details. CRBasic programs can simply have the aAb string embedded
as the string command.)
However, changing the address using a program is not the simplest way as most
Campbell Scientific dataloggers (with the exception of the CR5000 at present)
support a method of directly interacting with SDI-12 sensors via a terminal
emulator. This allows you to get confirmation that the change of address has
worked, using the ?! command. This can be done using a computer running
LoggerNet to issue any valid SDI-12 command through the datalogger to the
CS215 as described in the following sections.
6.1 Array-Based “Edlog” Dataloggers
1. Connect a single CS215 to the datalogger using Control Port p as described in
Section 4, and download a datalogger program that contains the SDI-12
Recorder (Instruction 105) instruction with valid entries for each parameter.
2. In the LoggerNet Toolbar, navigate to and activate the Test|Terminal
Emulator… menu. The “Terminal Emulator” window opens. In the Select
Device menu, located in the lower left hand side of the window, select the
station.
3. Click on the Open Terminal button. If communications between the
datalogger and PC are successful, the red bar located in the upper left hand
side of the window, will turn green.
4. Click inside the “Terminal Emulator” window and press the <enter> key until
the datalogger responds with the “” prompt.
5. To activate the SDI-12 Transparent Mode on Control Port p, enter pX and
press the <enter> key. The datalogger will respond with
entering
SDI-12
. If any invalid SDI-12 command is issued, the datalogger will exit
the SDI-12 Transparent Mode.
6. To query the CS215 for its current SDI-12 address, enter the command ?!.
The CS215 will respond with the current SDI-12 address.
9