
Part 1. Overview
OV-17
on the CR10KD Keyboard/Display or call the CR10X with the computer during
the power-up sequence (i.e. while ‘HELLO’ is displayed on the CR10KD).
Before we enter a programming example we will ensure that there is no active
program in the CR10X by loading an ‘empty’ program using the *D mode:
Press these Display will show
Explanation of this
keys:
(ID: Data):
step:
*
00:00
Enter a functional mode
D
13:00
Enter the *D mode
7
13:7
7 is the command which loads the program from
flash memory
A
7:00
Execute command 7 – the CR10X is now ready to
to receive program
0
07:0
Load program 0 (‘empty’ program)
A
Execute program load — after a short wait
display will show:
13:000
Indicates that the command is complete
OV5.1 Sample Program 1 (Direct Programming)
In this example the CR10X is programmed to read its own internal temperature
(using a built-in thermistor) every five seconds and to send the results to Final
Storage.
Press
Display will
Explanation of this
these
will
show
step:
keys:
(ID: Data):
*
00:00
Enter a functional mode.
1
01:00
Enter Program Table 1.
A
01:0.0000
Advance to execution interval (in seconds)
5
01:5
Key in an execution interval of five seconds.
A
01:P00
Enter the five second execution interval and
advance to the first program instruction location.
17
01:P17
Key in Instruction 17, which directs the CR10X to
measure the internal temperature in degrees C.
This is an Input/Output Instruction.
A
01:0000
Enter Instruction 17 and advance to the first
parameter
1
01:1
The input location to store the measurement,
location 1.
A
02:P00
Enter the location number and advance to the
second program instruction.
The CR10X is now programmed to read the internal temperature every five
seconds and place the reading in Input Storage location 1. The program can be
compiled and the temperature displayed.