G.4.4 clear sdi-12 commands – Campbell Scientific TX312 High Data Rate GOES Transmitter User Manual

Page 83

Advertising
background image

Appendix G. Extended ASCII Command Set

G-11

G.4.3 Add SDI-12 Measurement Commands to the SDI-12

Command Table

Syntax:

SDI i,aX[C][n]!,[#values]

Where:

i is a command table index from 0-9
a is the SDI address of the sensor
X specifies the command type and is one of M, C or R
C is an optional character indicating the CRC is to be used in the
SDI-12 bus transaction
n is an optional parameter indicating the measurement variant being
used (0-9)
! is the command termination character
#values is the number of values to add to the transmit buffer from
those returned by the sensor. This parameter is optional. If not
specified all returned values are added to the transmit buffer.

The response to the SDI command will be “OK” if the SDI command was
successfully added to the command table or “Unknown Format” if the
command format is not recognized;

Examples:
i) SDI 2,1M6!,3
ii) SDI 7, 3CC4!,2
iii) SDI 1, 0R!,1

Access level: USER
TX312 State: Enabled/Disabled

This command adds an SDI-12 command to the SDI command table in the
table location specified by the table index. The command table can hold up to
10 entries numbered 0 to 9. The SDI-12 measurement sequence, including D
commands and service request detection as required, will be used as
appropriate for the command type. If the number of values returned by the
sensor is less than the #values parameter, the missing fields will be filled with
“///”. If there are more values returned than specified by the #values parameter,
the extra values will not be included in the transmit buffer.

When the SDI-12 port is enabled the SDI-12 commands will be executed
consecutively starting with index 0.

Commands entered using the SDI command are made non-volatile along with
other configuration commands using the SAVE command.

G.4.4 Clear SDI-12 Commands

Syntax:

CSDI [i]

Where:

i is an optional table index indicating the table entry to clear.

Access level: USER
TX312 State: Enabled/Disabled

Advertising