4 sending data to the transmitter (p126), 1 buffer control, 2 data format – Campbell Scientific TX320 Transmitter User Manual

Page 38: Sending data to the transmitter (p126), Buffer control, Data format

Advertising
background image

TX320 Transmitter

7.6.4 Sending Data to the Transmitter (P126)

Edlog Instruction 126 is used to transfer data to the TX320.

1: Data Transfer to TX320 (P126)
1: 0000

Buffer

Control

2: 0000

Data

Format

3: 0000

Result Code Loc [ ______ ]

Parameter1: Buffer Control

0

Append to Self-Timed Buffer

1

Overwrite Self-Timed Buffer

2

Append to Random Buffer

3

Overwrite Random Buffer

9

Clear Random Buffer

Parameter 2: Data Format

0

CSI Floating Point Binary

1 Floating

Point

ASCII

2

Binary Integer, 18-bit

3

RAWS 7, Fire Weather

4

Fixed Decimal, ASCII, xxx.x

5

Fixed Decimal, ASCII, xx.xx

6

Fixed Decimal, ASCII, x.xxx

7

Fixed Decimal, ASCII, xxx

8

Fixed Decimal, ASCII, xxxxx

Parameter 3: Input Location for Result Code

1

Input Loc [ ________ ]

7.6.4.1 Buffer Control

The first parameter of Edlog Instruction 126 (P126) is called buffer control.
Buffer control has two purposes: 1) to determine which buffer data is written
to, and 2) if the buffer is erased before data is written. The TX320 has two
independent buffers, one for self-timed transmissions and one for random
transmissions. The self-timed buffer is treated differently than the random
buffer. After a self-timed transmission, the data is erased from the self-timed
buffer. After a random transmission, the data in the random buffer is
scheduled to be transmitted again. Random transmissions are repeated at
random intervals until P126 is used to “Clear Random Buffer” or the random
transmission repeat count has been met. The random buffer repeat count is set
in the Device Configuration Utility Settings Editor | Configuration. Default
is zero, which specifies that random transmission will occur on the interval
until the random buffer is cleared by the host.

7.6.4.2 Data Format

The second parameter of P126 is used to format the data. The data is formatted
as P126 copies data from the datalogger to the transmitter.

28

Advertising