Ifix Migration Guide
Ifix Migration Guide
FANUC Spares
Proprietary Notice
The manual and software contain confidential information which represents trade secrets of Intellution,
Inc. and/or its suppliers, and may not be copied or disclosed except as provided in the license with
Intellution, Inc. The information in this manual is subject to change without notice and should not be
construed as a commitment by Intellution, Inc. Intellution, Inc. assumes no responsibility for any errors
that may be in this document.
©2003 GE Fanuc International, Inc. All rights reserved. All other brands or names are property of their respective holders.
Trademarks
Microsoft® Visual Basic® Technology. ©1996, Microsoft Corporation. ALL RIGHTS RESERVED.
Contents
1. Introduction .........................................................................................................................1
Contents i
FANUC Spares
Converting Security Files ..............................................................................20
Converting the System Configuration Utility .................................................20
Index .......................................................................................................................................37
ii Migration Guide
1. Introduction
The iFIX Migration Guide contains information to help you transition from
FIX v6.x or v7.x to iFIX. The guide contains these five chapters:
Introduction – describes the guide, who should read it, and what you need to
know to complete the migration.
Migrating to iFIX with DDA Drivers – discusses several issues when you
migrate to iFIX while using the BR3, LIN, ROC, or MBR driver.
Chapter 1. Introduction 1
FANUC Spares
Individuals performing this migration should also have some understanding
of Visual Basic or Visual Basic for Applications (VBA). This foundation
will help you develop your iFIX system.
2 Migration Guide
2. Before Migrating to iFIX
This chapter provides information you need before installing iFIX including:
FANUC Spares
Table 2-1: Recommended System Configuration (continued)
If you are running a View You can get data and alarms from these
Client… SCADA Servers
FIX for Windows NT/95 v6.x • FIX for Windows v5.5 /10
• FIX for Windows v5.5 /30
• FIX for Windows v5.65
• FIX for Windows NT/95 v 6.x or v7.x
• iFIX
4 Migration Guide
Table 2-2: Compatibility of FIX Nodes on the Network (continued)
If you are running a View You can get data and alarms from these
Client… SCADA Servers
FANUC Spares
Table 2-3: iFIX Global Subroutines (continued)
6 Migration Guide
Table 2-3: iFIX Global Subroutines (continued)
MESSAGE System.SendOperatorMessage(Text As
String,[Nodename As String])
FILEOPEN Open
FILECLOSE Close
FILEREAD Input #
FILEWRITE Write #
Each of the following sections begins with a table that provides a quick
description of how specific functionality is converted. The subsequent
subsections provide more detailed conversion information.
FANUC Spares
Converting Alarm Functionality
This section describes how the FIX v6.x and v7.x Alarm functionality
converts to iFIX.
Alarm Areas
The FIX v6.x and v7.x A-P alarm areas are compatible with iFIX. No
special conversion is needed.
Alarm Horn
iFIX has an alarm horn that causes the computer’s speaker to beep
whenever unacknowledged alarms are present. No special conver-
sion is needed.
8 Migration Guide
Alarm Counter
FIX v6.x and v7.X alarm counters convert directly to iFIX. No special
conversion is needed.
This section describes how the FIX v6.x and v7.x Database functionality
converts to iFIX.
FIX v6.x and v7.x Process Database files automatically convert to the iFIX
format. Ensure that the FIX v6.x or v7.x .PDB database file is located in the
\Dynamics\PDB directory, and than start iFIX. The conversion occurs when
iFIX starts up. You can also copy the file into the PDB folder, start iFIX, and
then run DBCVT.exe, before starting the Database Manager. DBCVT.exe is
a database conversion utility located in the \Dynamics directory.
FANUC Spares
Easy Database Access (EDA) and Historical Data Access (HDA)
Programs
Existing applications that use EDA and HDA work with iFIX. However,
EDA programs built under the v6.x or v7.x FIX Integration Toolkit are not
able to send or receive alarms. You must recompile and link the program
using the iFIX Integration Toolkit to access this functionality.
Database Dynamos
To use your Database Dynamos, you must recompile them with the iFIX
Database Dynamo Toolkit. Follow the steps outlined in the iFIX Database
Dynamo Toolkit and the Database Converter will update your Database
Dynamos. The Database Converter runs whenever iFIX is started.
This section describes how the FIX v6.x and v7.x Dynamic Data Exchange
functionality converts to iFIX. For more information on any of the DDE
functionality discussed in this section, refer to the Using DDE manual.
10 Migration Guide
Table 2-6: DDE Functionality Conversion Quick Reference (continued)
iFIX can act as a server to other DDE-aware applications. Use the same
DDE syntax that you use to access the FIX v6.x or v7.x process database.
You can bring data into the iFIX Process Database through the DDE Driver
in the same way you bring it into the FIX v6.x or v7.x Process Database.
DDE is not supported within the Intellution WorkSpace. Use OPC or ODBC
(with VisiconX) to bring data into an iFIX picture.
Report Generator
The FIX v6.x and v7.x Report Generator is not supported by iFIX because it
uses DDE. However, iFIX works with Crystal Reports and many other third
party reporting tools. For example, you can:
FANUC Spares
The Crystal Report run-time DLLs are now included with iFIX to provide
the capability of running developed Crystal Reports on all your iFIX
iClients. Note that this is not the complete Crystal Reports tool.
This section describes how the FIX v6.x and v7.x Historical functionality
converts to iFIX.
Chart Groups, Pen Groups, iFIX does not use these existing
Time Groups groups to view historical data.
Historical Assign (HTA) has not changed. Simply open your FIX v6.x or
v7.x .HTA files using the iFIX Historical Assign program.
12 Migration Guide
Chart Groups, Pen Groups, Time Groups
The Historical Display program does not exist in iFIX. Existing Chart
Groups, Pen Groups, and Time Groups are also not used in iFIX. Instead, in
iFIX you view historical data in the Chart Object of a picture. You can
create and configure new Chart Objects within a picture in the Intellution
WorkSpace or use the Chart Group Wizard.
You can view historical data from FIX v6.x or v7.x nodes using the Chart
Object in an iFIX picture.
Lab Data
You cannot view lab data directly in a Chart Object. To view the data, you
need to convert the lab data into a relational database and use scripting to
view the data.
You cannot view SQL data directly in a Chart Object. You can use scripting
to view the data.
FIX v6.x and v7.x I/O Drivers work with iFIX, but you must first export
them. For more information, see the Manually Exporting Files section in the
Migrating to iFIX chapter.
FANUC Spares
Converting the Message Handler Package (MHP)
Functionality
The Message Handler Package is not a part of iFIX, but you can duplicate
this functionality within the iFIX environment. As an example, add a simple
text object to a picture and animate the caption of that text object. Use the
Table Conversion option and map an integer value into a text string. When
the value of the datasource changes, the text on the screen also changes.
This section describes how the FIX v6.x and v7.x ODBC functionality
converts to iFIX.
14 Migration Guide
SQT & SQD Blocks
FIX v6.x and v7.x Process Database files will automatically convert to the
iFIX format. Locate the FIX v6.x or v7.x *.PDB file in the Dynamics\Pdb
directory and start iFIX v2.5. The conversion occurs when iFIX starts up.
You can also copy the file into the PDB folder, start iFIX and run
DBCVT.exe, before starting the Database Manager. DBCVT.exe is a
database conversion utility located in the \Dynamics directory.
The ODBC Data Source is configured in the Windows NT Control Panel and
is not affected by Intellution software.
The easiest way to view data from an OBDC data source in a picture is to use
VisiconX. This powerful tool requires no scripting and is easy to use.
All Intellution OPC servers developed with the v7.1 toolkit operate under
iFIX.
NOTE: The OPCNIO.DLL option that converts v6.x drivers into OPC
Servers is no longer provided by Intellution, nor will it work with iFIX. All
new Intellution OPC Servers are built using the v7.1 OSDK toolkit. All v6.x
I/O drivers work with iFIX.
FANUC Spares
Converting Picture Functionality
This section describes each FIX v6.x and v7.x Picture functionality that
converts to iFIX.
16 Migration Guide
Subpictures
[1] Select the picture you want to create as an Always on Top Picture.
[2] Click the right mouse button anywhere in the Intellution WorkSpace.
A popup menu appears.
[3] Select Picture from the popup menu. The Edit Picture dialog box
appears.
[4] Select the Always on Top check box in the Edit Picture dialog box,
to create a picture that will display on top of other pictures.
The difference between the Subpictures functionality in FIX v6.x and v7.x
and the Always on Top picture described above is that the picture does not
close automatically when the picture that opened it closes.
Graphic Dynamos
FANUC Spares
BDF Files (Block Definition Files)
BDF files are not available in iFIX. However, you can view the information
contained in BDF files by creating a picture or by creating a user form in
VBA.
iFIX does not support the FIX Command Language. iFIX translates all
Command Language scripts to comments in the VBA script attached to the
converted picture. All Command Language functionality exists in VBA.
The Script Converter scans through the VBA code searching for
unconverted FIX32 Command Language scripts which are contained as
comments in iFIX pictures. When a script is found, it is converted to its
equivalent VBA code. The original FIX32 script remains as a comment.
18 Migration Guide
Layout Files
While iFIX does not contain layout files, you can configure a default layout
through User Preferences in the WorkSpace:
[1] Select User Preferences from the WorkSpace menu. The User
Preferences dialog box appears.
[2] Click the Startup Pictures tab. The pictures listed in this dialog box
open when you start the WorkSpace in run mode.
Tag Groups
You can convert FIX v6.x and v7.x Tag Group files by using the iFIX Tag
Group Editor.
[1] Open the file in the FIX v6.x or v7.x Tag Group Editor.
[3] Select Convert .CSV files to .TGD Files from the File menu. The
Tag Group Editor converts the files.
For more information about Tag Groups, refer to the Creating Pictures and
Creating Recipes manuals.
FANUC Spares
Picture Templates
While iFIX does not support the use of picture templates, you can duplicate
this functionality by creating read-only pictures. You can open and edit
these pictures, but you must save them by using a new name, thereby
preserving the original read-only file as a template.
Zoom To Functionality
Existing Key Macro Files do not convert to iFIX. However, iFIX v2.5 has a
Key Macro Editor with a wizard that lets you create new key macros quickly
and easily.
FIX v6.x and v7.x recipe files will work with iFIX, but you must export
them. For more information, see the Manually Exporting Files section in the
Migrating to iFIX chapter.
FIX v6.x and v7.x security files will work with iFIX, but you must export
them. For more information, see the Manually Exporting Files section in the
Migrating to iFIX chapter of this manual.
The System Configuration Utility converts to iFIX. You must export the
settings to an .RPT file and then re-enter them in the iFIX SCU. For more
information on exporting SCU settings, see the Manually Exporting Files
section in the Migrating to iFIX chapter of this manual.
20 Migration Guide
3. Migrating to iFIX
This section describes iFIX migration tasks, including:
• Networking machines.
• Getting updates.
Backing up Files
Intellution recommends that you back up your current FIX installation
before proceeding with the migration to iFIX. If a complete backup is not
possible, ensure that, minimally, the following files are backed up:
FANUC Spares
Networking Computers
If you are installing iFIX on a computer other than the one currently running
the application, connect the two machines using a network. If there is no
network connection, then you must copy files that you manually export to
the target machine using removable media.
Obtaining Updates
Intellution recommends that you obtain the following updates before
migrating to iFIX:
• Download the latest SIMs and the latest drivers from the Intellution
web site, http://support.intellution.com:500/downloads/sims/.
• Check for new utilities available for download, located on the iFIX
Developers’ Corner page on Intellution’s web site, http://
support.intellution.com.
22 Migration Guide
Completing Tasks on the Current FIX
Installation
Complete the following tasks on the computer containing your current FIX
installation. Note, document, and correct errors when applicable.
[1] Verify the FIX Process Database by selecting Verify from the
Database menu, located in the Database Builder.
[2] Export the FIX HTA file by selecting Export from the File menu,
located in Historical Assign. Import the HTA configuration back into
the Historical Assign file by selecting Import from the File menu.
[3] Click the I/O Control tab from Mission Control, and note the Time
Outs, the Retries, and the DRVST* error codes.
[4] Click the HTC tab from Mission Control and check for overruns.
[5] Click the SQL tab from Mission Control and check for errors.
[1] Start the current installation of FIX (if it is not already running).
FANUC Spares
[5] Select Export from the File menu. Note the location of the exported
files and select Save. Passwords are not exported and you must
recreate them later.
[6] Select Exit from the File menu in the Security Configuration program
to return to the SCU.
[7] Select Report from the File menu of the SCU main screen. Note the
file name (NodeName.RPT) and location. Intellution recommends
that you use Notepad to print this report for future reference.
[9] Once the Configurator has started, select Save As from the File menu
and specify CSV file type. Repeat this step for each Channel of each
Driver currently installed. Note the file names and locations for later
use.
[11] If the current project uses recipes (RCP.EXE), start Recipe Manager.
Otherwise, advance to Step 13.
[12] From the File menu in the Recipe Manager, select Save As .RCX
(Master text) or .RCY (Control text) for each Master and Control
Recipe. Note the file names and locations.
[13] If the current project contains Tag Groups, start the Tag Group Editor
(TGE.exe). Otherwise, advance to Step 15.
[14] Open a .TGE file, select Save As from the File menu, and specify file
type .CSV. Repeat this step for each tag group file. Note the file
names and locations for later use. When finished, exit the Tag Group
Editor.
24 Migration Guide
NOTE: FileWedge, available at http://www.taltech.com, is a utility that you
can use to automatically export files. Using FileWedge, you can open, edit,
and save hundreds of files without user intervention. FileWedge uses an
ASCII file as a template for an integral SendKeys program, which can send
an automated series of Keystrokes into any currently active window.
For example, to create a .TXT file containing a list of all the TGE files in the
FIX32\PIC directory, you enter the following at the command line:
Using FileWedge, you can now operate on the entire file list.
[2] Check the computer and its installed software. From the Start menu,
select Programs, then select Administrative Tools, and then select
Event Viewer. Inspect the System and Application entries. Note,
document, and correct any errors. Contact the System Administrator
if you need assistance.
[3] Check the size of the current Swap file. Follow Intellution’s
recommendations for correctly sizing the Swap file. Contact the
System Administrator if you need assistance sizing the Swap file.
[4] Verify the virtual memory setting. Your virtual memory should be set
to 2.5 times the physical memory (RAM). If you are unsure of how
to change the Virtual Memory settings on your operating system,
contact your System Administrator for assistance.
FANUC Spares
[5] If networked, verify that the network is functioning properly. If using
TCP/IP as a network protocol, verify that all Hosts files are correct
and current on all FIX nodes on the network.
[6] If applicable, turn off anti-virus software. Disable the software and
reboot your computer before you install iFIX. Once your upgrade is
complete, you may restart your anti-virus software.
[1] Ensure your FIX software is not running, and close any other
programs that are running.
[3] Insert the iFIX CD into the CD-ROM drive. If Setup does not start
automatically, select Run from the Start menu. Enter your CD drive
letter, followed by a colon and a backslash and the command
Setup.exe, (for example, D:\Setup.exe), and then click OK.
[5] Select NO, do not use the current SCU information when you see the
prompt “SCU found do you want to use its information?”
[6] When prompted for the Destination Folder, select a unique folder.
Do not install over the current FIX installation. When finished,
select Next.
26 Migration Guide
[9] Enter the Node Type and Network Type, if applicable, and then click
OK.
[14] Install applicable iFIX SIMs and add-ons from the Intellution web
site.
[2] Verify that the Node name is correct. Refer to the NodeName.RPT
report described in the Manually Exporting Files section for this
information.
[3] Enter the Database Name you want to use. Ensure it is the same
name as the previous project. When prompted, select Use Anyway.
[4] Select SCADA from the Configure menu to verify that drivers are
present. If required, add the SIM and DDE driver to the Configured
I/O Drivers list.
[5] Select your current Driver from the list of Drivers and then click the
Configure button.
FANUC Spares
[6] From the Driver Configurator, select Open from the File menu.
Change List Files of Type to .CSV in the combo box. From the
Folders List, browse to the file you created in step 9 of the Manually
Exporting Files section.
[7] Select Save As from the File menu and save the changes to the
\Dynamics\Pdb directory. Repeat this process for each Driver and
Channel in use on the project.
[8] Save and Exit the Driver Configurator when you complete these tasks
for all drivers.
[3] Select the I/O Control tab and examine the information. Ensure that
data is being polled. If data is present, advance to Step 6.
[4] If there is no data present, ensure that the Driver is loaded and is
running. Exit Mission Control and select System Configuration to
start the SCU.
[5] Select SCADA from the Configure menu, select the I/O driver and
verify that the Poll Records are present. If they are not present,
repeat steps 6 and 7 in the Setting Up the System Configuration
Utility section.
28 Migration Guide
[6] Minimize the WorkSpace.
[7] Using Windows Explorer, copy the PDB you want to convert to the
iFIX PDB Directory.
<DriveLetter>:\Dynamics\dbcvt.exe.
[b] Select Reload from the Database menu, located in the Database
Manager.
[c] Select the converted PDB file to open the Process Database
from the file lists.
[11] Errors that occur during the database conversion are written to the
error log file (dbcvt.err). You can open this file in any text editor.
Use this log file to identify the individual tags causing the problems.
Consult your manual or contact Intellution for more details on how to
troubleshoot database conversion errors.
[1] Use Windows Explorer to copy the old HTA files to the location
specified in the Path Configuration in the SCU.
[2] Copy the HTRDATA files to the location specified in the Path
Configuration in the SCU.
FANUC Spares
[3] Start Historical Assignment:
[b] Navigate and locate the file you created in the Manually
Exporting Files procedure.
[a] Select New Recipe from the FIX Recipes directory, located in
the system tree in the WorkSpace.
[b] Open the .RCX and .RCY files created during the Manually
Exporting Files procedure.
[5] If you have Tag Group Editor files, start the Tag Group Editor.
[c] Browse to the files you created in the Manually Exporting Files
procedure from the Folders List.
[6] If you want to import your old security configuration, you can do so
now:
[a] Select Setup from the Security directory from the WorkSpace
System Tree.
[b] Select Import from the file menu from the Security
Configuration main menu.
30 Migration Guide
[c] Browse to the file you created in the Manually Exporting Files
procedure from the Folders List.
[d] Select Open, and follow the prompts. Passwords may need to
be re-entered for the User configuration.
[e] You can optionally enable security at this time. When done,
exit and save changes.
[7] Convert the FIX .ODF file to iFIX .GRF files. Use the notes in the
Converting Pictures chapter for more information.
FANUC Spares
32 Migration Guide
4. Converting Pictures
This chapter describes how to use the Picture Conversion Utility to convert
pictures created in previous versions of FIX. The following information
describes how to use the utility and how to download upgrades as they
become available.
Additional information about the utility is available in the Using the Picture
Converter Utility section of the Creating Pictures manual.
NOTE: The Picture Conversion Utility converts pictures to iFIX from FIX
versions 5.65, 6.0, 6.12, 6.15, and 7.0.
[1] Copy your FIX v5, v6.x or v7.x database to the Dynamics\Pdb
directory.
[3] Ensure that the database your pictures reference is the currently-
loaded database. If it is not, open the Database Manager and reload
the database.
If any of the pictures reference tags on remote nodes, then the remote
nodes must be running and a connection to them must be established.
FANUC Spares
[5] When the utility opens, select Set Destination Directory from the File
menu and select the destination directory for the converted pictures.
[6] Select Open ODF File to Convert from the File menu. The Select
Picture Files for Conversion dialog box appears.
[7] Browse to the directory where the FIX pictures you want to convert
are located.
[8] Select the pictures to be converted, and click the Open button. The
utility converts the pictures selected, sending any conversion
warnings or errors to the utility window.
For additional information on using the Picture Converter utility, refer to the
Using the Picture Converter section of the Creating Pictures manual.
You can download upgrades for the Picture Converter utility from the
Developers’ Corner page on the Intellution Web site, located at http://
support.intellution.com:500/downloads.
34 Migration Guide
5. Migrating to iFIX with DDA Drivers
This chapter discusses finding and replacing a tag when you migrate to iFIX
while using the BR3, LIN, ROC, or MBR driver.
When using the Find and Replace operation in iFIX, you must add another
pair of backslashes around the first backslash, as shown in the following
example. These additional backslashes are needed because the first
backslash is considered part of the tag’s address.
FIX32.Fix.\\’Device1:Record1\\’.F_40001
FANUC Spares
36 Migration Guide
Index
database Dynamos 10
A DDE 10
alarm areas 8
alarm counter 9 E
alarm horn 8
Easy Database Access (EDA) programs 10
exporting
B FIX files not automatically exported 23
backing up files 21
BDF 18 F
block definition files
see BDF files
backing up before migrating 21
manually exporting 23
C FileWedge utility 25
finding and replacing a tag 35
Chart Group Wizard 13 FIX Nodes
chart groups 13 compatibility on the network 4
Command Language Scripts 18 FIX32 command scripts 5
Command scripts functionality conversion
corresponding iFIX global subroutines 5 alarm areas 8
completing the migration 29 alarm counter 9
converting pictures 33 alarm horn 8
converting to iFIX database dynamos 10
functionality conversion 7 database files 9
tasks to complete on the iFIX target DDE 10
machine 25 historical 12
CPU I/O Drivers 13
recommended clock speed 3 Key Macro Files 20
MHP 14
ODBC 14
D OPC servers 15
Pictures 16
database 9 recipes 20
database Dynamo conversion process 10 report generator 11
Index 37
FANUC Spares
security 20 MHP 14
System Configuration Utility 20 migrating to iFIX
information needed to complete 1
tasks to complete on your current FIX
G installation 23
Visual Basic knowledge needed 2
global subroutines 5 with DDA Drivers 35
graphic Dynamos 17
O
H
ODBC 14
historical 12 ODBC Data Source 15
Historical Assign (HTA) 12 OPC Servers 15
historical data operating system
existing 13 recommended 3
Historical Data Access (HDA) programs 10
P
I
pen groups 13
I/O Driver and Database Migration 28 Picture Conversion Utility 33
I/O Drivers 13 using to convert pictures 33
iFIX picture functionality
installation procedure 26, 27, 28, 29 converting 16
migration process 21 picture templates 20
installing iFIX 26 pictures
converting 33
process database as a client 11
K process database as a server 11
S
M
security 20
memory setting up the System Configuration Utility 27
recommended minimum 3 shapes and bitmaps 17
Message Handler Package SQL queries, existing 13
see MHP subpictures 17
38 Migration Guide
Symmetrical Multiprocessor (SMP) computers
3
system configuration
minimum CPU clock speed 3
minimum physical memory 3
operating system 3
video specifications 4
System Configuration Utility 20
system performance 3
T
tag groups 19
tags
finding and replacing 35
time groups 13
U
updates
obtaining before migrating 22
V
video specifications
recommended 4
Visual Basic 2
Visual Basic for Applications 2
W
Windows 2000 3
Windows 95 3
Windows 98 3
Windows NT 3
Workspace (pictures) as a client 11
Z
Zoom To functionality 20
Index 39
FANUC Spares
40 Migration Guide