1 p127, command 0: read time, 2 p127, command 1: read status, P127, command 0: read time – Campbell Scientific TX320 Transmitter User Manual

Page 40: P127, command 1: read status, 5. p127 result codes, 6. p127 command 0: read time

Advertising
background image

TX320 Transmitter

Parameter 1 allows you to determine what command will be issued to the
TX320.

Parameter 2 is the starting input location for the string of information the
TX320 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 7-5 lists the result codes and
explains them.

TABLE 7-5. 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

7.6.5.1 P127, Command 0: Read Time

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

TABLE 7-6. P127 Command 0: Read Time

In Loc

Contents

1

Command Result Code

2 Hours

(GMT)

3 Minutes
4 Seconds

7.6.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.

30

Advertising