04.01.2015 Views

CR1000 Manual - Campbell Scientific

CR1000 Manual - Campbell Scientific

CR1000 Manual - Campbell Scientific

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Section 7. Installation<br />

Serial number = 101<br />

Start Measurement Commands (aM! & aC!)<br />

A measurement is initiated with M! or C! commands. The response to each<br />

command has the form atttnn, where<br />

• a = sensor address<br />

• ttt = time, in seconds, until measurement data are available<br />

• nn = the number of values to be returned when one or more subsequent D!<br />

commands are issued.<br />

Start Measurement Command (aMv!)<br />

Qualifier v is a variable between 1 and 9. If supported by the sensor<br />

manufacturer, v requests variant data. Variants may include:<br />

• alternate units (for example, °C or °F)<br />

• additional values (e.g., level and temperature)<br />

• diagnostic of the sensor’s internal battery<br />

Example:<br />

Command: 5M!<br />

Response: 500410 (atttnn, indicates address 5, data ready in 4 seconds,<br />

will report 10 values).<br />

Example:<br />

Command: 5M7!<br />

Response: 500201 (atttnn indicates address 5, data ready in 2 seconds,<br />

will report 1 value). v = 7 instructs the sensor to return the voltage of its<br />

internal battery.<br />

Start Concurrent Measurement Command (aC!)<br />

Concurrent measurement allows the <strong>CR1000</strong> to request a measurement, continue<br />

program execution, and pick up the requested data on the next pass through the<br />

program. A measurement request is then sent again so data are ready on the next<br />

scan. The datalogger scan rate should be set such that the resulting skew between<br />

time of measurement and time of data collection does not compromise data<br />

integrity.<br />

Note This command is new to Version 1.2 or higher of the SDI-12 Specification.<br />

Older sensors, older loggers, or new sensors that do not meet v1.2 specifications<br />

will likely not support this command<br />

Aborting a Measurement Command<br />

A measurement command (M! or C!) is aborted when any other valid command is<br />

sent to the sensor.<br />

176

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!