Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
REV M
I/A Series
Display Engineering for
FoxView Software and Display Manager Software
September 28, 2007
Invensys, Foxboro, FoxDraw, FoxSelect, FoxView, and I/A Series are trademarks of Invensys plc, its
subsidiaries, and affiliates.
All other brand names may be trademarks of their respective owners.
Tables..................................................................................................................................... xi
Preface................................................................................................................................. xiii
Audience ................................................................................................................................ xiii
Revision Information ............................................................................................................. xiii
Reference Documents ............................................................................................................ xiii
Conventions ........................................................................................................................... xiv
1. Overview ........................................................................................................................... 1
Multiple Instances of FoxView, Display Manager and Alarm Manager ..................................... 1
Designing Displays Using ExpertSelect Functionality ............................................................... 1
Setting Display Resolution and Colors 70 Series .................................................................... 2
iii
B0193MQ Rev M Contents
4. ExpertSelect..................................................................................................................... 23
Display Manager ExpertSelect Functionality ........................................................................... 23
Evaluation of Object Manager Data Values in Display Commands .................................... 24
Support for Named Actions ............................................................................................... 25
Display Commands Embedded in Display Files ................................................................. 25
Examples ................................................................................................................................. 26
Detail Displays and Faceplates ................................................................................................ 28
iv
Contents B0193MQ Rev M
8. Databases ........................................................................................................................ 55
Display Manager 50 Series Fonts and Markers ........................................................................ 55
Creating Custom Markers for the 50 Series ........................................................................ 57
Expanding Marker Files on WP51 and AW51 .............................................................. 58
Parameter Database df_pdef or dsppdef.dat ......................................................................... 59
Parameter Definition Syntax .............................................................................................. 59
Optional Arguments for Real Parameters ....................................................................... 60
Optional Arguments for Range Parameters .................................................................... 60
Optional String Parameter Arguments ........................................................................... 60
Optional Boolean Parameter Arguments ........................................................................ 60
Optional Packed Boolean/Long Arguments ................................................................... 61
Block Database gdblk50.db or dspblock.dat .................................................................... 62
Database File Layout Requirements ............................................................................... 62
v
B0193MQ Rev M Contents
vi
Contents B0193MQ Rev M
vii
B0193MQ Rev M Contents
viii
Figures
1-1. Setting Display Resolution and Colors .......................................................................... 3
3-1. DM_Usage Display WP51/AW51 ............................................................................. 8
4-1. Generic Overlay Using ExpertSelect Functionality ...................................................... 26
4-2. Group Display Using ExpertSelect Functionality ........................................................ 27
6-1. Examples of Shortcut Menus ....................................................................................... 40
9-1. Convert Display Files Dialog Box ............................................................................... 70
9-2. Assign Pop-up Menu ................................................................................................... 82
0-1. Select Screen Display ................................................................................................... 87
10-1. DMScript Listing ........................................................................................................ 91
10-2. trend_sublist.txt Listing .............................................................................................. 92
10-3. Quarter Screen Trend ................................................................................................. 93
10-4. Trend Object with Assignable Pens ............................................................................. 94
10-5. Quarter Screen Size Trend .......................................................................................... 96
10-6. Trend List Overlay ...................................................................................................... 98
10-7. Trend_Setup Overlay ................................................................................................ 100
10-8. Different Sizes of Trends ........................................................................................... 100
10-9. Default Substitution Text String ............................................................................... 101
10-10. Changed Text String ................................................................................................. 101
10-11. Update_list.dmscript File .......................................................................................... 101
10-12. Online Trend Configurator ....................................................................................... 103
10-13. ScratchPad Trends Shortcut Menu ........................................................................... 104
10-14. Trend Location Overlay ............................................................................................ 104
10-15. Trend Button Name Overlay .................................................................................... 105
10-16. Trend Mode Overlay ................................................................................................ 106
10-17. Group_list Overlay ................................................................................................... 107
10-18. Label Overlay ............................................................................................................ 108
10-19. Default Substitution Text String ............................................................................... 108
10-20. Changed Text String ................................................................................................. 109
10-21. Group_#.dmscript .................................................................................................... 109
10-22. Group Base ............................................................................................................... 110
10-23. Group_config Overlay .............................................................................................. 111
10-24. Online Trend Configurator ....................................................................................... 115
A-1. Initial dmcfg File after Bootup WP51 .................................................................... 118
A-2. Example of WP Configured for Four DMs and Two AMs ........................................ 119
ix
B0193MQ Rev M Figures
x
Tables
8-1. Parameters for FoxView/FoxDraw File dspblock.dat ................................................... 64
8-2. Parameters for Display Manager File gdblk50.db ........................................................ 65
9-1. File Types and Their Extensions ................................................................................. 69
9-2. Standard File Location ................................................................................................ 69
9-3. Color Indices Entries ................................................................................................... 71
9-4. Mapping Information ................................................................................................. 72
9-5. fv_blink.dat File .......................................................................................................... 74
9-6. Menu Definition Files ................................................................................................. 79
9-7. Entries ......................................................................................................................... 81
9-8. Global Variables .......................................................................................................... 82
9-9. Global Variables that Protect System and Process Buttons .......................................... 83
9-10. Global Variables that Protect the On-Line Trend Configurator .................................. 84
10-1. ScratchPad Trend Environment Files .......................................................................... 91
10-2. ScratchPad Group Environment Files ......................................................................... 96
xi
B0193MQ Rev M Tables
xii
Preface
This document provides information needed to develop, convert and install display applications
on 50 Series and 70 Series Workstation Processors (WPs) and Application Workstations (AWs).
The 50 Series workstations use the Solaris operating system. The 70 Series workstations use the
Windows NT or Windows XP operating system. This document describes FoxView soft-
ware (FoxView), Display Manager software, display engineering tools, and display databases
that are available.
In this document, WP/AW means that the information applies to the both the 50 Series and
70 Series workstations. WP51/AW51 means that the information is specific to the 50 Series
workstations. WP70/AW70 means that the information is specific to the 70 Series workstations.
This document includes information for both the FoxView and Display Manager applications.
Where information applies to both applications, the term display window is used. When infor-
mation applies to only one of these applications, the specific application is referenced
Audience
This document is intended for process and software engineers who are responsible for developing
display applications and deploying them to I/A Series workstations. You only need to be familiar
with the operating system of your workstations.
Revision Information
For this revision of the document (B0193MQ-M), the following change has been made to reflect
FoxView/FoxDraw Software Version 9.0.3 and Version10.2:
Updated lines in the Initial environment file \opt\fox\env\Initial.dbr on
page 34.
Reference Documents
Refer to the following documents for additional information:
FoxView Software (B0193WH)
FoxDraw Software (B0193WG)
Display Commands (B0193DF)
Display Engineering Utilities (B0193WU)
Process Operations and Displays (B0193MM)
System Operations Guide (Windows NT Operating System) (B0400CR)
Display Builder for 50 Series Workstations (B0193MP)
Display Configurator (B0193AR)
Display Reporter and Connection Editor (B0193JN)
Group Object Editor for Displays (B0193DV)
xiii
B0193MQ Rev M Preface
Conventions
The following conventions are used in the command descriptions in this document:
The term FoxView/DM means FoxView or Display Manager.
Arguments within square brackets [ ] are optional.
Arguments that appear in italics are replaced by actual string or numerical values.
A vertical line ( | ) indicates OR. For example, a | b means a or b.
Braces { } delimit a set of choices from which the user must choose one.
In all cases, the command syntax is one continuous string (no embedded carriage
returns).
Multiple commands are separated by semicolons.
xiv
1. Overview
This chapter describes the use of multiple instances of FoxView, Display Manager and Alarm
Manager. Brief descriptions of the ExpertSelect feature and display conversion are also
provided.
1
B0193MQ Rev M 1. Overview
2
1. Overview B0193MQ Rev M
3
B0193MQ Rev M 1. Overview
4
2. Dual-Headed Workstations
This chapter describes the use of dual-headed workstations.
5
B0193MQ Rev M 2. Dual-Headed Workstations
6
3. Multiple FoxViews, Display
Managers, and Alarm Managers
This chapter provides detailed descriptions of how you configure and use multiple instances of
FoxView, DM and AM.
A WP/AW station is capable of supporting multiple instances of FoxView, DM and AM. Each
instance is totally independent of all others. Unlike FoxView and DM, which provide one display
window, each AM provides a set of six alarm display windows and an operations display window.
A FoxView/DM display window and set of AM alarm display windows can be individually con-
figured to be displayed on:
The same monitor
Either monitor of a dual-headed workstation
A remote terminal running X-Window System
Remote terminal server client.
A WP/AW station comes standard with a license for a single FoxView/DM which starts up auto-
matically at boot time and a corresponding license for a single AM. Additional FoxView/DM
licenses must be purchased. Each FoxView/DM license comes with an AM license.
NOTE
Though licensing allows one AM to be run per FoxView/DM on a workstation,
memory constraints and the computing power of the individual workstation may
limit the usefulness of configuring a one to one relationship of FoxViews/DMs to
AMs. With the functional capability of a single AM providing access to multiple
alarm windows, a more beneficial configuration may be to have multiple
FoxViews/DMs configured to access the same AM. See Alarm Manager Consider-
ations on page 8.
7
B0193MQ Rev M 3. Multiple FoxViews, Display Managers, and Alarm
8
3. Multiple FoxViews, Display Managers, and Alarm Managers B0193MQ Rev M
Each connectable AM display is limited to one OM list, which holds a maximum of 255 points.
Each alarm can require two points in the list, one for the block alarm status parameter (ALMSTA)
and one for the analog parameter that is in alarm (for example, MEAS). If multiple alarms exist
within the block, the AM optimizes the number of points in the list by sharing the ALMSTA
point between the two alarm entries. Unlike the DM, the AM connections are dynamic in nature.
They are dependent upon which control stations have generated alarms to the workstation at a
particular time and which are currently in view on a display. An hour later, the same AM display
may be connected to an entirely different set of control stations. The AM adds OM connection
points to the open list only for alarms that are being shown in the display. For example, a New
Alarm Summary display may contain 436 alarm entries, but only 30 of them are available in the
display window. Therefore, the AM would add points to the list associated with only those 30
alarm entries.
When an alarm has a connection that is no longer displayed, the AM deletes the connection for
that alarm, but not immediately. Because alarms can oscillate, certain rules are in place to prevent
any unnecessary addition and deletion of connection points because this places a burden on the
system.
The following are some caveats associated with AMs OM list manipulation logic:
1. An alarm must be present in the display window for a minimum of two seconds
before the AM starts to add connection points for it. This prevents extraneous con-
nections being made when an operator is scrolling through one of the displays.
2. An alarm must be off the display window for a minimum of thirty minutes before the
AM removes the connection point.
3. Any time the OM list becomes full, the entire list is closed and reopened afresh.
Closing the entire list and reopening it is less taxing on the system than performing a
multitude of dynamic deletions from the list.
4. When an alarm appears in the display window, there can be a delay of up to eight
seconds before the first update occurs. This is equivalent to the sum of:
OmConnectDelay + OmActivateDelay + OmRefRate
where:
OmConnectDelay Specifies how long an alarm must be in the display window
before the AM starts to add points for it to the OM list
(2-second default).
OmActivateDelay Specifies how often the AM is allowed to perform an activate
on the list; essentially an add must be followed by an activate
to make it occur. This allows the AM to optimize the number
of activates needed for multiple additions. (1-second default).
OmRefRate Specifies how often the OM should provide updates regardless
of how often the data is actually changing in the control
station (5-second default).
Though each AM display is limited to one OM list, this maps to a variable number of workstation
IPC connections, each one for a different CP from which alarms have been received and are dis-
played. This information needs to be considered when determining the number of AMs to display
alarms on a given workstation.
9
B0193MQ Rev M 3. Multiple FoxViews, Display Managers, and Alarm
From the control station perspective, the number of workstations and associated AM connected
displays from which alarm conditions are to be viewed needs to be considered when establishing
alarm destinations.
The application of match/filter criteria to a display may be used as a means of limiting the num-
ber of control station connections established by the AM for any of its connected alarm displays.
Solaris Workstations
Additional FoxViews or DMs can be started up from the FoxView Usage or DM_Usage display
by selecting a name in the DMNAME column and then selecting the START button. A FoxView
or DM can be started up from a monitor only if the named FoxView or DM name has been con-
figured to be displayed on that monitor. Additional AMs are started from the additional FoxView
or DM window.
A DMNAME that can be started from the Usage display highlights as an active selectable area
when the cursor is moved over the field. A DMNAME that cannot be started from a Usage
display shows the reason in the Reason Not Selectable column.
If a DMNAME is running, the Active Screen column identifies the monitor where the
FoxView/DM is currently running.
Additional FoxViews, DMs, and AMs can also be started from the workspace menu of a
WP51/AW51 by pressing the right button on the mouse or trackball and selecting the Program
menu. The Program menu includes the following commands: I/A Display Manger, I/A FoxView,
and I/A Alarm Manager. If a FoxView/DM or AM license is available, and the
FoxView/DM or AM is configured to be displayed on that monitor, the FoxView/DM or AM
starts up on that monitor. Otherwise, the following error message is displayed:
Display Manager Not Available
FoxView Not Available
Alarm Manager Not Available
There may be more than one FoxView/DM and AM configured to be displayed on a given win-
dow. When you start these applications from the Workspace menu, the instance of the application
that is started is determined in the following order:
FoxView, DM, or AM specifically configured for that window
FoxView, DM, or AM configured for multiple monitors including that monitor
FoxView, DM, or AM with the default monitor configuration, that is, a floating (non-
dedicated) instance.
10
3. Multiple FoxViews, Display Managers, and Alarm Managers B0193MQ Rev M
Windows Workstations
An additional FoxView can be started by clicking Additional FoxView in the File menu. An addi-
tional FoxView window appears.
If the additional FoxView has not been configured in the dmcfg file, an error message stating that
FoxView is not available appears.
Windows Workstations
The additional FoxView can be stopped by clicking Exit in the File menu to close and exit the
additional FoxView.
Only manually started FoxViews can be stopped from the File menu.
11
B0193MQ Rev M 3. Multiple FoxViews, Display Managers, and Alarm
12
3. Multiple FoxViews, Display Managers, and Alarm Managers B0193MQ Rev M
A FoxView/DM will dynamically adjusts its RAL upwards or downwards between 1X to 5X of the
initial RAL with an absolute maximum RAL of 20. This dynamic adjustment is based on system
CPU load and is not performed unless the CPU load goes above 70%. As long as the CPU load
remains above this threshold, the RAL is increased until the maximum of 5X or 20 RAL is
reached. If the CPU load goes below the threshold, the RAL is decreased until its initial value is
reached.
Examples:
A FoxView/DM with initial RAL=1 adjusts its RAL in following increments:
1 1x1
2 1x2
3 1x3
4 1x4
5 1x5
4 4x1
8 4x2
12 4x3
16 4x4
20 4x5
To change these values, edit the file /usr/fox/wp/data/init.user. For example, if the initial level for
DM class E is to be changed from 2 to 4, enter the following line in the init.user file:
DM_ELEVEL=4
Edits take effect after the next reboot.
13
B0193MQ Rev M 3. Multiple FoxViews, Display Managers, and Alarm
To conserve CPU cycles, by default the above variables are not set by FoxViews/DMs and are
initialized to -1. To turn on the setting of these variables by FoxViews/DMs, run the following
command for each FoxView/DM:
pref -dmname dmcmd enable monitor
To turn off the setting of the above shared variables, run the following command:
pref -dmname dmcmd disable monitor
Security
Configuring multiple FoxViews, DMs and AMs also requires security considerations. For infor-
mation on general security issues, refer to:
50 Series X Client/Server Support (B0193NV)
Model 51 X Terminal System Administration Guide (Solaris 2.x) (B0193UB)
Server 70 and Model P95 System Administration Guide (Windows NT Server 4.0, Ter-
minal Server Edition) (B0400AS).
There are several ways in which to limit access to the FoxView/DM and to individual functions
within it.
#
#TYPE <type> <window <class> <environment>
attributes>
#
TYPE Operator - B Proc_Op_Env
TYPE AuxillaryOper QLRSM O Proc_Op_Env
TYPE RemoteOperator - O Proc_Op_Env
TYPE Engineer - E Proc_Eng_Env
14
3. Multiple FoxViews, Display Managers, and Alarm Managers B0193MQ Rev M
TYPE View_Only - V -
#
#AMTYPE <type> <class> <environment>
#
AMTYPE Operator B Proc_Op_Env
AMTYPE AuxillaryOper O Proc_Op_Env
AMTYPE RemoteOperator O Proc_Op_Env
AMTYPE Engineer E Proc_Eng_Env
AMTYPE View_Only V -
#
#TYPE <type> <window attributes> <class> <environment>
#
TYPE Operator - B Proc_Op_Env
TYPE AuxillaryOper QLRSM O Proc_Op_Env
TYPE RemoteOperator - O Proc_Op_Env
TYPE Engineer - E Proc_Eng_Env
TYPE View_Only - V -
#
15
B0193MQ Rev M 3. Multiple FoxViews, Display Managers, and Alarm
In this example, DM003 can be invoked from the remote terminal TERM1 only. All other
remote access is disabled. Also note that DM0003 cannot be invoked on either local head.
In this final example, the Display Manager DM004 is available for general remote access, and
DM0003 is now available on either local head.
#
# SCREEN <screen_variable> <monitor1> <monitor2>....
#
SCREEN ENG term1 .- # terminal term1 and either local head
#
#TYPE <type> <window attributes> <class> <environment>
#
TYPE Operator - B Proc_Op_Env
TYPE AuxillaryOper QLRSM O Proc_Op_Env
TYPE RemoteOperator - O Proc_Op_Env
TYPE Engineer - E Proc_Eng_Env
TYPE View_Only - V -
#
16
3. Multiple FoxViews, Display Managers, and Alarm Managers B0193MQ Rev M
NOTE
Access locks for AM command buttons and menu bars fields and pull-down menus
for the Alarm Manager are configured via the Alarm/Display Manager Configura-
tor. Refer to Workstation Alarm Management (B0193RV).
Environment files are FoxView/DM script files that use display commands. For more informa-
tion, refer to Display Commands (B0193DF) or Display Engineering Utilities (B0193WU).
The following example illustrates the use of access locks, and uses the dmcfg file from the previous
example.
#
# SCREEN <screen_variable> <monitor1> <monitor2>....
#
SCREEN ENG term1 .- # terminal term1 and either local head
#
#TYPE <type> <window attributes> <class> <environment>
#
TYPE Operator - B Proc_Op_Env
TYPE AuxillaryOper QLRSM O Proc_Op_Env
TYPE RemoteOperator - O Proc_Op_Env
TYPE Engineer - E Proc_Eng_Env
TYPE View_Only - V -
17
B0193MQ Rev M 3. Multiple FoxViews, Display Managers, and Alarm
#
#NAME <lbug> <dmname> <dedicated <type>
monitor(s)
#
NAME WP5100 WP5100 .0 Operator # 1st local head
NAME DM0001 .1 Operator # 2nd local head
NAME DM0002 .- AuxillaryOper # either local head
NAME DM0003 $ENG Engineer # term1 or local
NAME M0004 - View_Only # anyone
In this example, each referenced environment has been password-protected, and the initial envi-
ronment, Init_Env, has been modified to protect (or lock) all access levels. (The initial environ-
ment, Init_Env, is loaded by each Display Manager before the environment that is optionally
configured in the dmcfg file.)
In addition, this example uses the following access lock assignments:
120 - 129 Engineering functions
130 - 139 Operator functions
100 Standard remote Display Manager protection lock
18
3. Multiple FoxViews, Display Managers, and Alarm Managers B0193MQ Rev M
Proc_Oper_Env:
dmcmd nologscr # delay oaj logging until after password
dmcmd passwd # verify password, exit if invalid
dmcmd chng_env # successful password, log oaj
Proc_Eng_Env:
dmcmd nologscr # delay oaj logging until after password
dmcmd passwd # verify password, exit if invalid
dmcmd chng_env # successful password, log oaj
19
B0193MQ Rev M 3. Multiple FoxViews, Display Managers, and Alarm
These environments may be accessed from any Display Manager. For example, although the
Proc_Eng_Env is the default environment only for DM0004, this environment may be accessed
through any Display Manager. Since the environment is password-protected, only users knowing
the engineers password have access to the enabled functions within this environment. In a similar
manner, the Proc_Op_Env environment enables all operator functions that may have been dis-
abled, and is accessible only to users knowing the operators password. These environments are
accessible within Alarm Manager for those users with knowledge of the passwords.
NOTE
Although the above examples are for Display Manager, you can use the same com-
mands in FoxView environments.
If the access lock feature is to be used to disable display pick fields, these fields must be configured
through FoxDraw for FoxView or the Display Configurator for the Display Manager. For more
information, refer to FoxDraw (B0193WG) or Display Configurator (B0193AR).
Using access locks for pull-down menu protection requires editing or creating ASCII files within
the directories to be accessed by the top menu button. Refer to Chapter 5 Pull-Down Menu
Access Control in this document.
From the previous example, notice that the files found under the /usr/fox/config and /usr/fox/soft
directories (buttons 3 and 7) are only accessible from the Proc_Eng_Env environment. These
directories are not included in any other environment, and in fact, buttons 3 and 7 are either
redefined or removed in the Init_Env and Proc_Op_Env environments.
Both the Proc_Eng_Env and Proc_Op_Env environments have access to the files under
/usr/menus. However, it is possible to selectively protect individual entries within this directory
structure based on access locks.
In the following example, only the engineer has access to the subdirectory Engineer. Both the
operator and engineer have access to the subdirectory Boiler and the file Maintenance. All users
have access to all other files.
Directory Structure:
/usr/menus d1 subdirectory
d2 subdirectory
d3 subdirectory
d4 subdirectory
Engineer subdirectory
Boiler subdirectory
Overview display file
Maintenance display file
The file /usr/menus/.pulldown looks like this:
Overview
Boiler -p 130
Engineer -p 120
Maintenance -p 130
20
3. Multiple FoxViews, Display Managers, and Alarm Managers B0193MQ Rev M
Note that the subdirectories d1 through d4 have not been included in the .pulldown file. These
entries are located in the pull-down menu after the entries specifically defined in the
.pulldown file.
Any environment that unprotects access locks and is accessible to all users should be password-
protected. The utility /usr/fox/wp/bin/tools/dmsepass is used to add/modify environment
passwords.
21
B0193MQ Rev M 3. Multiple FoxViews, Display Managers, and Alarm
22
4. ExpertSelect
This section describes the Display Manager ExpertSelect feature and enhanced command
functionality which are included in I/A Series software release 4.0 and later. These features
allow a display object to be selected through a display command, without an operator actually
picking the object on the screen. Picking a display object causes the action that was configured
for that object to be executed.
Appropriate detail displays and faceplates that have ExpertSelect functionality configured by
default are provided. This functionality can be easily removed by editing the file
/usr/fox/wp/data/init.user. WP51/AW51 displays that contain these faceplates can be converted
to WP30 format without any warning messages or loss of configuration information. Although
ExpertSelect is not available on the WP30, the configuration information within the faceplates is
ignored by the WP30 Display Manager.
23
B0193MQ Rev M 4. ExpertSelect
24
4. ExpertSelect B0193MQ Rev M
If the backquote expression can not be evaluated, the command is aborted and a message is dis-
played on the top message line. Examples of this condition are:
invalid C:B.P syntax
point is not found on the network
25
B0193MQ Rev M 4. ExpertSelect
Examples
TO OPERATE:
Call Overlay from base display.
The SPT or OUT will be automatically selected.
Perform required operation using buttons at bottom of base display.
GENERIC OVERLAY
L A
R M
Figure 4-1 is a generic overlay. When called from a base display, the WP variable P1 is set to the
desired compound and block name. The overlay contains an embedded script, which selects
either the output or the setpoint, based on the value of the .MA parameter. This is done as part of
the display call-up sequence. This means that the selecting of the output or setpoint is performed
before any operator actions are processed.
26
4. ExpertSelect B0193MQ Rev M
NOTE
In the command == `$PICK1 .MA` 0, $PICK1 and .MA are separate words.
TO OPERATE:
Select the Faceplate Header.
The SPT or OUT will be automatically selected.
Perform required operation using buttons at bottom of base display.
L A
R M
27
B0193MQ Rev M 4. ExpertSelect
Figure 4-2 shows part of a group display. There is no embedded script configured for this display,
but each faceplate header (the box containing the descriptor and control block name) is config-
ured to select the appropriate relative pick field. The operator always selects the header, and either
the output or setpoint is selected.
NOTE
The A/M and R/L buttons on detail displays and in the BUTONS_40 button set
are also configured for ExpertSelect. These buttons execute the ExpertSelect logic
when selected.
To remove ExpertSelect functionality from these displays/faceplates, the associated variables can
be redefined in the /usr/fox/wp/data/init.user file to <null>. For example:
PID_DD=
removes the definition of PID_DD, thereby removing ExpertSelect from the PID family of detail
displays.
28
5. Pull-Down Menu Access Control
This chapter describes how you configure pull-down menus. This capability is achieved through
the use of the .pulldown file.
You may need to selectively disable/enable entries in FoxView or DM pull-down menus. To
accomplish this, the FoxView/DM reads an optional pull-down file found within the directory
being accessed by the pull-down menu. The .pulldown file provides the following functionality:
Allows entries within a pull-down menu to be inactive (non-pickable) based on
assigned access levels. Pull-down entries cannot be deleted, only made inactive.
Allows specification of potential menu entries
Allows ordering of entries within the pull-down menu
Provides blank entries and leading blanks in menu entries (DM only)
Allows specification of menu entry colors (DM only).
The .pulldown file can have entries that are not actually found in the directory. Entries in the
pull-down menu that are not actually found in the directory are not included in the pull-down
menu.
The .pulldown file is optional. If the file is not found, Display Manager creates the pull-down
menus. All entries in the directory (up to 255) are displayed and enabled in the pull-down menu.
Invensys Foxboro provides default .pulldown files for each directory that is referenced in the stan-
dard environment files. These files contain access level protection for all single-instance applica-
tions, the Usage display, and all configurators. The access level used is 100.
Menu entries can be made active (pickable) or inactive (unpickable) through access levels. The
Display Manager commands protect and unprotect are used to control the access levels.
.pulldown File
The .pulldown file is an ASCII file found within a directory accessed by FoxView/DM top menu
entries. It contains a list of lines in the following format:
filename [options]
where:
filename Name of directory entry. Leading white space characters are supported,
such as filename or . If there is no filename, a blank non-pickable entry
is added to the pull-down menu.
options Properties of the directory entry. This field is optional.
-p level Makes entry inactive if access protection level has been protected.
29
B0193MQ Rev M 5. Pull-Down Menu Access Control
Examples
In the following examples, the vi editor is used for editing. Editing is done on a 50 Series WP/AW
workstation using the VT100 emulation mode.
30
5. Pull-Down Menu Access Control B0193MQ Rev M
31
B0193MQ Rev M 5. Pull-Down Menu Access Control
32
6. Configuring and Assigning
Passwords for FoxView
Environments
This chapter covers modifying environment definition files and assigning environment
passwords.
FoxView comes with a set of environments that are suitable for your use, but it is recommended
that you create your own environments tailored to your control system and its users. The default
FoxView environment files found in \opt\fox\env can be modified to include custom menu bars,
pull-down menus, display bars, and security or used to create new environments. The following
definition files are found in the \opt\fox\env directory:
Environment definition files (.env)
Access level files (.acl) for each environment
Menu bar files (.mbr) for each environment
Display bar files (.dbr) for each environment
Menu files (.mnu) for the each of the pulldown menus (File, View, Help).
Additionally, passwords may be assigned to each environment.
33
B0193MQ Rev M 6. Configuring and Assigning Passwords for FoxView
dmcmd passwd Checks for configured password for this environment. This is found in the
/usr/fox/wp/data/dmpasswd_cfg file.
dmcmd chang_env
Clears the existing menu bar.
\opt\fox\env\Initial.acl
Calls in the script file containing the access protection levels.
\opt\fox\env\Initial.mbr
Calls in the script file containing the menu bar entry definitions.
\opt\fox\env\Initial.dbr
Calls in the script file containing the display bar definitions.
dmcmd <display filename path> #Name of the Display associated with
Environment Callup
All other environment files are similar, but each calls in a unique set of files (.acl, .mbr, .dbr files)
containing access levels, menu bar definitions, and display bar definitions that are specific to that
environment.
where:
all Protects/unprotects all areas
34
6. Configuring and Assigning Passwords for FoxView Environments B0193MQ Rev M
Examples
If you want to make the Auto/Manual button on a display inaccessible in the Initial Environment,
assign an access level code to it and then set up the Initial.acl file.
To assign a protection ID to the Auto/Manual button, access FoxDraw and proceed as follows:
1. Select the desired display, and click the Auto/Manual button.
2. From the Object menu, select Configure Objects.
3. In the Configure Objects dialog box, click the Operator tab.
4. Click Add and select an Operation Action.
5. In the Protection ID field, assign a non-zero value, 1 in this example, to the area. The
range of values is 0-255. Zero is the default setting, which makes the area accessible in
all environments.
To set up the Initial.acl file, access the \opt\fox\env\Initial.acl file.
Enter the following information related to disabling access to the Auto/Manual
button:
dmcmd script #Identifies this as a script file.
dmcmd unprotect all #Clears existing protections from the initial environment.
dmcmd protect value 1 #Makes all objects with a protection ID of 1 inaccessible.
The default Initial.acl file uses the DM call disable to prevent users from clearing alarms from the
Current Alarms display and the alarm database from the Initial environment. The file contains
the following:
dmcmd script
#script containing protection levels for Initial environment
dmcmd disable clralm #disable clearing alarms from CAD
The default Process_Eng.acl file uses the DM call enable to allow users to clear alarms from the
process engineers environment.
dmcmd script
# script containing protection levels for Process_Eng environment
dmcmd enable clralm # enable clearing alarms from CAD
35
B0193MQ Rev M 6. Configuring and Assigning Passwords for FoxView
Initial.mbr
Operator.mbr
Process_Eng.mbr
Software_Eng.mbr.
The syntax is:
dmcmd button -1 &Label file
where:
-1 Indicates button position and is used as a place holder to make the com-
mand backward compatible.
&Label Identifies the label to be associated with the button.
file Identifies the file containing the contents of the pull-down menu.
NOTE
There is no restriction on the number of menu labels or the length of the label text.
Example
The default Initial menu bar definition file contains:
dmcmd script
dmcmd button -1 &File \opt\fox\env\file.mnu
dmcmd button -1 &Help \opt\fox\env\help.mnu
The lines in the Initial environment file perform the following tasks:
dmcmd script
Identifies this file as a script file.
dmcmd button -1 &File \opt\fox\env\file.mnu
Is the standard command line to place a menu button (File) on the menu
bar. Definition files or subdirectories are supported.
dmcmd button -1 &Help \opt\fox\env\help.mnu
Is the standard command line to place a menu button (Help) on the menu
bar.
36
6. Configuring and Assigning Passwords for FoxView Environments B0193MQ Rev M
Examples
The file.mnu contains the following commands:
pulldown foxview menu
Change &Environment...Ctrl+E chng_env_dlg #Calls Change Environ. Dialog Box
"&Select Screen..." "stddisp" #Accesses Select Screen
"Separator" "separator" #Adds dotted separator line
&Print...Ctrl+P psc_dlg #Accesses Print Dialog Box
"Separator" "separator" #Adds dotted separator line
Additional &FoxView run $WPBIN/dm.exe #Opens a second FoxView window
"Separator" "separator" #Adds dotted separator line
&1 MRU MRU1 #Accesses current display
&2 MRU MRU2 #Accesses previous display
&3 MRU MRU3 #Accesses second previous display
&4 MRU MRU4 #Accesses third previous display
"Separator" "separator" #Adds dotted separator line
"&Exit" dmexit #Exits additional FoxView window
NOTE
Display files referenced within a display bar definition file must have corresponding
bitmap files. The files accessed via the display buttons or the mini-display icons
depending on the button template selected.
37
B0193MQ Rev M 6. Configuring and Assigning Passwords for FoxView
where:
-1 label Indicates the following text is the button label. When no label is specified,
the base name of the display is used for the label.
-b bitmap_name Indicates the following is the name of the bitmap file. If no bitmap is spec-
ified, the .bmp file is assumed to be in the same directory as the .fdf file.
Example
The Process_Eng.dbr contains:
dmcmd script
dmcmd dbar_tmplt $TMPLTS/button_display_bar
dmcmd dbar_button 1 dmcmd chng_env_dlg -1 Change Env
dmcmd dbar_button 2 dmcmd psc -1 Print Screen
dmcmd dbar_button 3 dmcmd stddisp -1 Select
dmcmd dbar_button 4 \opt\menus\demo\Centrifuge
dmcmd dbar_button 5 \opt\menus\demo\Extraction
.
.
.
dmcmd dbar_button 18 \opt\custom\Initial_Disp
38
6. Configuring and Assigning Passwords for FoxView Environments B0193MQ Rev M
Bitmap Utility
The utility for creating display bar thumbnail bitmaps associated with display files referenced
within a display bar is fdf2bmp.
To create a bitmap for the file \opt\customer\Initial_Disp:
1. Change to the display directory:
cd \opt\customer
2. Run the bitmap utility:
\usr\fox\wp\bin\tools\fdf_bmp -f Initial_Disp
3. The Initial_Disp.bmp file is created.
NOTE
Use the -b option to reference any Windows bitmap in the display bar. See previous
section, Display Bar Definition Files on page 37.
Example
To edit the password of the Initial Environment to be jackson and change the description, type
the following from a command tool on the workstation:
dmsepass Initial -p jackson -d New password for Initial_Env
The password and description for the Initial Environment is saved in the following file:
/usr/fox/wp/data/dmpasswd_cfg
This is an ASCII file which contains the encrypted password and a description for each environ-
ment. A backup file, passwd_cfg.bak is also created. This file contains the contents of passwd_cfg
previous to the most recent change.
To remove this environment from the password file, type:
dmsepass Initial
The Initial environment now has no password.
NOTE
Passwords are not limited to use in an Environment script file. Any Display Man-
ager script may include the use of passwords.
39
B0193MQ Rev M 6. Configuring and Assigning Passwords for FoxView
Each shortcut menu command definition starts with an operation code. This operation code
indicates the type of action to be taken when you select the menu command. The operation codes
are described in the following sections. For examples of how these commands can be used in a
shortcut menu, see Examples of Shortcut Menu Definition Files on page 43.
Each operation code is followed by arguments that contain information about the menu
command. Arguments are expressed in the -argument value form. The menu command
format can also include references to the parameter, block type, parameter type, and specific
FoxView targets.
The menu file format supports comments within the file. All text following a # character on
each line is ignored.
Operation codes are:
COMMAND Is a command in display command format.
SEPARATOR Indicates a separator field.
CASCADE Indicates a reference to another menu file.
40
6. Configuring and Assigning Passwords for FoxView Environments B0193MQ Rev M
Description
The Command menu entry displays a text field in the menu to execute a FoxView command
when you select the text field.
label is a required argument. If cmd is missing, the menu entry is selectable, but there is no action
associated with the selection. The arguments p and fvname have meaning only if the
argument cmd is present.
Both label and cmd can contain keywords that are specific to the selected object. The syntax for
referencing these items is described below.
Menu Separator
Syntax
SEPARATOR
Description
The SEPARATOR menu entry displays a separator bar in the shortcut menu.
41
B0193MQ Rev M 6. Configuring and Assigning Passwords for FoxView
Menu Variables
The following subsections describe the keywords that are recognized by the shortcut menu
subsystem. These variables are not Object Manager or environment variables, but are strictly
keywords that are replaced with string values based on the selected display object. Replacing menu
variables with data values is performed prior to sending the selected menu command to FoxView.
Menu variables can be placed in label and cmd menu arguments. To reference any menu variable
in a menu definition, place a $ in front of the variable.
SELDISP
The menu variable SELDISP can be placed in a menu entry. Before the menu is displayed, this
variable is replaced with the full pathname of the selected display/overlay.
For example, the following menu entry directs the current overlay to another FoxView:
COMMAND -label Send to: FV0001 -cmd ov $SELDISP 1 -fvname FV0001
SELTAG
The menu variable SELTAG can be placed in any menu entry. When a menu entry is selected,
this variable is replaced with the full pathname of the selected parameter. This replacement is
performed prior to sending the command to FoxView.
For example, the following menu definition displays a menu entry labeled Detail. This menu
entry calls in the detail display for the selected parameter. If access levels 100 or 101 are protected,
this menu entry is disabled.
COMMAND -label Detail -cmd stddisp $SELTAG -p 100,101
SELCOMP
The menu variable SELCOMP can be placed in any menu entry. When a menu entry is selected,
this variable is replaced with the actual name of the compound portion of the selected full path-
name. This replacement is performed prior to sending the command to FoxView.
42
6. Configuring and Assigning Passwords for FoxView Environments B0193MQ Rev M
SELBLOCK
The menu variable SELBLOCK can be placed in any menu entry. When a menu entry is selected,
this variable is replaced with the actual name of just the block portion of the selected full
pathname. This replacement is performed prior to sending the command to FoxView.
Example 1
The following is a sample default menu definition file. This is only an example, and may not
reflect the exact commands needed to accomplish the desired action.
Compound:Block.Parameter represents the name of an actual block parameter in the control and
I/O database.
Example 2
The following example menu definition file defines the menus shown in Figure 6-1 on page 40.
43
B0193MQ Rev M 6. Configuring and Assigning Passwords for FoxView
Display Menus Shortcut menus that open when operators right-click in an area of the
FoxView display that is not configured.
Object Menus Shortcut menus that open when operators right-click in an area of the
FoxView display that is configured.
To specify which menu definition file to use for a display or an object within an environment,
engineers must edit the environment's .env file. This file is located in either the \opt\fox\env or
\opt\customer\env directory. Menu files that are defined through the .env file are now the default
menu files. The shortcut menus for displays can be customized through the display property dia-
log box in FoxDraw. The shortcut menus for objects can be customized through the configuration
dialog box in FoxDraw. For more information on the property and configuration dialog boxes,
refer to FoxDraw (B0193WG).
The DM command shortcut_menu must be added to the file:
shortcut_menu -type type -file Menu_filename
where:
type Is either object or display.
Menu_filename Is the name of the menu file to use as the shortcut menu.
For example, the environment file can include the following commands:
44
6. Configuring and Assigning Passwords for FoxView Environments B0193MQ Rev M
shortcut_menu_style configurable
shortcut_menu -type object -file $ENV_DIR/obj_eng.mnu
shortcut_menu -type display -file $ENV_DIR/disp_eng.mnu
First, the menu style is set to configurable. The next statement specifies which menu definition
file to use when an operator right-clicks on configured I/O points. In this case it uses the
obj_eng.mnu file located in the environment directory. The third statement specifies which menu
definition file to use when an operator right-clicks in an area that is not configured. It is set to the
disp_eng.mnu file located in the environment directory.
45
B0193MQ Rev M 6. Configuring and Assigning Passwords for FoxView
46
7. File Access
This chapter describes the search paths that the Display Manager uses to access files.
47
B0193MQ Rev M 7. File Access
48
7. File Access B0193MQ Rev M
NOTE
Converting a single file or two is not a problem.
If you must convert directories/subdirectories of displays, you should pick a time when the system
is in a quiescent state.
NOTE
The 70 Series FoxView cannot access PLB displays on remote hard drives. As
described in FoxView Search Paths on page 48, 70 Series FoxView does not
include a logical host in its file access search path.
49
B0193MQ Rev M 7. File Access
where:
50_Series_base_directory
is the full pathname to the Display Manager 50 Series display file base
directory (maximum of 200 characters)
20_Series_base_directory
is the full pathname to the Display Manager 20 Series display file base
directory (maximum of 50 characters).
To relocate a ladder display directory (for example, into the /opt partition), you must:
1. Create or modify the /usr/plc/plb_dir file with the appropriate ladder display
directories.
2. Move the existing ladder displays to the new base directory
When relocating 20 Series display files on a 50 Series station to a base directory other than
/usr/fox/ia16, you must link or loop-back-mount the new_directory to
/usr/fox/ia16/new_directory, otherwise WP20s, WP30s, and PWs cannot access the ladder
displays.
For example, to move all the 20 Series and 50 Series ladder displays on an AP51 into the /opt/lad-
der directory, you must:
1. From the VT100 prompt, create the plb_dir file using the vi editor by typing:
vi /usr/plc/plb_dir
2. Set the keywords in the plb_dir file using the vi editor by typing:
PLB50=/opt/ladder/disp50
PLB=/opt/ladder/disp20
3. From the VT100 prompt, loop-back-mount the /opt/ladder/disp20 directory:
a. For Model 50 stations, type:
mount -t lo /opt/ladder/disp20 /usr/fox/ia16/opt/ladder/disp20
b. For Model 51 stations, type:
mount -F lofs /opt/ladder/disp20 /usr/fox/ia16/opt/ladder/disp20
In addition to the above steps, you must add the new mount point to the Invensys Foxboro
mount table files, such that the /usr/fox/ia16/opt/ladder/disp20 is mounted when you reboot the
AP:
From the VT100 prompt, use the vi editor to edit the mount table files:
a. For Model 50 stations, add the following line to the /etc/fstab file:
/opt/ladder/disp20 /usr/fox/ia16/opt/ladder/disp20 lo rw o o
b. For Model 51 stations, add the following line to the /etc/vfstab file:
/opt/ladder/disp20 - /usr/fox/ia16/opt/ladder/disp20 lofs - yes -
Once these changes are made, all 20/30 and 50 Series workstations are able to access the ladder
displays from the new directory, and the Control Configurator installs the PLB ladder displays
into these directories.
50
7. File Access B0193MQ Rev M
NOTE
When the plb_dir file does not exist, the Display Manager defaults to the /usr/plc or
/usr/plc50 directory.
51
B0193MQ Rev M 7. File Access
52
7. File Access B0193MQ Rev M
53
B0193MQ Rev M 7. File Access
54
8. Databases
This chapter describes fonts and markers as they apply to different models of workstations.
On 50 Series workstations, font and marker files and their size variations are named as follows:
55
B0193MQ Rev M 8. Databases
To support the resizing of windows without having rescalable fonts, the following half-width,
half-height variations are used when windows are made small (for example, quarter-screen):
The following large version of the fonts and markers are provided for use in windows that are
sized to occupy the full screen:
56
8. Databases B0193MQ Rev M
The X versions of the fonts and markers can be modified using the Font Editor, which is accessi-
ble from the Config menu in the I/A Series Display Manager window. The files that can be edited
are /usr/fox/wp/fonts that have a .bdf extension. After modifying these files, you must compile
and install them. This is done as follows:
1. On a 50 Series workstation, invoke a local VT100 window by selecting VT100.local
from the SftMnt menu in the I/A Series Display Manager window.
2. Click in the VT100 window.
3. Type: install_fonts.
Applications must be exited and restarted in order to use the modified fonts.
NOTE
Only the files listed above are pre-loaded. Fonts or markers with any other names
are not usable by applications using the Invensys Foxboro HI Library API.
57
B0193MQ Rev M 8. Databases
Normally, you would create or modify the usr_mkr.bdf and usr_mkr1.bdf files using the Font
Editor. An easy way to create the derived files is to type the following in a VT100 window (noting
that the file extension is .gc3 not .bdf in the cvtmarkers command):
cd /usr/tmp
cvtmarkers -r usr_mkr.gc3
or
cvtmarkers -r usr_mkr1.gc3
Note that after doing this, it is often desirable to call up each of the derived files using the Font
Editor to alleviate any anomalies. After modifying all the files, type the following from a VT100
window:
install_fonts
Applications that have windows opened must be exited and restarted in order to be able to use the
modified markers.
58
8. Databases B0193MQ Rev M
! WARNING
You should not modify the df_pdef or dsppdef.dat file. If you change this file, the
edits could be lost at the next release.
The display file parameter definition (df_pdef ) file contains all the default parameter definitions.
However, not all the control database parameters are defined in this file.
For each individual parameter, the df_pdef file defines the data type as well as optional arguments
such as range name, Boolean acronyms, and engineering units.
The first line of this file must be defined as #df_pdef , otherwise the file cannot be loaded.
Comments begin the # character and can start at the beginning or in the middle of a line. The
prompt character is to be used as part of a string definition.
Parameter definitions are the same for the pdef and block database files, except that the block
database files do not support packed Boolean or packed long data types. These may only be
defined in the pdef files (df_pdef or dsppdef.dat).
59
B0193MQ Rev M 8. Databases
;color=value Specifies the trend line color for the parameter; value is a color macro or
integer.
\ Optional argument indicating that arguments continue on the next line
(currently supported only for packed boolean and packed long data types)
Examples:
MEAS R RI1 EI1
OUT R RO1 EO1
PNT_1 R RO1_1
HDALIM R
Examples:
EI1 S %
NM0_1 S state0
DESCRP S # a NULL string
stg1 T FALSE
60
8. Databases B0193MQ Rev M
Examples:
CIN B state0 state1
CIN_1 B :.PNM_00 :.PNM_01
IN_1 B state0:.NM0_1 state1:.NM1_1
The names state0 and state1 are the default names (names assigned, for
example, to trends with a compound:block name that does not yet exist);
:. is a delimiter used to find the optional parameter name; NM0_1,
NM1_1, PNM_00, and PNM_01 are the Compound:Block string
parameters that contain the associated state name.
61
B0193MQ Rev M 8. Databases
The gdblk50.db file for Display Manager and dspblock.dat file for FoxView contain all the
defined block types supported by the I/A Series system, and they are used to retrieve pertinent
data associated with the block type and the faceplates.
The database file is an ASCII file containing predefined keywords. Keywords contain block name,
block type, and a list of parameters that pertain to the block.
Using this database file, you can change the percent_of_scale_delta from 0.5 to any other value
or change the way particular parameters are scaled.
The gdblk50.db file for 50 Series is not backward compatible with the AP20 delivered
/usr/fox/hi/gdblk.db file.
62
8. Databases B0193MQ Rev M
63
B0193MQ Rev M 8. Databases
Variable Definition
TL[n] Trend pen parameter name, where n is the pen number 1 - 4
TL_COLOR[n] Trend pen color name, where n is the pen number 1 - 4
GRID_COLOR Color name to be used for grid
GRAPH_COLOR Color name to be used for graph area
SCAN_RATE Real-time collection intervals in seconds
DURATION Total duration of the graph area, in [value units] format, that
is, 15 minutes
ACCESS_LEVEL Access level (0-255) for permanent changes
CONFIG_ACL Access level (0-255) for access to the on-line trend
configurator
NAME0 Text displayed for Boolean pen when in the 0 state
NAME1 Text displayed for Boolean pen when in the 1 state
SIZE0 Height of the Boolean 0-state data in the graph in percent of
graph
SIZE1 Height of the Boolean 1-state data in the graph in percent of
graph
TL_LOCATION[n] Location of Boolean data in percent of graph, where n is pen
number 1-4
64
8. Databases B0193MQ Rev M
Variable Definition
TL1 Line 1 parameter name
TL2 Line 2 parameter name
TL3 Line 3 parameter name
TL4 Line 4 parameter name
TL1_HIST Line 1 historian name
TL2_HIST Line 2 historian name
TL3_HIST Line 3 historian name
TL4_HIST Line 4 historian name
TL1_COLOR Line 1 color number from 0-31
TL2_COLOR Line 2 color number from 0-31
TL3_COLOR Line 3 color number from 0-31
TL4_COLOR Line 4 color number from 0-31
GRID_COLOR Color number to be used for grid, 0-31
GRAPH_COLOR Color number to be used for graph area, 0-31
OFF_NORM_COLOR Color number for off normal area, 0-31
NORM_LIMITS Off normal range for trend, in percent of graph
RECT_HIST Recent history flag, ON or OFF
SCAN_RATE Real-time collection intervals in seconds
ACCESS_LEVEL Access level (0-255) for permanent changes
CONFIG_ACL Access level (0-255) for access to the online trend
configurator
65
B0193MQ Rev M 8. Databases
10. DEF_SCALING defines the default high scale, low scale, and delta values in case no
values are defined in the SCALE keyword. The I/A Series default definition is:
high scale = 100.0
high scale = 0.0
delta = 0.5 percent_of_scale
11. DEF_TRENDING contains a list of trend variables and values used to configure
trend objects for all blocks. Trend variables that are defined within the block type
section take precedent over the default values configured under DEF_TRENDING.
Refer to TRENDING on page 64 for a list of default trend variables.
66
9. Upgrading from Display
Manager to FoxView
This chapter provides information on upgrading from Display Manager to FoxView.
FoxView is the next generation of the Display Manager, and FoxDraw is an enhancement of the
Display Builder and Display Configurator.
Installing this software does not affect any existing functionality. On Solaris systems, the Display
Manager, Display Builder, and Display Configurator may still be used. FoxView and FoxDraw are
installed as additional applications, not as replacements for existing products.
FoxView
The following material discusses elements and considerations for FoxView.
Whats New
Enhancements and new capabilities for FoxView include:
New menu system, with support for menus that are independent of directory struc-
ture on disk
New Select Screen, now called FoxSelect
Message line with drop-down list, showing the last 25 messages
Display bar for quick access to configured displays
Most Recently Used display list, allowing quick access to the most recently called
displays
File extensions associated with file types.
Mnemonics and accelerator keys
67
B0193MQ Rev M 9. Upgrading from Display Manager to FoxView
Custom markers
Custom color palette
Customized environment files. A set of new environment files has been provided.
FoxSelect
FoxSelect takes the place of the Select Screen in Display Manager. Refer to FoxView Software
(B0193WH).
FoxDraw
FoxDraw takes the place of the Display Builder and Display Configurator.
Display Names
Displays and library objects cannot have the same name. For instance, there is a standard library
object named tank_on_legs shipped with FoxDraw. You cannot create your own display named
tank_on_legs and then successfully link the tank_on_legs library object into that display.
FoxView and FoxDraw do not currently support display names that do not contain at least one
alphabetic character or contain more than one period (.) character. For instance, the following
names are not supported and do not work correctly:
12345.fdf
tower1.new.fdf
68
9. Upgrading from Display Manager to FoxView B0193MQ Rev M
NOTE
When you convert displays with the Convert capability in FoxDraw (refer to Con-
verting a Display File on page 70) be sure to specify the new directory (for exam-
ple, /opt/menus) in the Convert to a Different Directory field.
69
B0193MQ Rev M 9. Upgrading from Display Manager to FoxView
The environment files (located in /opt/fox/env) are not yet supported by this mechanism. This
means that user edits to standard environment files (Initial, Process_Eng, Software_Eng, and
Operator) are lost when a new software release is installed.
The Convert utilitys Convert Display Files dialog box appears as shown in Figure 9-1.
NOTE
All input files must be on the same drive on which the I/A Series software is
installed.
5. Click Convert.
The output files are created in the same directory as the input files and have the same
base name (to the left of the dot) as their associated input file. The output files exten-
sion (to the right of the dot) is different from the input file.
Exceptions:
The Upgrade Display conversion overwrites the input file with the output file.
70
9. Upgrading from Display Manager to FoxView B0193MQ Rev M
For BDF to M1 conversions, each input file yields multiple output files. Output
file base names are composed of the input files base name followed by an under-
score and a number.
Copying colordef.dat
NOTE
Do not edit the colordef.dat file in /usr/fox/wp/data. Instead, copy this file to the
/opt/customer/data directory and edit the copied version. This allows you to install
future updates of FoxView/FoxDraw without affecting your custom palette.
71
B0193MQ Rev M 9. Upgrading from Display Manager to FoxView
Editing colordef.dat
The color indices in the 50 Series color palette, sys_pal.wp50, do not directly match the color
indices in colordef.dat. Note that the first 16 entries in sys_pal.wp50 (entries 0-15) are not used
in the FoxView/FoxDraw palette. The mapping information is listed in Table 9-4.
72
9. Upgrading from Display Manager to FoxView B0193MQ Rev M
Copying fv_blink.dat
NOTE
Do not edit the fv_blink.dat file in /usr/fox/wp/data. Copy the file to
/opt/customer/data and make the edits in the /opt/customer/data directory. This
allows you to install future updates of FoxView/FoxDraw without affecting your
custom blink-to colors.
73
B0193MQ Rev M 9. Upgrading from Display Manager to FoxView
Editing fv_blink.dat
The file fv_blink.dat is illustrated in Table 9-5. By default, all blink-to colors are set to gray71
(colordef.dat index 23).
To change the blink-to color for red1 from gray71 to black:
1. Locate the base color red1, which is index 25 in colordef.dat.
2. Then locate the base color black, which is index 16 in colordef.dat.
The colordef.dat index 25 appears on line 26 in the fv_blink.dat file.
3. In line 26, change the fv_blink index from 23 (gray71) to 16 (black).
74
9. Upgrading from Display Manager to FoxView B0193MQ Rev M
75
B0193MQ Rev M 9. Upgrading from Display Manager to FoxView
76
9. Upgrading from Display Manager to FoxView B0193MQ Rev M
77
B0193MQ Rev M 9. Upgrading from Display Manager to FoxView
This is the standard dmcmd command for placing a menu label on the menu bar. The
button position (-1) is ignored and is included only as a place holder to make the com-
mand backward compatible with the previous implementation of the command. Each
button command appends the specified button to the menu bar.
NOTE
The ampersand character (&) before the File and Help text identifies the key to be
associated with the menu label.
The argument following the label name is the file definition of the menu label. This was
previously a directory name, but now can be a menu pull-down definition file. In this
case, the contents of the File pull-down menu is specified in the file /opt/fox/env/file.mnu
(see below).
The button command supports only menu definition files or subdirectories. Direct access
buttons, such as the Display Manager Alarm and Select buttons, are not supported.
There is no restriction on the number of menu labels or the length of the label text. The
previous restriction was ten labels, with up to six characters in each label.
78
9. Upgrading from Display Manager to FoxView B0193MQ Rev M
Command Action
chng_env_dlg Brings up the Change Env dialog box.
SEPARATOR Adds a separator to the menu.
psc_dlg Brings up the Print dialog box (not yet supported).
MRU1 Call in the current base display.
MRU2 Calls in the previous base display.
MRU3 Calls in the second previous base display.
MRU4 Calls in the third previous base display.
NOTE
MRU commands are valid only in pull-down menu files. They cannot be used in
display manager script files.
79
B0193MQ Rev M 9. Upgrading from Display Manager to FoxView
To upgrade My_Env:
1. Copy the file to the directory /opt/fox/env, and add the .mbr (menu bar) extension:
cp /usr/fox/sys/Change_Env/My_Env /opt/fox/env/My_Env.mbr
2. Move the first three commands to a new My_Env.env file (see below) and move or
delete the button entries that are no longer needed.
The button command with no definition (for example, the keep label with no
button definition following) is not supported.
Standard menu definition files (*.mnu) have been supplied for the File and Help
pull-down menus. You may modify these files, as needed.
The button numbers are not supported in this release. All button commands
append the button definition to the end of the menu bar.
In this example, the entries in Table 9-7 can be moved or deleted, as indicated.
80
9. Upgrading from Display Manager to FoxView B0193MQ Rev M
Entry Action
nologscr Move to the new .env file.
passwd Move to the new .env file.
chng_env Move to the new .env file.
Sys Replace with the standard File pull-down menu (file.mnu).
Alarm Delete (already contained on the alarm bar).
keep Delete (not supported).
Help Replace with the standard Help pull-down menu (help.mnu).
OverVw Move this button to the display bar.
Select Delete (already contained in the standard File pull-down menu).
dmcmd nologscr
dmcmd passwd
dmcmd chng_env
$ENV_DIR/My_Env.acl
$ENV_DIR/My_Env.dbr
$ENV_DIR/My_Env.mbr
4. Create a new display bar definition file, /opt/fox/env/My_Env.dbr, using Initial.dbr as
a template:
cp /opt/fox/env/Initial.dbr /opt/fox/env/My_Env.dbr
5. Edit My_Env.dbr to add the reference to the overview display that was removed from
the original script:
dmcmd dbar_button 8 /opt/menus/Overview
When selected, button 8 now calls in the overview display.
Notice the configuration of the other button commands. FoxSelect and the Change
Environment dialog box can be accessed using this display bar definition.
81
B0193MQ Rev M 9. Upgrading from Display Manager to FoxView
To have a thumbnail image of the overview display appear on the display bar, convert
the display to a bitmap (Overview.i) by selecting File, then selecting Convert and FDF
to BMP from FoxDraw. (To run the fdf_i conversion utility from a command line,
refer to FoxDraw (B0193WG) book.)
6. The display overview should have been moved to the /opt directory. FoxView can find
the display when this button is configured as /usr/menus/Overview, but it finds it
faster when the button is configured as /opt/menus/Overview.
7. Create a new access level file named /opt/fox/env/My_Env.acl, and add any access
level protection commands to it.
When you save the configuration, be sure to save to the /opt/customer/env directory, but not to
/opt/fox/env (the default directory).
The globals must be given protection values in the range of 1-255, and the assigned values must
then be protected in an environment script, as follows.
82
9. Upgrading from Display Manager to FoxView B0193MQ Rev M
NOTE
Edits to init.user do not take effect until the station is rebooted.
Table 9-9. Global Variables that Protect System and Process Buttons
Follow the procedure for protecting the display bar pop-up menu.
83
B0193MQ Rev M 9. Upgrading from Display Manager to FoxView
Table 9-10. Global Variables that Protect the On-Line Trend Configurator
Follow the procedure for protecting the display bar pop-up menu.
NOTE
You need to exit and restart FoxSelect for the disable/enable to take effect.
NOTE
You need to exit and restart FoxSelect for the disable/enable to take effect.
84
9. Upgrading from Display Manager to FoxView B0193MQ Rev M
Using FoxView
When FoxView is started, the initial display appears in the main window.
The display bar is at the left of the main window. Display bar buttons allow quick access to con-
figured displays or commands.
The alarm bar contains the System and Process alarm buttons. These buttons take the place of the
Sys and Alarm buttons in Display Managers top menu bar.
The message bar is to the right of the alarm bar. This area takes the place of Display Managers
message line, where informational messages are displayed to the operator.
The time/date bar is to the right of the message bar.
To change environments:
1. At the display bar or the File menu, select Change Environment.
2. In the Change Environment dialog box, select an environment from the list.
Type a password, if required, and click OK.
85
B0193MQ Rev M 9. Upgrading from Display Manager to FoxView
The menu bar changes to reflect the new environment. The display bar may also
change, depending on the environment.
Using FoxSelect
The I/A Series database is organized hierarchically by station, compound, and block. When the
FoxSelect window first opens, only the stations appear. Refer to FoxView Software (B0193WH)
for more information.
Using FoxView
Display Access
Displays are accessed in the same way as in the previous Display Manager, with the exception of
top menu bar direct access. In addition, displays can be accessed from the display bar, or from the
Most Recently Used (MRU) list of display files. This list is found under the File menu.
The MRU entries also support access through accelerator keys. Ctrl 1 calls in the current display,
Ctrl 2 calls in the previous display, Ctrl 3 the next previous, and so forth.
Changing Environments
A Change Environment dialog box can be accessed from the File pull-down menu. This dialog
box is also tied to an accelerator key, Ctrl E. By default, the list box displays the environment files
from the directory $FOX_ENV, or \usr\fox\env. This directory contains the enhanced environ-
ment files. A drop-down list box contains all files in this directory that:
have a .env extension
have the command chng_env.
After selecting an environment, enter any required password. FoxView automatically checks for
configured passwords, based on the name of the environment. Passwords are set using the
\usr\fox\wp\bin\tools\dmsepass utility.
Note the following compatibility issues with previous environment definitions:
The chng_env command must be found in the environment file, if the menu bar
should be cleared.
The button location specifier is not supported. All menu buttons are appended to the
current menu bar. Use the chng_env to clear the current menu bar. Menu buttons
cannot be swapped. The whole menu bar should be fully defined in the environment
file.
Direct access menu buttons are not supported. If encountered in an environment file,
they are ignored.
Menu buttons cannot blink.
FoxSelect
The Select Screen is now a dialog box with a tree or hierarchical representation of the control
database. Double-clicking on an expandable entry expands the entry. Expandable entries are iden-
tified with a + before the entry.
Non-expandable entries have a - before the entry.
86
9. Upgrading from Display Manager to FoxView B0193MQ Rev M
Alarm Bar
The alarm bar contains the Process button to access the Current Alarms Display and the System
button to access System Management Display Handler (SMDH). These buttons also indicate the
alarm status of process and system alarms.
Message Bar
The message line displays the current message. A drop-down list is provided to display the last
25 messages. This number is not currently configurable.
Status Bar
The status bar at the bottom of the window frame displays the following information, starting
from the right:
Full pathname of the current base display
Full pathname of the current environment
Name of the printer where operator actions are currently logged
Name of the historian where operator actions are currently logged
87
B0193MQ Rev M 9. Upgrading from Display Manager to FoxView
ENV_DIR
Is the directory containing environment files. Default is: \usr\fox\env
DM_IGNORE_EXT
Ignores extensions when displaying directory contents in pulldown
menus. Default is .pdf , .g, .ml.
88
10. ScratchPad Group and Trend
Displays
This chapter provides information on installation procedures, installed component parts, and
files for Scratchpad Group and Trend Displays.
Overview
FoxView installation includes a set of scratchpad trends (named TrendsList) and group displays
(named GroupList). Each of these scratchpad applications allows you to set up a unique set of 20
trend overlays and/or 20 group overlays for each FoxView environment.
ScratchPad Trends
You can create as many as 20 reusable trends from FoxView without having to build and config-
ure them through FoxDraw. These trends can be created with simple mouse clicks, and with min-
imal effort. You can build a trend, choosing from the four available sizes, 1/8, 1/4, 1/2, or Full
Screen. These trends can also be positioned anywhere in the FoxView window.
Installation
ScratchPad Groups and Trends are separate applications and do not have to be added to every
environment. When FoxView is installed, the Group displays are added to the Process_Eng envi-
ronment, and Trends are added to both the Process_Eng and Operator environments. ScratchPad
Groups and Trends can also be added to other environments. Each of them have their own instal-
lation scripts and can be installed separately.
ScratchPad Trends
To install scratchpad trends in Windows and Solaris based workstations:
1. From a DOS or CMDTOOL window, change to the ScratchPads Common directory
on the drive where the I/A Series software resides (typically D:).
For Windows based workstations, type:
D:
cd \opt\fox\displib\ScratchPads\Common
89
B0193MQ Rev M 10. ScratchPad Group and Trend Displays
Installed Components
The installed components are listed in the following sections.
ScratchPad Trends
The ScratchPad Trends use several new trends, scripts, and FoxDraw displays. It also requires that
several new OM variables get added to the wp51_globals.all file, which is located on the drive
where the I/A Series software resides (typically D:) in the \usr\fox\wp\data directory. The OM
objects are added to the wp51_globals.all file during installation of FoxView.
FoxView installation also creates a new directory ScratchPads under \opt\fox\displib. This
directory holds the files required for the operation of the ScratchPad Trend displays (except for the
90
10. ScratchPad Group and Trend Displays B0193MQ Rev M
trend library objects). The trend objects are installed into the \opt\fox\displib\Trends
directory.
The ScratchPads directory contains the following four subdirectories:
Common
Groups
ScratchPads
Trends.
ScratchPads and Trends are default directories, where files and directory structure are copied
from when installing ScratchPad Trends to an environment. Each environment that uses the
trends will have a unique set of files located in the \opt\customer\ScratchPads
\EnvironmentName directory. These files will access and use scripts and commonly used displays
from the Common directory.
Environment Files
Table 10-1 lists and describes the environment files.
dmcmd
$SPAD_DIR/../Trends/trend_sublist.txt
91
B0193MQ Rev M 10. ScratchPad Group and Trend Displays
dmcmd
close -name $FOX_DISPLIB/ScratchPads/Common/trend_list.fdf
subst button1
subst command1
subst button2
subst command2
subst button3
subst command3
subst button4
subst command4
subst button5
subst command5
subst button6
subst command6
subst button7
subst command7
subst button8
subst command8
subst button9
subst command9
subst button10
subst command10
subst button11
subst command11
subst button12
subst command12
subst button13
subst command13
subst button14
subst command14
subst button15
subst command15
subst button16
subst command16
subst button17
subst command17
subst button18
subst command18
subst button19
subst command19
subst button20
subst command20
ov $FOX_DISPLIB/ScratchPads/Common/trend_list.fdf -l UR
Each button on the trend_list overlay has a button label buttonX, where X is the number ranging
from 1 to 20. Each button also has a DM command configured as commandX, where X is the num-
ber ranging from 1 to 20. When this substitution list is run, it opens the trend_list overlay and
substitutes all the configured commands and button labels. They are replaced by the above text.
92
10. ScratchPad Group and Trend Displays B0193MQ Rev M
NOTE
To add an existing trend overlay to the trend list, change a button label name or set
a trend to open in a location different from the one configured. This is the file that
gets edited.
Common Files
The common files are listed below:
Trends \opt\fox\displib\Trends
Overlay_trend.m1 Quarter screen size trend object with assignable pens.
Refer to Figure 10-3.
Close Button
Overlay_trend2.m1 One-eighth screen size trend object with assignable pens. Refer
to Figure 10-4.
93
B0193MQ Rev M 10. ScratchPad Group and Trend Displays
Overlay_trend3.m1 Full width/half height screen size trend object with assignable
pens.
Overlay_trend4.m1 Full screen size trend object with assignable pens.
The information on the last two trends is set up like the quarter screen trend.
Trend Overlay \opt\fox\displib\ScratchPads\Common
master_trnd_eighth.fdf
master_trnd_half.fdf
master_trnd_quartr.fdf
master_trnd_full.fdf
When a new trend is assigned to an environment trend_list, one of files is copied into the
\opt\customer\ScratchPads\EnvironmentName\Trends directory. The copied file is
renamed as trend_button#.fdf, where button# is the number of the button that was
assigned to open the trend, and EnvironmentName is the name of the FoxView
environment.
For example:
If an operator assigns a quarter screen size trend to the tenth button in the Process_Eng
environment trend_list, the master_trnd_quartr.fdf file would be copied to:
\opt\customer\ScratchPads\Process_Eng\Trends\trend_10.fdf
Scripts \opt\fox\displib\ScratchPads\Common
convert90.script This script converts existing FoxView 8.0 ScratchPad files to the
new 9.0.1 format. It is executed when FoxView 9.0.1 is installed or it can be run man-
ually from a command prompt:
sh \opt\fox\displib\ScratchPads\Common\convert90.script
94
10. ScratchPad Group and Trend Displays B0193MQ Rev M
copy_trend.script This script copies the appropriate Master Trend Overlay file,
when an operator assigns a new trend to a list. The trend that is copied is based on the
choices made by the operator. It also updates the Trends substitution list file with a
new button label and command for the new trend that was added.
Create_NTglobals, Create_UNIXglobals Depending on the platform, one of these
scripts must be run during initial installation of FoxView. This file adds the new OM
variables to the wp51_globals.all file.
Install_Trends This script is used to install ScratchPads Trends into an environ-
ment. This is explained in the section Installation on page 89.
Update_list.dmscript This dmscript resets the variables entered, when creating a
new trend overlay. It then closes the trend setup overlays and opens the trend_list
overlay again with the new changes added.
Text files \opt\fox\displib\ScratchPads\Common
Help_Trends.txt This is the help file that is available to an operator through the
help pick on the trend_list overlay. This explains the general operation of the
ScratchPad Trends.
Displays \opt\fox\displib\ScratchPads\Common
Help_Trends.fdf This is the help overlay that is accessed from the Help button on
the trend_list overlay.
trend_list.fdf This overlay displays a list all the buttons and available trends.
trend_setup_1_2.fdf This overlay is used when assigning a new trend to the list.
trend_setup_1_4.fdf This overlay is used when assigning a new trend to the list.
trend_setup_1_8.fdf This overlay is used when assigning a new trend to the list.
trend_setup_full.fdf This overlay is used when assigning a new trend to the list.
trend_setup1.fdf This overlay is used when assigning a new trend to the list.
ScratchPad Groups
The ScratchPad Group displays use several scripts and FoxDraw displays. It also requires that sev-
eral new OM variables get added to the wp51_globals.all file, which is located on the drive
where the I/A Series software resides (typically D:) in the \usr\fox\wp\data directory. The OM
objects are added to the wp51_globals.all file during installation of FoxView.
The FoxView installation creates a new directory in \opt\fox\displib\ called ScratchPads.
This directory holds the files required for the operation of ScratchPad Group displays, except for
one trend library object. The trend object is installed into the \opt\fox\displib\Trends direc-
tory. There are four subdirectories under the ScratchPads directory: Common, Groups,
ScratchPads, and Trends. The default files and directory structure are copies to the Groups and
ScratchPads directories when installing ScratchPad Group displays into an environment. Each
environment that uses ScratchPad Group displays will have its own unique set of files located in
the \opt\customer\ScratchPads\EnvironmentName directory. These files will access and use
scripts from the Common directory. The Trends directory is used for ScratchPad Trends.
95
B0193MQ Rev M 10. ScratchPad Group and Trend Displays
Environment Files
Table 10-2 lists and describes the ScratchPad Group environment files.
Common Files
Trends \opt\fox\displib\Trends
Overlay_trend5.m1 Quarter screen size trend object with assignable pens. Refer to
Figure 10-5.
This object is slightly smaller than Overlay_trend2.m1. This provides enough space in
the display, for a set of control buttons at the bottom of the Group display.
96
10. ScratchPad Group and Trend Displays B0193MQ Rev M
97
B0193MQ Rev M 10. ScratchPad Group and Trend Displays
group_list.fdf This overlay displays a list all the buttons and available group
displays.
Help_Groups.fdf This is the help overlay that is accessed from the Help button on
the group_list overlay.
label.fdf This overlay is used to assign a group display to a button.
Procedures
ScratchPad Trends
Accessing Trend_list
To access ScratchPad Trends and open the list of available trends (as shown in Figure 10-6):
From FoxView, click ScratchPads > trend_list.
98
10. ScratchPad Group and Trend Displays B0193MQ Rev M
NOTE
A carriage return must be used for the new label to be assigned. Any lowercase letters
used get converted to uppercase.
3. After giving the button a label, select the type of overlay to use (Default, Stationary or
Moveable) as shown in Figure 10-7. Default opens the overlay in the mode to which
FoxView is set. Stationary or Moveable opens the overlay as described by the term.
4. After selecting the overlay type, select the size of the trend to be used, as shown in
Figure 10-7. This opens one of the trend setup_size.fdf overlays, as shown in
Figure 10-8.
99
B0193MQ Rev M 10. ScratchPad Group and Trend Displays
trend_setup.fdf
Trend_list
Button Label
Selected
Overlay Type
Overlay Types
Trend size to
create
There are four different screen-positioning overlays, one for each size trend. On this
overlay an operator can type coordinates into the ROW and COLUMN text boxes, or
move the horizontal and vertical slider, to position the overlay in the display. Select
Save after the trend position is set.
Four sizes of trends that can be created are shown in Figure 10-8.
100
10. ScratchPad Group and Trend Displays B0193MQ Rev M
c. Using the environment name, the button number and the selected trend type, it
copies one of the master trends into the ScratchPad Environment directory and
calls it trend_X.fdf, where X is the button number.
d. Using the new file name, the button label, the button number, and the ROW,
COLUMN coordinates, it edits the trend_sublist.txt substitution list. It searches
for the button number and replaces the button label and the button overlay
command.
Default substitution text string, as shown in Figure 10-9 changes to text string
shown in Figure 10-10.
subst button
subst command
dmcmd script
= TRND_NAM Label
dmcmd close -l 5%,95%
dmcmd close -l 5%,80%
dmcmd close -l 45%,80%
dmcmd subslist $SPAD_DIR/../Trends/trend_sublist.txt
exit 1
101
B0193MQ Rev M 10. ScratchPad Group and Trend Displays
102
10. ScratchPad Group and Trend Displays B0193MQ Rev M
103
B0193MQ Rev M 10. ScratchPad Group and Trend Displays
Shortcut
Menu
104
10. ScratchPad Group and Trend Displays B0193MQ Rev M
3. Click one of the nine predefined overlay location setup buttons. The buttons corre-
spond to the relative screen location (for example, UL=Upper Left, UP=Upper
Center, and UR=Upper Right).
-Or-
Enter a value for ROW (% down from the top of the screen) and press Enter; then enter
a value for COLUMN (% across from the left) and press Enter. Click ASSIGN.
The location selections are display in the New Loc field.
4. Click one of the following:
SAVE to save the changes to the trend_list button.
CANCEL to exit without saving the changes.
105
B0193MQ Rev M 10. ScratchPad Group and Trend Displays
Accessing Group_list
The group_list can be accessed using several ways.
To access ScratchPad Groups and open the list of available trends (as shown in Figure 10-17):
From FoxView, click ScratchPads > group_list.
106
10. ScratchPad Group and Trend Displays B0193MQ Rev M
107
B0193MQ Rev M 10. ScratchPad Group and Trend Displays
2. In the group setup overlay, give the group button a label by selecting and typing in the
Label area. This label can be up to 10 characters long. The operator can use any alpha-
numeric characters. Spaces are converted to underscores.
NOTE
A carriage return must be used for the new label to be assigned.Any lowercase letters
used get converted to uppercase.
3. After entering the Group Display label, click the Create button. This creates the new
Group display.
Button label
Creates
Group Display
subst button#
subst command#
108
10. ScratchPad Group and Trend Displays B0193MQ Rev M
After editing the substitution lists, the script opens the common base display by
running the new script group_#.dmscript.
After the display is called into FoxView, the Display.dmscript script checks the
position variables and opens the appropriate overlay.
For Variables P1 through P8, the script will (# = the P# variable number 1to 8):
Check if the location is a TREND. == _$P# _TREND. If it is a TREND, the
script opens the trend assigned to that location, (FOX6 is the variable for the
Button assigned to this group display).
ov $SPAD_DIR/../Groups/grouptrends$FOX6/trend#.fdf -sticky -tile #
If it is not a TREND, the script will then check to see if the location is not
EMPTY,
else != _$P# _EMPTY.
If it is EMPTY, the script goes on to the next P# variable
If it is not EMPTY the script opens the default faceplate for the Com-
pound:Block,
109
B0193MQ Rev M 10. ScratchPad Group and Trend Displays
1 2 3 4
Faceplate
Positions
5 6 7 8
Group
Configuration
110
10. ScratchPad Group and Trend Displays B0193MQ Rev M
Tile
Positions
Cancel Changes
There are several ways to assign a Compound Block faceplate to a tile position.
To assign a Compound:Block faceplate to a tile position using Select point:
1. Open a display that has the I/O point to be trended.
2. Right-click the mouse over an object that the I/O Point is connected to. This opens a
list of configurations that are connected to the object.
3. Click the configuration that is configured to the Compound:Block.Parameter to be
trended. This copies the Compound:Block.Parameter to the system clipboard.
4. Open the group display from the group list, or choose from FoxView recent file list, if
it exists.
5. Open the Group Editor overlay, and select the A (Assign) button next to the tile posi-
tion where the faceplate is to appear.
6. To save the changes click Update. The new group display opens.
To assign a Compound:Block faceplate to a tile position by manually typing the
Compound:Block:
1. Select the text field for one of the position variables P1 to P8.
2. Type the Compound:Block name, and press Enter.
Upper and lowercase may be used. The Update button converts everything to upper-
case.
111
B0193MQ Rev M 10. ScratchPad Group and Trend Displays
NOTE
Any lowercase letters are converted to uppercase.
112
10. ScratchPad Group and Trend Displays B0193MQ Rev M
113
B0193MQ Rev M 10. ScratchPad Group and Trend Displays
5. Click the A (Assign) button in the pen information area of the trend to assign the
Compound:Block.Parameter in the clipboard to the pen.
To configure the pens of the trend overlay using a touch screen:
1. Open a display that has the I/O point to be trended, or use one of the faceplates from
the Group display if the I/O point is there.
2. From FoxView, click File > Select Point.
3. Click the mouse over an object that the I/O Point is connected to.
This opens a list of configurations that are connected to the object.
4. Click the configuration that is configured to the Compound:Block.Parameter, to be
trended.
This copies the Compound:Block.Parameter to the system clipboard.
5. Open the group display if it isnt already open.
6. Click the A (Assign) button in the pen information area of the trend to assign the
Compound:Block.Parameter in the clipboard to the pen.
To configure the pens of the trend overlay using the Online Trend Configurator.
1. Open the group display if it is not already open.
2. Right-click the mouse over the Trend Grid Area to open the Online Trend Configura-
tor, as shown in Figure 10-24.
Refer to the FoxView Software (B0193WH) on how to use the Online Trend Configura-
tor.
114
10. ScratchPad Group and Trend Displays B0193MQ Rev M
115
B0193MQ Rev M 10. ScratchPad Group and Trend Displays
116
Appendix A. Multiple Display
Window and AM Configuration
This appendix describes how to configure additional FoxViews/DMs and AMs on a 50 Series
or 70 Series AW/WP by editing the dmcfg file.
To configure additional FoxViews/DMs and AMs on a 50 Series or 70 Series AW/WP, you should
use the Alarm/Display Manager Configurator which is accessible from the Config pull-down
menu in the Process Engineers Environment [refer to Workstation Alarm Management
(B0193RV)]. However, you can edit the dmcfg file to configure additional DMs and AMs.
To start with DMs and AMs, edit the file /usr/fox/customer/hi/dmcfg using a text editor. At boot
time, an initial dmcfg file is automatically created if one does not already exist (see Figure A-1).
Figure A-1 shows a dmcfg file for a system configured with WP workstations WP5101, WP5111,
and WP5121. The dmcfg file for a system configured with AWs is similar to the one in
Figure A-1.
NOTE
1. There is no need for users to configure a default DM and a default AM. A default
DM automatically starts up when a WP/AW is rebooted and has access to the
default AM. The default DM and AM have the letterbug name. If the Alarm/Dis-
play Manager Configurator is used to configure additional DMs and AMs, you
must to recreate the default DM and default AM so that the information resides in
the configuration file.
117
B0193MQ Rev M Appendix A. Multiple Display Window and AM
.
.
.
# Configuration of Multiple Display and Alarm Managers
#
# SCREEN <screen_variable> <monitor1> <monitor2>....
#
#
#TYPE <type> <window attributes> <class> <environment>
#
TYPE Operator - B Proc_Op_Env
TYPE AuxillaryOper QLRSM O Proc_Op_Env
TYPE RemoteOperator - O Proc_Op_Env
TYPE Engineer - E Proc_Eng_Env
TYPE View_Only - V -
#
# AMTYPE <type> <class> <environment>
#
AMTYPE Operator B Proc_Op_Env
AMTYPE AuxillaryOper O Proc_Op_Env
AMTYPE RemoteOperator O Proc_Op_Env
AMTYPE Engineer E Proc_Eng_Env
AMTYPE View_Only V -
#
# NAME <lbug> <dmname> <dedicated monitor(s)> <type>
#
NAME WP5101 WP5101 .0 -
NAME WP5111 WP5111 .0 -
NAME WP5121 WP5121 .0 -
118
Appendix A. Multiple Display Window and AM Configuration B0193MQ Rev M
.
.
.
# Configuration of Multiple Display and Alarm Managers
#
#
# SCREEN <screen_variable> <monitor1> <monitor2> ....
#
#
# TYPE <type> <window attributes> <class> <environment>
#
TYPE Operator - B Proc_Op_Env
TYPE AuxillaryOper QLRSM O Proc_Op_Env
TYPE RemoteOperator - O Proc_Op_Env
TYPE Engineer - E Proc_Eng_Env
TYPE View_Only - V -
#
# AMTYPE <type> <class> <environment>
#
AMTYPE Operator B Proc_Op_Env
AMTYPE AuxillaryOper O Proc_Op_Env
AMTYPE RemoteOperator O Proc_Op_Env
AMTYPE Engineer E Proc_Eng_Env
AMTYPE View_Only V -
#
# NAME <lbug> <dmname> <dedicated monitor(s)> <type>
#
NAME DMWP51 DMWP51 .0 -
NAME " ADM001 - -
NAME " ADM002 - -
NAME " ADM003 - -
#
AMNAME DMWP51 DMWP51 .- Operator
AMNAME " AM0001 .0 -
#
DMTOAM ADM001 AM0001
DMTOAM ADM002 AM0001
DMTOAM ADM003 AM0003
Figure A-2. Example of WP Configured for Four DMs and Two AMs
119
B0193MQ Rev M Appendix A. Multiple Display Window and AM
For flexibility, you can configure more DMs and AMs than the number of DM or AM licenses on
a WP/AW. However, at any given time the number of DMs or AMs running on a WP/AW is lim-
ited to the number of licenses available on that station.
To prevent usurping of system resources, the number of DMs that can be configured on a
WP/AW station has an upper limit of sixteen. Depending on your operating philosophy, you can
have multiple DMs accessing the same AM rather than having each DM associated with its own
AM.
Whenever the /usr/fox/customer/hi/dmcfg file on a WP/AW is modified, the station must be
rebooted for the changes to take effect. Configuration errors are logged on the system printer at
boot time.
For ease of maintenance, it is recommended that you configure all the additional DMs and AMs
for all the WP/AW stations on their system using one /usr/fox/customer/hi/dmcfg file. This
master dmcfg file can then be copied to all the other WP/AW stations. This should help minimize
any confusion and/or errors resulting from editing the dmcfg file on various WP/AW stations.
Duplicate DM names or AM names are a prime example of such errors.
NOTE
For quick startup, the dmcfg file can be manually edited as described. However, the
Alarm/Display Manager Configurator also allows you to configure multiple DMs
and AMs for multiple stations. The configurator must be used to configure AM
Properties.
Besides this document, a file /usr/fox/customer/hi/dmcfg.man is also provided to help you with
the configuration of multiple DMs and AMs. The file dmcfg.man is a text file and can be read by
using the more command, the vi editor, or any other text editor.
NOTE
The Alarm/Display Manager Configurator is recommended for configuring cus-
tomized multiple DMs and AMs. See Workstation Alarm Management (B0193RV).
120
Appendix A. Multiple Display Window and AM Configuration B0193MQ Rev M
SCREEN Definition
This section consists of defining a screen variable containing a list of monitors as follows:
SCREEN screen_variable monitor1 monitor2 monitor3......
A monitor can have following values:
Examples:
A screen variable defined in the SCREEN section can be used to assign a FoxView/DM or AM to
multiple monitors (see NAME or AMNAME section). Specifying the screen variable is the only
way to assign a FoxView/DM or AM to more than one monitor if at least one of the monitors is a
remote terminal. When assigning a FoxView/DM or AM to come up on either of the local moni-
tors, you can either use a screen variable or enter .- (a period followed by a dash) when specifying
a monitor name in the NAME or AMNAME section of the dmcfg file.
NOTE
The .0 and .1 convention of specifying the first or second read from a multi-headed
workstation is not supported on 70 Series workstations.
TYPE Definition
Defining a DMTYPE or AM TYPE consists of assigning the following properties:
DM Window Property (AM Window Property can only be assigned via the
Alarm/Display Manager Configurator)
DM Class or AM Class
FoxView/DM Environment or AM Environment.
Syntax for defining TYPE or AMTYPE:
TYPE Typename Window_Property Class Environment
OR
AMTYPE AMType Class First_Environment
where,
Typename or AMtype is a user-given name up to 14 characters long, and
Window_Property, Class, and Environment are described in the following sections.
121
B0193MQ Rev M Appendix A. Multiple Display Window and AM
NOTE
The Alarm/Display Manager Configurator must be used to configure AM
Properties.
122
Appendix A. Multiple Display Window and AM Configuration B0193MQ Rev M
DM Class or AM Class
A FoxView/DM or AM can have one of the following four classes:
The Default FoxView/DM and Default AM have a class, which cannot be changed by users.
Other DMs and AMs, by default, are assigned the class O.
A DM or AM with class O is meant for use by an operator and must be manually started by the
operator. You can terminate a DM or AM with class O after you have no further use for that DM
or AM. Otherwise, there is no difference between DM classes B and O.
A DM or AM with class E is meant for use by an engineer and must be manually started by the
engineer. An engineer can terminate a DM or AM with class E after he has no further use for that
DM. The only difference between DM classes O and E is that a class E DM updates displays
more slowly than a class O DM. There is no difference in updating performance between AM
classes O and E.
A DM or AM with class V is meant for occasional use for viewing process information only or for
remote users where process security is an issue. A class V DM or AM must be started manually.
Process variables cannot be set from a view-only DM; they can only be read. A class V DM
updates displays more slowly than a class E DM.
FoxView/DM or AM Environment
Users can specify the environment for a FoxView/DM or AM. The environment can be a stan-
dard Invensys Foxboro environment or a user-defined environment.
The default configuration code is - and it translates into Initial or Init_Env.
The default pathname for environments is /opt/fox/env for the FoxView environment and
/usr/fox/sys/Change_Env for the DM environment. You must enter the full pathname if the envi-
ronment file is not in one of these directories.
123
B0193MQ Rev M Appendix A. Multiple Display Window and AM
The following examples illustrate how AM Class and Environment are combined to define an
AM TYPE:
AMTYPE Operator B Proc_Op_Env
AMTYPE ViewOnly V -
AMTYPE Engineer E Proc_Eng_Env
Examples
In the above examples, DMWP51 is dedicated to the second head of DMWP51. AADM001 is
dedicated to an X Terminal. ADM002 and ADM003 are both dedicated to monitors on
DMWP51 defined in the screen variables LOCAL_MON and ALL_MONITORS respectively. A
quote in the field means copy the contents of the field defined in the previous line.
NOTE
In the above example for ADM002, you could have specified .- (a period followed
by a dash) instead of $LOCAL_MON to assign ADM002 to either local monitor.
Specifying xterm1 assigns ADM002 to X Terminal 1.
Syntax
keyword station_name am_name monitor_name am_type
Examples
AMNAME DMWP51 DMWP51 .1 Operator
AMNAME AM0001 $LOCAL_MON Engineer
AMNAME AM0002 $ALL_MONITORS ViewOnly
In the above examples, DMWP51 is dedicated to the second head of DMWP51. AM0001 and
AM0002 are both dedicated to monitors on DMWP51 defined in the screen variables
LOCAL_MON and ALL_MONITORS respectively. A quote in the field means copy the con-
tents of the field defined in the previous line.
124
Appendix A. Multiple Display Window and AM Configuration B0193MQ Rev M
NOTE
In the above example for AM0001, you could have specified .- (a period followed by
a dash) instead of $LOCAL_MON to assign AM0001 to either local monitor. Spec-
ifying xterm1 assigns AM0001 to X Terminal 1.
DM to AM Associations
In order to access a particular AM from the display window, you may create a FoxView/DM to
AM association. By default, letterbug AMs and DMs are associated with each other; an AM with
the same name as a DM is also automatically associated with its same-named DM. Depending on
the memory constraints and computing power of the individual workstations, multiple DMs may
need to be associated with the same AM. See Alarm Manager Considerations on page 8.
Defining a DMTOAM consists of entering the DM name and the AM name.
Syntax for defining DMTOAM:
DMTOAM dm_name am_name
The following are the DM to AM associations found in the configured dmcfg file shown in
Figure A-2 on page 119.
In the above example, Display Managers ADM001 and ADM001 access Alarm Manager
AM0001 and Display Manager ADM003 accesses Alarm Manager AM0003.
125
B0193MQ Rev M Appendix A. Multiple Display Window and AM
126
Index
/opt directory 69
/usr directory 69
A
Access level definition files 34
Additional AMs
starting up 10
stopping 11
Additional DMs
starting up 10
stopping 11
Alarm bar 87
Alarm Manager
calling up 85
Alarm Manager, considerations 8
Alarm/Display Manager Configurator 117, 120
AM
assigning custom monitors 124
assigning types 124
class 123
environment 123
licenses 7, 120
name 119
remote 12
B
Backward compatibility 47
Bitmap utility, thumbnail bitmaps 39
Blinking colors, configuring 73
Block database file format 62
Block parameter database functions 59
Button
process 83
system 83
C
Cascading menu entry 42
Changing environments 86
127
B0193MQ Rev M Index
Class 123
Color
blinking 73
palette, converting 71
colordef.dat file 71
Command, menu entry 41
Compounds
on/off access
disabling 84
enabling 84
Configuration
minimum requirements 118
multiple AMs 10
multiple DMs 10
Conversion, required from Display Manager to FoxView 67
Converting, display files 70
Customizing
AMs 11
DMs 11
D
Database file layout requirements 62
Dedicated AMs, licensing 11
Dedicated DMs, licensing 11
DEF_SCALING, keyword 66
DEF_TRENDING, keyword 66
Default AM 117, 118, 123
Default DM 117, 118, 123
Directories, /opt and /usr 69
Display access 86
Display bar
configuring 82
definition file 79
Display bar definition files 37
Display files, converting 70
Display Manager
converting files 68
switching back to 85
upgrading environment files 80
upgrading to FoxView 67
Display menus 44
Display names, rules 68
Display window
licenses 7, 8
variables 88
DM
assigning custom monitors 124
assigning types 124
class 123
environment 123
128
Index B0193MQ Rev M
licenses 120
name 119
remote 12
search paths 47
window property 122
DM to AM associations 8
dmcfg file 117, 118, 120
dmcfg.man file 120
Dual-headed WP51/AW51 stations 11
Dynamic resource allocation 12
E
Editing default Resource Allocation Levels 13
Environment
changing 85
definition files 33
passwords, setting 39
shortcut menu styles 44
shortcut menu types 44
Environment files, upgrading 80
ExpertSelect 23
functionality 23
F
File
colordef.dat 71
extensions 68
fv_blink.dat 73
Inital.mbr 77
Initial.env 77
menu bar 77
user edits to standard file 69
Font files 55
FoxAPI 68
FoxDraw
browser capability 68
file extensions 68
using the FoxAPI 68
versus Display Builder and Display Configurator 68
FoxSelect 86
calling up 85
using 86
versus Select Screen 68
FoxView
file extensions 68
getting started with 85
upgrading from Display Manager 67
using 85
129
B0193MQ Rev M Index
G
Globals, protecting 83
I
Initial.env file 77
Initial.mbr file 77
L
Ladder display
access 49
configuring location 49
installing on local disk 52
installing on logical host 52
relocate 50
workstation access 51
Layout requirements for database file 62
Licensing 11
Limiting access
to Alarm Manager from remote terminals 14
to Display Manager from remote terminals 14
within a Display Manager 17
within an Alarm Manager 17
M
Marker files 55
Menu bar definition files 35
Menu bar file 77
Menu button definition files 36
Menu definition file
sample 78
Menu definition files 43
Menu entry
cascading 42
command 41
SEPARATOR 41
Menu variable
SELBLOCK 43
SELCOMP 42
SELDISP 42
SELTAG 42
Message bar 87
Mode, select and assign 84
Multi-headed WP51/AW51 stations 5
130
Index B0193MQ Rev M
Multiple
alarm managers 7
display managers 7
N
NAME, keyword 62
O
Object Manager
connections 8
list 9
Object menus 44
Operation code 40
P
Palette, converting 71
Parameter database functions 59
PARAMS, keyword 63
Previous display, calling up 85
Process button 83
protect 29, 30
Pulldown file 29
Pull-down menu access control 29
R
RAL for DMs, accessing 12
Remote AMs 12
Remote DMs 12
Resource Allocation Levels (RAL) 12
S
SCALE, keyword 63
ScratchPad group displays
installation procedures 90
installed components 95
common files 96
environment files 96
overview 89
procedures 106
accessing group_list 106
adding faceplates and trends to group display 110
adding pens to trend overlay 113
creating a group display on group_list 107
editing trend settings 115
saving changes to group configuration 113
saving the pens of a trend 114
131
B0193MQ Rev M Index
ScratchPad trends
installation procedures 89
installed components 90
common files 93
environment files 91
overview 89
procedures
accessing trend_list 98
adding pens to a trend 101
creating a new trend on trend_list 99
editing trend settings 103
saving pens of a trend 102
SCREEN definition 121
Security 14
SELBLOCK menu variable 43
SELCOMP menu variable 42
SELDISP menu variable 42
Select and assign mode 84
SELTAG menu variable 42
SEPARATOR menu entry 41
Sequence code, access 52
Shortcut menu 40
examples 40
styles 44
types 44
Software, upgrading from Display Manager to FoxView 67
Standard files, user edits to 69
Status bar 87
STRINGS, keyword 63
System
button 83
T
Trending, database parameters 64
TRENDING, keyword 64
TYPE definition 121
DM window property 122
TYPE, keyword 62
U
Unprotect 29, 30
W
Windows Off Mode 11
WP configuration option 51
132
Index B0193MQ Rev M
133
B0193MQ Rev M Index
33 Commercial Street
Foxboro, Massachusetts 02035-2099
United States of America
www.foxboro.com
Inside U.S.: 1-866-746-6477
Outside U.S.: 1-508-549-2424 or contact your local Foxboro representative.
Facsimile: 1-508-549-4999
Printed in U.S.A. 0907