Campbell 21X Operator's Manual page 17

Micrologger
Table of Contents

Advertisement

OV4.1 SAMPLE PROGRAM
1
I
The
21X
ha$
a
thermistor built into the input
panelthat
nieasures
the paneltemperature and
provides
a
rlference
for
thermocouple
temperaturel
measurements.
In
this example
21X MICROLOGGER OVERVIEW
the 21X is programmed
to
read
the panel
temperature every
5 seconds and send the
results directly
to Final Storage.
TURN ON THE POWER SWITCH AND
PROCEED
AS INDICATED
Key
Display Shows
(lD:Data)
Explanation
HELLO
On power-up, the 21X displays "hello"
while
it
checks
the memory.
after
a few seconds delay
11:111111
The result of the memory
check.
Each digit
represents
a memory socket on the CPU board.
1's indicate good memory, 0's
bad memory
(Section
1.5).
Select mode.
Enter Program
Table
1.
Advance
to execution interval (seconds).
Key 5 second
execution interval.
Enter
the 5 second execution interval and advance
to the
first program instruction
location.
The 21X
prompts
with a
P
when it
is
time to enter
an
instruction number.
Key
in l/O Instruction 17, measure the panel
temperature
in
degrees
C.
Enter
lnstruction
17
and advance to the
first
parameter.
Key
in
the Input Storage location
in
which
to store
the measurement; location
1.
Enter
the location
number.
Note that the 21X
knows how many parameters are associated with
an instruction and will prompt for a new instruction
I
number
when parameter entry
is
completed.
Th4
21X is now programmed to read
the
panel temperature every five seconds and place
thetreading
in lnput Storage location
l.
Before adding any more
instructions, we will start the
propram and display the measurement in lnput Storage.
1
A
5
A
17
A
00:00
01:00
01:0.0000
01:5
01:P00
01:P17
01:0000
1
01:1
A
02:P00
ov-9

Advertisement

Table of Contents
loading

Table of Contents