3 error codes, Error codes, 1. result – Campbell Scientific TX320 Transmitter User Manual

Page 45: Codes, Indicating communication problems, 2. goessetup and goesdata runtime result codes

Advertising
background image

TX320 Transmitter

does not respond with the ACK character within 500 ms after the data has been
transferred, the result code is 7. Result code 7 indicates the data was not
received by the transmitter. The datalogger cannot resend the data.

The GoesData() and GoesSetup() instructions may also have a negative result
code (see TABLE 8-2). A negative result code indicates that there is an illegal
value in one of the parameters.

TABLE 8-1. Result Codes Indicating Communication Problems

0 Command

executed

successfully

2 Time out waiting for STX character after SDC addressing
3 Wrong character (not STX) received after SDC Addressing
4 Something other than ACK returned when select data buffer command

executed

5 Timed out waiting for an ACK when data buffer command was sent
6 CS I/O port not available, port busy
7 ACK not returned following data append or insert command

TABLE 8-2. GoesSetup and GoesData Runtime Result Codes

Code Error

Condition

-11

Illegal Buffer Control

-12 Illegal

Message

Window

-13

Illegal Channel Number

-14

Illegal Baud Rate

-15

R count Error

-16 Illegal

Data

Format

-17

Illegal Data Format FP2_ASCII

-18

Self-Timed Interval Error

-19

Self-Timed Offset Error

-20

Random Interval Error

-21

Platform ID Error

8.3 Error Codes

Error codes are stored in variables or input locations by using command 4 in
CRBasic's GoesStatus() instruction or Edlog's Instruction 127 (see Section
7.5.2, GoesStatus(), and Section 7.6.5, Read Status and Diagnostic Information
from the TX320
). TABLE 8-3 lists the possible error codes.

35

Advertising