F9 – goto or loop to position, Fl0 – file (new, load, save, generate) – Rockwell Automation 2708-NAG Application Generation Software User Manual

Page 30

Advertising
background image

Chapter 3
Using Application Generator

3 – 20

F9 – GoTo Or Loop To Position

A GOTO is a way of changing the order in which operations are performed
in your program. A program which contains no GOTOs will do one step after
another until it reaches the last step. Then it will stop.

Each GOTO specifies the line number to which the program should advance
when the GOTO operation is reached. You can either key in a line number,
enter a label or use the up and down arrow keys to find where you would like
to go. Press

[ENTER]

when you have made your selection.

When choosing this option, note the prompt on the next to last line of the
CRT
; “Go to line number : ”. You can enter the number or use the up/down
arrows to find the statement and press

[ENTER]

.

Fl0 – File (New, Load, Save, Generate)

When

F10 – FILE

is chosen the Main Operations Menu is replaced with

these options:

Figure 3.21
AG File Operations Menu

The

F2

or

F3

options are for loading or saving your personalities.

A personality name is an 8 character name that contains only the
letters A to Z and 0 to 9. The name is used to create DOS files which
contain the personality.

Select personality names that will make them easy to remember. If you
are in the \ AG directory, you can list all of your personalities from the
DOS prompt by typing : DIR *.AIP

The

F4

option will clear the operations area of the CRT of all program

statements. The area will have only:

<Start of Program>

==>

<End of Program>

Advertising