CS120A and CS125 Visibility and Present Weather Sensors
42
14.2 The SETNC Command
The format of the SETNC command is nearly exactly the same as the SET
command. The only functional difference is that the SETNC command does
not commit the values set into flash memory. This means that the next time the
sensor is power cycled it will revert back to its previous settings. This
command should be used when a setting in the sensor is changed regularly, e.g.
heater functions, as this command avoids the risk of wearing out the flash
storage memory.
This includes communication data rates as well.
14.2.1 Example of a SETNC Command
14.3 The MSGSET Command
The user customisable message format can be configured using the MSGSET
command.
When a valid MSGSET command is issued a MSGGET response comes back
from the sensor.
Example
Bit
Description
0x01
(Hex)
-
SOH
:
-
Delimiting character
MSGSET
-
MSG SET
:
-
Delimiting character
0
-
Sensor ID
:
-
Delimiting character
The following represent 16 bits of a hex value
16
Reserved
15
Reserved
14
Humidity (%)
(1) (2)
13
Temperature (Degrees C)
(1)
12
NWS code
(1)
11
METAR code
(1)
10
SYNOP code
(1)
9
Generic SYNOP
(1)
8
Accumulation
(1)
7
Intensity
(1)
6
Particle count
(1)
5
Sensor serial number
4
Dirty windows values
3
System alarms
2
User alarms
1
Averaging duration
:
Delimiting character
XXXX
Checksum
:
Delimiting character
0x04
(Hex)
EOT
NOTE
SETNC:0:0 1 1 1000 1 0 15000 2 0 M 60 1 2 0 1 1 0 0 0 1 7 80 :XXXX: