Remote-processing RPC-330 Bedienungsanleitung Seite 12

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 48
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 11
SAVING PROGRAMS SECTION 3
Page 3-2 RPC-330
The time it takes save a program depends upon the
length and complexity of the program and flash EPROM
type. Programming rate is roughly 600 bytes/second. If
the program is not successfully saved to EPROM, an
error message will appear.
Saving a program overw rites the pr evious one. There is
no way to recover the old one since both occupy the
same space.
Using SAVE without any parameters is the same as
typing SAVE 0.
When a 512K (29C040) EPROM is installed in U6, the
SAVE segment parameter is 0 - 7 (512K). EXECUTE
loads and runs the program in the segment specified by
SAVE. A 32K (29C256) EP ROM can run just one
program.
Make the following modifications to the above program
as instructed to see how one program can call another.
There must be a 512K EP ROM installed to run this
code.
Add the following lines:
10 PRINT "Program segment 0"
60 EXECUTE 1
Now type:
SAVE 0
Now m odify lines 10 and 60 as follows:
10 PRINT "Program segment 1"
60 EXECUTE 0
Now type:
SAVE 1
To see the programs operate, type RUN. To stop program
execution, press < Ctrl-C> .
You may notice there is a slight pause between the
printed hello' s and program segment number . This is
the time it takes to clear memory and load the program.
Loading and clearing take appr oximately 0.25 seconds in
a very small program and several seconds in a very large
program.
AUTORUNNING
To autorun a program:
1. Make sure there is a program in EPROM (from
above). When using a 512K size EPROM, make
sure the start up program was saved to segment 0.
2. Remove jumper W9.
Push the reset button. The program will run. If there
are any error s, the program will stop (assuming you
have not trapped them with ON ERROR) and display the
error m essage. EX ECUTE n may be used w ithin any
program to load and run another program. The EPROM
size must be a 128K or 512K.
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> or < Ctl-C> keys.
To prevent autorun, install jumper W9 before power up
or reset.
LOADING A 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 in autorun,
modifications can be made without affecting the program
in EPROM. Use the LOAD or LOAD n comm and to
transfer the EPROM program to RAM.
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.
CHANGING EPROM SIZE
The RPC-330 normally comes with a 32K or 512K flash
EPROM . The size may be changed at any time. Set
W2 according to the type/size.
Type Size W2
Bytes Configuration
29C256 32K [3-5], [4-6]
29C010 128K [3-5], [2-4]
29C040 512K [1-3], [2-4]
Seitenansicht 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 47 48

Kommentare zu diesen Handbüchern

Keine Kommentare