Remote-processing RPC-2300 Bedienungsanleitung Seite 11

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 36
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 10
CHAPTER 3 SAVING PROGRAMS
RPC-2300 Page 9
To autorun a program:
1. Make sure there is a program in EPROM (from
above).
2. Make sure the autorun jum per W 1 [9-10] is
installed.
If you push the reset button, the program should
autoexecute. If there are any errors, the program will
stop (assuming you have not trapped them with ON
ERROR) and display the error message.
PREVENTING AUTORUN
When troubleshooting a program, it' s not always
convenient for an autoexecute file to r un. This is
especially true if the program has been configured to
ignore the < ESC> key. To prevent autorun, remove
jumper W1[9-10].
Later, if you wish to SAVE or LOAD a program,
reinstall this jumper. You may do so even if the power
is on and a program is running. Remember to discharge
any static electricity before installing or removing the
jumper.
LOADING AN EPROM PROGRAM
There are tim es when y ou may w ish to tempor arily
modify or otherwise test out a change to a program.
Since the program is loaded into RAM, modifications
can be made without affecting the program in EPROM.
If you find out that modifications are not desirable or did
not work, you can restore the original program to RAM
using the LOAD command.
SAVING DATA TO EPROM
Additional data, such as strings and constants, can be
saved to the EPROM in U3. An external EPROM
programm er is used to sa ve data to the E PROM. Data
cannot be saved to U3 through CAM BASIC II.
Data is saved at the top of the EPROM memory. The
upper 2K bytes are always available as RAM memory
size absolutely limits the program to 30K.
If you need more than 2K bytes of data, you can save
data "on top" of the CAMBASIC II program in U3. A
good way to determ ine how m uch mem ory is available is
to perform a PRINT SYS(0) in the immediate mode
(program not running). Subtracting 31900 from the
number of bytes r eturned will tell you the app roxim ate
number of bytes available for data.
The best way to make sure your data will not write over
the program is to perform the following steps:
First, put a remark statement that you can recognize.
One suggestion is "End of the program". Next, save
your program to the EPROM using the CAMBASIC II
SAVE com mand.
Remove the EPROM and read it from your EPROM
programmer. Using your program mer, go into the mode
where you can examine data. Look for the remark
statement at the end of the program. Instruct the
programmer to put your data starting at the next even
page boundary (for example 5000H, 5100H, and so on).
COMMANDS
The following is a list of CAMBASIC II commands used
for saving and loading programs.
Command Function
LOAD Transferrs progr am from U3 to
RAM for editing or running.
SAVE Saves a program from RAM to
U3 for autorun.
Seitenansicht 10
1 2 ... 6 7 8 9 10 11 12 13 14 15 16 ... 35 36

Kommentare zu diesen Handbüchern

Keine Kommentare