beautypg.com

0 setting outputs and operating parameters – Young Ultrasonic Anemometer Marine Model Model 85106 User Manual

Page 7

background image

Page 4

85106-90

aI!

a13 YOUNG 85000 v1.00

aAb!

b

a = Sensor address

b = New sensor address

aV!

a0004

Retrieve V data with D command.

Response listed next.

aD0!

a+sc+fmt+thresh+damp

a = Sensor address

sc = sample count 0-99

fmt = SDI-12 format 0=CONT, 1=STANDBY

thresh = Polar threshold (cm/s)

damp = Damping factor

aX1nn!

None. nn = Sample count 00 or 03-31

aX2n!

None. n =SDI-12 format 0 = CONT

1 = STANDBY

aX3nnn!

None. nnn = Polar threshold 0-999 cm/s

aX4nn!

None. nn = Damping factor 0-99

5.4 LOW POWER OPERATION

Average current consumption with default settings is about 150

mA. This configuration uses no power conservation and enables

all features even though they may not be used. Average current

consumption with once-per-second ASCII serial output and typical

power conservation settings is about 30 mA. This is suitable for

many low power applications.

To reduce current consumption further, additional strategies must

be employed. These include disabling unused outputs, using

polled serial operation, increasing the delay between samples, and

limiting the sample count to the minimum optimal number. Faster

baud rates reduce power by limiting transmit duration.

Lowest power consumption is realized with SDI-12 output format.

However, this requires use with an SDI-12 compatible data logger.

With SDI-12, the average current consumption may easily be

reduced to less than 12 mA during measurements and 320 uA in

standby.

6.0 SETTING OUTPUTS AND OPERATING

PARAMETERS

6.1 SETUP WITH YOUNG 2DSETUP PROGRAM

(RECOMMENDED)

The 2DSETUP program supplied with the sensor provides an easy

method for checking and changing operating settings in the model

85000. Simply install the program on a Windows PC. Follow the

instructions to get the current settings from the sensor, change

settings, and send the new settings to the sensor.

6.2 SETUP USING ANOTHER COMMUNICATIONS PROGRAM

If desired, a serial communications program like HyperTerminal

may be used. Parameters are set using simple commands. A

limited number of parameters may also be set using SDI-12

commands.

For serial communication, the sensor and communication program

must be at the same baud rate and the sensor must be properly

connected. The default baud rate is 9600 but may be set to 1200,

4800, or 38400. Either RS-232 or RS-485 full duplex may be used.

Set hardware handshaking to 'NONE' in your communications

program and use 1 start, 8 data, 1 stop bit.

Except for SDI-12 format, the sensor must be in COMMAND

MODE in order to set parameters. COMMAND MODE is activated

by sending three ESC characters (ASCII 27) in quick succession

while the sensor is running. To signify that the sensor is ready to

accept commands, a

'>' prompt character will appear.

If the prompt does not appear after receiving three ESC characters,

re-check the wiring and communication program setup. If the

sensor baud rate is unknown, try sending the ESC characters

at each of the four available baud rates (1200, 4800, 9600, and

38400). It is also possible that parameters have been set to

purposefully disable RS-232 or RS-485 connections. 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 four second time window in which to send the

ESC characters and enter COMMAND MODE.

To use this feature, set a serial communication program (such

as HyperTerminal) to 38400 baud with no handshaking. Apply

power to the sensor (the sensor must be off for about 30 seconds

before power up). The sensor will transmit

"***" (three asterisk

characters) immediately after power up. Now send the three ESC

characters. The COMMAND MODE

'>' prompt should appear.

6.3 COMMAND OVERVIEW

At the prompt, type

'??' to display a list of available commands

and their format. Type

'RPT' to report current settings. (Note that

some values in the list cannot be set by the user.) Commands are

case sensitive and the exact format must be used. For example,

the

SET02nn command requires two digits for the serial format

code. If you send

SET023 instead of SET0203, the sensor will

reject the command and indicate an error. Terminate all commands

with a carriage return (ASCII 13). In HyperTerminal, do this by

pressing the ENTER key.

When RMYT, NMEA, or SDI-12 serial format is selected, some

parameters are automatically changed. This may change the baud

rate from its current setting. See section 6.4.2 for details on which

parameters are altered.

Although new parameter values are stored immediately when the

command is issued, they do not take effect until the sensor enters

OPERATE MODE.

COMMAND

DESCRIPTION

SET01nn Set OUTPUT MODE

01

Enable voltage output

02

Enable RS-232

04

Enable RS-485 full duplex

08

Enable RS-485 half duplex

16

Enable RS-485 output only

SET02nn Set OUTPUT FORMAT

01

RMYT (default)

02

ASCII

03

ASCII POLLED

04

NMEA

05

SDI-12 CONTINUOUS

06

SDI-12 STANDBY

SET03nn Set BAUD RATE

12

1200

48

4800

96

9600

38

38400

SET04nn Set ASCII WS UNITS

01

MPH

02

KNOTS

03

KMPH

04

M/S

SET05c

ASCII character sensor address (0-9, A-Z, a-z)

SET06nnn

Wind speed threshold for polar output (cm/s)

SET07nnnnn Wind speed scale (nnnnn/10000)

SET08nnnnn Direction offset (±nnnnn degrees x 10)

SET09nn

Damping factor

SET10nnn

Output delay (0-999 x 8.192 milliseconds)

SET11nn

Direction VOUT (36=0-360, 54=0-540 degrees)

SET12nn

Sample count (00=auto or 03-31)