Chapter 4 _______________________________________________________________ Installation
VAISALA _______________________________________________________________________ 43
RELAY Command
Set/display the relay control states.
When you type the following:
>RELAY
The result is the following:
RELAYS OFF OFF OFF
All relay controls can be set on by typing the following:
>RELAY ON
Relay control 1 can be set on until ESC is pressed. See the example
below:
>RELAY 1 ON
Initial Settings
Vaisala Present Weather Detector PWD22/52 is typically interfaced to a
host computer or a data logger in an automatic weather observing system.
After the physical connection has been made, the details of the
communication can be configured in the software. Suitable
communication settings depend on the implementation of the whole
system.
By default the sensor is on a polled mode, in other words, a data message
is only sent when the host computer requests one with a special
command. The sensor can also be used in an automatic message mode.
The automatic message mode transmits a new ASCII data message
through the serial line automatically. The interval and message type can
be changed by the user (the AMES command). In addition, the baud rate
of the serial line can be changed to other value, and the data frame can be
selected between 7 data bits, even parity, one stop bit, and 8 data bits, no
parity, one stop bit.
The default communication settings are described in Table 9 below.
Table 9
Default Communication Settings
Setting
Baud rate
Polled or automatic mode, message
type
Sensor ID
Default
9600 bps (7E1)
Polled mode
No ID set