5 message related commands, 1 automatic and polled message sending – Campbell Scientific PWS100 Present Weather Sensor User Manual

Page 72

Advertising
background image

Section 7. Operation

FIGURE 7-30. Done menu

7.5 Message Related Commands

Messages can be set for a variety of output types, including fixed standard
types and user defined types. The system can be set up to send automated
messages at user defined intervals, or can be used as a user polled system.

7.5.1 Automatic and Polled Message Sending

While the command mode is closed, the PWS100 will operate by sending data
output as set by the user in either automatic or polled modes (see Section 7.3.3,
Message Polling for a description of the manual data polling command).

To define the output parameters and fields, use the MSET command with the
Message_ID, Message_Interval, Message_Mode and Message_Fields
parameters as follows:

MSET Message_ID Message_Interval Message_Mode
Message_Fields

e.g., MSET 0 3600 0 105 106

In order to ensure that output is as required, the Message_ID,
Message_Interval, Message_Mode and Message_Fields parameters must be
defined.

Three Message_IDs 0, 1 and 2 can be defined to provide the scope for different
output types to be given at different time intervals (e.g., Message_ID 0 can be
defined with a 15 second interval, whereas Message_ID 1 can have a 60 second
interval). Then every 15 seconds the message defined by Message_ID 0 will be
output, additionally every 60 seconds the message defined by Message_ID 1
will be output. Each Message_ID should be defined as a separate command.

7-36

Advertising