
CHAPTER 2 SETUP AND OPERATION
RPC-150 Page 5
4. Press < F2> to return to the immediate mode.
NOTE: Some versions of P C SmartLINK have pull
down menus or will operate differently. Refer
to the SmartLINK manual for the version you
are using.
Downloading programs
To practice downloading a program , type
NEW< return>
Perform the following when using PC SmartLINK:
1. Press the < F1> key to view the main menu.
2. SmartLINK has a buffer which is used to
temporarily store the program. If you followed
these instructions without exiting SmartLINK, the
previously uploaded program is in the buffer and
may be downloaded. However, lets assume you just
started SmartLINK. Press the L key to get the
program from the disk.
3. Enter the filename to get the file.
4. Press D to download the program.
5. Press the < F2> key to return to the program. You
can list the program by typing:
list
or
/
Other communications software
The following is general information when using another
terminal emulation program (Procomm, Windows
Terminal, etc.).
When uploading or downloading files, select ASCII text
format. XMODEM, YMODEM, or other formats are
not used.
CAM BASIC does not know when you are typing in a
program or if something else (laptop or mainfr ame) is
sending it char acters. The upload and download file
does not contain any special control codes, it is sim ply
ASCII characters.
Uploading programs is simply a process of receiving an
ASCII file. You or your program simply needs to send
"LIST" to receive the entire program . The default baud
rate (19200) is rather high. M ake sure your PC and
communications software can work at these bau d rates.
PROCOM M was tested on a 12 Mhz 286 PC and it
worked fine. Windows Terminal on the same PC had
problems at m uch slower baud rates.
Downloading a program requires transmitting an ASCII
file. CAMBASIC is an incremental line compiler. As
you type in (or download) a line, CAMBASIC compiles
that line. The time to compile a line depends upon its
complexity and how many line of code have been
entered.
CAM BASIC must finish compiling a line before starting
the next one. When a line is compiled, a "> " character
is sent by the card. This should be your terminal
programs pacing character when downloading a
program.
If your communications program cannot look for a
pacing prompt, set it to delay transmission after each line
is sent. A 100 ms delay is usually adequate, but your
CAM BASIC progr am may be long and complex and
require mor e time. A result of a short delay time is
missing or garbled program lines.
CAM BASIC sends out escape sequences to clear the
screen. T his sequence may appear as < -; on your
screen. Usually this is not a problem.
COM 1 on the RPC-150 does not recognize the CT S or
RTS lines. The CTS line is NOT pulled high on the
RPC -150. The effect of not rec ognizing these lines is
your PC or terminal cannot hold off the RPC-150' s
transmission. Converse, the RP C-150 cannot hold off
the host from sending it data. Set your terminal program
to not recognize or use the CTS and RTS lines.
Editing programs and program ming hints
Files uploaded or downloaded are simply ASCII DOS
text files. No special characters or control codes are
used. You may create and edit programs using your
favorite word processor or editor. Just be sure to save
files in DOS text form at.
A technique used to further program documentation and
reduce code space is the use of comments in a
Commenti su questo manuale