Professional Documents
Culture Documents
GFS-154B M03 System Configuration and Building Projects
GFS-154B M03 System Configuration and Building Projects
System Configuration
and Building Projects
Objectives
y Explain the SCU.
y Configure Nodename, file paths and services.
y Set network connections.
y Assign startup tasks.
y Demonstrate multiple project creation and management.
System Configuration and Building Projects
Overview
Most components of iFIX are on-line configurable, meaning that development can occur
while the system is running and in service. For the most part, the changes take effect
immediately. The exception to this is the basic configuration settings for the iFIX node.
These basic settings directly affect how iFIX is started, how it identifies itself on the network
and how it interacts with the data and systems distributed around the plant. These basic
settings are configurable from a single interface called the System Configuration Utility
(SCU).
Networking protocols, node names, IO drivers and PDB databases, project folders and
startup tasks are all configured in the SCU. For detailed configuration there are menus
available, as well as a handy toolbox. All settings can be changed on-line, but the changes
will not take effect until iFIX has been shut down and restarted using the changed SCU file.
Multiple iFIX projects may be configured for a single node, but only one project (and one SCU
file) can be used at a time. To segregate the various different configurations that may reside
on a PC, developers create distinct projects that use separate folders, files and SCU
configurations. Each target project is associated with its own SCU file and folders, and the
Launch application will start projects according to the SCU file specified by the user.
The SCU is one of the few iFIX tools that can be used when iFIX is not running. It can be
opened with the Windows “Run…” prompt by typing “SCU” or from within the “Proficy HMI
SCADA – iFIX 4.0” program group in your “Start” menu.
Node Name.
Networking.
Default PDB.
Alarm Services.
Configuration
Local Startup
Configuration
The Local Startup
Configuration is essential for
identifying a node with a
unique name or logical
name (nickname). It also
controls whether iFIX runs as
a service or automatically
starts at system boot.
Double-clicking on the Node
Name or using the
Configure menu opens this
dialog box.
Figure 3-4. The Local Startup dialog box.
Service
By enabling “Continue running after Logoff”, a developer can ensure that essential iFIX
SCADA processes can run independently of user login. Typically this includes essential data
gathering processes such as SAC, IO drivers, alarming, SQL tasks, networking, historical
collection, and background schedules. Even if Windows is logged out, these tasks will
continue to run in the background and provide clients with necessary data.
“Start FIX at system boot” ensures that iFIX starts automatically once Windows is running.
Path Configuration
The Path configuration allows users to specify where project files are located. The folder
locations listed in each individual SCU file govern where iFIX will look for things like graphic
displays, PDB files and historical archives. In this way, many different projects can be
developed on the same node but kept in distinct locations.
The Path configuration can also use shared folders, mapped drives or network resources as
file locations. In this way, historical files or operator displays may be stored centrally and
accessed by users over the network. This will ensure all users are using the same content or
data while reducing the maintenance efforts required to copy content around the network
when changes are made. UNC addressing is supported (ex. \\Server\Drive\Directory).
Project Folders
The following is a brief summary of the files contained within each folder.
Base: Location of iFIX executable files. Application (APP): Miscellaneous documents.
Project: Root directory for project files. Historical (HTR): Historical configuration.
Local: SCU files, Toolbars, .INI files. Historical Data (HTRDATA): Archives.
Database (PDB): PDB, IO drivers, schedules. Alarms (ALM): Alarm files.
Picture (PIC): Displays, Tag Groups, Alarm Areas AAD: Alarm Area Database.
Dynamos, Color sets.
Base Directory
By default, iFIX installs to the directory locations in Figure 3-5. However, if for some reason a
user installs iFIX in a different location, the Base directory can be edited to use the specific
install location for that node. This will ensure that iFIX uses the correct base directory to
launch all iFIX applications, such as the SCU or the Workspace.
It is common for project folders (Database, Picture, etc.) to be sub-directories of the Base
directory. The Change Base button can be used to reassign the project directories using the
new Base. The SCU will even prompt the user and create new directories if they do not
already exist.
The Change Project button is used to reassign the remaining project directories to include
the project root directory (eg. ProjectA or PlantA project root directory). If the project folders
already exist, the path configuration will update the entries to reflect these project folder
locations. (The project folders do not have to be subdirectories of the Base directory).
NOTE:
Creating new projects must be performed when iFIX is not running.
Network Configuration
One of the most powerful features of any SCADA/HMI is the ability to distribute process
information around the network to multiple users in various operational disciplines. iFIX is
built to communicate to clients and other applications at real-time using either TCP/IP or
NetBIOS network protocols. Because the Client-Server relationship means that the client
requests data and the server responds, network configuration in the SCU is very
straightforward. It consists of enabling networking, choosing a network protocol and
defining valid server nodes (SCADA nodes only).
SCU Configuration
Network configuration is very simple. Once your IT staff have everything in place for
successful Windows-based networking, configuration should proceed quickly.
Stand-alone nodes will choose “No Network Support”. For networked users, NetBIOS and
TCP/IP are the only choices for network protocols and all clients and servers must use a
common protocol. Other protocols (such as Novell’s IPX) may coexist with these, but iFIX will
not use them to transfer data.
Once the network protocol has been chosen, Remote Nodes may be specified. These
Remote Nodes are iFIX nodes that you can use as sources of data. iFIX SCADA nodes are the
only node types that can collect and manage data, so iClient node names do not need to be
added to this list. Simply add the SCADA name to Remote Node Name and click Add.
Dynamic Connections is an option you can set for clients with very infrequent requests for
data from any available node on the network. This allows a client to scan the network for
any SCADA node name used as a source in its operator displays. It will then issue a request
for data from that SCADA. Due to the extra scanning overhead, it is strongly recommended
that the Remote Nodes list be manually created for all but the most casual of iClients.
Enforce Trusted Computing uses the accompanying password as a security certificate to
validate connecting clients. The password in the SCU on both the client and server must be
identical. This feature will only work between nodes using iFIX v.4.0 and higher.
If using dynamic IP addresses with a Domain Name Server (DNS) on your network, the
solution is less simple. A static list like the HOSTS file will not work because each machine
will change its IP address periodically. Fortunately, a DNS server tracks these changes and
provides an automatically updated list to networked users. However, the DNS server
matches up IP addresses to computer names or domain names only - it does not know
about node names! In order to accurately route iFIX messages around a network using DNS,
the node names must be identical to the computer names. That way, when requests are
made by iFIX clients the DNS server thinks the node name is really a computer name and
correctly routes the request to the proper IP address or computer name.
Task Configuration
Depending on the duties of the iFIX node, it will need to run certain applications. These are
normally iFIX applications such as IO drivers, SAC or the Workspace but often they can
include important third party applications (for example, MS Excel, Oracle client software,
reporting software, etc.). The Tasks configuration in the SCU allows a user to list the
applications to start with iFIX as well as any special parameters to use when starting the
application.
Common Tasks
Tasks can be started normally (in the foreground as a window), as minimized applications
(icon in the Windows taskbar, *) or in the background as processes (no window, no icon, %).
Figure 3-9. Typical SCU Tasks configurations for SCADA (left) and iClients (right).
Project Management
iFIX provides a variety of tools to assist with the management of projects and SCU files.
These tools allow the user to start iFIX using a designated SCU file (inheriting its directories)
and node name.
Launch
Launch.EXE can pass parameters to the FIX.EXE to start a project using an alternate SCU file
and node name. When Launch.EXE is used, a simple user dialog appears and prompts the
user for instructions. Launch is available by typing “Launch” at the Run prompt, by using the
iFIX desktop icon, or by using the “iFIX 4.0” icon in the “Proficy SCADA HMI – iFIX 4.0” program
group.
Proficy iFIX: The top section allows a user to browse for a SCU file to load a project, as well
as enter a Node Name. If edited, this Node Name will over-ride the default node name in the
SCU file.
Sample System: This allows the user to start a two-hour demonstration sample system. It is
a good orientation and learning tool for beginners and developers alike.
SCU: Opens the SCU for editing.
Desktop Shortcut: This uses the settings from the top section (Proficy iFIX) to create a
desktop shortcut that will automatically start that iFIX project without opening the Launch
application.
The check box at the very bottom reverts the Launch icons to use FIX.EXE and the default
SCU file.
When FIX.EXE is used, the Profile Manager will check the list and start the appropriate project
using the node name and SCU file associated with the currently logged in Windows user. If a
Profile does not exist for the user, the Launch dialog will appear to prompt the user to
manually start iFIX.
Lab Exercises
Lab Objectives:
y Set the Node Name and enable the Local Node Alias option
y Set the Project File Locations with the SCU.
y Configure iFIX Networking.
When you are finished with these exercises, answer the Summary Questions at the end of
the module.
3. The System Configuration Utility should launch. This utility is one of the few tools you
can use when iFIX is started or shutdown. (Your default SCU file may look different).
4. Change or Verify your Node Name to be SCADA##, where ## is your assigned student
number. This node name is how other iFIX nodes in the classroom will connect and
interact with your SCADA node. You can access the node name by:
a. Double-clicking the NODE on the black monitor screen, or
b. Configure menu Æ Local Startup…
Do not be concerned about the Configuration File settings just yet. We will be returning
to this later in the lab. For now, leave this field with its default setting.
6. When finished, your Local Startup dialog should look similar to this…
7. Click “OK” to be returned to the main SCU screen. Notice the Node name has changed.
Double-click the text banner at the very top of the SCU screen, and change the text
description to something similar to what is shown below.
Text Banner.
1. We are going to configure the Project Paths used by this SCU file. Open the Paths
configuration:
a. With the Toolbox icon , or
b. Configure menu Æ Paths
2. You should be presented with the Paths configuration dialog. Remember that the BASE
path is where all iFIX executables and applications reside by default. The PROJECT
paths are reserved for user files such as displays, IO Driver configurations and PDB files.
3. Leave the BASE path with the default setting. We want iFIX to always look for
applications and executables where they have been installed.
5. Click the Change Project button at the bottom. You will be prompted with the following
dialog box:
Click Yes.
This will create new folders for all the paths required by iFIX to store displays, schedules,
IO Driver configurations, PDB files… in short, all user configurable files. It will also
transfer the factory default files to these folders. Dynamo sets, toolbars, INI files, color
sets and certain .CSV files are included in this set of files.
7. Click OK to complete the Path configuration. You will be asked to verify folder creation
by iFIX with these dialog boxes:
Respond with Proceed. We will be creating an Alarm Area Database file later.
8. You are returned to the main SCU screen. You can use Windows Explorer to view your
new project folders, along with the factory default files. These were automatically
created by the SCU in the preceding steps.
10. We can now set the Configuration File. Use the browse ? button to browse to your new
folder location C:\\iFIX\154Water\ and click Open. The new path will be present in your
Local Startup definition.
11. Click OK to commit the changes. You will be prompted with the following:
12. You are returned to the main SCU screen. We will now save our SCU file. From the File
menu, choose Save As…, and accept the default path and enter the new filename
(SCADA##). Click Save.
From now on, this SCU file will launch our water project from this set of folders.
15. A new window will appear. Notice that the default start options now use the information
we just created. We can start this project using the Launch button, but first we have
other details to complete.
Start up information.
Launch Project.
16. Create a desktop shortcut for this project by pushing the shortcut button. It will take the
information at the top and incorporate it into a set of instructions to pass the iFIX
launcher. Provide a shortcut name similar to the one shown below.
This shortcut will immediately launch the project without any further prompting from
the user. Check your desktop to verify that it was created.
4. In the Remote Node Name field, type in the Instructor’s Node name. The Add button will
become active – use it to add the instructor SCADA to your list of Configured Remote
Nodes. Pick one or two other node names from student PCs around the classroom and
add them as well.
5. When ready, your Network configuration should resemble the one pictured below.
7. Close the SCU. When your projects starts, these node names will be included in the list
of data sources that your node can connect to. iClients will not added to this list.
Remember, once an iFIX project is started, changes to the SCU will occur only after the
node is re-started.
8. If you want to look at the Windows file that will match network addresses to node
names, open Windows Explorer. For a recent Windows OS, such as Windows XP, the
HOSTS file will be located in the following directory:
C:\Windows\System32\Drivers\Etc
For an older OS, the Hosts file may be located here:
C:\WINNT\System32\Drivers\Etc
In either case, the HOSTS file can be opened with a text editor such as Notepad.
9. If you have an empty file, check with your instructor. Otherwise, your hosts file should
look something like the sample below (but with different names and IP addresses)
This file will help Windows match requests for node names to the proper network IP
addresses. That way the correct network connections are made and the iFIX nodes can
transfer data and alarms between each other.
10. Close the HOSTS file.
Review Questions
1. When do changes made to the SCU take effect?
3. What is the difference between the BATH path and the PROJECT path?
5. What types of iFIX nodes appear in the Configured Remote Nodes list of the Network
configuration?
Review
Now that you have completed this module, you should be able to:
y Explain the SCU.
y Configure node name, file paths and services.
y Set network connections.
y Assign start up tasks.
y Demonstrate multiple project creation and management.