1 p127, command 0: read time, 2 p127, command 1: read status – Campbell Scientific TX312 High Data Rate GOES Transmitter User Manual

Page 35

Advertising
background image

TX312 Transmitter

Parameter 2 is the starting input location for the string of information the
TX312 will return.

Each P127 command returns a string of information. Each command requires
a different number of input locations. The first piece of information returned is
always the result code of the command. Table 5.2-1 lists the result codes and
explains them.

TABLE 5.2-1. P127 Result Codes

0 Execution

successful

1

Checksum error in response

2

Time out waiting for STX character after addressing

3

Something besides STX received after addressing

4

Received a NAK

5

Timed out while waiting for an ACK

6

CS I/O not available

7

Transmit random message failure, could be no data in random buffer

9

Invalid command code

5.2.5.1 P127, Command 0: Read Time

Retrieve the GPS time from the HDR GOES transmitter. The time is
Greenwich Mean Time (GMT). A time of 153 hours, 153 minutes, 153
seconds indicates GPS time is not available.

TABLE 5.2-2. P127 Command 0: Read Time

In Loc Contents

1

Command Result Code

2 Hours

(GMT)

3 Minutes
4 Seconds

5.2.5.2 P127, Command 1: Read Status

Read Status Command provides information specific to the next scheduled or
random transmission, including the amount of data in the buffers and power
supply voltage.

29

Advertising