No part of this manual may be reproduced in any form or by any means,
electronic or mechanical (including photocopying), nor may its contents
be communicated to a third party without prior written permission of the
copyright holder.
The contents are subject to change without prior notice.
Please observe that this manual does not create any legally binding
obligations for Vaisala towards the customer or end user. All legally
binding commitments and agreements are included exclusively in the
applicable supply contract or Conditions of Sale.
-Chapter 5, Wiring and Power Management: This chapter provides
you with instructions on how to connect the power supply and the
serial interfaces, and how to manage and estimate the power
consumption.
-Chapter 6, Connection Options: This chapter contains instructions
for configuring the communication with the transmitter.
-Chapter 7, Getting the Data Messages: This chapter presents the
general and data message commands.
-Chapter 8, Sensor and Data Message Settings: This chapter
presents the sensor configuration and data message formatting
commands for all communications protocols: ASCII, NMEA 0183
and SDI-12.
-Chapter 9, Maintenance: This chapter contains instructions for the
basic maintenance of Weather Transmitter WXT520 and contact
information for Vaisala Service Centers.
-Chapter 10, Troubleshooting: This chapter describes common
problems, their probable causes and remedies, and includes contact
information for technical support.
WARNING
CAUTION
NOTE
-Chapter 11, Technical Specifications: This chapter provides the
technical data of Weather Transmitter WXT520.
General Safety Considerations
Throughout the manual, important safety considerations are highlighted
as follows:
Warning alerts you to a serious hazard. If you do not read and follow
instructions very carefully at this point, there is a risk of injury or even
death.
Caution warns you of a potential hazard. If you do not read and follow
instructions carefully at this point, the product could be damaged or
important data could be lost.
Note highlights important information on using the product.
Chapter 1 ________________________________________________________ General Information
Recycle all applicable material.
Dispose of batteries and the unit according to statutory regulations.
Do not dispose of with regular household refuse.
Feedback
Vaisala Customer Documentation Team welcomes your comments and
suggestions on the quality and usefulness of this publication. If you find
errors or have other suggestions for improvement, please indicate the
chapter, section, and page number. You can send comments to us by
e-mail: manuals@vaisala.com.
ESD Protection
Electrostatic Discharge (ESD) can cause immediate or latent damage to
electronic circuits. Vaisala products are adequately protected against
ESD for their intended use. However, it is possible to damage the
product by delivering electrostatic discharges when touching,
removing, or inserting any objects inside the equipment housing.
Recycling
To make sure you are not delivering high static voltages yourself:
-Handle ESD sensitive components on a properly grounded and
protected ESD workbench. When this is not possible, ground
yourself with a wrist strap and a resistive connection cord to the
equipment chassis before touching the boards. When neither of the
above is possible, at least touch a conductive part of the equipment
chassis with your other hand before touching the boards.
-Always hold the boards by the edges and avoid touching the
component contacts.
WINDCAP®, RAINCAP®, HUMICAP®, BAROCAP® and
THERMOCAP® are registered trademarks of Vaisala. Microsoft®,
Windows®, Windows 2000®, Windows XP®, Windows Server 2003®,
and Windows Vista® are registered trademarks of Microsoft
Corporation in the United States and/or other countries.
License Agreement
All rights to any software are held by Vaisala or third parties. The
customer is allowed to use the software only to the extent that is
provided by the applicable supply contract or Software License
Agreement.
Regulatory Compliance
The electromagnetic compatibility of the WXT520 has been tested
according to the following product family standard:
EN 61326-1 Electrical equipment for measurement, control and
laboratory use - EMC requirements - for use in industrial locations.
Additionally, the EMC specification of the WXT520 has been enhanced
for marine use according to the following sections of the IEC 60945
Maritime Navigation and Radiocommunication Equipment and
Systems - General requirements - Methods of testing and required test
results:
-IEC 60945 / 61000-4-4 (EFT burst)
-IEC 60945 / 61000-4-2 (Marine ESD)
A summary of the test results is presented in Table 19 on page 143.
The WXT520 is in conformance with the provisions of the RoHS
directive of the European Union:
Directive on the Restriction of the Use of Certain Hazardous Substances
in Electrical and Electronic Equipment (2002/95/EC)
Chapter 1 ________________________________________________________ General Information
Warranty
Vaisala hereby represents and warrants all Products
manufactured by Vaisala and sold hereunder to be free
from defects in workmanship or material during a
period of twelve (12) months from the date of delivery
save for products for which a special warranty is given.
If any Product proves however to be defective in
workmanship or material within the period herein
provided Vaisala undertakes to the exclusion of any
other remedy to repair or at its own option replace the
defective Product or part thereof free of charge and
otherwise on the same conditions as for the original
Product or part without extension to original warranty
time. Defective parts replaced in accordance with this
clause shall be placed at the disposal of Vaisala.
Vaisala also warrants the quality of all repair and
service works performed by its employees to products
sold by it. In case the repair or service works should
appear inadequate or faulty and should this cause
malfunction or nonfunction of the product to which the
service was performed Vaisala shall at its free option
either repair or have repaired or replace the product in
question. The working hours used by employees of
Vaisala for such repair or replacement shall be free of
charge to the client. This service warranty shall be
valid for a period of six (6) months from the date the
service measures were completed.
This warranty does not however apply when the defect
has been caused through
a) normal wear and tear or accident;
b) misuse or other unsuitable or unauthorized use of
the Product or negligence or error in storing,
maintaining or in handling the Product or any
equipment thereof;
c) wrong installation or assembly or failure to service
the Product or otherwise follow Vaisala's service
instructions including any repairs or installation or
assembly or service made by unauthorized personnel
not approved by Vaisala or replacements with parts not
manufactured or supplied by Vaisala;
d) modifications or changes of the Product as well as
any adding to it without Vaisala's prior authorization;
e) other factors depending on the Customer or a third
party.
Notwithstanding the aforesaid Vaisala's liability under
this clause shall not apply to any defects arising out of
materials, designs or instructions provided by the
Customer.
This warranty is however subject to following
conditions:
a) A substantiated written claim as to any alleged
defects shall have been received by Vaisala within
thirty (30) days after the defect or fault became known
or occurred, and
b) The allegedly defective Product or part shall, should
Vaisala so require, be sent to the works of Vaisala or to
such other place as Vaisala may indicate in writing,
freight and insurance prepaid and properly packed and
labelled, unless Vaisala agrees to inspect and repair the
Product or replace it on site.
This warranty is expressly in lieu of and excludes all
other conditions, warranties and liabilities, express or
implied, whether under law, statute or otherwise,
including without limitation any implied warranties of
merchantability or fitness for a particular purpose and
all other obligations and liabilities of Vaisala or its
representatives with respect to any defect or deficiency
applicable to or resulting directly or indirectly from the
Products supplied hereunder, which obligations and
liabilities are hereby expressly cancelled and waived.
Vaisala's liability shall under no circumstances exceed
the invoice price of any Product for which a warranty
claim is made, nor shall Vaisala in any circumstances
be liable for lost profits or other consequential loss
whether direct or indirect or for special damages.
Weather Transmitter WXT520 is a small and lightweight transmitter
that offers six weather parameters in one compact package. WXT520
measures wind speed and direction, precipitation, atmospheric pressure,
temperature and relative humidity. The transmitter housing is IP65/IP66
rated.
WXT520 powers up with 5 ... 32 VDC and outputs serial data with a
selectable communication protocol: SDI-12, ASCII automatic & polled
and NMEA 0183 with query option. Four alternative serial interfaces
are selectable: RS-232, RS-485, RS-422, and SDI-12. The transmitter is
equipped with a 8-pin M12 connector for installation, and a 4-pin M8
connector for service use.
The following options are available:
-Heating function for the precipitation and wind sensors
-Service Pack 2: Windows® based Vaisala Configuration Tool
software with USB service cable (1.4m)
-USB RS-232/RS-485 cable (1.4m)
-Mounting kit
-Bird spike kit
-Surge protector
-Shielded cables (2m, 10m, 40m)
-Bushing and grounding kit
Heating Function
To improve the accuracy of measurements an optional heating for the
wind and precipitation sensors is available. More about heating in
section Heating (Optional) on page 29.
The heating function option must be chosen when placing the order.
Optional Software for Easy Settings
Windows® based Vaisala Configuration Tool is a user friendly
parameter setting software for WXT520. With this software tool you
can change the device and sensor settings easily in Windows®
environment. See list of options and accessories in Table 22 on page
The optional mounting kit can be used to ease the mounting of the
WXT520 on a pole mast. When using the optional mounting kit,
alignment is needed only when mounting for the first time. Using the
mounting kit also improves the IP classification of the WXT520 to
IP66. Without the mounting kit, the WXT520 is IP65.
0804-022
Figure 6 USB Cables (optional)
The following numbers refer to Figure 6 on page 22:
1=USB RS-232/RS-485 cable with 8-pin M12 threaded
connector (1.4 m)
2=USB service cable with 4-pin M8 snap-on connector (1.4 m)
The service cable, while connected between the service port and PC,
forces the service port to RS-232 / 19200, 8, N, 1.
The optional Bird Spike Kit for WXT and WMT transmitters is
designed to reduce the interference that birds cause to the wind and rain
measurement. The kit consists of a metallic band with spikes pointing
upward. The kit is installed on top of the transmitter, and attached with
a screw. The shape and location of the spikes has been designed so that
the interference with wind and rain measurement is minimal.
The spikes are designed not to hurt the birds; they are simply a barrier
to make it more difficult for birds to land on top of the transmitter. Note
that the bird spike kit does not provide complete protection against
birds, but it does render the transmitter unsuitable for roosting and nest
building.
Note that when the kit is in place, more snow can accumulate on the
transmitter, and the snow may melt slower.
The following surge protectors are available from Vaisala:
-Vaisala Surge Protector WSP150 is a compact transient
overvoltage suppressor designed for outdoor use. It can be used
with all Vaisala wind and weather instruments. The WSP150
should be installed close to the protected instrument (max 3 m).
-Vaisala Surge Protector WSP152 is designed to be used with
Vaisala WXT transmitters and WMT sensors, to protect the host
PC against surges entering through the USB port. The WSP152
should be installed close to the PC, no further than the USB cable
can reach (1.4 m).
Vaisala recommends using surge protectors when weather instruments
are installed on top of high buildings or masts and in open grounds, that
is, anywhere with an elevated risk of lightning strike. Also use the surge
protectors if your cable length exceeds 30 m or you have unshielded,
open-wire lines.
This chapter describes the measurement principles and heating function
of Weather Transmitter WXT520.
Wind Measurement Principle
WXT520 uses Vaisala WINDCAP® sensor technology in wind
measurement.
The wind sensor has an array of three equally spaced ultrasonic
transducers on a horizontal plane. Wind speed and wind directions are
determined by measuring the time it takes the ultrasound to travel from
each transducer to the other two.
The wind sensor measures the transit time (in both directions) along the
three paths established by the array of transducers. This transit time
depends on the wind speed along the ultrasonic path. For zero wind
speed, both the forward and reverse transit times are the same. With
wind along the sound path, the up-wind direction transit time increases
and the down-wind transit time decreases.
The wind speed is calculated from the measured transit times using the
following formula:
0505-216
where
V
w
=Wind speed
L=Distance between the two transducers
t
f
t
r
=Transit time in forward direction
=Transit time in reverse direction
Measuring the six transit times allows Vw to be computed for each of
the three ultrasonic paths. The computed wind speeds are independent
of altitude, temperature and humidity, which are cancelled out when the
transit times are measured in both directions, although the individual
transit times depend on these parameters.
Using Vw values of two array paths is enough to compute wind speed
and wind direction. A signal processing technique is used so that wind
speed and wind direction are calculated from the two array paths of best
quality.
The wind speed is represented as a scalar speed in selected units (m/s,
kt, mph, km/h). The wind direction is expressed in degrees (°). The
wind direction reported by WXT520 indicates the direction that the
wind comes from. North is represented as 0°, east as 90°, south as 180°,
and west as 270°.
The wind direction is not calculated when the wind speed drops below
0.05 m/s. In this case, the last calculated direction output remains until
the wind speed increases again to the level of 0.05 m/s.
The average values of wind speed and direction are calculated as a
scalar average of all samples over the selected averaging time
(1 ... 3600 s) with a selectable updating interval. The sample count
depends on the selected sampling rate: 4 Hz (default), 2 Hz or 1 Hz. The
minimum and maximum values of wind speed and direction represent
the corresponding extremes during the selected averaging time. See also
Appendix D, Wind Measurement Averaging Method, on page 163.
Depending on user selection the wind speed extreme values can be
computed in two alternative ways; either with the traditional minimum/
maximum calculation or with the 3-second gust & lull calculation
recommended by the WMO (World Meteorological Organization). In
the latter case the highest and lowest 3-second average values (updated
once a second) replace the maximum and minimum values in reporting
of wind speed, while the wind direction variance is returned in the
traditional way.
The WXT520 constantly monitors the wind measurement signal
quality. If poor quality is detected, the wind values are marked as
invalid. If over half of the measurement values can be considered as
invalid, the last valid wind values are returned as missing data.
However, in the SDI-12 protocol the invalid values will be marked as
zeroes.
Precipitation Measurement Principle
WXT520 uses Vaisala RAINCAP® Sensor 2-technology in
precipitation measurement.
The precipitation sensor comprises of a steel cover and a piezoelectrical
sensor mounted on the bottom surface of the cover.
The precipitation sensor detects the impact of individual raindrops. The
signals from the impact are proportional to the volume of the drops.
Hence, the signal of each drop can be converted directly to accumulated
rainfall. Advanced noise filtering technique is used to filter out signals
originating from other sources than raindrops.
The measured parameters are accumulated rainfall, rain current and
peak intensity, and the duration of a rain event. Detection of each
individual drop enables computing of rain amount and intensity with
high resolution. Precipitation current intensity internally updated every
10 seconds represents the intensity during the one minute period before
requesting/automatic precipitation message sending (for fast reacting to
a rain event, during the first minute of the rain event the intensity is
calculated over the period rain has lasted in 10-second steps instead of
fixed one minute). Precipitation peak intensity represents the maximum
of the calculated current intensity values since last precipitation
intensity reset.
The sensor is also capable of distinguishing hails from raindrops. The
measured hail parameters are cumulative amount of hails, current and
peak hail intensity and the duration of a hail shower.
The precipitation sensor operates in the following four modes:
-Precipitation Start/End mode:
Transmitter sends automatically a precipitation message 10
seconds after the recognition of the first drop. The messages are
sent continuously as the precipitation proceeds and stopped when
the precipitation ends.
-Tipping bucket mode:
This mode emulates tipping bucket type precipitation sensors.
Transmitter sends automatically a precipitation message when the
counter detects one unit increment (0.1 mm/0.01 in).
-Time mode:
Transmitter sends automatically a precipitation message in the
update intervals defined by the user.
-Polled mode:
Transmitter sends a precipitation message whenever requested by
the user.
More information about the precipitation sensor operation modes can be
found in section Precipitation Sensor on page 117.
The PTU module contains separate sensors for pressure, temperature,
and humidity measurement.
The measurement principle of the pressure, temperature, and humidity
sensors is based on an advanced RC oscillator and two reference
capacitors against which the capacitance of the sensors is continuously
measured. The microprocessor of the transmitter performs
compensation for the temperature dependency of the pressure and
humidity sensors.
The PTU module includes
-capacitive silicon BAROCAP® sensor for pressure measurement,
-capacitive ceramic THERMOCAP® sensor for air temperature
measurement, and
-capacitive thin film polymer HUMICAP®180 sensor for humidity
measurement.
Heating (Optional)
Heating elements located below the precipitation sensor and inside the
wind transducers keep the precipitation and wind sensors clean from
snow and ice. A heating temperature sensor (Th) underneath the
precipitation sensor controls the heating. Note that Th is measured
inside the equipment, where temperature is much higher than the
ambient temperature (Ta).
Three fixed temperature limits, namely +4 °C, 0 °C, and -4 °C (+39 °F,
+32 °F, +25 °F) control the heating as follows:
This chapter provides you with information that is intended to help you
install Weather Transmitter WXT520.
Unpacking the Transmitter
CAUTION
Weather Transmitter WXT520 comes in a custom shipping container.
Be careful when removing the device from the container.
Beware of damaging any of the wind transducers located at the top of
the three antennas. Dropping the device can break or damage the
transducers. If the antenna bends or twists, re-aligning can be difficult
or impossible.
Finding a suitable site for Weather Transmitter WXT520 is important
for getting representative ambient measurements. The site should
represent the general area of interest.
Weather Transmitter WXT520 should be installed in a location that is
free from turbulence caused by nearby objects, such as trees and
buildings. In general, any object of height (h) will not remarkably
disturb wind measurement at a minimum distance of 10 h. There should
be at least 150 m open area in all directions from the mast. Refer to
Figure 10 on page 32.
0712-008
Figure 10Recommended Mast Location in an Open Area
Figure 11Recommended Mast Length on Top of a Building
WARNING
CAUTION
The recommended minimum length (marked with the letter h in Figure
11 on page 33) for the mast that is installed on top of a building is 1.5
times the height of the building (H). When the diagonal (W) is less than
the height (H), the minimum length of the mast is 1.5 W.
To protect personnel (and the device), a lightning rod should be
installed with the tip at least one meter above WXT520. The rod must
be properly grounded, compliant with all applicable local safety
regulations.
Installations on top of high buildings or masts and in sites on open
grounds are vulnerable to lightning strikes. A nearby lightning strike
may induce a high-voltage surge not tolerable by the internal surge
suppressors of the instrument.
Additional protection is needed in regions with frequent, severe
thunderstorms, especially when long line cables (> 30m) are used.
Vaisala recommends using a surge protectors such as the WSP150 and
WSP152 in all sites where there is an elevated risk of lightning strike.
At the measurement site, WXT520 needs to be mounted, grounded,
aligned, and connected to the data logger and the power source.
Mounting
Weather Transmitter WXT520 can be mounted either onto a vertical
pole mast or onto a horizontal cross arm. When mounting WXT520
onto a pole mast, an optional mounting kit can be used to ease
mounting. When using the optional mounting kit, alignment is needed
only when mounted for the first time.
Each of the mounting options is further described in the following
sections.
NOTE
Weather Transmitter WXT520 must be installed to an upright, vertical
position.
Mounting to Vertical Pole Mast
1.Remove the screw cover and insert WXT520 to the pole mast.
2.Align the transmitter in such a way that the arrow points to north.
3.Tighten the fixing screw (provided) and replace the screw cover.
Figure 13Mounting WXT520 to Pole Mast Using Optional
Mounting Kit
The following numbers refer to Figure 13 on page 36:
1=Mounting kit
2=Fixing screw
When removing WXT520 from the pole just turn the transmitter so
that it snaps out from the mounting kit. When replacing the device the
alignment is not needed.
The following numbers refer to Figure 15 on page 38:
1=Nut (M6 DIN934)
2=Mounting bolt (M6 DIN933)
Grounding the WXT520
The normal way to ground the WXT520 is to install it on a mast or a
cross arm that provides a good connection to earth ground. The
grounding is provided via the fixing screw (or mounting bolt), so it is
important that it makes a good ground connection. If the surface of the
mounting point is painted or has some other finishing that prevents a
good electrical connection, consider using the Bushing and Grounding
Kit and a cable to provide the ground connection.
Grounding Using the Bushing and Grounding Kit
If necessary, you can run a cable from the fixing screw to a grounding
point. A Bushing and Grounding Kit (Vaisala order code: 222109) is
available for this purpose. The kit includes a longer fixing screw, two
nuts and washers, and an Abiko connector for the grounding cable.
Refer to Figure 16 on page 39 for an illustration on how to assemble and
install the kit.
The kit does not include the grounding cable. Use a 16 mm2 (AWG 5)
conductor to achieve a good ground connection.
Figure 16Grounding Using the Bushing and Grounding Kit
The following numbers refer to Figure 16 on page 39:
1=Fixing screw
2=Nut
3=Abiko connector between two washers
Marine Grounding Jumper
The WXT520 should be properly grounded also in marine applications.
If it is grounded to the hull of a ship (ship’s ground) you must remove
the grounding jumper inside the WXT520. When the jumper is
removed, the signal ground is DC isolated from the chassis ground
(> 500 VDC, fulfilling the marine EMC specifications), but AC surge
currents will still be flowing, thus helping the WXT520 survive
transient overvoltages.
The jumper is located inside the transmitter, on the same component
board as the screw terminals. The location of the jumper is indicated in
The following numbers refer to Figure 17 on page 40:
1=Grounding jumper (remove for marine applications)
To remove the jumper, you must open the transmitter. If you need to
access the screw terminals, you should remove the jumper at the same
time.
1.Loosen the three long screws at the bottom of WXT520.
2.Pull out the bottom part of the transmitter.
3.Remove the grounding jumper from the PCB.
4.Replace the bottom part and tighten the three screws. To make sure
that the radiation shield stays straight, do not tighten the screws all
the way in one go. Do not overtighten.
To help the alignment, there is an arrow and the text "North" on the
bottom of the transmitter. WXT520 should be aligned in such a way that
this arrow points to the north.
Wind direction can be referred either to true north, which uses the
earth’s geographic meridians, or to the magnetic north, which is read
with a magnetic compass. The magnetic declination is the difference in
degrees between the true north and magnetic north. The source for the
magnetic declination should be current as the declination changes over
time.
0003-011
Figure 18Sketch of Magnetic Declination
Compass Alignment
To align the WXT520, proceed as follows:
1.If WXT520 is already mounted, loosen the fixing screw on the
bottom of the transmitter so that you can rotate the device.
2.Use a compass to determine that the transducer heads of WXT520
are exactly in line with the compass and that the arrow on the
bottom of WXT520 points to the north.
3.Tighten the fixing screw on the bottom of the transmitter when the
bottom arrow is exactly aligned to north.
Make a wind direction offset in case WXT520 cannot be aligned in such
a way that the arrow on the bottom points to the north. In this case, the
deviation angle from the true north should be given to WXT520.
1.Mount the transmitter to a desired position, see section Mounting
on page 34.
2.Define the deviation angle from the north-zero-alignment. Use the
± sign indication to express the direction from the north line (see
example pictures).
3.Feed the deviation angle to the device by using the wind message
formatting command aWU,D (direction offset), see section
Checking the Settings (aWU) on page 107.
4.From now on, WXT520 transmits the wind direction data by using
the changed zero-alignment.
Chapter 5 _______________________________________________ Wiring and Power Management
CHAPTER 5
WIRING AND POWER MANAGEMENT
This chapter provides you with instructions on how to connect the
power supply and the serial interfaces, and how to manage and estimate
the power consumption.
WXT520 can be accessed through four different serial interfaces: RS232, RS-485, RS-422 and SDI-12. Each of them can be wired either
through the internal screw terminal or the 8-pin M12 connector. Only
one serial interface can be used at a time.
CAUTION
The cable openings in the transmitter bottom assembly are covered
with hexagonal rubber plugs. If you are not using the cable glands
(included in the Bushing and Grounding Kit), keep the openings
covered.
Power Supplies
Operating voltage Vin+: 5 ... 32 VDC
Notice that for the average current consumption, see the graphs in
Figure 20 on page 44. The minimum consumption graph is for SDI-12
standby mode.
The input power supply shall be capable to deliver 60 mA (at 12 V) or
100 mA (at 6 V) instant current spikes with duration of 30 ms. These
are drawn by the wind sensor (whenever enabled) at 4 Hz rate, which is
the default value for wind sampling. Wind sampling at 2 Hz or 1 Hz rate
is also available (see Chapter 8, Sensor and Data Message Settings, on
page 107). The average current consumption will decrease almost in
Blue7Data out (TxD) Data in/out (Tx) Data-Data in (RX-)
Gray5--Data+Data in (RX+)
White1Data in (RxD)Data in/out (Rx) -Data out (TX-)
Green3GND for data GND for data-Data out (TX+)
Pink6GND for Vh+GND for Vh+GND for Vh+GND for Vh+
Yellow4Vh+ (heating)Vh+ (heating)Vh+ (heating)Vh+ (heating)
Red8GND for Vin+GND for Vin+GND for Vin+GND for Vin+
Brown2Vin+
(operating)
Vin+
(operating)
Vin+
(operating)
Vin+
(operating)
The signal names Data in (RxD) and Data out (TxD) in the table
describe the direction of data flow as seen from WXT520.
The terms "Default wiring" and "RS-422 wiring" refer to the two
internal wiring options, see the diagrams on the next page.
Chapter 5 _______________________________________________ Wiring and Power Management
Internal Wiring
The 8-pin M12 connector is wired for RS-232, SDI-12, and RS-485
modes by default. The 4-wire RS-422 requires a different internal
wiring (see also Table 1 on page 46). Refer to the figure below if you
need to change the wiring of the M12 connector.
NOTE
0505-205
Figure 23Internal Wiring
The RS-232 interface can be accessed through the M12 connector using
a standard PC serial port. Same applies to the SDI-12 interface, since the
Rx and Tx lines are separate at the M12 connector.
The true SDI-12 line requires that the Rx and Tx wires are joined
together (outside WXT520). See the interface diagrams in the next
section.
Bidirectional use of the RS-485 and RS-422 interface requires a proper
adapter module between the PC and WXT520. For testing purposes, the
inverted output of either interface (screw terminal pin #3 TX-) is
directly readable with PC's Received Data line. In this case Signal
Ground for PC serial port is taken from screw terminal pin #6 SGND
(for testing purposes pin #19 VIN- will also do).
For configuration work, the Service Port is most practical, since it has
constant and convenient line parameters: RS-232/19200, 8, N, 1. See
Chapter 6, Connection Options, on page 55 and Figure 4 on page 21).
1.Loosen the three long screws at the bottom of WXT520.
2.Pull out the bottom part of the transmitter.
3.Insert the power supply wires and signal wires through the cable
gland(s) in the bottom of the transmitter. Cable glands are included
in the optional Bushing and Grounding Kit (order code 222109).
4.Connect the wires according to Table 2 on page 49.
5.Replace the bottom part and tighten the three screws. To make sure
that the radiation shield stays straight, do not tighten the screws all
the way in one go. Do not overtighten.
0803-035
Figure 24Screw Terminal Block
The following numbers refer to Figure 24 on page 48:
Chapter 5 _______________________________________________ Wiring and Power Management
Table 2Screw Terminal Pin-outs for WXT520 Serial
Interfaces and Power Supplies
Screw Terminal
Pin
1 RX---Data-Data in (RX-)
2 RX+--Data+Data in (RX+)
3 TX-Data out (TxD)Data in/out (Tx)Data-Data out (TX-)
4 TX+--Data+Data out (TX+)
5 RXDData in (RxD)Data in/out (Rx)-6 SGNDGND for dataGND for data-17 HTG-GND for Vh+GND for Vh+GND for Vh+GND for Vh+
18 HTG+Vh+ (heating)Vh+ (heating)Vh+ (heating)Vh+ (heating)
19 VIN-GND for Vin+GND for Vin+GND for Vin+GND for Vin+
20 VIN+Vin+ (operating)Vin+ (operating)Vin+ (operating)Vin+ (operating)
NOTE
RS-232SDI-12RS-485RS-422
In the true SDI-12 mode the two Data in/out lines must be combined
either in the screw terminal or outside WXT520.
NOTE
Short-circuit jumpers are required between pins 1-3 and 2-4 for the
RS-485 communication mode. For the RS-422 mode, the jumpers
should be removed. In the other modes the jumpers may stay or they
can be removed.
With RS-485 and RS-422 interfaces, termination resistors should be
used at both ends of the line, if data rate is 9600 Bd or higher and
distance is 600 m (2000 ft) or longer. Resistor range 100 ... 180 Ω is
suitable for twisted pair lines. Resistors are connected across RX- to
RX+ and across TX- to TX+ (with RS-485 only one resistor needed).
The termination resistors will remarkably increase power consumption
during data transmission. If low power consumption is a must, a 0.1 uF
capacitor should be connected in series with each termination resistor.
Chapter 5 _______________________________________________ Wiring and Power Management
Note that the RS-485 interface can be used as well with four wires (as
the RS-422). The basic difference between the RS-485 and RS-422 is
actually their protocol. Namely, in the RS-422 mode the transmitter is
held constantly enabled, while in the RS-485 mode it is enabled only
during transmission (for allowing the host’s transmission in the twowire case).
The RS-232 output swings only between 0 ... +4.5 V. This is enough for
modern PC inputs.The recommended maximum for RS-232 line length
is 100 m (300 ft) with 1200 Bd data rate. Higher rates require shorter
distance, for instance 30 m (100 ft) with 9600 Bd.
NOTE
If you use the WXT520 on an RS-485 bus with other polled devices,
always disable the error messaging feature. You can do this with the
following command: 0SU,S=N<crlf>.
Power Management
The power consumption of the WXT520 varies significantly, depending
on the selected operating mode or protocol, the data interface type, the
sensor configuration, and the measurement and reporting intervals.
Lowest consumption is achieved with the Native SDI-12 mode,
typically about 1 mW in standby (0.1 mA @ 12 V), while with ASCII
RS-232 or Continuous SDI-12 modes it is about 3 mW in standby. Any
sensor measurement, while being activated, adds its own extra
consumption to the standby power.
Some hints for economic power management are given below. The
current consumption values are all defined for 12 V supply. For 6 V
supply, multiply the values by 1.9. For 24 V supply multiply the values
by 0.65 (see Figure 20 on page 44).
-Wind measurement is absolutely the most consuming operation
in the system. So, it all depends on how the wind is to be reported.
If long time averages are needed, the wind must be constantly
measured - then it makes no big difference, which requesting
period or mode is used. Fully continuous wind measurement with
4 Hz sampling rate adds 2 ... 5 mA to the standby current
(depending on the wind and some other climatic conditions). But
for instance 10-second average requested every 2 minutes
consumes 12 times less. And 1 Hz sampling rate makes it further
decrease to one fourth.
-PTU measurement adds approximately 0.8 mA to the standby
consumption. Each single measurement of PTU takes 5 seconds
(including the warm-up period). This can be used for estimating the
average consumption of PTU.
-Continuous precipitation adds some 0.07 mA to the standby
consumption. A single, isolated raindrop causes an additional
0.04 mA to the standby consumption, this condition lasting about
10 seconds (continued, if more raindrops are detected within the
10-second period).
-ASCII RS-232 Standby consumption with baud rates 4800 and
higher is typically 0.24 mA. With a low baud rate selection (1200
or 2400 Bd) this is reduced to less than 0.19 mA. The jumper wires
across TX+/RX+ and TX-/RX- add an extra 0.02 mA (they are
necessary only in 2-wire RS-485 mode).
-ASCII RS-232 Polling mode and Automatic mode have equal
consumption. Thus Automatic mode is a little more economic,
since interpreting the poll takes more prosessing time than starting
the Automatic message. However, care should be taken when
selecting Precipitation Autosend mode, where the submodes M=R
and M=C may cause extra consumption in rainy conditions, as
triggered to send messages by the rain incidents.
-ASCII RS-232 Data transmission adds 1 ... 2 mA to the standby
consumption during the message sending time. Also it should be
noted that the host device's input (data logger or PC) may
constantly draw some current from the TX line.
-RS-485 and RS-422 Data interfaces consume about the same as
RS-232. But with long data cables the consumption during data
transmission may be much higher, especially when termination
resistors are used. On the other hand, the RS-485 driver is in high
impedance state when not transmitting - thus in idle state no current
can be drawn by the host input.
-NMEA modes consume about the same as ASCII modes.
-SDI-12 Native mode (M=S, C=1) has the lowest standby
consumption, about 0.1 mA. Note that it can also be used with RS232 terminals (PC or equivalent), see the SDI-12 connection
diagram in Figure 25 on page 50. In this case the commands must
be in SDI-12 format, but no special line break signals are required.
The SDI-12 mode is for polling only.
-SDI-12 Continuous mode (M=R) consumes about the same as the
ASCII RS-232 mode.
Chapter 5 _______________________________________________ Wiring and Power Management
NOTE
NOTE
If Heating function is enabled, SDI-12 Native mode consumes the
same as ASCII RS-232 mode.
When heating is on (or temperature is such it should be on), some
0.08 mA additional current is drawn from the operational power
supply.
While in Service mode and/or while supplied through the Service port
the WXT520 consumes 0.3 ... 0.6 mA more than in normal mode,
when supplied through the Main port (M12 connector or screw
terminals). When supplied through the Service port the minimum
voltage level for reliable operation is 6V. This can also be seen in the
supply voltage reading of the Supervisor message - the Vs value is 1V
lower than the actual input voltage.
This chapter contains instructions for configuring the communication
with the transmitter.
Communication Protocols
As soon as WXT520 has been properly connected and powered the data
transmission can be started. The communication protocols available in
each of the serial interfaces are shown in the following table.
Table 3Available Serial Communication Protocols
Serial InterfaceCommunication Protocols Available
RS-232ASCII automatic and polled
NMEA 0183 v3.0 automatic and query
SDI-12 v1.3 and SDI-12 v1.3 continuous measurement
RS-485ASCII automatic and polled
NMEA 0183 v3.0 automatic and query
SDI-12 v1.3 and SDI-12 v1.3 continuous measurement
RS-422ASCII automatic and polled
NMEA 0183 v3.0 automatic and query
SDI-12 v1.3 and SDI-12 v1.3 continuous measurement
SDI-12SDI-12 v1.3 and SDI-12 v1.3 continuous measurement
You have chosen the communication protocol (ASCII, NMEA 0183 or
SDI-12) when placing the order. In case you want to check and/or
change the protocol or other communication settings, see the following
sections.
The RS-485 and RS-422 interfaces cannot be directly accessed with a
standard PC terminal. They require a suitable converter. For accessing
the RS-485 interface, you can use the USB RS-232/RS-485 Cable; see
section Connection cables on page 56.
NOTE
RS-232 and SDI-12 can be accessed with a standard PC terminal,
presuming that, for SDI-12, the Data in/out lines have not been
combined inside WXT520.
Connection cables
The connection cable options for WXT520 are listed in the table below.
The USB cables allow the transmitter to be connected to a PC using a
standard USB port. The USB cables also provide operation power to the
transmitter when connected. Note that USB cables do not provide
power to the heating.
Table 4Connection Cable Options
Cable NameConnector on
Sensor End
USB Service Cable (1.4m)M8 femaleUSB type A220614 (also
USB Service Cable Adapter for
WXT510/WMT50
USB RS232/RS485 Cable (1.4m)M12 femaleUSB type A220782
2-meter CableM12 femaleNo connector; open
10-meter CableM12 femaleNo connector; open
10-meter extension cableM12 maleM12 female215952
40-meter cableNo connector; open
NOTE
If you use the USB RS232/RS485 cable for a permanent installation,
WXT510/WMT50
service connector
end wires
Connector on
User End
M8 male221523
end wires
end wires
No connector; open
end wires
Order Code
includes Vaisala
Configuration Tool
software)
222287
222288
217020
it is recommended that you use the WSP152 Surge Protector to protect
the host PC against surges entering through the USB port.
Before taking the USB cable into use, you must install the provided
USB driver on your PC. When installing the driver, you must
acknowledge any security prompts that may appear. The driver is
compatible with Windows 2000, Windows XP, Windows Server 2003,
and Windows Vista.
1.Check that the USB cable is not connected. Disconnect the cable if
you have already connected it.
2.Insert the media that came with the cable, or download the driver
from www.vaisala.com.
3.Execute the USB driver installation program (setup.exe), and
accept the installation defaults. The installation of the driver may
take several minutes.
4.After the driver has been installed, connect the USB cable to a USB
port on your PC. Windows will detect the new device, and use the
driver automatically.
5.The installation has reserved a COM port for the cable. Verify the
port number, and the status of the cable, using the Vaisala USB Instrument Finder program that has been installed in the
Windows Start menu. The reserved ports are also visible in the
Ports section of the Windows Device Manager.
Remember to use the correct port in the settings of your terminal
program. Windows will recognize each individual cable as a different
device, and reserve a new COM port.
There is no reason to uninstall the driver for normal use. However, if
you wish to remove the driver files and all Vaisala USB cable devices,
you can do so by uninstalling the entry for Vaisala USB Instrument Driver from the Add or Remove Programs (Programs and Features
in Windows Vista) in the Windows Control Panel.
The USB Service Cable has a snap-on connector for the M8 connector
of the service port. The service cable connection is recommended for
checking and changing the device settings. When making the changes,
use the Vaisala Configuration Tool or a standard PC terminal program.
The USB service cable is included in the Service Pack 2, see Table 22
on page 145. For a picture of the service cable, see Figure 6 on page 22.
When you connect the USB service cable between the service connector
and PC USB port, the service port settings are forced automatically to
RS-232 / 19200, 8, N, 1. At the same time, the main serial port at M12
connector and at screw terminals is disabled.
1.Make a connection between the USB port of your PC and the M8
service port connector on the bottom plate of the transmitter by
using the USB service cable. See Figure 4 on page 21.
NOTE
2.Open the Vaisala Configuration Tool, or a terminal program.
3.Select the COM port that has been reserved for the USB cable, and
select the following default communication settings:
19200, 8, N, 1.
4.Use the Vaisala Configuration Tool or a terminal program to make
the desired configuration changes. When working with a terminal
program, see section Communication Setting Commands on page
60.
5.When removing the service cable, support the transmitter while
pulling on the snap-on connector. The connection is tight, and it is
possible to change the alignment of the transmitter if you pull too
hard.
Changes in the serial interface/communication protocol/baud settings
take place when disconnecting the service cable or when resetting the
transmitter.
If these settings are not changed during the service connection session,
the original main port settings (at M12 and screw terminals) are
returned as soon as the service cable is disconnected from either end.
Connection Through M12 Bottom
Connector or Screw Terminal
Checking/changing the device settings can also be made through the
M12 bottom connector or screw terminal. Then you have to have know
the communication settings of the device, have a suitable cable between
the device and the host and, if needed, use a converter (for example, RS485/422 to RS-232, if the host is a PC). The factory defaults settings are
as follows:
Table 5Default Serial Communication Settings for M12/
Screw Terminal Connection
Serial InterfaceSerial Settings
SDI-121200 baud, 7, E, 1
RS-232, ASCII19200 baud, 8, N, 1
RS-485, ASCII 19200 baud, 8, N, 1
RS-422 ASCII19200 baud, 8, N, 1
RS-422 NMEA4800 baud, 8, N, 1
You can add the Id information field in the supervisor data message to
provide identifying information in addition to the transmitter address.
See section Supervisor Message on page 123. The information field is
set as part of the factory settings (see General Unit Settings on page
166). You can only modify it using the Vaisala Configuration Tool.
A = ASCII, automatic
a = ASCII, automatic with CRC
P = ASCII, polled
p = ASCII, polled, with CRC
N = NMEA 0183 v3.0, automatic
Q = NMEA 0183 v3.0, query (= polled)
S = SDI-12 v1.3
R = SDI-12 v1.3 continuous measurement
Defines the delay between the last character of the
query and the first character of the response message
from WXT520. During the delay, the WXT520's
transmitter is disabled. Effective in ASCII, polled
and NMEA 0183 query protocols. Effective when
RS-485 is selected (C = 3).
[N]=Name of the device: WXT520 (read only)
[V]=Software version: for example, 1.00 (read only)
Make the desired setting with the following command. Select the
correct value/letter for the setting fields, see Setting Fields on page 61.
See also the examples.
Command format in ASCII and NMEA 0183:
aXU,A=x,M=x,C=x,I=x,B=x,D=x,P=x,S=x,L=x<cr><lf>
Command format in SDI-12:
aXXU,A=x,M=x,C=x,I=x,B=x,D=x,P=x,S=x,L=x!
where
NOTE
A, M, C, I,
B, D, P, S,L
x=Input value for the setting
<cr><lf>=Command terminator in ASCII and NMEA 0183
!=Command terminator in SDI-12
When changing the serial interface and communication protocol, note
the following:
Each serial interface requires its specific wiring and/or jumper settings
described in Chapter 5, Wiring and Power Management, on page 43.
Change first the serial interface field C and then the communication
protocol field M.
Changing the serial interface to SDI-12 (C=1) will automatically
change the baud settings to 1200, 7, E, 1 and the communication
protocol to SDI-12 (M=S).
=The communication setting fields, see Setting Fields
Reset the transmitter to validate the changes of communication
parameters by disconnecting the service cable or using the Reset (aXZ) command, see Reset (aXZ) on page 66.
Changing RS-232 serial interface with ASCII, polled communication
protocol and baud settings 19200, 8, N, 1 to RS-485 serial interface with
ASCII, automatic protocol and baud settings 9600, 8, N, 1.
You can change several parameters in the same command as long as
the command length does not exceed 32 characters (including
command terminator characters ! or <cr><lf>).You do not have to type
those setting fields that are not to be changed.
This command is used to reset the rain and hail intensity parameters Ri,
Rp, Hi and Hp.
Command format in ASCII and NMEA 0183: aXZRI<cr><lf>
Command format in SDI-12: aXZRI!
where
a=Device address
XZRI=Precipitation intensity reset command
<cr><lf>=Command terminator in ASCII and NMEA 0183
!=Command terminator in SDI-12
NOTE
The precipitation counter and precipitation intensity parameters are
reset also when the supply voltage is disconnected, the command aXZ
is issued, precipitation counter reset mode is changed or when the
precipitation/surface hits units are changed.
This section presents the data commands and data message formats for
the ASCII communication protocols.
Abbreviations and Units
For changing the units, see Chapter 8, Sensor and Data Message
Settings, on page 107.
Table 6Abbreviations and Units
AbbreviationNameUnit
SnWind speed minimumm/s, km/h, mph, knots#,M, K, S, N
SmWind speed averagem/s, km/h, mph, knots#,M, K, S, N
SxWind speed maximumm/s, km/h, mph, knots#,M, K, S, N
DnWind direction minimum deg#, D
DmWind direction averagedeg#, D
DxWind direction
maximum
PaAir pressurehPa, Pa, bar, mmHg,
TaAir temperature°C, °F#, C, F
TpInternal temperature°C, °F#, C, F
UaRelative humidity%RH#, P
RcRain accumulationmm, in#, M, I
RdRain durations#, S
RiRain intensitymm/h, in/h#, M, I
RpRain peak intensitymm/h, in/h#, M, I
HcHail accumulation
HdHail durations#, S
HiHail intensity
HpHail peak intensity
ThHeating temperature°C, °F#, C, F
VhHeating voltageV
VsSupply voltageVV
Vr3.5 V ref. voltageVV
IdInformation fieldalphanumeric
1. The letters in the status field indicate the Unit, the # character indicates invalid data.
2. For heating # = heating option is not available (has not been ordered). N = heating option is available
but have been disabled by user or the heating temperature is over the high control limit. V = heating is
on at 50% duty cycle and the heating temperature is between the high and middle control limits. W =
heating is on at 100% duty cycle and the heating temperature is between the low and middle control
limits. F = heating is on at 50% duty cycle and the heating temperature is below the low control limit.
Chapter 7 __________________________________________________ Getting the Data Messages
Device Address (?)
This command is used to query the address of the device on the bus.
Command format: ?<cr><lf>
where
?=Device address query command
<cr><lf>=Command terminator
The response:
b<cr><lf>
where
b=Device address (default = 0)
<cr><lf>=Response terminator.
Example:
?<cr><lf>
0<cr><lf>
If more than one transmitter is connected to the bus, see Appendix A,
Networking, on page 149. If you need to change the device address, see
Changing the Communication Settings (aXU) on page 63.
Acknowledge Active Command (a)
This command is used to ensure that a device is responding to a data
recorder or another device. It asks a device to acknowledge its presence
on the bus.
To change the parameters and units in the response message and to
make other settings, see section Supervisor Message on page 123.
The content of the parameter "Id" is a text string which can be modified
by using the Vaisala Configuration Tool only. Field can include
customer-specific, additional information. For more information on
changing the settings, refer to the Vaisala Configuration Tool on-line
help for the Info field in the Device Settings window.
This command is used to request a combined data message with user
configurable set of wind, pressure, temperature, humidity, precipitation
and supervisor data.
For selecting the parameter set in the response message, see Chapter 8,
Sensor and Data Message Settings, on page 107.
Polling with CRC
Use the same data query commands as in the previous sections but type
the first letter of the command in lower case and add a correct threecharacter CRC before the command terminator. The response contains
also a CRC. For more information about the CRC-computation see
Appendix C, CRC-16 Computation, on page 161.
NOTE
Requesting a wind data message with a CRC:
Command format: ar1xxx<cr><lf>
where
a=Device address
r1=Wind message query command
xxx=Three-character CRC for ar1 command
<cr><lf>=Command terminator
Example of the response (the parameter set is configurable):
Example of asking the CRC for the wind data message query ar1:
Command format: ar1yyy<cr><lf>
where
a=Device address
r1=Wind message query command
yyy=Arbitrary three-character CRC
<cr><lf>=Command terminator
Response:
atX,Use chksum GoeIU~<cr><lf>
where
a=Device address
tX,Use
=Text prompt
chksum
Goe=Correct three-character CRC for the ar1 command
IU~=Three-character CRC for the response message
<cr><lf>=Response terminator
Example of the other data query commands with CRC (when the
device address is 0):
Pressure, humidity and
=0r2Gje<cr><lf>
temperature message query
Precipitation query=0r3Kid<cr><lf>
Supervisor query=0r5Kcd<cr><lf>
Combined message query=0rBVT<cr><lf>
Composite data message query =0r0Kld<cr><lf>
In every case the response contains a three-character CRC before the
<cr><lf>.
For selecting the parameters to be included in the response messages,
changing the units and making other configurations of the measured
parameters, see Chapter 8, Sensor and Data Message Settings, on page
Chapter 7 __________________________________________________ Getting the Data Messages
Automatic Mode
When automatic ASCII protocol is selected the transmitter sends data
messages at user configurable update intervals. The message structure
is same as with data query commands aR1, aR2, aR3 and aR5. You can
choose an individual update interval for each sensor, see Chapter 8,
Sensor and Data Message Settings, on page 107, sections Changing the
Stop the automatic output by changing the communication protocol to
polled mode (aXU,M=P).
Polling commands aR1, aR2, aR3, and aR5 can be used also in ASCII
automatic protocol for requesting data.
Automatic Composite Data
Message (aR0)
When automatic composite data messaging is selected, the transmitter
sends composite data messages at user configurable intervals. The
message structure is the same as with the composite data query
command aR0 and contains a user configurable set of wind, pressure,
temperature, humidity, precipitation and supervisor data.
For selecting the parameter set in the response message, see Chapter 8,
Sensor and Data Message Settings, on page 107.
Automatic composite data messaging is a concurrent, not an alternate
mode to either the polled or automatic modes.
SDI-12 Protocol
There are two different modes available for providing all the
functionality of the SDI-12 v1.3 standard.
The lowest power consumption is achieved with the Native SDI-12
mode (aXU,M=S), as it makes measurements and outputs data only
when requested. In this mode all the commands presented in this
chapter are available except those for the Continuous measurement.
In the Continuous mode (aXU,M=R) measurements are made at user-
configurable update intervals, see Chapter 8, Sensor and Data Message
Settings, on page 107. The data is outputted on request. In this mode all
the commands presented in this chapter are available.
For changing the message parameters, units and other settings, see
Chapter 8, Sensor and Data Message Settings, on page 107.
In the Native SDI-12 mode (aXU,M=S) the WXT520 is in idle state
most of the time (power consumption < 1 mW). More power is
consumed only during the measurements and data transmit requested by
the host device. Especially, the wind measurement typically consumes
60 mW average power (with 4 Hz sampling rate), throughout the
averaging period. In the Continuous mode (aXU=M,R) the power
consumption is determined by the internal update intervals of the
sensors and wind averaging time. These have certain limits, so very
long measurement intervals can not be achieved with this mode. Also
the power consumption between the measurements is about three times
that of the Native mode.
Chapter 7 __________________________________________________ Getting the Data Messages
Address Query Command (?)
This command is used to query the address of the device on the bus.
If more than one sensor is connected to the bus, they will all respond,
causing a bus collision.
Command format: ?!
where
?=Address query command
!=Command terminator
The response:
a<cr><lf>
where
a=Device address (default = 0)
<cr><lf>=Response terminator
Example (device address 0):
?!0<cr><lf>
Acknowledge Active Command (a)
This command is used to ensure that a device is responding to a data
recorder or another SDI-12 device. It asks a device to acknowledge its
presence on the SDI-12 bus.
This command changes the device address. After the command has
been issued and responded to, the sensor is not required to respond to
another command for one second time in order to ensure writing the
new address to the non-volatile memory.
Command format: aAb!
where
a=Device address
A=Change address command
b=Address to change to
!=Command terminator
The response:
b<cr><lf>
where
b=Device address = the new address (or the original
mmmmmm =6 characters specifying the sensor model number
vvv=3 characters specifying the firmware version
xxxxxxxx=8-character serial number
<cr><lf>=Response terminator
Example:
0I!013VAISALA_WXT520103Y2630000<cr><lf>
Start Measurement Command (aM)
This command asks the device to make a measurement. The measured
data are not sent automatically and should be requested with a separate
Send data command aD.
The host device is not allowed to send any commands to other devices
on the bus until the measurement is completed. When several devices
are connected to the same bus and simultaneous measurements from the
different devices are needed, Start concurrent measurement aC or Start
concurrent measurement with CRC aCC should be used, see the next
sections.
See Examples of aM, aC and aD Commands on page 88.
Command format: aMx!
where
a=Device address
M=Start measurement command
x=The desired sensor to make the measurement
1 = Wind
2 = Temperature, humidity, pressure
3 = Precipitation
5 = Supervisor
If x is left out, the query refers to the combined data
message used for requesting data from several
sensors with just one command. See Examples of
aM, aC and aD Commands on page 88.
!=Command terminator
The response is sent in two parts:
The response part one:
atttn<cr><lf>
The response part two (indicates that the data is ready to be requested):
Chapter 7 __________________________________________________ Getting the Data Messages
NOTE
NOTE
NOTE
For changing the message parameters, units and other settings, see
Chapter 8, Sensor and Data Message Settings, on page 107.
When the measurement takes less than one second, the response part
two is not sent. In WXT520 this is the case in the precipitation
measurement aM3.
The maximum number of parameters that can be measured with aM
and aMC commands is nine (9). If more parameters are to be
measured, Start concurrent measurement commands aC and aCC
should be used (for which the maximum number of parameters to be
measured is 20), see the following sections.
Start Measurement Command with
CRC (aMC)
Command format: aMCx!
This command has the same function as the aM but a three-character
CRC is added to the response data strings before <cr><lf>. In order to
request the measured data, Send data command aD should be used, see
the following sections.
Start Concurrent Measurement (aC)
This command is used when there are several devices on the same bus
and simultaneous measurements are needed from the devices, or if more
than nine (9) measurement parameters are requested from a single
device.
The measured data is not sent automatically and it should be requested
with separate Send data command aD. See Examples of aM, aC and aD
1 = Wind
2 = Temperature, humidity and pressure
3 = Precipitation
5 = Supervisor
If x is left out, the query refers to combined data
message in which the user can request data from
several sensors with just one command. See the
examples below.
!=Command terminator
NOTE
The response:
atttnn<cr><lf>
where
a=Device address
ttt=The measurement completing time in seconds
nn=The number of the measured parameters available
(maximum number is 20)
<cr><lf>=Response terminator
For changing the message parameters, units and other settings, see
Chapter 8, Sensor and Data Message Settings, on page 107.
Start Concurrent Measurement with
CRC (aCC)
Command format: aCCx!
This command has the same function as aC but a three-character CRC
is added to the response data strings before <cr><lf>.
Chapter 7 __________________________________________________ Getting the Data Messages
In order to request the measured data, Send data command aD should
be used, see the following sections.
Send Data Command (aD)
This command is used to request the measured data from the device. See
Examples of aM, aC and aD Commands on page 88.
NOTE
Start measurement command tells the number of parameters available.
However, the number of the parameters that can be included in a single
message depends on the number of characters in the data fields. If all
the parameters are not retrieved in a single response message, repeat
the Send data commands until all the data is obtained.
Command format: aDx!
where
a=Device address
D=Send data command
x=The order of consecutive Send data commands.
Always, the first Send data command should be
addressed with x=0. If all the parameters are not
retrieved, the next Send data command is sent with
x=1 and so on. The maximum value for x is 9. See
aD0 command can also be used to break the measurement in progress
started with commands aM, aMC, aC or aCC.
In SDI-12 v1.3 Continuous measurement mode (aXU,M=R) the
sensor makes measurements at configurable update intervals. The aD
command following the aM, aMC, aC or aCC command always
returns the latest updated data. Thus in aXU,M=R mode issuing
consecutive aD commands may result in different data strings if the
value(s) happen to be updated between the commands.
Examples of aM, aC and aD
Commands
The parameter order in messages is as follows:
Wind (M1): Dn Dm Dx Sn Sm Sx
PTU (M2): Ta Tp Ua Pa
Rain (M3): Rc Rd Ri Hc Hd Hi Rp Hp
Supv (M5): Th Vh Vs Vr Id
Comp (M): Wind PTU Rain Supv (parameters in above order)
The order of the parameters is fixed, but you can exclude any
parameter from the list when configuring the transmitter.
The device address is 0 in all examples.
Example 1:
Start a wind measurement and request the data (all six wind parameters
are enabled in the message):
0M1!00036<cr><lf> (measurement ready in 3 seconds and 6
parameters available)
Chapter 7 __________________________________________________ Getting the Data Messages
Example 2:
Start a concurrent pressure, humidity and temperature measurement and
request the data:
0C2!000503<cr><lf> (measurement ready in 5 seconds and 3
parameters available, for aC command device address not sent as a sign
of a completed measurement)
0D0!0+23.6+29.5+1009.5<cr><lf>
Example 3:
Start a precipitation measurement and request the data:
0M3!00006<cr><lf> (6 parameters available immediately, thus the
device address is not sent)
0D0!0+0.15+20+0.0+0.0+0+0.0<cr><lf>
Example 4:
Start a supervisor measurement with CRC and request the data:
0MC5!00014<cr><lf> (measurement ready in one second and 4
parameters available)
0<cr><lf> (measurement completed)
0D0!0+34.3+10.5+10.7+3.366DpD<cr><lf>
Example 5:
Start a composite measurement and request the data. The configuration
of the parameter set is such that nine (9) parameters are available. Thus
start measurement command aM can be used. Due to the 35-character
limit in response message, aD0 returns only six parameters. The
remaining parameters are retrieved with aD1.
0M!00059<cr><lf> (measurement ready in 5 seconds and 9
parameters available)
Start a composite measurement and request the data. The configuration
of the parameter set is such that 20 parameters are available. Thus Start
concurrent measurement command aC shall be used. Due to the 75character limit in response message, aD0 returns only 14 parameters.
The remaining parameters are retrieved with aD1.
0C!000520<cr><lf> (measurement ready in 5 seconds and 20
parameters available, for aC command device address not sent as a sign
of a completed measurement))
The device can be configured so that all the parameters can be requested
instantly with the command aR instead of the two phase request
procedure of commands aM, aMC, aC, aCC + aD. In this case the
obtained parameter values are those from the latest internal updating
(for setting of update intervals, see Chapter 8, Sensor and Data Message
Settings, on page 107).
For using Continuous measurement commands for all WXT520
parameters (wind, PTU, precipitation, and supervisor) the respective
protocol must be selected (aXU,M=R).
The M=S selection requires use of aM, aMC, aC, aCC + aD
commands, only the precipitation data can be retrieved continuously
(using aR3 command).
Chapter 7 __________________________________________________ Getting the Data Messages
Command format: aRx!
where
a=Device address
R=Start continuous measurement command:
x=The desired sensor to make the measurement:
1 = Wind
2 = Temperature, humidity, pressure
3 = Precipitation
5 = Supervisor
If x is left out, the query refers to the combined data
message used for requesting data from several
sensors with just one command.
!=Command terminator
The response:
a+<data fields><cr><lf>
where
a=Device address
<data
fields>
=The measured parameters in selected units, separated
with '+' marks (or '-' marks in case of negative
parameter values). The maximum number of
parameters to be measured with one reqeust is 15.
Has the same function as the Continuous measurement command aR
but a three-character CRC is added to the response data strings before
<cr><lf>.
Example (device address 0):
0RC3!0+0.04+10+14.8+0.0+0+0.0INy
Start Verification Command (aV)
This command is used to query self diagnostic data from the device.
However, the command is not implemented in WXT520. The selfdiagnostic data can be requested with aM5 command.
This command is used to ensure that a device is responding to a data
recorder or another device. It asks a sensor to acknowledge its presence
on the bus.
Command format: a<cr><lf>
where
a=Device address
<cr><lf>=Command terminator
The response:
a<cr><lf>
where
a=Device address
<cr><lf>=Response terminator
Example:
0<cr><lf>
0<cr><lf>
MWV Wind Speed and Direction
Query
Request the wind speed and direction data with a MWV query
command. For using MWV query the NMEA Wind formatter
parameter in the wind sensor settings shall be set to W (see section
Wind Sensor on page 107). With MWV query only wind speed and
direction average values can be requested. For obtaining min and max
data for speed and direction, see section XDR Transducer Measurement
Chapter 7 __________________________________________________ Getting the Data Messages
Command format: $--WIQ,MWV*hh<cr><lf>
where
$=Start of the message
--=Device identifier of the requester
WI=Device type identifier (WI = weather instrument)
Q=Defines the message as Query
MWV=Wind speed and direction query command
*=Checksum delimiter
hh=Two-character checksum for the query command.
<cr><lf>=Command terminator
The response format:
$WIMWV,x.x,R,y.y,M,A*hh<cr><lf>
where
$=Start of the message
WI=Talker identifier (WI = weather instrument)
MWV=Wind speed and direction response identifier
x.x=
Wind direction value
1
R=Wind direction unit (R = relative)
y.y=Wind speed value
M=Wind speed unit (m/s)
A=Data status: A = valid, V = Invalid
*=Checksum delimiter
hh=Two-character checksum for the response
<cr><lf>=Response terminator
1. Wind direction is given in relation to the devices north-south axis. An
offset value to the measured direction can be set, see section Chapter 8,
section Wind Sensor.
The checksum to be typed in the query depends on the device identifier
characters. The correct checksum can be asked from WXT520 by
typing any three characters after the $--WIQ,MWV command.
Typing the command $--WIQ,MWVxxx<cr><lf> (xxx arbitrary
characters) WXT520 responds
$WITXT,01,01,08,Use chksum 2F*72<cr><lf>
which tells that 2F is the correct checksum for the $--WIQ,MWV
command.
Example of the MWV Query:
$--WIQ,MWV*2F<cr><lf>
$WIMWV,282,R,0.1,M,A*37<cr><lf>
(Wind angle 282 degrees, Wind speed 0.1 m/s)
XDR Transducer Measurement
Query
XDR query command outputs the data of all other sensors except wind.
When requesting also wind data with the XDR command the NMEA
Wind formatter parameter in the wind sensor settings shall be set to T
(see section Wind Sensor on page 107).
Command format: $--WIQ,XDR*hh<cr><lf>
where
$=Start of the message
--=Device identifier of the requester
WI=Device type identifier (WI = weather instrument)
Q=Defines the message as Query
XDR=Transducer measurement command
*=Checksum delimiter
hh=Two-character checksum for the query command.
<cr><lf>=Command terminator
The response includes the parameters activated in the data messages
(see Chapter 8, Sensor and Data Message Settings, on page 107).
1. NMEA-format transmits only numbers as transducer ids. If WXT520
address is given as a letter, it will be shown as a number (0 ... 9, A = 10,
B = 11, a = 36, b = 37 etc.)
The checksum to be typed in the query depends on the device identifier
characters and can be asked from WXT520, see example below.
Example:
Typing the command $--WIQ,XDRxxx<cr><lf> (xxx arbitrary
characters) WXT520 responds
$WITXT,01,01,08,Use chksum 2D*72<cr><lf>
indicating that 2D is the correct checksum for the $--WIQ,XDR
command.
If there are several distinct measurements of the same parameter
(according to the transducer table below), they are assigned with
different transducer ids. For example, minimum, average and maximum
wind speed are measurements of the same parameter (wind speed) so if
all three are configured to be shown in the XDR message, they get
transducer ids A, A+1 and A+2, respectively, where A is WXT520
address aXU,A. The same applies for the wind direction. Temperature,
internal temperature and heating temperature have the same unit, thus
they are assigned with transducer ids A, A+1 and A+2, respectively.
Accumulation, duration and intensity for rainfall and hails are
measurements of the same parameters so they get transducer ids A for
rainfall and A+1 for hails. Rain and hail peak intensities are assigned
with transducer ids A+2 and A+3, respectively.
For example, for a WXT520 with device address 0 the transducer ids of
all the measurement parameters are as follows:
Table 7Transducer IDs of the Measurement Parameters
MeasurementTransducer ID
Wind direction min0
Wind direction average1
Wind direction max2
Wind speed min0
Wind speed average1
Wind speed max2
Pressure0
Air temperature0