Message Polling - Vaisala PWD22/52 User Manual

Vaisala present weather detector
Table of Contents

Advertisement

Chapter 5 ________________________________________________________________ Operation
VAISALA _______________________________________________________________________ 55

Message Polling

In the polled (CLOSEd) mode, PWD22/52 sends a data message when
the host computer transmits a polling command. The message polling
mode is selected with the following command:
AMES Message_number 0
where
Message_number
Message_interval
For example:
AMES 0 0
The above command selects message 0 for default answer for the polling
and cancels the automatic sending.
The polling command format is the following:
PW id message_number
C
E
R
Q
where
C
R
E
Q
id
message number
C
R
When the PWD22/52 unit number one (ID=1) is polled for message
number 3 (status), the command format is the following:
C
E
C
PW 1 3
R
Q
R
This format can be used in all cases.
Use character 1 as the ID if the ID has not been set but a specific
message type is polled. This is to enable the PWD22/52 software to
distinguish the ID from the message number.
=
Valid range 0 ... 7. Selects the corresponding
message as the default polled message. Any
negative message number is converted to 0.
=
Negative or zero interval is used to disable the
automatic sending. This is used when messages
are polled.
C
R
=
ASCII character 13 hex (Carriage Return)
=
ASCII character 05 hex (CTRL-E).
=
Selected in the configuration.
=
This is optional.
=
ASCII character 13 hex (Carriage Return)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pwd22Pwd52

Table of Contents