beautypg.com

Editing a program – Rockwell Automation 2708-NAG Application Generation Software User Manual

Page 31

background image

Chapter 3
Using Application Generator

3 – 21

You can now start creating your program.

The

F5

option is used to generate a A-B VBASIC Program that can be

downloaded into the workstation network.

The

F6

option is used to generate and download using Network Manager

Software (Catalog No. 2708-NNM). The PC must be running NM V5.0 or
later.

The

F7

option transfers you to NM to download you program. Use the

Network Manager Software program to download your generated personality
to your -DH5 workstation.

The

F8 – Temporary DOS Shell

option provides a temporary exit to

DOS. Typing EXIT in DOS will return you to AG.

The

F9 – Exit to DOS

(also

[ALT]

X) option allows you to save your

personality before exiting to DOS.

Entering

[ALT]

E from the keyboard allows you to use the full screen edit

mode to make changes or comments in your program. Full screen edit mode
lets you edit only existing lines in the program under development. You
cannot use it to create new lines.

For example, if you want to edit line 20 of a program, press

[ALT]

E, use the

cursor to move to line 20, then press the

[ENTER]

key and change the

constants or operation instructions on that line.

If you want to insert a line, first press

[ESC]

to return to the default split

screen. Then scroll the program listing until the line immediately preceding
the location of the new line is at the top of the listing window. For example,
if you want to add a new line between the existing lines 20 and 21, position
line 20 at the top of the window. Then select the operation you want to insert
from the menu and follow the prompts at the bottom of the screen. Press

[ENTER]

to accept the new line and insert it in the program.

Important: Be sure to position the program listing in the lower window

carefully before inserting a new line, as the new line will always
appear immediately after the top line in the window.

Note: Use VCHAD.EXE or XCHAD.EXE (if installed) to change the
screen colors on LCD or gas plasma equipped Toshiba laptops to make
highlighted text more visible. VCHAD.EXE is designed for VGA systems,
and XCHAD.EXE is designed for EGA systems.

Editing a Program