Basic display set basic modules – Rockwell Automation 8520-9API 9/Series OCI API Developer's Guide User Manual
Page 28

3–7
OCI Basic Display Set (BDS)
Publication 8520-6.6 - August 1999
•
PAL/Logic Messages (PALMSG.FRM) – This form resides just
below the display form and is used to display any messages sent
from the PAL/Logic to be displayed on lines 21 and 22 of the
BDS. This form is loaded by MAINMDI.FRM. Line 1
PAL/Logic messages are displayed on the SYSTEM.frm, Line
13–19 PAL/Logic messages are displayed on the
MESSAGES.frm.
•
Softkey Form (SOFTKEYS.FRM) – This form resides at the
bottom of MAINMDI.FRM. It is used to handle softkey display
and loads and unloads display forms as needed. This form is
loaded by MAINMDI.FRM.
In addition to the standard forms several basic modules can be found
in the ABOCI.VBP. The function of these basic modules is:
This Basic Module:
Is Used To:
GLOBAL.BAS
Manages general global data such as screen size,
font sizes, error handling and identifies general
information about the CNC connected to the OCI.
LANGUAGE.BAS
Manages transition between languages and
changes between the different text files for the
different languages.
OPT_NUMS.BAS
Defines constants used by the BDS to enforce
option PAL capabilities removing softkeys and
screens for features not supported on the system.
PD_NUMS.BAS
Defines constants used by the BDS to navigate the
softkey tree
PR_NUMS.BAS
Defines constants used by the BDS to refer to
prompt text strings.
SK_NUMS.BAS
Assigns text names to the softkey numbers returned
by the softkey module per row of softkeys.
SOFTKEYS.BAS
Uses a case statement to identify what action should
be taken when a specific softkey is pressed.
SR_NUMS.BAS
Assigns text names to the screen numbers returned
by the softkey module.
Basic Display Set
Basic Modules