G.4.5 print sdi-12 commands, G.4.6 set sdi-12 transmit format – Campbell Scientific TX312 High Data Rate GOES Transmitter User Manual

Page 84

Advertising
background image

Appendix G. Extended ASCII Command Set

G-12

This command clears the SDI command table entry indicated by i or all SDI-12
commands if i is not specified.

G.4.5 Print SDI-12 Commands

Syntax:

PSDI [i]

Where:

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

Access level: USER
TX312 State: Enabled/Disabled

This command prints the SDI command table entry indicated by i or all SDI-12
commands if i is not specified. The RCFG command will be also print the
contents of the SDI table along with the other configuration parameters.

G.4.6 Set SDI-12 Transmit Format

Syntax:

SDF=FC

Where:

FC is a format code

If FC=0 the data is transmitted as a series of records separated by [CR][LF].
The records are buffered until transmission time and then transmitted in reverse
chronological order. After transmission the buffer is cleared. Each record will
include the address of the sensor that generated the values and a comma
separated list of the values returned for a single measurement. The record
format is shown below:

a,sn.nnn,sn.nnnn,sn.nn[CR][LF]

Where: a is the sensor address

s is ‘+’ or ‘-‘
n are digits 0 – 9

Individual values including sign will be replaced with /// if the value was not
returned successfully by the sensor. Entire records will be replaced by /// if the
sensor did not respond successfully.

Examples:

In this example the newest record is at the top and oldest record is at the
bottom.

1,+3.14,-2.789,///,///[CR][LF]

5,-44,+86,+23.4[CR][LF]

2,+345.5,-23.88,-77.7[CR][LF]
1,+4.14,-3.789,///,///[CR][LF]

5,-44,+88,+23.5[CR][LF]

Advertising