Low Power Operation; Setting Serial Outputs And Operating Parameters; Setup Using Terminal Program; Command Overview - Young 86004 Instructions Manual

Ultrasonic anemometer
Table of Contents

Advertisement

5.3.4 NMEA
NMEA format provides continuous wind measurements in standard
NMEA marine sentences at 4800 baud. Use RS-485 OUTPUT ONLY
serial output mode with YOUNG Model 06206 Marine Wind Tracker
or other NMEA-capable device.
NMEA FORMAT
$WIMWV,ddd,R,www.w,N,A*cc<CR><LF>
where
ddd
= Wind direction (degrees)
www.w
= Wind speed (knots)
*
= Asterisk (ASCII 42)
cc
= Checksum
<CR><LF> = Carriage return, line feed (ASCII 13, 10)
CHECKSUM is the two-character printable hexadecimal value
generated by taking the exclusive-or of all characters between '$'
and '*'.

5.4 LOW POWER OPERATION

Average current consumption with default settings is about 20 mA.
This configuration uses minimal power and enables all features even
though they may not be used. This is suitable for many low power
applications.
To reduce current consumption further, additional strategies include
disabling unused outputs, using polled serial operation, increasing
the output interval, and limiting the sample count to the minimum
optimal number. Faster baud rates also reduce power by limiting
transmit duration.
6.0 SETTING OUTPUTS AND OPERATING
PARAMETERS
6.1
SENSOR CONFIGURATION WITH 86SETUP PROGRAM
(RECOMMENDED)
The YOUNG 86SETUP program is available from the factory web site
at www.youngusa.com. It provides an easy method for checking and
configuring sensor operation. Install the program on a Windows PC
and follow instructions that appear on the program screen to retrieve
current sensor settings or send new settings.
6.2 SENSOR CONFIGURATION USING A GENERAL-
PURPOSE COMMUNICATIONS PROGRAM
A general purpose text-based serial communications program like
HyperTerminal may be used to manually configure the sensor by
sending simple text commands.
The YOUNG sensor and communication program must operate at
the same baud rate and be properly connected. Sensor RS-232
mode must be enabled. See the RS-232 Wiring diagram, Fig A3,
in Appendix A.
Factory default sensor baud rate is 9600, but may be set to 1200,
4800, 19200 or 38400. Configure the serial communications program
for NO handshaking and 1 start, 8 data, 1 stop bit.
The sensor must be in COMMAND MODE in order to set parameters.
Enter COMMAND MODE by sending three ESC characters (ASCII
27) in quick succession while the sensor is running. When the sensor
is in COMMAND MODE, it sends a '>' prompt character indicated
that it is ready to accept commands.
If the prompt does not appear after sending three ESC characters,
re-check wiring and communication program setup. If the sensor
baud rate is unknown, try sending the ESC characters at each of
the five available baud rates (1200, 4800, 9600, 19200 and 38400).
It is also possible that sensor parameters have been purposely
configured to disable RS-232 mode. If this the case, the following
method must be used.
In order to provide access under all conditions, the sensor always
begins operation at power up with serial communications set to 38400
baud and RS-232 connections enabled. Immediately after power up,
there is a short time window in which to send the ESC characters
and enter COMMAND MODE.
To use this feature, set your serial communication program baud rate
to 38400. Remove power then wait 5 seconds. Re-apply power to
the sensor. The sensor will transmit four asterisks immediately after
power up. After the asterisks appear, send three ESC characters.
The COMMAND MODE '>' prompt should appear.

6.3 COMMAND OVERVIEW

After the '>' prompt appears, send '??' to display a list of available
commands. Send 'RPTV' to report current settings. (Note that some
values in the report are for factory settings cannot be changed by
the user.)
Commands are case sensitive and the exact format must be used.
For example, the SET01nn command requires two digits for the serial
format code. If you send SET014 instead of SET0104 the sensor will
reject the command and indicate an error. End all commands with
a carriage return (ASCII 13). In HyperTerminal, do this by pressing
the ENTER key.
After receiving the carriage return, the sensor will evaluate the
command. Valid commands will be executed. Current settings can be
evaluated at any time by sending RPTV to get a new report.
IMPORTANT NOTE:
The YOUNG 86SETUP program automatically saves all
settings to flash memory when they are sent to the sensor.
Settings that are changed manually must be saved to flash
with the SET77 command.
Page 3
86004-90(G)

Advertisement

Table of Contents
loading

Table of Contents