Examples of am, ac and ad commands – Vaisala WXT510 User Manual

Page 77

Advertising
background image

Chapter 7 __________________________________________________ Getting the Data Messages

VAISALA _______________________________________________________________________ 75

Examples of aM, aC and aD
Commands

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)

0<cr><lf> (measurement completed)

0D0!0+339+018+030+0.1+0.1+0.1<cr><lf>

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>

NOTE

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.

NOTE

The parameter order in the wind, precipitation and supervisor data
messages are as presented in the parameter selection setting field, see

Chapter 8, Sensor and Data Message Settings, on page 93

.The

parameter order of the temperature, humidity and pressure data
messages are as follows: air temperature, internal temperature, relative
humidity and air pressure. For all sensors check also the bit tables in
the parameter selection fields to see the activated parameters.

Advertising