Campbell
Scientific
data
logger
users,
downloadable
example
programs
are
available
at
/downloads/cs140-program-examples
6.4.1
SET
command
The
SET
command
is
used
to
configure
the
CS140
using
the
command
line.
The
SET
command
is
a
single
space
delimited
string
that
can
be
sent
from
any
data
logger
or
computer
equipped
with
an
RS-232
or
RS-485
port.
The
SET
command
accesses
identical
settings
within
the
CS140.
This
command
is
used
to
change
the
default
power
up
state
of
the
sensor.
The
Set
command
is
echoed
back.
Example
of
a
SE
T
command
and
the
echoed
reply:
SET: 0:0 0 2 0 0 10 1 2 1 1 0 0 0 1 9.5 0 0 10000 :E52F:
0 0 2 1000 0 10 1 2 1 1 0 0 0 1 9.5 0 0 10000 0146
Table 6-2: SET transmitted/echoed data
Example
Description
0x02
1
STX
:
Delimiting character
SET
Set command
:
Delimiting character
0
Address based on sensor ID
:
Delimiting character
0
Sensor ID
2
Serial port protocol
0
Serial baud rate
1000
Sensor serial number (only in echoed reply)
0
Luminance units
10
Continuous mode output interval
1
Polling or continuous modes
2
Message format (basic/partial/full)
1
Averaging period
1
Sample timing
0
Dew heater override
CS140 Background Luminance Sensor
19