4 - running & compiling applications, Introduction, Running a program – Rockwell Automation 2708-NAG Application Generation Software User Manual
Page 32: Compiling and downloading a program, Running & compiling applications
Chapter
4
Chapter 4
Running & Compiling Applications
4 – 1
Running & Compiling Applications
In this chapter you will find information on:
•
Running your program
•
Compiling your program
•
Downloading your program
Once you have typed in your your program, you can run it in the AG
environment (by selecting
[ALT]
R). This offline simulation feature allows
you to thoroughly test your program before downloading it.
When the personality behaves as you expect, save it in its final form. You can
use the personality name in which you have been working, or create a new
one. Use standard DOS file naming conventions when assigning a name. No
extension is necessary, as the AG software adds its own extensions to the
files it creates during compilation.
Once saved in its final form, you can generate an A-B VBASIC program that
can be downloaded into the DH5 network. This program will behave as did
your development personality in the AG environment. Your Network
Manager software should be installed and set up before you begin
downloading.
To compile a downloadable application program:
1. In the Main Operations Menu select
F10 – File (new, load, save,
generate).
2. In the File Operations menu, select either
F6 – Generate and
Download using NM
or
F7 – Transfer to NM to download
.
3. Having selected
F10 – File
you will generate a program that is ready to
download to the Network Manager Software at a later time. Having
selected
F10 – File
, you will be in the process of downloading that
compiled program for immediate use.
Note: For information on setting up and using Network Manager, please
refer to the Network Manager Software User Manual (Publication 2708-802).
Introduction
Running a Program
Compiling and Downloading
a Program