TX 320
TX 320
TX 320
TX320 Transmitter
Revision: 6/16
C o p y r i g h t © 2 0 0 0 - 2 0 1 6
C a m p b e l l S c i e n t i f i c , I n c .
Limited Warranty
“Products manufactured by CSI are warranted by CSI to be free from defects in
materials and workmanship under normal use and service for twelve months
from the date of shipment unless otherwise specified in the corresponding
product manual. (Product manuals are available for review online at
www.campbellsci.com.) Products not manufactured by CSI, but that are resold
by CSI, are warranted only to the limits extended by the original manufacturer.
Batteries, fine-wire thermocouples, desiccant, and other consumables have no
warranty. CSI’s obligation under this warranty is limited to repairing or
replacing (at CSI’s option) defective Products, which shall be the sole and
exclusive remedy under this warranty. The Customer assumes all costs of
removing, reinstalling, and shipping defective Products to CSI. CSI will return
such Products by surface carrier prepaid within the continental United States of
America. To all other locations, CSI will return such Products best way CIP
(port of entry) per Incoterms ® 2010. This warranty shall not apply to any
Products which have been subjected to modification, misuse, neglect, improper
service, accidents of nature, or shipping damage. This warranty is in lieu of all
other warranties, expressed or implied. The warranty for installation services
performed by CSI such as programming to customer specifications, electrical
connections to Products manufactured by CSI, and Product specific training, is
part of CSI's product warranty. CSI EXPRESSLY DISCLAIMS AND
EXCLUDES ANY IMPLIED WARRANTIES OF MERCHANTABILITY
OR FITNESS FOR A PARTICULAR PURPOSE. CSI hereby disclaims,
to the fullest extent allowed by applicable law, any and all warranties and
conditions with respect to the Products, whether express, implied or
statutory, other than those expressly provided herein.”
Assistance
Products may not be returned without prior authorization. The following
contact information is for US and international customers residing in countries
served by Campbell Scientific, Inc. directly. Affiliate companies handle repairs
for customers within their territories. Please visit www.campbellsci.com to
determine which Campbell Scientific company serves your country.
For all returns, the customer must fill out a “Statement of Product Cleanliness
and Decontamination” form and comply with the requirements specified in it.
The form is available from our website at www.campbellsci.com/repair. A
completed form must be either emailed to repair@campbellsci.com or faxed to
(435) 227-9106. Campbell Scientific is unable to process any returns until we
receive this form. If the form is not received within three days of product
receipt or is incomplete, the product will be returned to the customer at the
customer’s expense. Campbell Scientific reserves the right to refuse service on
products that were exposed to contaminants that may cause health or safety
concerns for our employees.
Safety
DANGER — MANY HAZARDS ARE ASSOCIATED WITH INSTALLING, USING, MAINTAINING, AND WORKING ON OR AROUND
TRIPODS, TOWERS, AND ANY ATTACHMENTS TO TRIPODS AND TOWERS SUCH AS SENSORS, CROSSARMS, ENCLOSURES,
ANTENNAS, ETC. FAILURE TO PROPERLY AND COMPLETELY ASSEMBLE, INSTALL, OPERATE, USE, AND MAINTAIN TRIPODS,
TOWERS, AND ATTACHMENTS, AND FAILURE TO HEED WARNINGS, INCREASES THE RISK OF DEATH, ACCIDENT, SERIOUS
INJURY, PROPERTY DAMAGE, AND PRODUCT FAILURE. TAKE ALL REASONABLE PRECAUTIONS TO AVOID THESE HAZARDS.
CHECK WITH YOUR ORGANIZATION'S SAFETY COORDINATOR (OR POLICY) FOR PROCEDURES AND REQUIRED PROTECTIVE
EQUIPMENT PRIOR TO PERFORMING ANY WORK.
Use tripods, towers, and attachments to tripods and towers only for purposes for which they are designed. Do not exceed design limits.
Be familiar and comply with all instructions provided in product manuals. Manuals are available at www.campbellsci.com or by
telephoning (435) 227-9000 (USA). You are responsible for conformance with governing codes and regulations, including safety
regulations, and the integrity and location of structures or land to which towers, tripods, and any attachments are attached. Installation
sites should be evaluated and approved by a qualified engineer. If questions or concerns arise regarding installation, use, or
maintenance of tripods, towers, attachments, or electrical connections, consult with a licensed and qualified engineer or electrician.
General
• Prior to performing site or installation work, obtain required approvals and permits. Comply
with all governing structure-height regulations, such as those of the FAA in the USA.
• Use only qualified personnel for installation, use, and maintenance of tripods and towers, and
any attachments to tripods and towers. The use of licensed and qualified contractors is highly
recommended.
• Read all applicable instructions carefully and understand procedures thoroughly before
beginning work.
• Wear a hardhat and eye protection, and take other appropriate safety precautions while
working on or around tripods and towers.
• Do not climb tripods or towers at any time, and prohibit climbing by other persons. Take
reasonable precautions to secure tripod and tower sites from trespassers.
• Use only manufacturer recommended parts, materials, and tools.
Utility and Electrical
• You can be killed or sustain serious bodily injury if the tripod, tower, or attachments you are
installing, constructing, using, or maintaining, or a tool, stake, or anchor, come in contact with
overhead or underground utility lines.
• Maintain a distance of at least one-and-one-half times structure height, 20 feet, or the distance
required by applicable law, whichever is greater, between overhead utility lines and the
structure (tripod, tower, attachments, or tools).
• Prior to performing site or installation work, inform all utility companies and have all
underground utilities marked.
• Comply with all electrical codes. Electrical equipment and related grounding devices should be
installed by a licensed and qualified electrician.
Elevated Work and Weather
• Exercise extreme caution when performing elevated work.
• Use appropriate equipment and safety practices.
• During installation and maintenance, keep tower and tripod sites clear of un-trained or non-
essential personnel. Take precautions to prevent elevated tools and objects from dropping.
• Do not perform any work in inclement weather, including wind, rain, snow, lightning, etc.
Maintenance
• Periodically (at least yearly) check for wear and damage, including corrosion, stress cracks,
frayed cables, loose cable clamps, cable tightness, etc. and take necessary corrective actions.
• Periodically (at least yearly) check electrical ground connections.
WHILE EVERY ATTEMPT IS MADE TO EMBODY THE HIGHEST DEGREE OF SAFETY IN ALL CAMPBELL SCIENTIFIC PRODUCTS,
THE CUSTOMER ASSUMES ALL RISK FROM ANY INJURY RESULTING FROM IMPROPER INSTALLATION, USE, OR
MAINTENANCE OF TRIPODS, TOWERS, OR ATTACHMENTS TO TRIPODS AND TOWERS SUCH AS SENSORS, CROSSARMS,
ENCLOSURES, ANTENNAS, ETC.
Table of Contents
PDF viewers: These page numbers refer to the printed version of this document. Use the
PDF reader bookmarks tab for links to specific sections.
1. Introduction ................................................................ 1
2. Precautions ................................................................ 1
4. QuickStart ................................................................... 2
4.1 Step 1 – Configure the TX320 ............................................................. 2
4.1.1 Accessing DevConfig .................................................................... 2
4.1.2 Setting Editor | Configuration ....................................................... 3
4.1.3 Setting Editor | GPS ...................................................................... 5
4.2 Step 2 – Program the Datalogger ......................................................... 5
4.3 Step 3 – Install the Data Collection Platform (DCP) ........................... 6
5. Overview ................................................................... 11
5.1 GOES System .................................................................................... 12
5.1.1 Orbit ............................................................................................ 12
5.1.2 NESDIS and Transmit−Windows ............................................... 12
5.1.3 Data Retrieval ............................................................................. 13
6. Specifications........................................................... 13
7. Installation ................................................................ 15
7.1 Field Site Requirements ..................................................................... 15
7.2 TX320 Functions ............................................................................... 15
7.2.1 LED Function ............................................................................. 15
7.2.2 Communication Ports.................................................................. 15
7.2.2.1 CS I/O Port ....................................................................... 15
7.2.2.2 RS-232 Port ...................................................................... 16
7.2.2.3 USB Port .......................................................................... 16
7.2.3 RF Connectors ............................................................................ 16
7.2.3.1 RF Transmission Connector ............................................. 16
7.2.3.2 GPS Connector ................................................................. 16
7.2.4 Power Connector......................................................................... 16
7.3 Transmission Antenna........................................................................ 17
7.4 GPS Antenna ...................................................................................... 17
7.4.1 How the GPS Signal is Acquired and Used ................................ 17
7.4.2 GPS Antenna Location ............................................................... 18
7.5 CRBasic Programming ...................................................................... 18
7.5.1 GoesData() .................................................................................. 18
7.5.1.1 Result Code ...................................................................... 18
7.5.1.2 Data Table ........................................................................ 18
7.5.1.3 Table Option..................................................................... 18
i
Table of Contents
8. Troubleshooting/Diagnostics .................................. 33
8.1 Diagnostics Button ............................................................................ 33
8.2 Result Codes ...................................................................................... 33
8.3 Error Codes ....................................................................................... 35
8.4 Using Device Configuration Utility for Troubleshooting/ Testing.... 38
8.4.1 Setting Editor | GPS ................................................................... 38
8.4.2 Setting Editor | Status ................................................................. 39
8.4.3 Terminal ..................................................................................... 39
Appendices
ii
Table of Contents
iii
Table of Contents
Figures
4-1. Ports used for computer connection .................................................... 2
4-2. Settings Editor | Configuration in Device Configuration Utility ......... 4
4-3. Yagi antenna ........................................................................................ 6
4-4. Alignment Tab in Device Configuration Utility .................................. 7
4-5. Exploded view of the GPS antenna mounted to a crossarm via the
CM220. ............................................................................................ 8
4-6. GPS antenna mounted to a crossarm via the CM220 .......................... 8
4-7. Antenna connectors ............................................................................. 9
4-8. TX320 connectors ............................................................................. 10
4-9. DCP enclosure ................................................................................... 11
5-1. Major components of the GOES/DCP system (GPS antenna and
solar panel not shown) ................................................................... 13
8-1. Settings Editor | Status in Device Configuration Utility.................... 37
8-2. Settings Editor | GPS in Device Configuration Utility ...................... 38
Tables
7-1. GoesStatus Command 0: Read Time ................................................. 21
7-2. GoesStatus Command 1: Read Status ............................................... 22
7-3. GoesStatus Command 2: Read Last Message Status ......................... 23
7-4. GoesStatus Command 4: Read TX320 Error Registers ..................... 23
7-5. P127 Result Codes ............................................................................ 30
7-6. P127 Command 0: Read Time .......................................................... 30
7-7. P127 Command 1: Read Status ......................................................... 30
7-8. P127 Command 2: Read Last Message Status .................................. 31
7-9. P127 Command 3: Initiate Random Transmission ............................ 31
7-10. P127 Command 4: Read TX320 Error Registers .............................. 32
7-11. P127 Command 5: Clear Error Registers .......................................... 32
7-12. P127 Command 6: Force Online Mode ............................................. 32
iv
Table of Contents
CRBasic Examples
7-1. GOESData() ....................................................................................... 20
7-2. GOESSetup() ..................................................................................... 26
v
Table of Contents
vi
TX320 Transmitter
1. Introduction
The TX320 is a high data rate transmitter that supports one-way
communication, via satellite, from a Campbell Scientific datalogger to a
ground receiving station. Satellite telemetry offers a convenient
telecommunication alternative for field stations where phone lines or RF
systems are impractical.
2. Precautions
• Although the TX320 is rugged, it should be handled as a precision
scientific instrument.
3. Initial Inspection
• Upon receipt of the TX320, inspect the packaging and contents for
damage. File damage claims with the shipping company.
• Check the ships with list to ensure all components are received. Ships with
list is provided in Section 3.1, Ships With List (p. 1).
1
TX320 Transmitter
4. QuickStart
4.1 Step 1 – Configure the TX320
Use our Device Configuration Utility (DevConfig) to enter the required
National Environmental Satellite Data and Information Service (NESDIS)
information that is unique to each Data Collection Platform (DCP). DevConfig
must be version 2.02 or higher. The TX320 has non-volatile memory to store
the setup information.
Connect the TX320 to the PC. A standard 9-pin serial cable is used to
connect the TX320's RS-232 port to the PC’s RS-232 port. Alternatively,
the transmitter can be connected to the PC’s USB port via the 17648 USB
cable (see FIGURE 4-1).
2
TX320 Transmitter
Self-Timed Preamble Length: The default value of Short must be used for
CS-2 devices.
3
TX320 Transmitter
4
TX320 Transmitter
NOTE The default value of 00:00:00 disables periodic GPS position fixes
although these will still occur at power up and every 24 hours as a
side effect of the daily automatic OCXO calibration.
5
TX320 Transmitter
2. Aim the Yagi antenna at the spacecraft; azimuth and elevation angle
positions are included on the bracket label. The Alignment tab in
DevConfig can be used to determine the correct coordinates for the
azimuth and elevation (see FIGURE 4-4). In the Alignment tab, select
either the East or West satellite, enter the transmitter's Latitude,
Longitude, Altitude, and the Magnetic Declination. The correct angles
are then displayed in the lower panel.
NOTE Refer to Section 4.1.1, Accessing DevConfig (p. 2), for information
about accessing DevConfig. The transmitter’s internal GPS can be
used to acquire the azimuth and elevation information. To use the
internal GPS device, connect the GPS antenna (see FIGURE 4-7).
The information will be listed in the GPS tab of DevConfig.
6
TX320 Transmitter
3. Insert the 7623 3/4 IPS aluminum pipe into the GPS antenna (see FIGURE
4-5).
4. Mount the 7623 3/4 IPS aluminum pipe to a crossarm via a CM220 mount
or NU-RAIL fitting. FIGURE 4-5 and FIGURE 4-6 show the GPS antenna
mounted to a crossarm using a CM220 mount. The ideal location for the
GPS antenna is above everything, with the shortest cable possible. Refer to
Section 7.4, GPS Antenna (p. 17), for additional information about the GPS
antenna.
CAUTION The GPS antenna will not receive a GPS signal through
steel roofs or steel walls. Concrete might also be a problem.
Heavy foliage, snow, and ice will attenuate the GPS signal.
7
TX320 Transmitter
8
TX320 Transmitter
7. Connect the COAXNTN cable to the Yagi antenna. Then route the
COAXNTN cable through the enclosure conduit and connect it to the
TX320 connector labeled RF Out (see FIGURE 4-7 and FIGURE 4-8).
8. Connect the TNC connector of the 18017-L cable to the GPS antenna.
Route the 18017-L cable through the enclosure conduit and connect it to
the TX320 connector labeled GPS (see FIGURE 4-7 and FIGURE 4-8).
9. Wire the TX320, CH100 or CH200 regulator, BP12 battery, and CR1000
according to FIGURE 4-8 and FIGURE 4-9.
10. Route the solar panel cable through the enclosure conduit and connect the
red and black wires to the CHG terminals on the CH100 or CH200.
Connector for
GPS antenna
Connector for
Yagi antenna
9
TX320 Transmitter
GPS
Connector
10
TX320 Transmitter
BP24’s
connector
attaches to
the 18133
Power Cable
28490
Red/Black
power wires
connect to
the 12V and
G terminals
on the
CH200 or
CH100
COAXNTN
Cable
SC12 Cable
5. Overview
The TX320 uses non-volatile memory to store configuration information, such
as platform ID, transmission baud rate, channel number, scheduled
transmission time, offset time and message window length. The TX320 also
has a 15.7 kB RAM buffer for scheduled transmissions and a buffer for random
transmissions. The clock is maintained with a GPS receiver.
11
TX320 Transmitter
The TX320 supports High Data Rate specifications. The TX320 includes the
following communication ports:
NOTE The 21X and CR7 dataloggers do not support SDC or the TX320.
5.1.1 Orbit
The TX320 transmitter sends data via Geostationary Operational
Environmental Satellites (GOES). GOES satellites have orbits that coincide
with the Earth's rotation, allowing each satellite to remain above a specific
region. This allows a user to point the GOES antenna at a fixed position in the
sky.
There are two satellites, GOES East and GOES West. GOES East is located at
75° West longitude and GOES West is located 135° West longitude. Both
satellites are located over the equator. Within the United States, odd numbered
channels are assigned to GOES East. Only even numbered channels are
assigned to GOES West. Channels used outside the United States are assigned
to either spacecraft.
12
TX320 Transmitter
GOES Satellite
Satellite Antenna
GOES transmitter,
datalogger, and
power supply, also
known as a DCP
6. Specifications
On-board Memory: Non-volatile flash for setup parameters
16 kB for data
Transmission Data Rates: 300 and 1200 bps
Operating Voltage Range: 10.8 to 16 Vdc
25316 Transmit Antenna: 11 dBi gain, right hand circular
polarization, type N female connector,
wind load of ~100 knots
RF Output: 30 to 38 dBm
13
TX320 Transmitter
14
TX320 Transmitter
7. Installation
7.1 Field Site Requirements
The TX320 has two siting requirements for proper operation. The GPS antenna
must have a clear view of most of the sky. The transmission antenna must have
a clear view of the spacecraft. Other requirements are not specific to the
TX320, but are mentioned here anyway. The TX320 must be mounted in an
enclosure that will protect it from the environment, including condensation.
Most GOES systems are powered by a battery that is charged by a solar panel.
The solar panel must have a clear view of the southern sky. Pay special
attention to winter sun angles.
When power is first applied to the TX320, the four LEDs will cycle through
quickly, then the SYNCHRONIZING CLOCK TO GPS LED will light for
15 minutes.
If there are data in a buffer waiting for transmission time, the DATA IN
BUFFER LED will light.
The STATUS LED will only light after the DIAGNOSTICS button has been
depressed. 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.
15
TX320 Transmitter
The RS-232 port allows the transmitter to be connected to a PC’s 9-pin serial
port or to a datalogger’s RS-232 port. Connection to a PC is required to
configure the transmitter via Device Configuration Utility.
7.2.3 RF Connectors
7.2.3.1 RF Transmission Connector
The TX320 uses the type N female connector for RF power out. This connector
must have a proper antenna connection before transmission occurs. Failure to
use a properly matched antenna cable and antenna may cause permanent
damage to the RF amplifiers. The nominal impedance is 50 ohms, the
frequency range is approximately 400 to 403 MHz. At 300 bps transmission
rates, the nominal EIRP is 48 dBm with an 11 dBi gain antenna. At 1200 bps,
the nominal EIRP is 52 dBm. CS-2 standards use lower transmit power.
The TX320 transmitter uses the GPS receiver for two functions. The precise
GPS time is used to ensure scheduled transmissions occur at the proper time.
The one-second GPS synchronization pulse is used to ensure a precise, drift-
free carrier frequency. See Section 7.4, GPS Antenna (p. 17), for more
information regarding GPS and GPS antenna placement.
16
TX320 Transmitter
With the potential for a 3000 mA current drain, the voltage drop along the
battery power leads must be considered. The battery power leads are both wires
that run from the battery to the power input connectors of the TX320. To
calculate the voltage drop along the power leads, we must know the resistance
of the wire and the length of the wire. Usually the resistance of the wire is
listed as ohms per 1000 feet. As an example, a 24 AWG wire used by
Campbell Scientific has a resistance of 23 ohms per 1000 feet. The length of
the wire is the distance the wire travels from the battery to the transmitter
multiplied by two. You must consider the current travels from the battery, to
the transmitter, and back to the battery.
The TX320 will operate with a battery voltage range from 10.8 V to 16 V. A
fully charged lead acid battery will have a voltage of about 12.5 V. If the
battery is fully charged, a 1.7 V drop along the battery leads will stop the
transmitter from transmitting. At 3 A, 1.7 V will be dropped with 0.566 ohms
of resistance. Using the 24 AWG wire with 23 ohms resistance per 1000 ft,
24 ft of wire (battery power leads 12 ft long) will prevent transmission. A
reliable system that will transmit without a perfect battery voltage will
minimize voltage drop along the battery power leads. To minimize voltage
drop, keep the battery power leads short. A five-foot power lead is a long
power lead. If you must have a longer lead, use heavy wire. For power leads
less than ten feet but more than five feet, use no smaller than 18 AWG.
The accuracy of the antenna aiming is not critical, but should be reasonably
good. As a guide, if the antenna is aimed 20 degrees off the spacecraft, the
received power will be half of a properly aimed antenna. Beyond 20 degrees,
the received power drops off very quickly.
The GPS signal is used for two functions. To keep track of time, four satellites
are required. The second use of the GPS signal is to correct the oscillator
frequency. The GPS receiver will output a very accurate 1-second pulse. The 1-
second pulse is used to correct oscillator drift caused by changes in temperature
and crystal aging.
The GPS is required for proper operation. After the transmitter is reset, or first
powered up, it can’t schedule a transmission until a GPS fix has been
established or the internal clock has been manually set. After the first fix, the
TX320 will acquire a GPS fix once a day. Each time the GPS system acquires a
fix, the entire GPS almanac is downloaded, which requires about 15 minutes.
17
TX320 Transmitter
7.5.1 GoesData()
The GoesData() instruction is used to send data from the datalogger to the
TX320 transmitter. Each time GoesData() is executed, data is ordered with the
newest data to be transmitted first, which is opposite of how Edlog dataloggers
arrange data.
There are five parameters to the GoesData() instruction: Result Code, Data
Table, Table Option, Buffer Control, and Data Format.
18
TX320 Transmitter
the entire record, except the timestamp and record number, is copied from the
datalogger to the TX320 transmitter.
In dataloggers that support strings as a data type, all data format options except
3 (RAWS7) will support strings. Strings are transmitted from the first character
until the null terminator. If strings contain illegal characters, the TX320 will
replace the character with another character. By default the replacement
character is an asterisk. The replacement character can be changed.
NOTE Both the random and timed buffers of the TX320 can be set to
accept ASCII or pseudo binary data. If the TX320 is set to pseudo
binary, all ASCII data is transmitted as the replacement character,
which is an asterisk by default. When the TX320 is set to ASCII
data, both pseudo binary and ASCII data are transmitted normally.
Data format options 0 and 2 are pseudo binary, all others are
ASCII.
19
TX320 Transmitter
'declarations
Public TCTemp
Public PanelT
Public battery1
Public RC_Data
Public LastStatus(14)
Alias LastStatus(1)=RC_Last
Alias LastStatus(2)=Lst_Type
Alias LastStatus(3)=Lst_Bytes
Alias LastStatus(4)=Lst_Forward
Alias LastStatus(5)=Lst_Reflected
Alias LastStatus(6)=Lst_BattVolt
Alias LastStatus(7)=Lst_GPS
Alias LastStatus(8)=Lst_OscDrift
Alias LastStatus(9)=Lat_Deg
Alias LastStatus(10)=Lat_Min
Alias LastStatus(11)=Lat_Secd
Alias LastStatus(12)=Long_Deg
Alias LastStatus(13)=Long_Min
Alias LastStatus(14)=Long_Secd
'program table
DataTable (Tempdata,1,1000)
DataInterval (0,15,min,10)
Sample (1,TCTemp,FP2)
Sample (1,PanelT,FP2)
Sample (1,battery1,FP2)
EndTable
DataTable(GoesStats,true,300)
DataInterval(0,1,hr,0)
Sample(14,LastStatus(),fp2)
EndTable
BeginProg
Scan (10,Sec,3,0)
Battery (battery1)
PanelTemp (PanelT,250)
TCDiff (TCTemp,1,mV25C ,2,TypeT,PanelT,True ,0,250,1.8,32)
20
TX320 Transmitter
CallTable TempData
If IfTime (0,1,Hr)
GOESData (RC_Data,TempData,0,0,1)
EndIf
If IfTime (0,10,min)
GOESStatus (LastStatus(),2)
EndIf
CallTable GoesStats
NextScan
EndProg
7.5.2 GoesStatus()
The GoesStatus() instruction is used to read information from the TX320.
Information that can be read and stored in the datalogger includes information
relating to the next transmission, the last transmission, GPS time and position,
and all logged errors. The status information can be used to set the datalogger
clock and troubleshoot any problems that might arise. The GoesStatus()
instruction also includes options to initiate a random transmission on
command.
GoesStatus() expects two parameters. The first is the array used to store the
data returned by GoesStatus(); the second is the command to be issued. The
first element of each array returned by the GoesStatus() command is the result
code. The result code is used to test if the GoesStatus() instruction executed
successfully. When the result code is zero, GoesStatus() executed successfully.
Public gps(4)
GoesStatus(gps(), 0)
Command 0 (Read Time) will read the TX320 clock. Under normal operating
conditions, the time is GMT. There are delays in reading the time from the
TX320. The array needs to be four elements or more. Data are returned as:
result code, hour, minute, second.
Index Contents
1 Command Result Code
2 Hours (GMT)
3 Minutes
4 Seconds
21
TX320 Transmitter
Public Stats(13)
GoesStatus(Stats(), 1)
Index Contents
1 Command Result Code
2 Bytes of data in self-timed buffer
3 Time until next self-timed transmission: Days
4 Time until next self-timed transmission: Hours
5 Time until next self-timed transmission: Minutes
6 Time until next self-timed transmission: Seconds
7 Bytes of data in random buffer
8 Time until next random transmission interval start: Hours
9 Time until next random transmission interval start: Minutes
10 Time until next random transmission interval: Seconds
11 Fail-safe, 1 indicates transmitter disabled due to fail-safe.
12 Loaded power supply voltage, 1 amp load. (tenths of volts)
13 Average GPS acquisition time (tens of seconds)
Public LastStats(14)
GoesStatus(LastStats(), 2)
22
TX320 Transmitter
Index Contents
1 Command Result Code
2 Message type: Self-timed or Random
3 Size of message in bytes
4 Forward power in tenths of watts
5 Reflected power in tenths of watts
6 Power supply voltage under full load, in tenths of volts
7 GPS acquisition time in tens of seconds
8 Oscillator drift (signed, hundreds of Hz)
9 Latitude degrees
10 Latitude minutes
11 Latitude seconds
12 Longitude degrees
13 Longitude minutes
14 Longitude seconds
Public Errors(10)
GoesStatus(Errors(), 4)
Command 4 (Read Error Register) is used to return the total number of errors
that have occurred, and codes describing the last four errors. When the
command that caused the error is listed as 31, the error is an internal fault.
Otherwise the error is just a communication error.
Index Contents
1 Result Code
2 Number of Errors
3 Command that Caused the Error
4 Error Code
5 Command that Caused the Error
6 Error Code
7 Command that Caused the Error
8 Error Code
9 Command that Caused the Error
10 Error Code
See Section 8.3, Error Codes (p. 35), for a list of error codes and details about
the error codes.
23
TX320 Transmitter
7.5.3 GoesGPS
Example:
GoesGPS(GPSdata(), GPStime())
The instruction GoesGPS() returns two arrays of information. The first array is
six elements long. The second array is seven elements long. The first array
includes the result code (see TABLE 8-1), time in seconds since January 1,
2000, latitude in fractional degrees with 100 nanodegree resolution, longitude
in fractional degrees with 100 nanodegree resolution, elevation as a signed 32-
bit number in centimeters, and magnetic variation in fractional degrees with a
one millidegree resolution.
The second array, which must be dimensioned to seven, holds year, month,
day, hour (GMT), minute, seconds, microseconds. The second array can be
used to set the datalogger’s clock. See the ClockSet() instruction in the
CRBasic help for details.
7.5.4 GoesSetup
In GoesSetup(), all parameters can be variables of type long except for the
Timed Interval, Timed Offset, and Random Interval which are all of type string.
The GoesSetup() and GoesData() only return error messages at run time.
After GoesSetup() executes, several TX320 settings are set to default values.
24
TX320 Transmitter
Instruction details:
7.5.4.2 Platform ID
Platform ID is an eight-character hexadecimal number assigned by NESDIS.
The Platform ID is always divisible by two. Valid characters are 0 to 9 and A
to F.
7.5.4.3 Window
Window is the message window length in seconds. Valid range is 5 to 120.
25
TX320 Transmitter
Sub Gsetup
GOESSetup (setup_RC,&H12345677,10,195,300,0,100,"0_01_00_0" ,"0_16_20" ,"1_0_0" )
If setup_RC = 0 Then setup = false
EndSub
BeginProg
setup = true
Scan (10,Sec,0,0)
If setup Then Call Gsetup
NextScan
EndProg
The datalogger is used to measure and record data values. The TX320 is used
to transmit data over a GOES satellite to a ground receiving station. Program
Instruction 126 is used to send data from the datalogger to the TX320 satellite
transmitter. The TX320 has two data buffers. The data buffers will hold data
until it is time to transmit the data. Data in the self-timed buffer is erased after
transmission. Data in the random buffer will be erased after the preset number
of repetitions has been met. When properly configured, the TX320 will ensure
the data is transmitted on the correct channel, at the correct baud rate and at the
correct time without overrunning the transmit window.
The datalogger will interface with the TX320 under program control. Two
program instructions are used, P126 and P127. P126 is used to send data to a
buffer. New data is either added to existing data (append) or overwrites
existing data. In overwrite mode, all data in the buffer is erased before new
data is written. P127 is used to retrieve information from the TX320.
Information regarding GPS time, latitude and longitude can be retrieved and
stored in the datalogger. Information regarding the status and past errors can
also be retrieved.
Data that is sent to the self-timed buffer 60 seconds or more before transmit
time will be transmitted on the next scheduled transmission; otherwise, the data
will be scheduled for a later transmission.
26
TX320 Transmitter
The maximum number of data points that can be sent is estimated with this
formula:
Where:
Two separate data files can be maintained by managing which final storage
area is active when data is written. The amount of data copied to the transmitter
and the order of data copied to the transmitter can be controlled by utilizing
both final storage areas. If using FS2, datalogger memory must be allocated to
FS2. Final storage area 2 memory can be allocated using Edlog or the keypad.
27
TX320 Transmitter
CSI floating point binary data requires 3 B per data point. Data must be low
resolution. Sign and decimal location are maintained. This is an efficient data
format.
Floating point ASCII requires 7 B per data point. Data must be low resolution.
Sign and decimal location are maintained. Data does not need to be converted
after transmission. Data points are separated by a comma. This is not an
efficient data format, but it is convenient.
Binary, 18-bit, integer data format requires 3 B per data point. All data stored
in the datalogger must be in high resolution. All information right of the
decimal place is truncated. Data is transmitted as a signed, two’s compliment,
18-bit integer. Precision can be maintained by pre and post processing. This is
an efficient data format that requires conversion and post processing. See
Appendix D, GOES DCS Transmit Frequencies (p. D-1), for details.
28
TX320 Transmitter
P126 did not execute properly, but can still send the data. A result code of 7
indicates P126 did not execute properly and the data probably cannot be sent
again. Refer to Section 8.2, Result Codes (p. 33), for more information.
Parameter 2 is the starting input location for the string of information the
TX320 will return.
29
TX320 Transmitter
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
In Loc Contents
1 Command Result Code
2 Hours (GMT)
3 Minutes
4 Seconds
In Loc Contents
1 Command Result Code
2 Bytes of data in self-timed buffer
3 Time until next self-timed transmission: Days
4 Time until next self-timed transmission: Hours
5 Time until next self-timed transmission: Minutes
6 Time until next self-timed transmission: Seconds
7 Bytes of data in random buffer
8 Time until next random transmission interval start: Hours
9 Time until next random transmission interval start: Minutes
10 Time until next random transmission interval: Seconds
11 Fail-safe, 1 indicates transmitter disabled due to fail-safe
12 Loaded power supply voltage, 1 amp load (tenths of volts)
13 Average GPS acquisition time (tens of seconds)
30
TX320 Transmitter
In Loc Contents
1 Command Result Code
2 Message type: Self-timed or Random
3 Size of message in bytes
4 Forward power in tenths of watts
5 Reflected power in tenths of watts
6 Power supply voltage under full load, in tenths of volts
7 GPS acquisition time in tens of seconds
8 Oscillator drift (signed, hundreds of Hz)
9 Latitude degrees
10 Latitude minutes
11 Latitude seconds
12 Longitude degrees
13 Longitude minutes
14 Longitude seconds
In Loc Contents
1 Result Code
Random message channel and repeat interval must be enabled in the TX320
configuration. If random messages have not been enabled, command 3 will fail.
If the GPS acquisition fails, the random transmission will fail. Command 3 will
pull the TX320 offline. After the random transmission attempt, the TX320
must be put back on line with command 6. When command 6 is used, all data
in the TX320 is erased. Random transmission may require up to five minutes
(GPS timeout) for setup and transmission. If command 6 is executed before
transmission, random transmission will be canceled.
During GPS acquisition, the LED will light solid green. During transmission,
the LED will light solid red. Command 3 will return 1 value, the command
result code. Zero indicates a successful execution of command 3, but does not
indicate the random transmission has happened or was successful.
31
TX320 Transmitter
In Loc Contents
1 Result Code
2 Number of Errors
3 Command that Caused the Error
4 Error Code
5 Command that Caused the Error
6 Error Code
7 Command that Caused the Error
8 Error Code
9 Command that Caused the Error
10 Error Code
See Section 8.3, Error Codes (p. 35), for error code table and more information.
In Loc Contents
1 Result Code
Result code of 0 indicates success. Command 5 is used to erase all errors from
the error registers of the TX320.
In Loc Contents
1 Result code
Edlog program example 1 writes data to final storage once an hour and
transfers data to the TX320 once every 4 hours.
32
TX320 Transmitter
1: If time is (P92)
1: 0 Minutes (Seconds --) into a
2: 60 Interval (same units as above)
3: 10 Set Output Flag High (Flag 0)
3: Sample (P70)
1: 41 Reps
2: 1 Loc [ Status_RC ]
4: If time is (P92)
1: 0 Minutes (Seconds --) into a
2: 240 Interval (same units as above)
3: 30 Then Do
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.
33
TX320 Transmitter
will be stored in the variable or input location. A positive result code indicates
a communication problem (see TABLE 8-1).
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.
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
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.
34
TX320 Transmitter
Error Codes:
Decimal
00 No error
01 Illegal command
02 Command rejected
03 Illegal checksum or too much data
04 Time out or too little data
05 Illegal parameter
06 Transmit buffer overflow
16 PLL lock fault
17 GPS fix fault
18 Input power supply fault
19 Software fault
20 Fail-safe fault
21 GPS time synchronization fault
22 SWR fault – RF Load
23 Time Synch edge 1 detect fault
24 Time Synch edge 2 detect fault
25 Internal RF power supply failure
The TX320 has registers used to store information about errors that have
occurred. The total number of errors is stored, up to 255. Also stored is the
command that was issued when the error occurred and a code specific to the
type or error.
35
TX320 Transmitter
Internal fault codes are stored. When the command that failed is listed as 31
(0x1F), the error condition is an internal error with the TX320. The datalogger
receives the error code as a hex value and converts to decimal. Decimal values
are placed in variables or input locations.
The error codes are very important information if the DCP experiences trouble
during operation. Generally a GPS time synchronize fault should not cause
concern, but a GPS fault may cause a scheduled transmission to be missed. The
data will be sent on the next transmission if the instruction appends data to the
self-timed buffer.
Error code 16 (0x10), message abort due to PLL, is a hardware failure of the
phase locked loop circuit. Repeated PLL failures cannot be rectified in the
field.
Error code 17 (0x11), message abort due to GPS, indicates the transmitter
aborted a transmission because the required GPS information was not available
at transmit time. Usually the transmitter will transmit on the next transmit time.
Check GPS antenna placement and GPS antenna type. See Section 7.4, GPS
Antenna (p. 17), for more information regarding the GPS antenna.
Error code 18 (0x12), message abort due to power supply, indicates the
transmitter power supply did not provide enough voltage. Check system
battery. If the system battery is low, the RF power supply will not be able to
operate properly. Device Configuration Utility displays the supply voltage in
Settings Editor | Status (see FIGURE 8-1). The loaded battery voltage must
not drop below 10.8 volts.
Error code 19 (0x13), software error, indicates the transmitter was not able to
run its internal software.
Error code 20 (0x14) is the fail-safe error. The fail-safe is an internal hardware
circuit that will shut down the TX320 if it transmits too frequently or for too
long. The fail-safe error code is not logged until the transmitter tries to transmit
after the fail-safe has been tripped. The transmitter only trips the fail-safe when
a serious hardware failure has occurred. Fail-safe limits are different for
different baud rates. At 1200 bps, transmission cannot exceed 105 seconds or
repeat more often than every 30 seconds. At 300 baud, transmission cannot
exceed 270 seconds or repeat more often than every 30 seconds. The fail-safe
can be reset by pressing and holding the reset switch for 10 seconds.
Error code 21 (0x15) indicates the transmitter missed a GPS fix, but does not
guarantee a missed a transmission. Go to Settings Editor | GPS in Device
Configuration Utility and ensure that the GPS Fix Interval setting does not
coincide with the self-timed transmission interval. The GPS fix event must
occur at least two minutes on either side of a self-timed transmission. Click the
Apply button after making changes to the setting. See Section 7.4, GPS
Antenna (p. 17), for additional GPS antenna information.
Error code 22 (0x16) indicates a Standing Wave Ratio (SWR) Fault. The SWR
fault can be triggered by several different conditions. High reflected power will
trigger the SWR fault. Reflected power is caused by poor transmission antenna
and/or antenna cable condition or wrong type of antenna or antenna cable. See
36
TX320 Transmitter
Section 7, Installation (p. 15), for transmission antenna information. Ice buildup
on an antenna can change the antenna properties, which can cause excessive
reflected power. Corrosion in connectors, water in antenna cables, metal in
close proximity to the antenna, and a damaged antenna can also cause
excessive reflected power.
The SWR fault can also be triggered by a low battery. If the transmitter cannot
generate enough transmission power, the SWR fault will trip. Always check
the system battery if there has been an SWR fault. This condition is indicated
by low reflected power.
To determine if the reflected power is too high or low, read the last message
status information. When the reflected power number is divided by the forward
power number, the result should be 0.5, with limits of 0.4 to 0.6. See Section
7.5.2.3, GoesStatus Read Last Message Status (p. 22), for details on the Last
Message Status command.
37
TX320 Transmitter
If a GPS fix was missed, ensure that the GPS fix interval does not coincide
with the self-timed transmission interval. A GPS Fix event must occur at least
two minutes on either side of a self-timed transmission. Click Apply after
changing the setting.
Also check the GPS antenna placement. Poor GPS antenna placement will
increase the number of missed transmissions, or possibly stop all transmission
(see Section 7.4, GPS Antenna (p. 17), for more information).
38
TX320 Transmitter
8.4.3 Terminal
The Terminal tab supports manually-entered commands (see Appendix F,
Extended ASCII Command Set (p. F-1), for individual commands). It also
includes buttons on the right side of the screen that provide the following
functions.
Read Audit Log: Displays a history of the transmitter operation. The latest
entry in the audit log is shown at the top of the screen. The audit log will record
any error condition that has occurred in the past, plus other events.
Clear Timed Buffer: Erases all data from the self-timed buffer.
Clear Random Buffer: Erases all data from the random buffer.
Send to Timed Buffer: Send data to the self-timed buffer. Data will then be
scheduled for transmission on the next available time slot.
Send to Random Buffer: Send data to the random buffer. Data will then be
scheduled for transmission very soon.
39
TX320 Transmitter
40
Appendix A. Information on Eligibility
and Getting Onto the GOES System
A.1 Eligibility
U.S. federal, state, or local government agencies, or users sponsored by one of
those agencies, may use GOES. Potential GOES users must receive formal
permission from NESDIS.
DCS Coordinator
Federal Office Building 4
Suitland, MD
(301) 457-5681
http://dcs.noaa.gov/contact.htm
3. After the MOA is approved, NESDIS will issue a channel assignment and
an ID address code.
A-1
Appendix A. Information on Eligibility and Getting Onto the GOES System
A-2
Appendix B. Data Conversion
Computer Program (written in BASIC)
1 REM THIS PROGRAM CONVERTS 3-BYTE ASCII DATA INTO
DECIMAL
5 INPUT "RECEIVE FILE?", RF$
6 OPEN RF$ FOR OUTPUT AS #2
10 INPUT "NAME OF FILE CONTAINING GOES DATA"; NFL$
20 DIM DV$(200)
25 WIDTH "LPT1:", 120
30 OPEN NFL$ FOR INPUT AS #1
40 WHILE NOT EOF(1)
50 LINE INPUT #1, A$
55 A$ = MID$(A$, 38)
56 PRINT A$
100 J = INT(LEN(A$) / 3)
105 PRINT J
110 FOR I = 1 TO J
120 DV$(I) = MID$(A$, 3 * I - 2, 3)
130 NEXT I
140 B$ = RIGHT$(A$, LEN(A$) - 3 * J)
160 A$ = B$ + A$
170 K = INT(LEN(A$) / 3)
180 L=J
190 FOR I = J + 1 TO L
200 DV$(I) = MID$(A$, 3 * (I - J) - 2, 3)
210 NEXT I
270 FOR I = 1 TO L
280 A = ASC(LEFT$(DV$(I), 1)) AND 15
290 B = ASC(MID$(DV$(I), 2, 1)) AND 63
300 C = ASC(RIGHT$(DV$(I), 1)) AND 63
310 IF (A * 64) + B >= 1008 THEN DV = (B - 48) * 64 + C + 9000:
GOTO 400
320 IF A AND 8 THEN SF = -1 ELSE SF = 1
330 IF A AND 4 THEN SF = SF * .01
340 IF A AND 2 THEN SF = SF * .1
350 IF A AND 1 THEN DV = 4096
360 DV = (DV + ((B AND 63) * 64) + (C AND 63)) * SF
400 PRINT #2, USING "####.### "; DV;
405 IF I MOD 17 = 0 THEN PRINT #2, CHR$(13)
406 DV = 0
410 NEXT I
1000 WEND
B-1
Appendix B. Data Conversion Computer Program (written in BASIC)
B-2
Appendix C. Antenna Orientation
Computer Program (written in BASIC)
5 REM THIS PROGRAM CALCULATES THE AZIMUTH AND
ELEVATION FOR AN
6 REM ANTENNA USED WITH A DCP FOR GOES SATELLITE
COMMUNICATIONS
10 CLS : CLEAR 1000
20 INPUT "SATELLITE LONGITUDE (DDD.DD)"; SO
30 INPUT "ANTENNA LONGITUDE (DDD.DD)"; SA
40 PRINT "ANTENNA LATITUDE (DDD.DD)--(SOUTH LATITUDE
ENTERED"
45 INPUT "AS NEGATIVE NUMBER)"; AA: A = 90 - AA
50 INPUT "ANTENNA HEIGHT ABOVE SEA LEVEL IN FEET"; AH
60 T = SO - SA: TR = T * .01745329#: BR = 90 * .01745329#: AR = A *
.01745329#
70 X = COS(AR) * COS(BR) + SIN(AR) * SIN(BR) * COS(TR)
80 CR = -ATN(X / SQR(-X * X + 1)) + 1.5708
90 C = CR * (1 / .01745329#)
100 X1 = (SIN(BR) * SIN(TR)) / SIN(CR)
110 BR = ATN(X1 /SQR(-X1 * X1 + 1)): B = BR * (1 / .01745329#)
115 GOSUB 300
120 A1 = 90 - C: R1 = A1 * .01745329#
130 S1 = (6378 + (AH * .0003048)) / SIN(R1)
140 S2 = 35785! + 6378 - S1
150 A2 = 180 - A1: R2 = A2 * .01745329#
155 S4 = SQR(S1 ^ 2 - (6378 + AH * .0003048) ^ 2)
160 S3 = SQR(S4 ^ 2 + S2 ^ 2 - 2 * S4 * S2 * COS(R2))
170 X2 = (SIN(R2) / S3) * S2
180 ER = ATN(X2 / SQR(-X2 * X2 + 1)): E = ER * (1 / .01745329#)
190 PRINT "ANTENNA ELEVATION ANGLE="; E; " DEGREES"
200 PRINT "ANTENNA AZIMUTH ANGLE="; B; " DEGREES"
210 PRINT : PRINT : PRINT "HIT ANY KEY TO CONTINUE"
220 I$ = INKEY$: IF I$ = "" THEN 220 ELSE CLS : GOTO 20
300 IF T < 0 AND AA > 0 THEN B = B + 180: GOTO 380
310 IF T < 0 AND AA < 0 THEN B = B * -1: GOTO 380
320 IF T > 0 AND AA < 0 THEN B = 360 - B: GOTO 380
330 IF T > 0 AND AA > 0 THEN B = B + 180: GOTO 380
340 IF T = 0 AND AA > 0 THEN B = 180: GOTO 380
350 IF T = 0 AND AA < 0 THEN B = 360: GOTO 380
360 IF AA = 0 AND T > 0 THEN B = 270: GOTO 380
370 IF AA = 0 AND T < 0 THEN B = 90
380 RETURN
400 RETURN
460 RETURN
C-1
Appendix C. Antenna Orientation Computer Program (written in BASIC)
C-2
Appendix D. GOES DCS Transmit
Frequencies
TABLE D-1. GOES DCPRS Transmit Frequencies Certification Standard 1.0
300 & 100 bps Channels 1200 bps Channels 300 & 100 bps Channels 1200 bps Channels
Channel Frequency Channel Frequency Channel Frequency Channel Frequency
Number MHz Number+ A MHz Number MHz Number+ A MHz
D-1
Appendix D. GOES DCS Transmit Frequencies
TABLE D-1. GOES DCPRS Transmit Frequencies Certification Standard 1.0 (continued)
300 & 100 bps Channels 1200 bps Channels 300 & 100 bps Channels 1200 bps Channels
Channel Frequency Channel Frequency Channel Frequency Channel Frequency
Number MHz Number+ A MHz Number MHz Number+ A MHz
D-2
Appendix D. GOES DCS Transmit Frequencies
TABLE D-1. GOES DCPRS Transmit Frequencies Certification Standard 1.0 (continued)
300 & 100 bps Channels 1200 bps Channels 300 & 100 bps Channels 1200 bps Channels
Channel Frequency Channel Frequency Channel Frequency Channel Frequency
Number MHz Number+ A MHz Number MHz Number+ A MHz
D-3
Appendix D. GOES DCS Transmit Frequencies
D-4
Appendix D. GOES DCS Transmit Frequencies
TABLE D-2. GOES DCPRS Transmit Frequencies Certification Standard 2.0 (continued)
D-5
Appendix D. GOES DCS Transmit Frequencies
TABLE D-2. GOES DCPRS Transmit Frequencies Certification Standard 2.0 (continued)
D-6
Appendix D. GOES DCS Transmit Frequencies
TABLE D-2. GOES DCPRS Transmit Frequencies Certification Standard 2.0 (continued)
D-7
Appendix D. GOES DCS Transmit Frequencies
D-8
Appendix E. High Resolution 18-Bit
Binary Format
When using the binary 18-bit signed 2’s complement integer format, all data
values in the datalogger final storage area must be in high resolution format. In
most cases the datalogger program should set the data resolution to high at the
beginning of the program. Use the P78 instruction with parameter 1 set to 1.
NOTE P77 Real Time cannot write the time or date in high resolution. To
send a time stamp, first write the time back to input locations, then
sample the input locations as high resolution. As an alternative to
using P77 for a time stamp, the GPS time can be retrieved from
the transmitter and written to final storage in high resolution
format. See instruction P127 for details.
Because the binary 18-bit integer is an integer, all information to the right of
the decimal point is dropped. This occurs while the datalogger is copying data
to the transmitter. The original data is left intact in final storage of the
datalogger. If transmitted data requires precision to the right of the decimal
place, multiply the number by the required factor of 10 before storing the data
to final storage. After data is received by the ground station, division by the
appropriate factor of 10 will replace the decimal point.
NESDIS has placed restrictions on the format of data sent over the GOES
satellite network. The first restriction is the use of 7 data bits and one parity bit
per byte. The second restriction is the most significant data bit of each byte, bit
6, is always set. Without data, each byte transmitted over the satellite has the
format of “p1xxxxxx”. The x’s will hold the 6 bits per byte allocated to data
information. The “p” is the parity bit and the “1” is bit 6 which is always set.
Resolution of each data point would be severely limited if the data point
consisted of only 6 bits. We use 3 consecutive bytes to form a data point word.
The first byte sent is byte three, the most significant byte. A complete word is
created by using three consecutive bytes, stripping the 2 most significant bits
from each byte, then combining the 3 bytes into a word. See the examples
below.
Each data point is formatted as an 18-bit integer. The format uses the
most significant bit (bit 17) to designate sign. The format of each 3
byte data point is as follows, note the top row shows the bits used and
there significance.
17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
p 1 x x x x x x p 1 x x x x x x p 1 x x x x x x
E-1
Appendix E. High Resolution 18-Bit Binary Format
Where the 18-bit data point is made by combining the three bytes
after bit 7 and bit 6 of each byte have been dropped.
Where 0 represents bit 0 - the least significant bit
Where 17 represents bit 17 - the most significant bit and is used to
determine the sign.
Converting the 18-bit data point to an integer can be done manually. Don’t
forget the 18-bits are numbered 0 through 17. Bit 17 is the sign bit, when bit 17
is set, the number is negative. If bit 17 is set, subtract 1 from the number then
take the complement of the number. If bit 17 is not set, simply convert the
number to its decimal equivalent.
Combine the 3
bytes into one word 000101 110010 010010
Combine the 3
bytes into one word 111010 001101 101101
E-2
Appendix F. Extended ASCII Command
Set
Appendix F describes the ASCII command interface for the TX320 transmitter. These
commands can be entered using the terminal window of the Device Configuration Utility,
or suitable terminal emulation software.
Three RS-232 connections (TXD, RXD and GND) are used, no handshaking is
needed and should be set to none in the terminal emulator.
Each character entered is echoed to the host to allow for simple error checking
and to support the terminal nature of the implementation. A backspace
character (BS, 0x08) deletes the last character entered. The ESC character
(0x1b) will delete the entire command.
The command protocol is not case sensitive. Many commands are used to set
or retrieve various configuration parameters. When setting parameters, the
command is followed by an equals sign (‘=’) and a comma separated list of
parameters. When retrieving parameters, the command is entered without the
‘=’ or followed by a question mark (‘?’).
F-1
Appendix F. Extended ASCII Command Set
Unless otherwise noted, the transmitter will respond to all commands with one
of the following:
If the command was a request for a configuration parameter the transmitter will
respond with:
Some commands are only available when transmissions are disabled. This is
also noted along with each command description.
This command sets the date and time in the transmitter. The date and time will
be overwritten when a GPS time synchronization occurs. Self-timed
transmissions will not occur until the time has been set either using this
command or from the GPS. Random transmissions will occur with or without
time being set.
F-2
Appendix F. Extended ASCII Command Set
This command defines the ASCII character that will be substituted for any
prohibited ASCII character detected in the transmission data when operating in
ASCII or pseudo binary mode. The default character is ‘*’. Only printable
ASCII characters, excluding space, are permitted. In pseudo binary mode,
numeric characters are considered illegal.
This command does not set the calibration data or serial number to factory
defaults.
F-3
Appendix F. Extended ASCII Command Set
Note that the factory default configuration is not valid. The factory default
parameters must be explicitly overwritten with valid values before
transmissions can be enabled.
For Example:
RCFG
NESID=326d31d4
TCH=92
.
.
.
The output from the RCFG command can be captured by the host (in a text
file) and used to duplicate the configuration in another unit.
F-4
Appendix F. Extended ASCII Command Set
This command changes the command access level back to USER. No password
is required. A power cycle of the transmitter will also return the command
access level to USER.
This command sets the GPS position fix interval to the hours, minutes, seconds
specified in hh:mm:ss. It can also be used without the ‘=’ sign to report the
current value. Valid range of hh:mm:ss is 00:05:00 to 24:00:00. A value of
00:00:00 will disable periodic GPS position fixes although they will still occur
at power up and every 24 hours as a side effect of the daily automatic OCXO
calibration. The current value of the GPS fix interval is also reported by the
RCFG command. The parameter is non-volatile when saved using the SAVE or
ETX commands.
F-5
Appendix F. Extended ASCII Command Set
Sets the transmitter’s GOES DCP Platform ID to the hex value xxxxxxxx.
Valid range is even hex numbers from 2 to 0xfffffffe.
This command sets the channel number (ccc) for timed transmissions. ccc is
the channel number and has a valid range of 0 – 266 for bit rates of 100 and
300 bps and a range of 0 – 133 for a bit rate of 1200 bps.
For 100 bps operation on channels 201 – 266, the transmitter will be
configured for international operation. Specifically, the 31-bit international
EOT will be used (0x63CADD04) in place of the ASCII EOT, and the
preamble will be forced to Long.
This command sets the timed transmission bit rate where bbbb is the bit rate
parameter and has valid values of 100, 300 and 1200 bps.
F-6
Appendix F. Extended ASCII Command Set
Set the time for the first timed transmission of the day. Valid range is 00:00:00
to 23:59:59. The First Transmission Time is also referred to as the Offset, and
is between 00:00:00 and the Self-Timed Transmission Interval.
Set the length of the timed transmit window. Length is specified in seconds.
Valid range is 5 to 240 seconds.
F-7
Appendix F. Extended ASCII Command Set
Set the preamble type for timed transmissions. Valid values are S or L (Short
or Long). This setting only applies for 100 bps timed transmissions on channels
1 – 200. All 300 and 1200 bps transmissions us short preamble. All 100 bps
transmissions on channels above 200 use long preamble.
Set the timed transmission interleaver type. Valid values are S, L, or N (Short,
Long or None). This setting only applies for HDR timed transmissions, i.e. 300
or 1200 bps.
This command sets the timed transmission format to ASCII, pseudo binary or
binary. Valid values are A, P or B. This parameter is used to determine the flag
word in 300 and 1200 bps transmissions.
Note: It is the responsibility of the host to ensure the data provided for
transmission is in the proper format. ASCII data cannot be transmitted when
pseudo binary format is selected. Pseudo binary can be transmitted with ASCII
format has been selected.
This command sets the channel number for random transmissions. ccc is the
channel number and has a valid range of 0 – 266 for bit rates of 100 and 300
bps and a range of 0 – 133 for a bit rate of 1200 bps.
F-8
Appendix F. Extended ASCII Command Set
For 100 bps operation on channels 201 – 266, the transmitter will be
configured for international operation. Specifically, the 31-bit international
EOT will be used (0x63CADD04) in place of the ASCII EOT.
This command sets the random transmission bit rate where bbbb is the bit rate
parameter and has valid values of 100, 300 and 1200.
F-9
Appendix F. Extended ASCII Command Set
This command overwrites the GOES Timed Buffer with the data provided. The
TX320 transmitter will insert the 31 bit GOES ID, any header information (for
example, HDR Flag byte), and append the EOT so these should not be included
in the TDT data. If the timed data format is ASCII or pseudo binary, the
transmitter will also insert the correct parity bit for each message character and
replace illegal characters with the character specified by the IRC=c command
before transmission.
Characters that have meaning for the command interface (CR, LF, BS,
ESC,’~’) must be preceded by a ‘~’ character if they appear in the message
data.
The maximum length of the formatted data can be up to 126000 bits, or 15750
bytes.
If there is more data loaded into the buffer than can be transmitted in the
assigned transmit window, the message will be truncated.
One minute prior to transmission data is removed from the transmit buffer and
encoded for transmissiion (The DATA IN BUFFER LED will go out). If this
command is received within 1 minute of the transmission time or during a
F-10
Appendix F. Extended ASCII Command Set
timed transmission, the data will not be included in the current transmission but
will be buffered for the next interval.
Returns the maximum number of bytes that can be transmitted with the current
timed transmission bit rate, window length, and preamble type.
This command overwrites the GOES Random Buffer with the data provided.
The G5 transmitter will insert the 31 bit GOES ID, any header information (for
example, HDR Flag byte), and append the EOT so these should not be included
in the RDT data. If the random data format is pseudo binary the transmitter will
also insert the correct parity bit for each message character and replace illegal
characters with the character specified by the IRC=c command before
transmission.
Characters that have meaning for the command interface (CR, LF, BS,
ESC,’~’) must be preceded by a ‘~’ character if they appear in the message
data.
F-11
Appendix F. Extended ASCII Command Set
Loading data into the random transmission buffer, triggers the random
reporting sequence. Once triggered, the random reporting mechanism will send
the data loaded in the buffer for the number of transmissions as specified by the
random repeat count. The buffer will be cleared automatically when the
number of transmissions specified have occurred.
If there is more data loaded into the buffer than can be transmitted at the
assigned bit rate the message will be truncated.
Returns the maximum number of bytes that can be transmitted at the current
random transmission bit rate.
F-12
Appendix F. Extended ASCII Command Set
This command returns the transmitter serial number, hardware version number,
firmware version number, and GPS module version numbers.
This command returns the transmitter state, GPS state, time to next
transmission, number of bytes in timed transmit buffer, number of bytes in
random transmit buffer, number of times random data has been transmitted,
fail-safe status, and supply voltage.
Transmitter: Enabled/Disabled[CR][LF]
GPS: On/Off[CR][LF]
RTC: Valid/Invalid[CR][LF]
Time To Next Tx: dd:hh:mm:ss[CR][LF]
Timed Message Length: nnnn[CR][LF]
Next Timed Tx: N/A or mm/dd/yyyy hh:mm:ss
Random Message Length: nnnn[CR][LF]
Random Message Tx Count: nnn[CR][LF]
Next Random Tx: N/A or mm/dd/yyyy hh:mm:ss
Fail-Safe: OK/Tripped[CR][LF]
Supply Voltage: xx.x V
This command returns the status of the last transmission. The last transmission
could have been a regularly scheduled timed transmission, a random
transmission, or a test transmission triggered by a test command.
F-13
Appendix F. Extended ASCII Command Set
If a transmission has occurred since the unit was last powered up, the
transmitter responds to the command with:
If a transmission has not occurred since power up, the transmitter will respond
with:
No Tx Has Occurred
This command returns the current GPS status including satellite numbers and
signal strengths in the following format if the GPS is on:
Signal
Satellite # Strength
30 10.80
23 no lock
10 4.00
25 1.80
5 6.60
21 no lock
17 6.40
2 6.80
GPS is off
F-14
Appendix F. Extended ASCII Command Set
This command returns position obtained during the last GPS fix in the
following format:
If a GPS fix has not yet occurred, the transmitter will respond with: No GPS
Fix[CR][LF]>
The RAL command is used to retrieve the audit log information in the
following format:
Where: yy/mm/dd hh:mm:ss are the date and time that the message was
created.
event message x is a short text string describing the event detected.
Returns the current forward power in dBm. This value is updated at the bit rate
when transmitting and every 30 seconds when not transmitting.
F-15
Appendix F. Extended ASCII Command Set
Returns the reflected power in dBm. This value is updated at the bit rate when
transmitting and every 30 seconds when not transmitting.
Returns the power supply voltage in volts. This value is updated at the bit rate
when transmitting and every 30 seconds when not transmitting.
This command returns the last measured OCXO and TCXO frequencies in the
following format:
F-OCXO: 10000005.9000
F-TCXO: 43199.9166
F-16
Appendix G. Meteosat Transmit
Frequencies
Ch No. Frequency Bandwidth Ch No. Frequency Bandwidth
1 402035500 1500 46 402103000 1500
2 402037000 1500 47 402104500 1500
3 402038500 1500 48 402106000 1500
4 402040000 1500 49 402107500 1500
5 402041500 1500 50 402109000 1500
6 402043000 1500 51 402110500 1500
7 402044500 1500 52 402112000 1500
8 402046000 1500 53 402113500 1500
9 402047500 1500 54 402115000 1500
10 402049000 1500 55 402116500 1500
11 402050500 1500 56 402118000 1500
12 402052000 1500 57 402119500 1500
13 402053500 1500 58 402121000 1500
14 402055000 1500 59 402122500 1500
15 402056500 1500 60 402124000 1500
16 402058000 1500 61 402125500 1500
17 402059500 1500 62 402127000 1500
18 402061000 1500 63 402128500 1500
19 402062500 1500 64 402130000 1500
20 402064000 1500 65 402131500 1500
21 402065500 1500 66 402133000 1500
22 402067000 1500 67 402134500 1500
23 402068500 1500 68 402136000 1500
24 402070000 1500 69 402137500 1500
25 402071500 1500 70 402139000 1500
26 402073000 1500 71 402140500 1500
27 402074500 1500 72 402142000 1500
28 402076000 1500 73 402143500 1500
29 402077500 1500 74 402145000 1500
30 402079000 1500 75 402146500 1500
31 402080500 1500 76 402148000 1500
32 402082000 1500 77 402149500 1500
33 402083500 1500 78 402151000 1500
34 402085000 1500 79 402152500 1500
35 402086500 1500 80 402154000 1500
36 402088000 1500 81 402155500 1500
37 402089500 1500 82 402157000 1500
38 402091000 1500 83 402158500 1500
39 402092500 1500 84 402160000 1500
40 402094000 1500 85 402161500 1500
41 402095500 1500 86 402163000 1500
42 402097000 1500 87 402164500 1500
43 402098500 1500 88 402166000 1500
44 402100000 1500 89 402167500 1500
45 402101500 1500 90 402169000 1500
G-1
Appendix G. Meteosat Transmit Frequencies
G-2
Appendix G. Meteosat Transmit Frequencies
G-3
Appendix G. Meteosat Transmit Frequencies
G-4
Campbell Scientific Companies
Campbell Scientific Africa Pty. Ltd. Campbell Scientific Centro Caribe S.A.
PO Box 2450 300 N Cementerio, Edificio Breller
Somerset West 7129 Santo Domingo, Heredia 40305
SOUTH AFRICA COSTA RICA
www.campbellsci.co.za • cleroux@csafrica.co.za www.campbellsci.cc • info@campbellsci.cc
Please visit www.campbellsci.com to obtain contact information for your local US or international representative.