Download Remote Processing Coorporation RPC-320 User`s manual
Transcript
SETUP AND OPERATION CHAPTER 2 The following setup files are on the 2350 applications disk. Use these to quickly set up yo ur ter minal. Uploading programs is simply a process of receiving an ASCII file. Y ou or your progr am simply needs to send "LIST" to receive the entire program. CAMBASIC.TRM CAMBASIC.HT Downloading a program requires transmitting an ASCII file. CAMBASIC is an incremental line compiler. As you type in (or download) a line, CAMBASIC com piles that line. The tim e to comp ile a line depend s upon its complexity and how many line of code have been entered. Windows terminal Hyper terminal You may have to change the CO M port to match your system. T hese set up files put the terminal in the following configuration: Baud: Parity: Data: Stop: Flow: Line delay: 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 program s pacing character when downloading a program. 19200 none 8 bits 1 bit None 0.01 sec Do NOT use FIFO buffers in HyperTerm. 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 requir e mor e time. A resu lt of a short de lay time is missing or gar bled progra m lines. Editing, downloading, and pasting are easy using Notepa d or W ordpad . T hese pro gram s allow you to e dit a program, save it, then download it using HyperTerm. Download code using text transfers. To change a portion of code, you can m ake the change then copy the new line. In HyperTerm , select Edit, then Paste to Host and the new line will be sent. Terminal does not have this feature. If you are writing code without line num bers, be sure to p ut the line num ber in first. In all cases, you will have to hit < Enter > to finish the line. COM 1 on the RPC-2350 does not recognize the CT S or RTS lines. The CTS line is pulled high on the RPC2350. The effect of not recognizing these lines is your PC or terminal cannot hold off the RPC-2350' s transmission. C onverse, the RP C-2350 cannot hold off the host from sending it data. D E V EL O P IN G P RO G R A M S I N W IN D O W S When you save a program , be sure to save it as a text file. Wordpad tends to be a little more annoying than Notepa d because it alw ays asks you w hat kind of file to save it as. Notepad does not. These program s may append a .txt extension to the file name. This is OK. Programs can be completely written and downloaded using programs norm ally available in Microsoft Windows. The two program s you need are a terminal program (HyperTer m or Ter minal) and an editing progr am (N otepad, Wor dpad, Wor d, e tc.). Both program s can be open at the same time, ma king editing and changing just that much easier. Just switch between the two programs (using < Alt> -< Tab> or clicking the task bar). When using the line edit feature in CAMBASIC you may see some extra characters and num bers on the display. Try to ignore them as best you can. EDITING PROGRAMS AND HINTS Versions of Word will not let the terminal program open the file you are wor king on. Y ou actually have to close the file in Wo rd befor e you can do wnload it. Files uploaded or downloaded are simply ASCII DOS text files. No special characters or control codes are used. You m ay create and edit programs using your favorite word processor or editor. Just be sure to save files in DO S text form at. There are tw o ways you can write CA MBASIC progr ams: With or without line num bers. Even this is not hard and fast as you can write using a mixture. 2-6