1config Animation Avec FoxDraw3
1config Animation Avec FoxDraw3
Introduction
Configuring an object means to connect the object to a process variable. This is done to allow the operator to
both monitor and control the process through a graphic display.
There are two ways of configuring a display object. This is done using Dynamic Update and Operator Action.
Dynamic Update means that a process variable or a file is connected to one of the object's attributes, such as
text content, visibility or fill level. With this type of configuration, changes in an attribute are triggered
dynamically by changes in the process variable. This type of configuration is used to monitor the system. No
operator intervention is necessary.
Operator Action connects the entire object to an action, such as opening a display or changing a setpoint. An
operator triggers the action by selecting the object. An individual object can have both Dynamic Update and
Operator Action connections, although it can have only one operator action.
Each object type (rectangle, circle, text, etc.) has its own set of dynamic attributes, visibility, fill level, text
color, etc.).
Suggested reference material:
• FoxDraw Software B0193WG
Module Objective:
Utilizing all available documentation, the student will be able to use FoxDraw to configure process
displays.
Enabling Objectives:
The enabling objectives that support this module objective are as follows:
1. Configure process displays using Dynamic Update and Operator Action functions.
2. Build and access a library object.
3. Create a User Palette.
4. Build, configure, and operate a Group Display.
5. Convert display files.
6. Create a display convention
TABLE OF CONTENTS
5 Display Conventions..................................................................................................... 61
Introduction.................................................................................................................................... 61
Configuring a Convention ............................................................................................................. 62
Applying a Convention.................................................................................................................. 64
Access
General Tab
The Select Object box contains a list of the object(s) which have been selected on the display
before entering the Configure Objects dialog box. If an object has been assigned a name by the
user, the name will appear on the list. Otherwise, the generic name for the object will appear
(rectangle, circle, group).
If the object already has a Dynamic Update or Operator Action assigned to it, the icon to the left
of the name will be yellow.
Important Note: Linked objects on a display are only configured as a whole. Linked objects can
be identified by the symbol. They cannot be expanded into their
individual components. They cannot be ungrouped in the display.
Configured Objects Only
Selecting this box will cause only already configured objects to be displayed in the Select Object
area.
Object
The Object section of the General Tab allows the user to assign a name to the object. This is
convenient for identifying multiple objects of the same type on the Select Object list.
Update Tab
Adding a dynamic update to an object selected from the list is accomplished by selecting the +
icon. This accesses the Add Dynamic Update dialog box.
Conversions
There are six types of conversions. They are based on what type of data will be used as the
source for the dynamic attribute.
Continuous
When the source is a real number or integer whose value will be used in such attribute changes
as fill level.
Discrete
When the source is a Boolean or integer value.
Bit State
When the source is a 16 bit packed Boolean or a 32 bit packed long Boolean.
Threshold
When the source can be divided into zones. Each zone can be assigned a different attribute
change.
Numeric/Text
When the selected object is text or background text, numeric values or text may be connected.
Read File
Will display the contents of an ASCII file.
Dynamic Attributes
Note: Since a dynamic update function can be used with different types of conversions, not
every combination is described here. Also, once a dialog box entry option is explained,
it may not be explained again in subsequent combinations. For more information, refer
to the Help button in individual dialog boxes.
Tag
Enter the compound:block.parameter name of the source. You can also enter a text alias, to
expose the tag property of the dynamic.
If the source is already in the control database, the Tag button allows the user to choose from a
list.
Trigger
Trigger is only used when the source data type is text. The trigger causes text changes to be
updated. Without a trigger, text will only be updated when the display is called up in FoxView.
Delta Units
Enter a value which represents by how much the value must change in engineering units before
the display will update the value.
Default Values
If the source is in the control database, selecting CP Delta will insert the delta value from the
block.
Type Numeric
Text
Numeric Format
This selection is used to choose in what format the numeric data will be displayed.
Selecting Automatic will let the computer decide how to best fit the data into the space provided.
Selecting Fixed Decimal Point allows the user, through Decimal Location, to determine the
number of places used after the decimal point.
This combination is used when an object or group's visibility depends on a Boolean or integer
source value.
Tag
Enter the compound:block.parameter name of the source. You can also enter a text alias, to
expose the tag property of the dynamic.
If the source is already in the control database, the Tag button allows the user to choose from a
list.
Minimum State
For a Boolean source there will be 2 states, a value of 0 or a value of 1. Therefore, enter a 0 for
the minimum state.
Number of States
Enter the total number of possible different values for the source for the conditions to monitor.
For a Boolean source the number of states is 2 to represent a possible value of 0 or 1.
State 0 and State 1 are now displayed in the visibility box. The user may then assign visibility by
clicking on the boxes next to each state number.
Invisible
Visible
Edit
The Edit icon allows the user an alternate way to assign the visibility function by just selecting
visible or invisible from the dialog box.
Copy/Paste
The Copy and Paste icons allow the user to copy configurations and then paste them to another
object's configuration.
A filled object can be connected to a continuous value (usually a real number) to graphically
indicate its value.
The most common use is to represent a tank level by connecting a parameter's low scale to
indicate empty and the high scale to indicate full.
Tag
The source Compound:Block.Parameter. You can also enter a text alias, to expose the Tag
property of the dynamic.
Delta
Amount in engineering units, by which the variable must change before the fill level is updated.
Static
With the Static button selected, subsequently selecting Control Values enters the High and Low
Scale directly from the source. Selecting Default Values will enter 100.0 and 0.0.
Run Time
With the Run Time button selected, a pull-down menu in the range box displays usually RI1
(Range of Input 1) or RO1 (Range of Output 1). When a range is defined, FoxView retrieves the
range information from the control processor at display call-up. If the high and low scale are
changed in the block configuration, the range will automatically update.
The user may also manually enter the High and Low Scale.
High Scale
Low Scale
High Fill
A number in percent which indicates how much of the object will be filled when the high scale is
reached (usually 100.0 %)
Low Fill
A number in percent which indicates how much of the object will be filled when the low scale is
reached. (Usually 0.0 %)
Note: For a reverse fill action, the High Fill can be set at 0.0 % and the Low Fill can be set at
100.0 %.
Options
Selecting Optimize Updates have FoxView update an object's fill level more quickly. Exception:
do not optimize fill update for objects that move, rotate or scale.
To select an Operator
1. Double click a state under the Operator Box (alternate way - select a state under the Operator
Box and then the Edit icon).
2. Select the desired operator form the resulting Operator Box.
3. Select OK.
To select a value
1. Double click a state under the Value Box.
2. Enter the desired value.
To select a color
1. Double click on the desired state under the Fill Color Box (alternate way - select a state under
the Fill Color Box and then the Edit icon).
2. Select a color from the palette.
3. Select OK.
State 1 always has the highest priority, then State 2 and so on. When more than one state is true,
FoxView displays the state with the highest priority.
Follow Object
Enter the name of the object which is to be followed. Selecting the down - arrow box will list the
assigned names of objects on the same display.
The configuration option Show Object Followed makes the followed object visible or invisible in
FoxView. The default is On.
This option rotates the object so that it always maintains the same position relative to the path.
Type the rotation angles for the high and low scales. Note that FoxView rotates objects
counterclockwise by default. To rotate clockwise, make the High Angle smaller than the Low
Angle.
To do this, the Block Status parameter (BLKSTA) of the PID block will be used. It is a 32 bit
word whose bowlines indicate the status of the block.
If the block is in track, Boolean 26 will be a 1.
If the block is in hold, Boolean 25 will be a 1.
If the block is in manual, Boolean 21 will be a 0.
If the block in using local setpoint, Boolean 22 will be a 0.
Object
Number of States
Bit Mask
Bit Match
Double clicking on this field, or by selecting the field and then the Edit icon, displays the Bit
Selection dialog box.
Text field
The text field maybe edited by double clicking on the field or single clicking on the field and then
selecting the Edit icon.
Action Tab
This tab is used to associate the object or library object with an action, such as opening another
display, toggling a Boolean value or executing a command. In FoxView, the action is triggered
when the operator clicks on the object.
Note: An object can have only one operator action. If an object within a group is configured
with an operator action, do not configure the group with an action. If a group is
configured with an operator action, do not configure any of the individual objects with
an action.
Action
The Action column will display an already configured operator action such as Open Display or
Ramp.
String
The String column list what the action is connected to. An example may be the full path name of
the display to open, or it may be the Compound:Block.Parameter connection which will be
ramped.
Protection ID
To protect the operator action in certain environments, enter a nonzero number 1-255 (0 is the
default and makes the action accessible in all environments).
Each of FoxView's environments (For example - Initial, Operator, Process Engineer) uses the
Protection ID to protect or unprotect Protection ID values as the environment is accessed.
In order to activate Protection ID in an environment, modify the Environment_Name.mbr file as
described in the example below.
For example, in the Initial Environment, it is desired to protect all actions with a Protection ID of
4 and 5 and unprotect Protection ID 6, In the Initial.mbr file, you would enter the following
commands at the end of the file:
Command Meaning
unprotect all Clear any existing protections set by previous environments.
protect value 4,5 Make all actions with a Protection ID of 4 and 5 inaccessible
unprotect value 6 Make all actions with a Protection ID of 6 accessible
Action Name
A user name may be entered here. This name can be used with the Relative Pick command to
initiate the action.
Add
Whenever the Add Button is selected, the Add Operator Action dialog box is displayed. The user
then selects the operator action type action from the list provided, and then OK.
Numeric/Text Entry
This operator action allows the operator to set a variable or specify a string.
When the numeric option is selected, the parameter value listed in the Object field can be set by
the operator.
Important Note: If Numeric entry is used, also assign the Dynamic Update of Text Contents to
the same object. This ensures that the field will not only be used to set a
parameter's numeric value, but also to read back the current value in case it is
changed by another source.
Open Display
This operator action will cause the display listed in the File field to appear on the screen when the
object is selected.
File
Browse
Double clicking on Browse will allow the user to explore the file system to choose a display file.
Open Overlay
This operator action will cause the overlay listed in the File field to open on the base display.
Attributes
Opens the overlay next to a Relative Pick (yellow highlighted) area. Relative Pick will be
explained later in this module.
Sticky Overlay
Keeps overlay open until the operator purposely selects its Close button or closes the base
display. (Normally an overlay closes when another overlay opens on top of it, or when the
operator closes an overlay that was opened before it.)
On Top Overlay
Prevents existing overlays from closing when another overlay opens on top of them.
Overrides the overlay size and makes the overlay the same size as the Root Group in the base
display.
The Root Group contains all the objects in a display. For example, a base display may contain
just two objects and occupy only a fraction of the screen. With the Root Size option, you can
make an overlay exactly the size of the rectangle that encloses the Root Group.
Pick Overlay
Screen Position
Modes
FoxView provides the capability to move overlays off the FoxView main window. At runtime,
overlays can be switched from stationary to moveable or from moveable to stationary. Even
overlays created with previous versions of software can be changed into moveable overlays.
Moveable
Stationary
As Built
Retains mode from time the overlay was built through copy and conversion functions.
Close Overlay
This operator action will selectively close overlays.
Relative Pick
This operator action is usually used to set the value of a variable, PICK1. This is a string variable
which may contain the name of Compound, Block, or Parameter, or all three. It is used when the
user wishes to build a common button function.
On a group display, a part of the faceplate must first be selected before either the A/M or R/L key
is selected. The selecting of a faceplate section utilizes the relative pick function.
Use the following procedure to configure a relative pick:
Step Action
1. Select the object on the display that is to establish the temporary value of the
variable, named PICK1.
2. Choose Configure Objects from the Quick Menu or from the [Object] key.
3. Select Operator Action and then Add.
4. Select Relative Pick.
5. Enter = PICK1 COMPOUND:BLOCK into the Command String and
then OK..
Ensure that there is a space after the equal sign. For example the pathname entry may be:
= PICK1 TANK1_COMP:LC100
When the assigned object is selected on the active display, the path specified will automatically
become the value of the variable called PICK1. The selected object on an active display will
appear surrounded by a yellow box to indicate that it is utilizing the relative pick function.
Use the following procedure to configure an object to utilize the PICK1 variable:
Step Action
1. Select a second object on the display that is to utilize the value of the PICK1
variable.
2. Decide upon the action to be performed on the value of PICK1.
3. Use $PICK1 in the Object field in lieu of a specific path.
$ instructs the display to retrieve the contents (value) of the variable PICK1.
For example, the action may be to execute a display management command that toggles a
Boolean parameter such as the MA parameter. After assigning the Display Command function to
the object, the Command String would contain:
toggle $PICK1.MA
This tells the I/A Series system to toggle the MA bit in the compound and block currently defined
as the value of the variable PICK1.
Keep in mind that the common scenario is to assign the relative pick function to each of several
objects on a display. When selected, each of these objects will work in concert with a second key
that will most likely modify a parameter.
Momentary Contact
This operator action allows for the operator changing of Boolean values such as for pump or
motor control.
Tag
This option will send a pulse to the destination Boolean for as long as the mouse/trackball button
is held down.
Pulse Type/Timed
This option will send a pulse for the time entered in the Time field.
Toggle
This option will momentarily toggle the value of the destination Boolean.
RAMP
The ramp operator action will ramp the value of the target object either up or down by the amount
specified whenever the left mouse button is clicked. Selecting the object and holding down the
left button will cause a continuous ramping until the button is released.
Ramp Up
Ramp Down
Ramp Value
The value entered here is the amount by which the object's value will ramp whenever the mouse
button is clicked. It is measured in percent of the object's maximum and minimum value or
range.
Connect Variable
This operator action is used to change discrete values. It is normally used to set sustained values
to bowlines such as in starting/stopping motors and pumps.
Minimum State
The lowest value of the discrete value that is being set. For a Boolean destination, this is 0.
Number of States
The number of possible values the destination can be set to. For a Boolean this is 2.
0 -Whatever value is entered after this field, is what the destination value will be set to if the
original value of the destination is 0.
In our example, if the pump is off, an operator selecting this button will turn the pump on
(PROCESS_2:MTR_CNTRL.MANRUN will be changed from a 0 to a 1).
1 - Whatever value is entered after this field, is what the destination value will be set to if the
original value of the destination is 1.
In our example, if the pump is on, an operator selecting this button will leave the pump on
(PROCESS_2:MTR_CNTRL.MANRUN is already a 1, this will leave it a 1.
Required
If the Tag is an alias, then check this box to specify that all exposed dynamics must be resolved to
be operational at run-time.
Move Vertical/Horizontal
This operator action allows the operator to select an object, and while holding down the button
and dragging the object to a new location, change the value of a parameter or variable.
Pen Number
Pen Color
This box displays the current pen color. Selecting the box displays a color palette for the user to
change the desired pen color.
Marker Style
Selecting the triangle button allows the user to select a marker style to be placed on line update
points.
Historian
This field allows the user to enter the Historian/Instance name associated with the source. This
will allow the trend to display historical information.
Auto-scale
When checked, this function will put the trend into Auto-Scale. This is explained later in this
module.
Guard Band
This function is only used with Auto-Scale. It defines an “additional range” buffer that may fall
out of the calculated scale range. See FoxDraw Help for additional information.
Min Span
This field determines the minimum difference allowed between High and Low scale displayed on
the trend. This function is enabled only when Auto-scale is selected.
0 Name
Enter up to six characters for the name of the variable's 0 state (Off, Closed, etc.). The state name
appears in all trends except Graph Only trends.
1 Name
Enter up to six characters for the name of the variable's 1 state (On, Open, etc.). The state name
appears in all trends except Graph Only.
Data Origin
This field determines the pen's vertical position on the trend graph. The position is a percentile of
the full height of the graph, measured from the bottom.
In the example, if Pen 1 is assigned to a Boolean variable, its trend line will appear at the 10
percentile.
0 Offset
Type a two-digit percent value to specify the graph position for the variable's 0 state. The percent
entered is added to the pen's Data Origin percentile so that the 0 line is not confused with a grid
line.
In the above figure, if Pen 1 is assigned to a Data Origin of 10 and a 0 Offset of 5, this means that
the graph will be filled in from 10% to 15% when the Boolean value is 0.
1 Offset
Enter a two-digit percent value to specify the graph position for the variable's 1 state. The percent
you enter is added to the pen's Data Origin percentile.
In the figure above, when the Boolean value is 1, the 1 Offset of 20 means that the graph will be
filled in from 10% to 30%.
Trend Area Tab (trends only)
Logarithmic
Selecting Local produces a time and date stamp. Selecting Relative represents the current time
and date as 0. As an example, fifteen minutes in the past would be represented as – 15.
Markers
Selecting Line Markers will enable markers on the pen line. Selecting On Each Point places a
marker on each point, or enter a number of markers in the Number of Markers field.
Off Normal
Off Normal selects a band of selected color which will appear on the trend above the High value
and below the Low value. This is a convenient way of coloring in absolute alarm bands on the
trend.
Options
The Options section allows the user to change the trend background color and the display style.
Banded versus Merged styles will be explained later in this module.
Y-Axis
The functions sets the Y-Axis scale. See FoxDraw Help for additional information.
Grid Tab
Line Color
Line Number
The section will allow the user to enter the number of lines appearing on the grid.
Timing Tab
This tab allows the user to set the scan rate and duration of the trend. Scan Rate means how often
the trend will update. Duration means how much information will appear on the trend at one time
(10 minutes worth of date, 15 minutes, etc). Allowable scan rates and durations depend on the
size of the trend.
Security Tab
The Security tab allows the user to assign access to on-line trend modifications. If security is
desired, enter an access level number between 1 and 256 each desired function. Users will only
have access to these functions if the access level number is unprotected in the current
environment, or if the access level number is 0.
Configure Trend
This security function allows access to being able to modify trends on-line.
Save Changes
This security functions allows the user to make any changes permanent.
Keyboard Entry
1. Select [Object] from the menu bar and then Link from Library.
2. Expand the User Symbols directory.
3. Select the object's file name and then Load.
4. Position the cursor to the desired area and then click the left mouse button.
4 FILE CONVERSION
FoxDraw has the capability of converting displays from one type to another.
Conversion Operations
File conversions are accomplished in FoxDraw by selecting [Tools] on the menu bar and then
Display Converter.
PDF to FDF
Packed Display File (.pdf, UNIX-based 50 Series display) to FoxView Display File (.fdf,
FoxDraw and FoxView format)
G to FDF
ASCII (.g or Global format, used for porting displays between Windows NT and Solaris) to
FoxView Display File (.fdf)
FDF to G
FoxView Display File (.fdf) to ASCII (.g or Global format, used for porting displays between
Windows NT and Solaris)
FDF to BMP
FoxView Display File (.fdf) to Bitmap (.bmp or .i)
BDF to M1
Bitmapped Distribution Format (.bdf, 50 Series marker) to Foxboro library object (.m1)
Color change a .g file
Approximates the colors in an ASCII file with Foxboro display colors, and overwrites the file.
DXF to G
Data Exchange Format (.dxf) to ASCII (.g or Global format, used for porting between Windows
NT and Solaris)
DXF to FDF
ASCII (.g or Global format, used for porting between Windows NT and Solaris) to Foxboro
library object (.m1)
Upgrade Display
Conversion Example
This section will list the steps needed to move and convert a .g or PDF file to .fdf format
1. From FoxDraw, select [Tools] from the menu bar and then Display Converter.
2. Select the .G or .PDF to FDF conversion.
3. Select Browse and then select the file(s) to be converted.
4. Select Open.
5. Select Convert.
6. Select Close
5 DISPLAY CONVENTIONS
Introduction
A display convention (or convention), which is a collection of one or more dynamic attributes,
offers these benefits:
You can quickly apply a group of dynamics to an object. Once a convention is configured, you
can apply it to many different objects, which saves you time configuring objects. Also, you avoid
errors and debug time when you apply a convention that you have already built and debugged.
If you change a convention's configuration, each object to which the convention is applied
automatically receives the change. This greatly improves display maintainability.
For each dynamic, a parameter automatically appears, helping you to quickly configure the
dynamic. This occurs only when the optional list of parameters has been pre-specified.
Display call-up times are improved in FoxView.
The Foxboro Company supplies conventions that you can apply to objects. You can also
configure your own conventions.
Important: The rules governing the application of an attribute to an object also apply to
conventions -- you can apply no more than one occurrence of a particular attribute to
an object. Because a convention comprises one or more attributes, FoxDraw does
not allow you to apply a convention to an object already configured with an attribute
contained in the convention. For example, if an object has already been assigned the
Fill Color attribute, you cannot apply a convention that includes the Fill Color
attribute. Similarly, you cannot apply an attribute to an object that has been
configured with a convention that includes that same attribute.
Configuring a Convention
You can configure a display convention that you can save and use on multiple objects.
Applying a Convention
To apply a convention, perform the following steps;
10. On the Edit Convention window, select Convert and then OK.