Downloading -15 executing -15, Downloading, Executing – Rockwell Automation 1747-PBASE BASIC Development Software Programming Manual User Manual

Page 87

Advertising
background image

Publication 1746-PM001A-US-P

Writing Programs Using the BASIC Development Language 6-15

Downloading

Downloading a file requires that you connect your personal computer to the
module using the configurations described in the SLC 500 BASIC and BASIC-T
Modules User Manual
(publication number 1746-UM004A-US-P). Module
jumpers should be set to support that configuration per the SLC 500™ BASIC and
BASIC-T Modules User Manual
(publication number 1746-UM004A-US-P).

Before downloading, you also must select the correct terminal type through the
Configuration menu (described in Chapter 3) and set up the terminal through the
Setup menu (available when in Terminal mode). For complete details on terminal
setup and downloading, refer to Chapter 9.

Assuming this is done and your configuration is correct, use the following steps to
download a file:

1. Select

Terminal

mode from either the Other menu or from the Toplevel

menu.

2. Select the File menu while in Terminal mode.

3. Select

Download from host to module

.

4. If

second.bdl

was the last file you translated, its translated version

(

second.bas

) is the default file for the download and you need only press

[Enter]

. Otherwise, type in the name of the file you wish to download, in

our case

second.bas

. Remember that you must download a translated file,

meaning it has an extension of .BAS.

Executing

After you have successfully downloaded a file to the module, execute it by typing

RUN

to the right of

>

. To exit the program press [

F3

]. You can interrupt execution

by pressing [

Ctrl C

], unless this interrupt feature has been disabled through

programming. Chapter 9 of this manual describes how to debug a program on the
BASIC or BASIC-T module.

Advertising