1 the set command – Campbell Scientific CS125 Present Weather Sensor User Manual
Page 36
CS125 Present Weather Sensor
28
14.1 The SET command
The set command is used to configure the CS125 via the command line. The SET
command is a single space delimited string that can be sent from any data logger
or PC equipped with an RS232 or RS485 port. The SET command and the
‘Device Configuration Utility’ software access identical settings within the
CS125, please refer to the ‘Device Configuration Utility’ section of this document
for a more detailed breakdown of the setting available here. This command is used
to change the default power up state of the sensor. See Section 14.2 if a setting is
going to be changed on a regular basis e.g. heater controls.
See Section 12 for more information on the values used by the `SET’ command.
SET transmitted data
Example
Description
0x02
(1)
STX ^B
(2)
:
Delimiting character
SET
SET
:
Delimiting character
0
Address based on Sensor ID
:
Delimiting character
Sensor ID
User Alarm 1 Set
User Alarm 1 Active
User Alarm 1 Distance
User Alarm 2 Set
User Alarm 2 Active
User Alarm 2 Distance
Serial Baud Rate
Sensor serial number (read only)
Visibility Units
Message interval
Polling Or Continuous modes
Message Format (Basic/Partial/Full)
RS232 or RS485 serial communications enabled
Averaging Period
Sample timing
Dew heater override
Hood heater override
Dirty window compensation
CRC checking on received commands
Sensor power down voltage
Relative humidity threshold
:
Delimiting character
XXXX
Checksum (use the valid CCITT checksum)
:
Delimiting character
0x03
(1)
ETX ^C
(2)
0x0D
(1)
Carriage return
0x0A
Line feed
(1) These values are shown in hexadecimal format not ASCII.
(2) As entered on a keypad.