Troubleshooting/diagnostics, 1 diagnostics button, 2 result codes – Campbell Scientific TX320 Transmitter User Manual

Page 44: Diagnostics button, Result codes

Advertising
background image

TX320 Transmitter

4: If time is (P92)
1: 0

Minutes (Seconds --) into a

2: 240

Interval (same units as above)

3: 30

Then

Do


; Transfer data to TX320

5: Data Transfer to HDR GOES (P126)
1: 0

Self-Timed/Append

2: 0

Binary

Format

3: 41

Result Code Loc [ P126_RC ]


6: End (P95)

8. Troubleshooting/Diagnostics

8.1 Diagnostics Button

The DIAGNOSTICS button has two purposes. Press and hold the
DIAGNOSTICS button for about 2 seconds. The STATUS LED will flash
once to indicate the fail-safe has not been tripped. If the LED flashes twice,
the fail-safe has tripped. To clear the fail-safe, press and hold the
DIAGNOSTICS button for about 10 seconds.

The fail-safe circuit is designed to shut down a malfunctioning transmitter that
is transmitting too long or too often. The fail-safe circuit helps prevent
malfunctioning transmitters from interfering with other transmissions.

8.2 Result Codes

Result code parameters are included in CRBasic's GoesData() and
GoesSetup() instructions and in Edlog's Instruction 126. The result codes
indicate whether the instruction executed successfully. When successful, a
zero will be stored in the variable or input location. A positive result code
indicates a communication problem (see TABLE 8-1).

To better understand the communication result codes, it is necessary to
understand the sequence of communication with the transmitter. Here are the
steps:

1) The datalogger CS I/O port is checked to see if the serial port is available. If
not, return code is 6.

2) The transmitter is addressed and should return the STX character within 200
ms. If there is no response from the transmitter, result code 2 is returned. If
something other than the STX character is received, result code is 3.

3) The command to select a data buffer is sent (random or self-timed). The
transmitter should respond with the ACK (06) character. If something besides
the ACK is received, result code is 4. If nothing is received within 500 ms,
result code is 5.

4) If the first three steps are successful, the datalogger sends the command to
append or overwrite the data buffer, followed by the data. If the transmitter

34

Advertising