Campbell cs215 Instruction Manual - page 23
CS215 Temperature and Relative Humidity Probe
7.5 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.
7.5.1 CR200(X) Series Datalogger
1. Connect a single CS215 to the datalogger using Control Port C1/SDI12 as
described in Section 7.3, Wiring, and download a datalogger program that
does not contain the SDI12Recorder() instruction.
2. In the LoggerNet Toolbar, navigate to and activate the Tools|Terminal
Emulator … menu. The “Terminal Emulator” window will open. 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. Press the
“CR200(X)>” prompt.
5. To query the CS215 for its current SDI-12 address, press the
At the “CR200(X)>” prompt, make sure you are in Caps Lock mode and
enter the command SDI-12>?! and press the
respond with the SDI-12 address.
6. To change the SDI-12 address, press the
“CR200(X)>” prompt enter the command SDI12>aAb!; where a is the
current address from the above step and b is the new address. The CS215
17