Real-Time Vista Basic Commands - ABB PGC2000 Operation And Service Manual

Process gas chromatograph
Table of Contents

Advertisement

Real-Time Vista BASIC Commands

While all standard Vista BASIC commands are available for use with Real-Time Vista BASIC, the
following commands are specifically for running in real time.
When using Real-Time Vista BASIC, do not use these commands: LPRINT and
DACS_EVT_MSG!
The Real-Time Vista BASIC program can generate LPRINT and DACS_EVT_MSG information
FASTER than it can be processed. This could eat up all of the memory in the GCC.
Time Into Analysis
Description:
Returns the time into analysis.
Syntax: integer = TIA
Comments:
integer is the returned time into analysis; a zero means the analyzer is not
running an analysis.
Example:
0100 TIME = TIA
0200 IF TIME < 49 THEN END
Real-Time Text
Description:
Sends a line of text to the Real-Time Vista BASIC Status Screen
Syntax: RT_TEXT(string)
Comments:
string is the line of text to be sent to the Real-Time Vista BASIC Status
Screen. A total of ten lines are supported, with the newest line printed on
the
Example:
0100 IF ALARM THEN
0110 :RT_TEXT("ALARM EXISTS")
Real-Time Text Clear
Description:
Clears all the text on the Real-Time Vista BASIC Status Screen
Syntax: RT_CLEAR
Example:
0100 RT_CLEAR
Real-Time Input
Description:
Requests input from the user.
Syntax: input = RT_INPUT$(output)
Comments:
output is text to be sent to the Real-Time Vista BASIC input screen. The first
time this command is used the input state on the Vista BASIC Status Screen
changes to PENDING. The operator can now use the third soft key to enter
the input. When the "Exit & Update" key is used, the input status changes to
ENTERED. The next RT_INPUT$ will return the operator-entered string.
input is the operator-entered string; this display will have a length of zero
until the operator enters the string.
Example:
0100 A$ = RT_INPUT$("ENTER SOME TEXT")
0200 IF A$ = 0 THEN END
0300 RT_TEXT("INPUT =" + A$)
10-46
WARNING
bottom of the screen and older lines scrolled up and off.
2000-OSM, F1

Advertisement

Table of Contents
loading

Table of Contents