B.2.1 sdi-12 transparent mode, B.2.1 sdi-12 – Campbell Scientific CS475, CS476, and CS477 Radar Water Level Sensor User Manual

Page 44

Advertising
background image

Appendix B. SDI-12 Commands/Changing Settings

Change this setting by first using the aXSPOM+n! command (where n=1 (on),
2 (auto), or 0 (off)) followed by the aXGPOM! (Get Power Mode) command.
TABLE B-6 shows an example of the command and response for changing this
setting.

TABLE B-6. Example for Setting Power Operation Mode

Initial Command

Response

0XSPOM+2!
Where,
0—sensor’s address;
2—the new power mode setting
(2 = auto).

00011<cr><If>
Where (from left to right),
0—sensor’s address;
001—the amount of time (in seconds)
that you must wait before sending
another data command;
1—the number of values that will be
placed in the buffer.

Subsequent Command

Response

aXGPOM!
Where zero is the sensor address.
This is the get power mode
command.

0+2<cr><If>
Where,
0—sensor’s address;
2—the new power mode setting
(2 = auto).

B.2 Using Terminal Emulator and a Datalogger to

Send Commands

Commands can be sent to the sensor by connecting the sensor to an SDI-12
compatible central port on a datalogger and use the SDI-12 transparent mode.

B.2.1 SDI-12 Transparent Mode

System operators can manually interrogate and enter settings in probes using
transparent mode. Transparent mode is useful in troubleshooting SDI-12
systems because it allows direct communication with probes. Datalogger
security may need to be unlocked before transparent mode can be activated.

Transparent mode is entered while the PC is in telecommunications with the
datalogger through a terminal emulator program. It is easily accessed through
Campbell Scientific datalogger support software, but is also accessible with
terminal emulator programs such as Windows HyperTerminal. Datalogger
keyboards and displays cannot be used.

The terminal emulator is accessed by navigating to the Datalogger menu in
PC200W, the Tools menu in PC400, or the Datalogger menu in the Connect
screen of LoggerNet.

The following examples show how to use LoggerNet software to enter
transparent mode and change the SDI-12 address of a sensor. The same steps

B-6

Advertising