Part 1. Overview
OV-21
The first example program described program entry one keystroke at a time. This
second example does not specifically tell you to press the ‘
A
’ key. Remember, ‘
A
’
is used to enter and/or advance (i.e. between each line in the example below). The
format used to describe this example is similar to the format used in Edlog.
It’s a good idea to have both the manual and the Prompt Sheet handy when going
through this example. You can find the program instructions and parameters on
the Prompt Sheet and read their complete definitions in the manual.
Sample Program 2
Instruction
#
Parameter
(Loc:Entry)
(Par#:Entry)
Description
*1
Enter Program Table 1
01:60
60 second (1 minute) execution interval
Key ‘#D’ until
01:P00
Erase previous Program before
is displayed
continuing
01:P17
Measure internal temperature
01:1
Store temp in Location 1
02:P14
Measure thermocouple temperature
(differential)
01:1
1 repetition
02:1
Range code (2.5mV, slow)
03:5
Input channel of TC
04:1
TC type: copper-constantan
05:1
Reference temp is stored in Location 1
06:2
Store TC temp in Location 2
07:1
Multiplier of 1
08:0
No offset
03:P92
If Time instruction
01:0
0 minutes into the interval
02:60
60 minute interval
03:10
Set Output Flag 0
The CR10X is programmed to measure the thermocouple temperature every sixty
seconds. The If Time instruction sets the Output Flag at the beginning of every
hour. Next, the Output Instructions for time and average are added.
Instruction
#
Parameter
(Loc:Entry)
(Par#:Entry)
Description
04:P77
Output Time instruction
01:110
Store Julian day, hour, and minute
05:P71
Average instruction
01:1
one repetition
02:2
Location 2 — source of TC temperatures to
be averaged
To obtain daily output, the If Time instruction is again used to set the Output Flag
and is followed by the Output Instructions to store time and the daily maximum
and minimum temperatures, along with the times at which they occur.
Any Program Control Instruction which is used to set the Output Flag high will
set it low if the conditions are not met for setting it high. Instruction 92 above sets