Editing a-b vbasic programs, Compiling a-b vbasic programs, Customizing nm (cont’d) – Rockwell Automation 2708-NNM Network Manager Software User Manual

Page 42

Advertising
background image

Chapter 5

Advanced Topic

5–6

Editing A-B VBASIC Programs

Supervisor Menu / Change Configuration / File Data Capture /
Directory and File Names

To make sure that NM has been configured to allow editing of files, go to the
Directory and File Names menu. If the name of the editor is E (the default
name), then type in the name of the file editor you’d like to use and press
<ENTER>. Press <ESC> twice then press

<F9>/‘S’

to save the changes.

File Services / Edit a text file

To edit an A-B VBASIC program or any other text file go to the file services
menu and choose the Edit a text file option. You will be prompted for the
name of the text file you’d like to edit, simply type in the path and/or the file
name and press <ENTER>.

To get back to NM just exit out of your editor as you normally would and
you will be returned to NM.

Compiling A-B VBASIC Programs

File Services / Compile a

BASIC

file

To compile an A-B VBASIC program choose the File Services menu from
the Main Menu. Now press

<F7>/‘C’

to compile a program. You will be

prompted for the filename of the program to compile. Type in the filename
(if file ends in .BAS then no extension is required), and press <ENTER>. If
any errors are encountered during compilation NM will alert you to the fact
and ask you if you’d like to see the errors. Answer ‘Y’ to view the errors.

Main Menu or File Services

There are two separate menus that allow downloading of programs to
workstations. Both of these options are identical in performance, but can be
accessed from either the Main Menu or the File Services menu.

To download a program choose one of the two available download options
(both are the same). You will be prompted for the name of the file to
download, type in the filename and extension and press <ENTER>. You are
now prompted for the workstation to download to, either type in a station
number and press <ENTER> or press <ENTER> to send to all
workstations. Any errors occurring during download will be displayed on the
lower portion of the screen.

Customizing NM (cont’d)

Advertising