Wd command, Wf command – Vaisala WS425FG User Manual

Page 49

Advertising
background image

Chapter 4 ________________________________________________________________ Operation

VAISALA_______________________________________________________________________ 47

WD Command

This command reports the status of the BITs. The command format is:

WD CR LF

The command is intended to be sent by the host system to get a concise
report on the pass/fail status of all Built-In Tests. The response is the
following:

STX WD PPPPPPPPPPPP CS ETX CR LF

For a complete order, description and test limits for each pass/fail status
reported, see section

WS Command on page 45

.

WF Command

The command format is:

WF CR LF

The WF command returns a fixed pattern of data. This command is
typically used to verify the communications link. The data fields are
fixed at the following values:

where
STX

= ASCII start of test control character (position 1)

WD

= command identifier (positions 2,3)

P or F = Pass/Fail for 12 built in tests specified in WS command

above in the order shown in the WS command text
(positions 4-15).

CS

modulo 256 hexadecimal checksum of all characters from
position 2 through the last P or F (positions 16,17)

ETX

ASCII end of text control character (position 18)

CR

ASCII carriage return control character (position 19)

LF

ASCII line feed control character (position 20)

Status

=

F

Wind direction

=

678

Advertising