Termination of an a-b vbasic program – Rockwell Automation 2708-DH5B2L_DH5B4L Attended Workstation User Manual

Page 90

Advertising
background image

an A-B VBASIC Program

Chapter 10

Developing and Running

10–4

Prefix digits 9 and 10 of the network record: are 01. (See Chapter 8 on
responses to Network Directives.) Manual Intervention in an A-B VBASIC
program:

In a normal production use of a workstation, the application program
remains running continuously. Consequently, only limited facilities are
supported for manual intervention.

Sending an > > A command to the terminal will abort any A-B VBASIC
program in progress and generate the “operator abort” BASIC ERROR
message. For more information on commands, refer to Chapter 8.

The > > G command will restart a terminated A-B VBASIC program. It is
ignored if the program is already running.

Note: The program will restart at the beginning not at the point of
termination.

The following are reasons for the absence of a running A-B VBASIC
program:

1. The download of a .LXE file was never started, never completed, or

resulted in an error. The load status display (number 7) should be
consulted (refer to Chapter 4).

2. The program was started but terminated voluntarily by executing an

EXIT, STOP, or SYSTEM statement, or by “reaching the bottom”. We
suggest that if you allow a program to terminate itself, you leave a
descriptive message on the application status display (number 9) before
termination. (See the STAT device later in this manual.)

3. A running program is automatically terminated when any record of a

download (.LXE) file is received. This results in the BASIC ERROR
“New Program Load”, which means “Program aborted due to a new
download”.

4. The program was aborted by the operator using > > A.

5. Power failure.

6. A runtime error occurred.

Loading and Auto-Starting
an A-B VBASIC Program
(cont’d)

Termination of an
A-B VBASIC Program

Advertising
This manual is related to the following products: