Professional Documents
Culture Documents
Migration
Version 3.5
User’s Guide
AdvaBuild®
Migration
Version 3.5
User’s Guide
NOTICE
This document contains information about one or more ABB products and may include a
description of or a reference to one or more standards that may be generally relevant to
the ABB products. The presence of any such description of a standard or reference to a
standard is not a representation that all of the ABB products referenced in this document
support all of the features of the described or referenced standard. In order to determine
the specific features supported by a particular ABB product, the reader should consult the
product specifications for the particular ABB product.
The information in this document is subject to change without notice and should not be
construed as a commitment by ABB. ABB assumes no responsibility for any errors that
may appear in this document.
In no event shall ABB be liable for direct, indirect, special, incidental or consequential
damages of any nature or kind arising from the use of this document, nor shall ABB be
liable for incidental or consequential damages arising from use of any software or hard-
ware described in this document.
This document and parts thereof must not be reproduced or copied without written per-
mission from ABB, and the contents thereof must not be imparted to a third party nor used
for any unauthorized purpose.
The software or hardware described in this document is furnished under a license and
may be used, copied, or disclosed only in accordance with the terms of such license.
This product meets the requirements specified in EMC Directive 89/336/EEC and in Low
Voltage Directive 72/23/EEC.
TRADEMARKS
All rights to copyrights, registered trademarks, and trademarks reside with their respec-
tive owners.
Section 1 - Introduction
Prerequisites and Requirements ......................................................................................15
Section 2 - Migration
General ............................................................................................................................17
Migration from HP-UX to Windows...............................................................................18
Preparation Before Migration from HP-UX to Windows ....................................18
Database Migration from HP-UX to Windows....................................................19
Overview of Database Migration ........................................................19
Procedure for Migration of a Database ...............................................20
TCL File Migration from HP-UX to Windows....................................................28
Overview of TCL File Migration ........................................................28
Procedure for Migration of TCL Source Files in FMS Format ..........29
FMS User Data File Migration from HP-UX to Windows ..................................35
Overview of FMS User Data Files Migration.....................................35
Procedure for Migration of FMS User Data Files...............................35
Using File Migration Utility for Multibus to Windows...................................................43
Multibus Preparations ..........................................................................................43
DCN File Transfer Utility ....................................................................................43
3BUR002065R3501 5
Table of Contents
Migrating Files.................................................................................... 44
Create Ladder Logic File List ............................................................. 47
Transfer TLL Files .............................................................................. 48
Transfer Page Builder Graphics or Console Environments ................ 49
Check Log File and Exit ..................................................................... 50
6 3BUR002065R3501
Table of Contents
INDEX
3BUR002065R3501 7
Table of Contents
8 3BUR002065R3501
About This Book
General
This book describes how to migrate a full or partial database, TCL files (sequence
and recipe source), and FMS user data files (Page Builder files, Console
Configurator files, TLL files, PLC configuration files, and memory pool
configuration files) from either the HP-UX or Multibus platform to the Windows
platform.
Use this section as a guide to the conventions and terminology used throughout this
book. For a list of documentation related to the product described in this book, see
Related Documentation on page 12.
Warning indicates the presence of a hazard which could result in personal injury.
3BUR002065R3501 9
Document Conventions
Tip indicates advice on, for example, how to design your project or how to use a
certain function.
Although Warning hazards are related to personal injury, and Caution hazards are
associated with equipment or property damage, it should be understood that
operation of damaged equipment could, under certain operational conditions, result
in degraded process performance leading to personal injury or death. Therefore,
comply fully with all Warning and Caution notices.
Document Conventions
The following conventions are used for the presentation of material:
• The words in names of screen elements (for example, the title in the title bar of
a window, the label for a field of a dialog box) are initially capitalized.
• Capital letters are used for the name of a keyboard key if it is labeled on the
keyboard. For example, press the ENTER key.
• Lowercase letters are used for the name of a keyboard key that is not labeled on
the keyboard. For example, the space bar, comma key, and so on.
• Press CTRL+C indicates that you must hold down the CTRL key while
pressing the C key (to copy a selected object in this case).
• The names of push and toggle buttons are boldfaced. For example, click OK.
• The names of menus and menu items are boldfaced. For example, the File
menu.
– The following convention is used for menu operations: MenuName >
MenuItem > CascadedMenuItem. For example: choose File > New >
Type.
– The Start menu name always refers to the Start menu on the Windows
Task Bar.
• System prompts/messages are shown in the Courier font, and user
responses/input are in the boldfaced Courier font. For example, if you enter a
10 3BUR002065R3501
Terminology
Terminology
The following is a list of terms associated with AdvaBuild software that you should
be familiar with. The list contains terms and abbreviations that are unique to ABB
or have a usage or definition that is different from standard industry usage.
Term Description
ATF ASCII Transition File
BTF Binary Transition File
CI Computer Interface
DCN Distributed Communication Network. E-DCN is an
Ethernet DCN.
FMS File Management Services
FTP File Transfer Protocol
MCB MOD Control Builder
RCS Revision Control System
TCB TCL Builder
TCL Taylor Control Language
TLB TLL Builder
TLL Taylor Ladder Logic
Windows Microsoft Windows operating system
3BUR002065R3501 11
Related Documentation
Related Documentation
Table 1 identifies the documentation to consult for detailed information on a given
subject related to the AdvaBuild software.
12 3BUR002065R3501
Related Documentation
After you install the AdvaBuild documentation, you can access it from the
Windows task bar by choosing Start > Programs > ABB Industrial IT > Control
IT > AdvaBuild > Documentation > Document.
3BUR002065R3501 13
Related Documentation
14 3BUR002065R3501
Section 1 Introduction
The Control Builder does not directly support serial data transfer functions for
migrating MOD 300 database configuration files generated on an IBM PC with
PC Template Generator software to the Windows platform. You must first
download the database generated with the PC Template Generator to either the
HP-UX or Multibus platform, and then migrate the database to the Windows
platform.
3BUR002065R3501 15
Prerequisites and Requirements Section 1 Introduction
16 3BUR002065R3501
Section 2 Migration
General
The MOD 300 system supports four platforms for database configuration:
• the PC running the Windows operating system with AdvaBuild software,
• the Advant Station with AdvaBuild for HP-UX software,
• the Multibus-based configurator/data processor (CDP).
• IBM PC with PC Template Generator software,
TCL development is supported on three platforms:
• the PC running the Windows operating system with AdvaBuild TCL Builder
software,
• the Advant Station with AdvaBuild TCL Builder for HP-UX software,
• the Multibus-based CDP.
Migration of database configuration, TCL and TLL files from the Multibus platform
or the HP-UX platform to the Windows platform is accomplished using a file
transfer utility (Multibus) or FTP (HP-UX) over the DCN.
Also available, but no longer necessary, is a serial data transfer function provided by
the AdvaBuild Control Builder for migrating MOD 300 database configuration,
TCL and TLL files generated on the Multibus platform to the Windows platform via
a serial interface. See Appendix D, Serial Data Transfers.
The remainder of this chapter provides instructions that describe how to migrate a
database, TCL sequences and recipes, and FMS user data files (Page Builder files,
Console Configurator files, TLL files, PLC configuration files, and memory pool
configuration files) generated on the HP-UX or Multibus platform to the Windows
platform. A database generated with the PC Template Generator must be download
3BUR002065R3501 17
Migration from HP-UX to Windows Section 2 Migration
to either the HP-UX or Multibus platform before migrating the database to the
Windows platform.
18 3BUR002065R3501
Section 2 Migration Database Migration from HP-UX to Windows
3BUR002065R3501 19
Database Migration from HP-UX to Windows Section 2 Migration
20 3BUR002065R3501
Section 2 Migration Database Migration from HP-UX to Windows
3BUR002065R3501 21
Database Migration from HP-UX to Windows Section 2 Migration
During the conversion process, you may receive the following messages that you
can ignore:
cp: cannot access /home/opt/advant/FMS/WC00/50/DBASE/*.idx
No such file or directory.
cp: cannot access /home/opt/advant/FMS/WC00/50/DBASE/*.con
No such file or directory.
Similar messages may appear for all the different conversion processes involved
in migrating data from the HP-UX platform to the Windows-based Engineering
Station.
22 3BUR002065R3501
Section 2 Migration Database Migration from HP-UX to Windows
3. On the PC running the Windows operating system, get the resulting binary
transition file via ftp. To do so,
a. Open a Command Prompt window from the Windows task bar by
choosing Start > Programs > Accessories > Command Prompt.
b. Change to the drive letter where System Services is installed to see the
path if it is something other than c:\ (enter d: for example).
c. At the command prompt, change directories using the command below:
cd %FMSPATH%\WC00\50\
d. If the DBASE directory is not present, create it using the command below:
mkdir DBASE
e. Change to the DBASE directory using the command below:
cd DBASE
f. Make the ftp connection to the source device where the transition file
resides using the following command:
ftp <device name>
For example, to connect to the device named roc239, you would enter
ftp roc239
Messages are then displayed indicating whether the connection was made
to the source device and if it is ready. You are also prompted to enter a
user name.
g. Log in to the device by entering the operator user name and password in
response to the prompts.
h. At the ftp> prompt, enter:
prompt
i. At the ftp> prompt, enter:
binary
The ftp transfer mode must be set to binary as indicated above. Failure to do so
will result in corrupt FMS files on the target Windows-based Engineering Station
after transfer.
3BUR002065R3501 23
Database Migration from HP-UX to Windows Section 2 Migration
j. Change to the directory where the converted transition file resides using
the command below:
cd /tmp/fmsconvert/WC00/50/DBASE
k. Use the mget command to retrieve the transition file(s) from the HP in the
following format:
mget <transition file name>.DT.*
l. After transfer of the desired .dat and .nky files is complete, at the ftp>
prompt, enter:
quit
This exits you from the ftp function and returns you to the command
prompt.
4. Convert the binary transition file (BTF) to an ASCII transition file (ATF) using
the BTFtoATF utility. To do so,
a. At the command prompt, change directories using the command below:
cd %AdvaBuild_Bin%
b. Initiate the BTF to ATF conversion by entering:
btftoatf WC00:[50.DBASE]<transtion file name>.DT
..\<transition file name>.txt
24 3BUR002065R3501
Section 2 Migration Database Migration from HP-UX to Windows
The following error may be displayed during the conversion and can be ignored:
INTISAM: error 5 creating mutex.
c. Enter the project name, project number, and project size as it was defined
on the HP platform.
d. Click Insert Project to create the project.
This opens the Insert Project Status dialog indicating the insertion process
is running and you should wait. When the insertion process is finished, the
Insert Project Status dialog closes and the Insert Project Completion
dialog opens. The Insert Project Completion dialog indicates whether the
insertion process was successful.
3BUR002065R3501 25
Database Migration from HP-UX to Windows Section 2 Migration
b. Click on the Browse button to the right of the field to open the Open
Transition File dialog, Figure 3. Then, open the ASCII transition file you
want to load by either double-clicking on its name or selecting its name
and clicking on the Open button in the Open Transition File dialog. The
file is actually located in:
c:\Program Files\ ABB Industrial IT\AdvaBuild
26 3BUR002065R3501
Section 2 Migration Database Migration from HP-UX to Windows
The selected ASCII transition file’s name now appears in the Transition
File field of the Load ASCII Transition File dialog. The name for the load
transition report file (log) generated by the load process also appears in the
Log File field. Note the log file name.
c. Click on the Load button to start loading the transition file.
Once you click on the Load button, the load process is started and the
Load ATF progress dialog is opened. Upon completion of the load, the
load status will change to “Completed” if no errors were detected or
“Completed with Errors” if errors are detected.
8. Once loading of the transition file is complete, check the contents of the log file
for any errors.
Each database object that exists within a project can have comments and annotation
text associated with it. When migrating project data from an Advant Station with
AdvaBuild for HP-UX software to a PC running the Windows operating system
with AdvaBuild software via transition files as described above, the comment and
annotation information is not included in the process. See Appendix A, Additional
HP-UX to Windows Migration Procedures for information about migrating database
comments and annotation text associated with a project.
3BUR002065R3501 27
TCL File Migration from HP-UX to Windows Section 2 Migration
28 3BUR002065R3501
Section 2 Migration TCL File Migration from HP-UX to Windows
under revision control may be moved to on-line storage using the TCL Builder
Set Active Revision, Compile, and Link commands.
If the recipes are not decompiled back into source, errors similar to the following
are reported during migration:
Server: ITEM10
Error file not found:
WC00:[210.RECIPESR]ITEM10.SR
The above error indicates that the direct recipe for ITEM10 exists, but was not
decompiled back into source.
3. On the HP-UX system where the TCL sequences and recipes reside, use
fmsConvert to convert the TCL sequence and recipe files in HP-UX FMS
format to the Windows FMS format. To do so,
a. Open an HP-Term window.
b. Convert all TCL sequences by entering the following at the command
prompt:
fmsConvert $FMSPATH/WC00/210/TCL
The converted files will be located in /tmp/fmsconvert/WC00/210/TCL.
c. Convert all TCL recipes by entering the following at the command
prompt:
fmsConvert $FMSPATH/WC00/210/RECIPE
fmsConvert $FMSPATH/WC00/210/RECIPESR
3BUR002065R3501 29
TCL File Migration from HP-UX to Windows Section 2 Migration
30 3BUR002065R3501
Section 2 Migration TCL File Migration from HP-UX to Windows
3BUR002065R3501 31
TCL File Migration from HP-UX to Windows Section 2 Migration
c. In the Server Name field, enter the name of the Windows server to which
the FMS files were transferred in Step 5.
d. Enter your CONFIG user name and password in the corresponding User
Id and Password fields.
32 3BUR002065R3501
Section 2 Migration TCL File Migration from HP-UX to Windows
e. Select the desired drive and folder where you want to store the .tcl and .rcp
text files. By default, the drive and folder for the TCL Builder is located at
c:\Documents and Settings\<username>\My Documents\My TCL.
f. Click on the Migrate Data button.
This moves the migrated .tcl and .rcp text files to the specified drive and
folder on the server you are currently logged into.
8. From the Command Prompt on the Windows system, execute AddRCSInfo to
add $Header$ type information to the source files so when they are
downloaded to FMS via a check-in and Set Active Revision, there will be
keywords in the files that can be used to verify the Revision Control System
(RCS) version number.
3BUR002065R3501 33
TCL File Migration from HP-UX to Windows Section 2 Migration
Enter the following at the command prompt to convert all .tcl sequence and
.rcp recipe files. ADDRCSInfo is located in the path represented by the
variable AdvaBuild_Bin.
cd %AdvaBuild_Bin%
AddRCSInfo seq <input file path> <<output file path>>
AddRCSInfo rec <input file path> <<output file path>>
where
<input file path> = All input files at this location will be converted.
Default path is: c:\Documents and Settings\<username>\My
Documents\My TCL.
<<output file path>> = Location of output files and .log files (seq.log and
rec.log). Not required. If not specified, files are located in: c:\Documents
and Settings\<username>\My Documents\My TCL\AddRCSInfo.
9. Use the TCL Builder to check in the extracted sequence (.tcl) and recipe (.rcp)
text files to the Revision Control System (RCS) of the Windows TCL Builder
Server. The text files placed under revision control may be moved to on-line
storage using the TCL Builder Set Active Revision, Compile, and Link
commands. See the AdvaBuild TCL Builder User’s Guide for information
about checking in files to the RCS, compiling, linking, and so on. A
GetRevision executable is used to get RCS information from FMS files and
output the results to a file where you can verify what versions of files are
actually executing at runtime. See Appendix C, Revision Control Tools.
34 3BUR002065R3501
Section 2 Migration FMS User Data File Migration from HP-UX to Windows
3BUR002065R3501 35
FMS User Data File Migration from HP-UX to Windows Section 2 Migration
b. Note the names of all ENV# directories displayed (for example, ENV1
and ENV3).
4. Convert all files of the ENV# directories noted in Step b of Step 3 by entering
the following for each directory at the command prompt:
fmsConvert $FMSPATH/WC00/170/ENV#
where # is the number of the ENV directory. For example, for the directories
listed in the example in Step b of Step 3, you would enter:
fmsConvert $FMSPATH/WC00/170/ENV1
fmsConvert $FMSPATH/WC00/170/ENV3
The converted files will be located in the corresponding
/tmp/fmsconvert/WC00/170/ENV# directory.
5. Convert all the Console Configurator files by entering the following at the
command prompt:
fmsConvert $FMSPATH/WC00/170/CONFIG
The converted files will be located in the
/tmp/fmsconvert/WC00/170/CONFIG directory.
6. Determine all the Ladder Logic directories that exist in the
$FMSPATH/WC00/20556 directory. To do so,
a. At the command prompt, enter:
ls $FMSPATH/WC00/20556
b. Note the names of all Ladder Logic directories displayed (for example,
AC1_LL and AC3_1_LL).
7. Convert all files of the Ladder Logic directories noted in Step b of Step 6 by
entering the following for each directory at the command prompt:
fmsConvert $FMSPATH/WC00/20556/<ladder logic
directory>
where <ladder logic directory> is the Ladder Logic directories determined in
Step b of Step 6.
For example, for the directories listed in the example in Step b of Step 6, you
would enter:
36 3BUR002065R3501
Section 2 Migration FMS User Data File Migration from HP-UX to Windows
fmsConvert $FMSPATH/WC00/20556/AC1_LL
fmsConvert $FMSPATH/WC00/20556/AC3_1_LL
The converted files will be located in the corresponding
/tmp/fmsconvert/WC00/20556/<ladder logic directory> directory.
8. Convert the Ladder Logic library files by entering the following at the
command prompt:
fmsConvert $FMSPATH/WC00/1/PLC
The converted files will be located in the /tmp/fmsconvert/WC00/1/PLC
directory.
9. Convert all PLC Configuration files by entering the following at the command
prompt:
fmsConvert $FMSPATH/WC00/260/CONFIG
The converted files will be located in the
/tmp/fmsconvert/WC00/260/CONFIG directory.
10. Convert all memory pool configuration files by entering the following at the
command prompt:
fmsConvert $FMSPATH/WC00/50/DPOOLS
fmsConvert $FMSPATH/WC00/50/GPOOLS
fmsConvert $FMSPATH/WC00/50/TPOOLS
The converted files will be located in /tmp/fmsconvert/WC00/50/DPOOLS,
/tmp/fmsconvert/WC00/50/GPOOLS, and
/tmp/fmsconvert/WC00/50/TPOOLS directories.
11. In an HP Term window, remove default files by entering the following:
rm /tmp/fmsconvert/WC00/50/DPOOLS/POOLS.PL.*
rm /tmp/fmsconvert/WC00/50/GPOOLS/POOLS.PL.*
rm /tmp/fmsconvert/WC00/50/TPOOLS/POOLS.PL.*
12. On the PC running the Windows operating system, create target directories for
the FMS user data files you want to migrate. To do so,
a. Open a Command Prompt window from the Windows task bar by
choosing Start > Programs > Accessories > Command Prompt.
3BUR002065R3501 37
FMS User Data File Migration from HP-UX to Windows Section 2 Migration
38 3BUR002065R3501
Section 2 Migration FMS User Data File Migration from HP-UX to Windows
ftp roc239
Messages are then displayed indicating whether the connection was made to
the source device and if it is ready. You are also prompted to enter your user
name.
14. Log in to the device by entering the operator user name and password in
response to the prompts.
15. At the ftp> prompt, enter:
prompt
16. At the ftp> prompt, enter:
binary
17. Change to the directory where the converted files reside using the command
below:
cd /tmp/fmsconvert/WC00
18. Use the lcd command to change to the Windows subdirectory where you want
to place the converted Page Builder files and use the mget command to retrieve
the corresponding converted files from the HP-UX platform by entering the
following at the command prompt:
lcd 170\PAGEDATA
mget 170/PAGEDATA/*
lcd ..\UDPSDATA
mget 170/UDPSDATA/*
lcd ..\LIBDATA
mget 170/LIBDATA/*
19. Use the lcd command to change to the Windows subdirectory where you want
to place the converted Console Configurator files and use the mget command
to retrieve the corresponding converted files from the HP-UX platform by
entering the following at the command prompt:
lcd ..\CONFIG
mget 170/CONFIG/*
3BUR002065R3501 39
FMS User Data File Migration from HP-UX to Windows Section 2 Migration
20. Use the lcd command to change to the Windows subdirectory where you want
to place the converted ENV# files and use the mget command to retrieve the
converted files from each of the corresponding directories on the HP-UX
platform by entering the following at the command prompt:
lcd ..\ENV#
mget 170/ENV#/*
where # is the number of the catalog. For example, for the directories listed in
the example in Step b of Step 3, you would enter:
lcd ..\ENV1
mget 170/ENV1/*
lcd ..\ENV3
mget 170/ENV3/*
21. Use the lcd command to change to the Windows subdirectory where you want
to place the converted Ladder Logic files and use the mget command to
retrieve the corresponding converted files from the HP-UX platform by
entering the following at the command prompt:
lcd ..\..\20556\<ladder logic directory>
mget 20556/<ladder logic directory>/*
where <ladder logic directory> is the Ladder Logic directories determined in
Step b of Step 6.
For example, for the directories listed in the example in Step b of Step 6, you
would enter:
lcd ..\..\20556\AC1_LL
mget 20556/AC1_LL/*
lcd ..\AC3_1_LL
mget 20556/AC3_1_LL/*
22. Use the lcd command to change to the Windows subdirectory where you want
to place the converted Ladder Logic library files and use the mget command to
retrieve the corresponding converted files from the HP-UX platform by
entering the following at the command prompt:
lcd ..\..\1\PLC
mget 1/PLC/*
40 3BUR002065R3501
Section 2 Migration FMS User Data File Migration from HP-UX to Windows
23. Use the lcd command to change to the Windows subdirectory where you want
to place the converted PLC configuration files and use the mget command to
retrieve the corresponding converted files from the HP-UX platform by
entering the following at the command prompt:
lcd ..\..\260\CONFIG
mget 260/CONFIG/*
24. Use the lcd command to change to the Windows subdirectory where you want
to place the converted memory pool configuration files and use the mget
command to retrieve the corresponding converted files from the HP-UX
platform by entering the following at the command prompt:
lcd ..\..\50\DPOOLS
mget 50/DPOOLS/*
lcd ..\GPOOLS
mget 50/GPOOLS/*
lcd ..\TPOOLS
mget 50/TPOOLS/*
25. After transfer of the all the FMS user data files converted in Step 2 through
Step 10 is complete, at the ftp> prompt, enter:
quit
This exits you from the ftp function and returns you to the command prompt.
26. For each Controller or Generic DPSS device from which ladder logic program
files were transferred, convert the transferred files from FMS to text file format
by entering the following commands at the command prompt:
cd %AdvaBuild_Bin%
and then
TLLTranslateFMS.exe <tlldevice name>
where:
<tlldevice name> is the templet name of the TLL device in the Controller or
Generic DPSS device where TLL is configured to run.
3BUR002065R3501 41
FMS User Data File Migration from HP-UX to Windows Section 2 Migration
All .SR files transferred from that device are converted to text files with the .tll
extension and are placed in that device’s default directory:
C:\Documents and Settings\advabuild\My Documents\My TLL\<device
name>
These files may be placed under revision control using the TLL Builder.
27. From the Command Prompt on the Windows system, execute AddRCSInfo to
add $Header$ type information to the source files so when they are
downloaded to FMS via a check-in and Set Active Revision, there will be
keywords in the files that can be used to verify the Revision Control System
(RCS) version number.
Enter the following at the command prompt to convert all .tll segment files.
ADDRCSInfo is located in the path represented by the variable
AdvaBuild_Bin.
cd %AdvaBuild_Bin%
AddRCSInfo seg <device name> <input file path> <<output
file path>>
where
<device name> is the templet name of the Controller or Generic DPSS
device where TLL is configured to run.
<input file path> = All input files at this location will be converted.
<<output file path>> = Location of output files and
seg_<device name>.log file. Not required. If not specified, files are
located in: c:\Documents and Settings\<username>\Local
Settings\Temp\AddRCSInfo.
28. Use the TLL Builder to check in the text files (.tll) to the Revision Control
System (RCS) of the Windows TLL Builder Server. The text files placed under
revision control may be moved to on-line storage using the TLL Builder Set
Active Revision and Compile commands. See the AdvaBuild TLL Builder
User’s Guide for information about checking in files to the RCS, compiling,
and so on. A GetRevision executable is used to get RCS information from FMS
files and output the results to a file where you can verify what versions of files
are actually executing at runtime. See Appendix C, Revision Control Tools.
42 3BUR002065R3501
Section 2 Migration Using File Migration Utility for Multibus to Windows
29. Migration of the FMS user data files is complete and you can close the
Command Prompt window. To do so, at the command prompt, enter:
exit
30. Reboot your Windows-based Engineering Station.
Multibus Preparations
Prepare the Multibus CDP as follows to make it available as a non CDP node on the
DCN,
1. Connect the Multibus Turbo Node and Windows-based Engineering Station via
a DCN connection.
2. Remove or rename the file [0.BOOT]BOOT.PK on the Multibus Turbo Node
and reboot the Turbo Node with an address that is not 0100 and is also not the
normal Multibus address. This is done so the Multibus Turbo Node will boot
off the Windows-based Engineering Station.
3. Insert the floppy disk with the DCN file migration utility.
4. From a BUGs terminal on the Multibus Turbo Node, entering the following at
the What’s up Doc?> prompt:
ID L751 FD00:[170.CONVERT]FTDLD.DP
the response is:
L751 T65535 FD00:TEST[170.CONVERT]FTDLD.DP
3BUR002065R3501 43
DCN File Transfer Utility Section 2 Migration
This utility is intended for the one time transfer of existing data. When you
download files, the data on the Multibus CDP will be stored on the Windows-based
Engineering Station. If you have existing Multibus files on your Windows-based
Engineering Station, they will be deleted when you download these files from the
Multibus CDP. The transfer of files from multiple Multibus CDPs requires that the
files be transferred out of the destination catalog before each transfer. Alternately, if
multiple CDPs are involved, you could consolidate data on one CDP before doing
the download.
It is recommended that you do not use this utility while using the system for
production.
Migrating Files
Run the file transfer utility from the AdvaBuild for Windows pc as follows to
migrate all but the TCL files from the Multibus node. See the generic example in
step 7 for the types of files transferred.
1. Select Start > Programs > ABB Industrial IT > System Service > Bugs to
open up a bugs window on the Windows-based Engineering Station.
2. Press <ESC> to get the bugs prompt.
3. To start the utility, do the following:
What's up Doc?> DP L749
What's up Doc?> EX
Once the utility is started, a menu is shown.
MOD300 TO ADVANT STATION FILE DOWNLOADER
P: DOWNLOAD PAGEBUILDER GRAPHICS
C: DOWNLOAD CONSOLE ENVIRONMENTS
F: GENERIC FILE DOWNLOAD
Q: QUIT
ENTER SELECTION: F
4. Press F to download generic files.
ENTER NODE NUMBER FOR SOURCE FILES IE: 0X0100? 0X0400
44 3BUR002065R3501
Section 2 Migration DCN File Transfer Utility
5. Enter the hexadecimal number for the source CDP where the files are located
(for example, 0X0400), and then press <Return>.
DOWLOADED FILE(S) WILL REPLACE EXISTING FILE(S),
OK? (Y OR N)Y
6. Enter Y and confirm.
ARE YOU SURE?? (Y OR N)Y
7. Enter the file path and the transfer completes as shown in the following generic
example.
Enter file path: ? @WC00:[50.MIGRATE]MIGRATE.CM
Started File Transfer: 10:48:43.733
3BUR002065R3501 45
DCN File Transfer Utility Section 2 Migration
There could be errors in the transfer. The program will make reference to the log
file if errors are detected.
46 3BUR002065R3501
Section 2 Migration DCN File Transfer Utility
3BUR002065R3501 47
DCN File Transfer Utility Section 2 Migration
48 3BUR002065R3501
Section 2 Migration DCN File Transfer Utility
3BUR002065R3501 49
DCN File Transfer Utility Section 2 Migration
ENTER Y OR N
17. Press Y to delete all existing files.
To confirm deletion of all existing files, you are prompted to enter Y or N
again.
18. Press Y to confirm deletion of all existing files.
The utility then proceeds to delete all existing files of the selected type before
starting the file transfer.
Once the transfer is started, a message indicating the progress of the transfer is
displayed.
Once the transfer is complete, a message indicating if any errors were
encountered is displayed and you are prompted to press any key to continue.
19. Press any key to continue.
This returns you to the main menu. At this point, you can either perform
another transfer or quit.
50 3BUR002065R3501
Appendix A Additional HP-UX to Windows
Migration Procedures
General Information
Each database object that exists within a project can have comments and annotation
text associated with it. When migrating project data from an Advant Station with
AdvaBuild for HP-UX software to a PC running the Windows operating system
with AdvaBuild software via transition files as described in Database Migration
from HP-UX to Windows on page 19, the comment and annotation information is
not included in the process. See the procedures that follow for information about
migrating database comments and annotation text associated with a project.
3BUR002065R3501 51
Migrating Object Comments Appendix A Additional HP-UX to Windows Migration Procedures
d. Make the ftp connection to the Advant Station with AdvaBuild for HP-UX
software using the following command:
ftp <device name>
For example, to connect to the device named roc239, you would enter
ftp roc239
Messages are then displayed indicating whether the connection was made
to the source device and if it is ready. You are also prompted to enter a user
name.
e. Log in to the device by entering the operator user name and password in
response to the prompts.
f. At the ftp> prompt, change to the /tmp directory by entering:
cd /tmp
g. Put the script file that retrieves the comments in the \tmp directory using
the following command:
put get_comments_on_hp.sql
Once transfer of the script file is complete, a message indicating transfer is
complete is displayed.
h. After transfer of the script file is complete, at the ftp> prompt, enter:
quit
This exits you from the ftp function and returns you to the command
prompt.
Once the script file to retrieve comment data is transferred to the Advant
Station with AdvaBuild for HP-UX software where the database was migrated
from, it can be run against the project containing the comments to be migrated.
2. Run the script file to retrieve the comment data. To do so from the PC running
the Windows operating System where the migrated database resides,
a. At the command prompt, open a Telnet window to the Advant Station with
AdvaBuild for HP-UX software where the script file resides using the
following command:
telnet <device name>
52 3BUR002065R3501
Appendix A Additional HP-UX to Windows Migration Procedures Migrating Object Comments
For example, to connect to the device named roc239, you would enter
telnet roc239
b. Using Telnet, log in to the device by entering the operator user name
and password in response to the prompts.
c. At the command prompt, change to the /tmp directory by entering:
cd /tmp
d. For each project whose comment data you want to migrate to the Windows
platform, run the script file by entering the following command:
sqlplus <user>/<password> @get_comments_on_hp.sql
<project>
where <user> is the user name, <password> is the user’s password, and
<project> is the project name.
The user name and password must be associated with the project whose comment
data is being retrieved.
3BUR002065R3501 53
Migrating Object Comments Appendix A Additional HP-UX to Windows Migration Procedures
a. At the command prompt, make the ftp connection to the Advant Station
with AdvaBuild for HP-UX software where the update comments file
resides using the following command:
ftp <device name>
For example, to connect to the device named roc239, you would enter
ftp roc239
Messages are then displayed indicating whether the connection was made
to the source device and if it is ready. You are also prompted to enter a user
name.
b. Log in to the device by entering the operator user name and password in
response to the prompts.
c. At the ftp> prompt, change to the /tmp directory by entering:
cd /tmp
d. Retrieve the update_nt_comments_<project>.sql file using the following
command:
get update_nt_comments_<project>.sql
where <project> is the project name.
Once transfer of the update_nt_comments_<project>.sql file is complete,
a message indicating transfer is complete is displayed.
e. After transfer of the update_nt_comments_<project>.sql file is complete,
at the ftp> prompt, enter:
quit
This exits you from the ftp function and returns you to the command
prompt.
4. Update the project on the Windows platform with their comment data by
running the corresponding update_nt_comments_<project>.sql script file.
The project whose comments are to be updated must exist on the Windows
platform before the script can be run. In addition, all objects that existed for the
project on the HP-UX platform must also exist on the Windows platform.
To run the script file, enter the following at the command prompt:
54 3BUR002065R3501
Appendix A Additional HP-UX to Windows Migration Procedures Migrating Annotation Text
sqlplus <user>/<password>
@update_nt_comments_<project>.sql
where <user> is the user name, <password> is the user’s password, and
<project> is the project name.
The user name and password must be associated with the project being updated.
3BUR002065R3501 55
Migrating Annotation Text Appendix A Additional HP-UX to Windows Migration Procedures
the PC running the Windows operating System where the migrated database
resides,
a. Open a Command Prompt window from the Windows task bar by
choosing Start > Programs > Accessories > Command Prompt.
b. Change to the drive letter where AdvaBuild is installed to see the path if it
is something other than c:\ (enter d: for example).
c. At the command prompt, change directories using the command below:
cd %AdvaBuild_DataModel_HOME%\Project\migrate
d. Make the ftp connection to the Advant Station with AdvaBuild for HP-UX
software using the following command:
ftp <device name>
For example, to connect to the device named roc239, you would enter
ftp roc239
Messages are then displayed indicating whether the connection was made
to the source device and if it is ready. You are also prompted to enter a user
name.
e. Log in to the device by entering the operator user name and password in
response to the prompts.
f. At the ftp> prompt, change to the /tmp directory by entering:
cd /tmp
g. Put the script file that retrieves the annotation text in the \tmp directory
using the following command:
put export_hp_annotate.sh
Once transfer of the script file is complete, a message indicating transfer is
complete is displayed.
h. After transfer of the script file is complete, at the ftp> prompt, enter:
quit
This exits you from the ftp function and returns you to the command
prompt.
56 3BUR002065R3501
Appendix A Additional HP-UX to Windows Migration Procedures Migrating Annotation Text
Once the script file to retrieve annotation text is transferred to the Advant
Station with AdvaBuild for HP-UX software where the database was migrated
from, it can be run against the project containing the annotation text to be
migrated.
2. Run the script file to retrieve the annotation text. To do so from the PC running
the Windows operating System where the migrated database resides,
a. At the command prompt, open a Telnet window to the Advant Station with
AdvaBuild for HP-UX software where the script file resides using the
following command:
telnet <device name>
For example, to connect to the device named roc239, you would enter
telnet roc239
b. Using Telnet, log in to the device by entering the operator user name
and password in response to the prompts.
c. At the command prompt, change to the /tmp directory by entering:
cd /tmp
d. Set up execute permissions for the script file:
chmod u+x export_hp_annotate.sh
e. For each project whose annotation text you want to retrieve and migrate to
the Windows platform, run the script file by entering the following
command:
export_hp_annotate.sh <user> <password> <project>
where <user> is the project user name, <password> is the project user’s
password, and <project> is the project name.
The user name and password must be associated with the project whose
annotation text is being retrieved.
3BUR002065R3501 57
Migrating Annotation Text Appendix A Additional HP-UX to Windows Migration Procedures
The script retrieves the annotation data and places it in two files named
annotate_<project>.dmp and annotate_<project>.log where <project> is
the project name. For the project in the example above, the file names are
annotate_Q2.dmp and annotate_Q2.log. The .log file contains the result of
the export, and must be checked for any export errors. The .dmp file
contains the ORACLE export data for the LOOP_ANNOTATE table and
must be transferred to the Windows platform.
f. Enter exit to logout of and close the connection to the Advant Station
with AdvaBuild for HP-UX software.
This opens a Telnet message box indicating: “Connection to host lost”.
g. Click OK.
3. Transfer the annotate_<project>.dmp file to the PC running the Windows
operating system with the AdvaBuild software where the migrated project
resides. To do so from the PC running the Windows operating system with the
AdvaBuild software,
a. At the command prompt, make the ftp connection to the Advant Station
with AdvaBuild for HP-UX software where the annotate_<project>.dmp
file reside using the following command:
ftp <device name>
For example, to connect to the device named roc239, you would enter
ftp roc239
Messages are then displayed indicating whether the connection was made
to the source device and if it is ready. You are also prompted to enter a user
name.
b. Log in to the device by entering the operator user name and password in
response to the prompts.
c. At the ftp> prompt, enter:
binary
d. At the ftp> prompt, change to the /tmp directory by entering:
cd /tmp
58 3BUR002065R3501
Appendix A Additional HP-UX to Windows Migration Procedures Migrating Annotation Text
The project whose annotation text is being updated must exist on the Windows
platform before the script can be run. In addition, all objects that existed for the
project on the HP-UX platform must also exist on the Windows platform.
To do so from the PC where the migrated project resides,
a. Run the import_nt_annotate.bat batch file by entering the following at the
command prompt:
import_nt_annotate.bat <user> <password>
annotate_<project>.dmp
where <user> is the user name, <password> is the user’s password, and
<project> is the project name.
The user name and password must be associated with the project whose
annotation text is being updated.
3BUR002065R3501 59
Migrating Annotation Text Appendix A Additional HP-UX to Windows Migration Procedures
When the batch file is run, the LOOP_ANNOTATE table is populated with the
annotation text values that existed for the project on the HP-UX platform.
Running the batch file, also generates a set of log files whose names are
displayed on the screen by the batch file. Each .log file created has a name
unique to the project being updated. The .log file contains the result of the
update, and must be checked for any errors.
5. Check the .log file created by running the batch file for updating the annotation
text.
6. Close the Command Prompt window by entering exit at the command
prompt.
7. Verify that the annotation text was updated in the migrated project.
a. Log in to the Control Builder and open the project under which you
updated the annotation text. Refer to the AdvaBuild Control Builder
User’s Guide for details.
b. Select the CTRL_BLOCK, LOOP_DEF or DEV_LOOP object in the tree
view that had annotation text on the HP-UX platform.
c. Choose Object > Annotation from the menu bar or Annotation from the
context menu (right mouse button).
d. Examine the contents of the lower portion of the Loop Annotation dialog.
The annotation text that existed for objects on the HP-UX platform should
be shown in the lower portion of the Loop Annotation dialog for those
same objects on the Windows platform.
60 3BUR002065R3501
Appendix B Data Transfer From Windows to
HP-UX Platform
3BUR002065R3501 61
Data Transfer of a Database Appendix B Data Transfer From Windows to HP-UX Platform
62 3BUR002065R3501
Appendix B Data Transfer From Windows to HP-UX Platform Data Transfer of a Database
If you hold the cursor over the Transition File or Log File fields, the
default directory path where the file will reside is displayed as help text.
d. To convert the ASCII transition file to a binary transition file using the
built in conversion utility of the Save ATF function, click on the
Advanced button.
This opens the Advanced… dialog, Figure 6.
3BUR002065R3501 63
Data Transfer of a Database Appendix B Data Transfer From Windows to HP-UX Platform
AdvaBuild for HP-UX software installed on the Advant Station where you
want to migrate the database. Select the appropriate version from the pick
list for the Version field.
Profibus I/O is not supported on the HP-UX platform. If the built in utility of the
Save ATF function that converts the ASCII transition file to a binary transition
file encounters a PROFIBUS_IO, PROFIBUS_LAN, PROFIBUS_DEV,
PROFIBUS_MOD, or PROFIBUS_DIR object below the object selected in
Step b, the Profibus object is skipped and an entry is made in the log file that
states the object was not included in the binary transition file. The following is an
example of the log message for a PROFIBUS_IO object:
TEMPLET: “AC460-1_PROFIBUS_IO” WAS NOT INCLUDED IN BINARY
TRANSITION FILE BECAUSE IT IS A PROFIBUS TEMPLET TYPE.
When the Save ATF process is complete, the Save ATF utility converts the
newly created ASCII transition file to a binary transition file. The binary
transition file is created on the Windows-based Engineering Station in the
Binary Transition File directory located in:
C:\Program Files\ABB Industrial IT\Data\SystemServices\FMS\WC00\50\DBASE
2. On the Windows-based Engineering Station, use fmsHPConvert to convert the
Windows FMS file to a FMS file that can be read by HP-UX FMS utilities. To
do so, at the command prompt, enter:
cd %AdvaBuild_Bin%
fmsHPConvert “c:\Program Files\ABB Industrial
IT\Data\SystemServices\FMS\WC00\50\DBASE\*”
Assuming System Services is loaded on drive c, this converts all transition files
and places the converted files in either: c:\Temp\fmsconvert\wc00\50\dbaseor
64 3BUR002065R3501
Appendix B Data Transfer From Windows to HP-UX Platform Data Transfer of a Database
The following is an example of the information included in the log file for the
fmsHPConvert process.
3BUR002065R3501 65
Data Transfer of a Database Appendix B Data Transfer From Windows to HP-UX Platform
The ftp transfer mode must be set to binary as indicated above. Failure to do so
will result in corrupt FMS files on the target Advant Station with AdvaBuild for
HP-UX software after transfer.
f. Change to the directory to which you want to transfer the converted
transition file using the command below:
cd /home/opt/advant/FMS/WC00/50/DBASE
g. Use the mput command to transfer the transition file from the Windows-
based Engineering Station in the following format:
mput <transition file name>.DT.*
66 3BUR002065R3501
Appendix B Data Transfer From Windows to HP-UX Platform Data Transfer of a Database
h. After transfer of the desired .dat and .nky files is complete, at the ftp>
prompt, enter:
quit
This exits you from the ftp function and returns you to the command
prompt.
i. Close the Command Prompt window by entering exit at the command
prompt.
4. On the Advant Station with AdvaBuild for HP-UX software, load the binary
transition file transferred from the Windows-based Engineering Station. To do
so,
a. Open an HP-Term window and change directories using the command
below:
cd $FMSPATH/WC00/50/DBASE
b. Verify that the permissions for the transition file are set as follows:
Permissions: rw-rw-rw
If necessary, use chmod to set as above.
c. If the project does to which you want to migrate the database from the
Windows platform does not already exist, insert the project using the
Structure Builder Administration functionality. (Refer to the AdvaBuild
Basic Functions User’s Guide for details on how to start the Structure
Builder, insert a project, load the transition file, and check the log file.)
d. Log into the project using the project name and password, and select the
PROJECT level object in the tree structure.
e. Choose Special Commands from the Object menu.
f. Select LOAD_TRANS.
This displays the Load Transition File dialog.
g. With the Transition File field selected, type the transition file’s name, up
to eight alphanumeric characters, including underscores. No other
characters (for example, period, dash, and so on) may be used in the
transition file’s name.
3BUR002065R3501 67
Data Transfer of a Database Appendix B Data Transfer From Windows to HP-UX Platform
68 3BUR002065R3501
Appendix C Revision Control Tools
Get Revision
The GetRevision executable is used to get RCS information from FMS files and
output the results to a file where you can verify what versions of files are actually
executing at runtime.
Running GetRevision
To run this program, open a Command Prompt window from the Windows task bar
by choosing Start > Programs > Accessories > Command Prompt (as
appropriate) and change to the drive letter and path where AdvaBuild is installed
(AdvaBuild_Bin is the install path variable) as follows:
cd %AdvaBuild_Bin%
For TCL Sequence(s), use either of the following commands (use * to do all files or
specify a file name to do one file):
GetRevision seq *
GetRevision seq <seq name>
For TCL Recipe(s), use either of the following commands (use * to do all files or
specify a file name to do one file):
GetRevision rec *
GetRevision rec <rec name>
For TLL Segment(s), use either of the following commands (use * to do all files or
specify a file name to do one file):
GetRevision seg <device name> *
GetRevision seg <device name> <seg name>
3BUR002065R3501 69
Get Revision Appendix C Revision Control Tools
70 3BUR002065R3501
Appendix D Serial Data Transfers
3BUR002065R3501 71
Database Migration from Multibus to Windows Appendix D Serial Data Transfers
• a Multibus Turbo Node configured to run the CI Interface (does not need to be
a CDP node)
The parameters (baud rate, parity, data bits, and stop bits) for the serial port on the
PC running the Windows operating system must be configured to match the
parameters of the corresponding serial port on the remote platform (Multibus
Console). For the Multibus node, the serial interface parameters are defined on the
Serial Port Setup Template as described in the System Configurator User’s Guide.
From the PC, run CiConfigure to verify the Computer Interface configuration.
72 3BUR002065R3501
Appendix D Serial Data Transfers Database Migration from Multibus to Windows
This calls up two fields above the softkeys: TRANSITION FILE NAME
and OVERWRITE EXISTING FILE. The TRANSITION FILE NAME
field is where you name the transition file being created for the database.
The OVERWRITE EXISITING FILE field is where you indicate whether
or not the data in an existing transition file with the same name as the one
being created is to be replaced by the data being saved. Initially the
TRANSITION FILE NAME field is selected (highlighted) and waiting for
you to enter the transition file’s name; however, you can select either of
these fields by pressing the NEXT FIELD key.
d. With the TRANSITION FILE NAME field selected, type the transition
file’s name, up to eight alphanumeric characters, including underscores.
No other characters (for example, period, dash, and so on) may be used in
the transition file’s name.
e. Press the ENTER key.
f. With the OVERWRITE EXISTING FILE field selected, press the NEXT
CHOICE key until the desired response is displayed in the field.
The choices are YES and NO. The YES option overwrites the data in the
existing transition file with the same name, and the NO option does not
overwrite the data in the existing transition file.
g. After you enter a valid transition file name and indicate whether a
duplicate transition file it to be overwritten, select the SAVE TRANS
softkey again to create the transition file.
2. Test the serial connection between the Multibus node and the Windows
platform and save the configuration settings. To do so,
a. Open a Command Prompt window from the Windows task bar by
choosing Start > Programs > Accessories > Command Prompt.
b. At the command prompt, change directories using the command below:
cd %AdvaBuild_Bin%
c. At the command prompt, enter: CiConfigure
This opens the Computer Interface Configuration dialog, Figure 7, that
reads the CiConfig.dat file and displays the contents of that file in the
3BUR002065R3501 73
Database Migration from Multibus to Windows Appendix D Serial Data Transfers
74 3BUR002065R3501
Appendix D Serial Data Transfers Database Migration from Multibus to Windows
3BUR002065R3501 75
Database Migration from Multibus to Windows Appendix D Serial Data Transfers
CIFileUpld will not run until the serial connection configuration displayed in the
CiConfigure dialog has been tested and saved.
3. Transfer the transition file to the Windows system using the CIFileUpld
functionality which creates a binary transition file on the Windows system. To
do so, enter the following command at the command prompt:
CIFileUpld WC00:[50.DBASE]<transtion file name>.DT <node name>::WC00:[50.DBASE]<transition file name>.DT 1
where:
<transition file name> is the name of the transition file, <node name> is the
name of the Multibus node that the transition file is coming from, and the 1 at
the end indicates that Window mode is ON.
For example, to upload the transition file named REFINERY.DT from the
Multibus node named DPSS-CONFIG-REF97, you would enter:
CIFileUpld WC00:[50.DBASE]REFINERY.DT DPSS-CONFIG-
REF97::WC00:[50.DBASE]
REFINERY.DT 1
Once the CIFileUpld process is initiated, the CIFileUpld Abort dialog,
Figure 11, is opened.
76 3BUR002065R3501
Appendix D Serial Data Transfers Database Migration from Multibus to Windows
To abort the CIFileUpld process at any time, click on the OK button which will
close the dialog and abort the process. Otherwise, when the process is
complete, the CIFileUpld complete dialog is displayed and the resulting binary
transition file is located in the following directory:
C:\Program Files\ABB Industrial IT\Data\SystemServices\FMS\WC00\50\DBASE
An application error for the CIFileUpld process is seen following the transfer and
can be ignored.
The following error is displayed during the conversion and can be ignored:
INTISAM: error 5 creating mutex.
If a binary transition file with the same name already exists in C:\Program
Files\ABB Industrial IT\Data\SystemServices\FMS\WC00\50\DBASE on the
Windows platform, the upload fails and the following error is displayed:
File WC00:[50.DBASE]<transition file name>.DT already
exists.
4. Convert the binary transition file (BTF) to an ASCII transition file (ATF).
a. At the command prompt, change directories using the command below:
cd %AdvaBuild_Bin%
b. Initiate the BTF to ATF conversion by entering:
btftoatf WC00:[50.DBASE]<transtion file name>.DT
..\<transition file name>.txt
3BUR002065R3501 77
Database Migration from Multibus to Windows Appendix D Serial Data Transfers
The following error is displayed during the conversion and can be ignored:
INTISAM: error 5 creating mutex.
The project name cannot be the same as the Multibus database name.
78 3BUR002065R3501
Appendix D Serial Data Transfers Database Migration from Multibus to Windows
This opens the Insert Project Status dialog indicating the insertion process
is running and you should wait. When the insertion process is finished, the
Insert Project Status dialog closes and the Insert Project Completion
dialog opens. The Insert Project Completion dialog indicates whether the
insertion process was successful.
e. Click OK to close the Insert Project Completion dialog.
6. Insert a MOD_DB templet into the newly inserted project, using the Multibus
database name. See the AdvaBuild Control Builder User’s Guide for more
detailed information about inserting objects.
To insert the MOD_DB templet:
a. Log in to the Control Builder and open the project under which you want
to add the transferred data. Refer to the AdvaBuild Control Builder User’s
Guide for details.
b. Select the PROJECT object.
c. Choose Templet > Insert… from the menu bar or Insert… from the
context menu.
This displays the Insert Object dialog box, Figure 13.
d. Select MOD_DB from the pick list for the Object Type field.
3BUR002065R3501 79
Database Migration from Multibus to Windows Appendix D Serial Data Transfers
During the load process, an error is generated stating that the MOD_DB templet
(inserted in Step 6) already exists and was not overwritten. As a result, one less
templet is reported to have been loaded. For example, if the transition file for the
database being migrated had 1,000 templets, the status indicates 999 templets
were loaded.
80 3BUR002065R3501
Appendix D Serial Data Transfers TCL File Migration from Multibus to Windows
8. Once loading of the ASCII transition file is complete, check the contents of the
log file for any errors.
3BUR002065R3501 81
TCL File Migration from Multibus to Windows Appendix D Serial Data Transfers
keywords in the files that can be used to verify the Revision Control System
(RCS) version number.
9. Use the TCL Builder to check in the extracted sequence (.tcl) and recipe (.rcp)
text files to the Revision Control System (RCS) of the Windows TCL Builder
Server. The text files placed under revision control may be moved to on-line
storage using the TCL Builder Set Active Revision, Compile, and Link
commands.
If the recipes are not decompiled back into source, errors similar to the following
are reported during migration:
Server: ITEM10
Error file not found:
WC00:[210.RECIPESR]ITEM10.SR
The above error indicates that the direct recipe for ITEM10 exists, but was not
decompiled back into source.
2. Modifications can be made to the CIGATE.PK file on the Multibus Turbo
Node from which you are migrating data to increase the timeout value. To do
so,
a. From a BUGs terminal on the Multibus Turbo Node, check the date
CIGATE.PK file was last updated by entering the following at the What’s
up Doc?> prompts:
FMS [50.MOD300S]
DIR CIGATE.PK ;LD
82 3BUR002065R3501
Appendix D Serial Data Transfers TCL File Migration from Multibus to Windows
Directory WC00:TEST[50.MOD300S]
Total of 1 File
b. Determine the address for which the timeout value must be changed from
Table 2 by using the Last Updated date. In the example above, the Last
Updated date is 3-DEC-1999; therefore, the address for which the timeout
value must be changed is 0028041C.
Source
Version Date Last Updated Address
Level
E14R4 1-FEB-1999 0028041C
E14R4 21-DEC-1998 00280414
E14R4 15-DEC-1998 00280FD6
E14R4 15-MAY-1997 00280FFE
E14R4 2-APR-1997 00280FFE
E14R5 3-DEC-1999 0028041C
E14R6 3-DEC-1999 0028041C
3BUR002065R3501 83
TCL File Migration from Multibus to Windows Appendix D Serial Data Transfers
If the Last Updated date for your CIGATE.PK file does not match any of those
listed in Table 2 or the value at the corresponding address is not 00000002, do not
continue and notify Technical Support.
c. Increase the internal timeout value by entering the following at the What’s
up Doc> prompt:
MM 28041C ;L
0028041C 00000002 ?10.
This increases the internal timeout value at that address. You may proceed with
the migration.
This change only affects the version of CIGATE.PK that is loaded into memory.
If for some reason the Multibus Turbo Node is rebooted and you wish to transfer
the files again, you must repeat the above procedures again.
3. If TCL sequence and recipe directory files exist on the Windows-based
Engineering Station, you can delete them using BUGs. To do so on the
Windows-based Engineering Station,
The method described in this step is optional and can be done from Windows
Explorer as described in Step 5.
84 3BUR002065R3501
Appendix D Serial Data Transfers TCL File Migration from Multibus to Windows
WC00:TEST[210.TCL]
WC00:TEST[210.RECIPE]
3BUR002065R3501 85
TCL File Migration from Multibus to Windows Appendix D Serial Data Transfers
86 3BUR002065R3501
Appendix D Serial Data Transfers TCL File Migration from Multibus to Windows
3BUR002065R3501 87
TCL File Migration from Multibus to Windows Appendix D Serial Data Transfers
88 3BUR002065R3501
Appendix D Serial Data Transfers TCL File Migration from Multibus to Windows
i. Click on the Save button to save the serial port configuration settings and
close the Computer Interface Connection dialog.
An abort dialog is also opened, Figure 20. To abort the migration at any time,
click on the OK button. This will close the dialog and abort the upload process;
otherwise, when the process is complete the abort dialog is closed.
8. Upload completion dialogs, Figure 21, are opened during the upload process.
Click on the OK button to acknowledge these messages and close the dialogs.
3BUR002065R3501 89
TCL File Migration from Multibus to Windows Appendix D Serial Data Transfers
90 3BUR002065R3501
Appendix D Serial Data Transfers TCL File Migration from Multibus to Windows
3BUR002065R3501 91
TCL File Migration from Multibus to Windows Appendix D Serial Data Transfers
92 3BUR002065R3501
Appendix D Serial Data Transfers TCL File Migration from Multibus to Windows
Enter the following at the command prompt to convert all .tcl sequence and
.rcp recipe files. ADDRCSInfo is located in the path represented by the
variable AdvaBuild_Bin.
cd %AdvaBuild_Bin%
AddRCSInfo seq <input file path> <<output file path>>
AddRCSInfo rec <input file path> <<output file path>>
where
<input file path> = All input files at this location will be converted.
3BUR002065R3501 93
FMS User Data File Migration from Multibus to Windows Appendix D Serial Data Transfers
<<output file path>> = Location of output files and .log files (seq.log and
rec.log). Not required. If not specified, files are located in: c:\Documents
and Settings\<username>\Local Settings\Temp\AddRCSInfo.
13. Use the TCL Builder to check in the extracted sequence (.tcl) and recipe (.rcp)
text files to the Revision Control System (RCS) of the Windows TCL Builder
Server. The text files placed under revision control may be moved to on-line
storage using the TCL Builder Set Active Revision, Compile, and Link
commands. See the AdvaBuild TCL Builder User’s Guide for information
about checking in files to the RCS, compiling, linking, and so on. A
GetRevision executable is used to get RCS information from FMS files and
output the results to a file where you can verify what versions of files are
actually executing at runtime. See Appendix C, Revision Control Tools.
Serial transfer of nested TLL and PLC configuration files does not work. Use the
procedures in Using File Migration Utility for Multibus to Windows on page 43.
94 3BUR002065R3501
Appendix D Serial Data Transfers FMS User Data File Migration from Multibus to Windows
If the BUGS terminal is in the debug mode, the serial connection will not operate
properly.
3. Test the serial connection between the Multibus node and the PC running the
Windows operating system with AdvaBuild Control Builder software and save
the configuration settings. To do so,
a. Open a Command Prompt window from the Windows task bar by
choosing Start > Programs > Accessories > Command Prompt.
b. At the command prompt, change directories using the command below:
cd %AdvaBuild_Bin%
c. At the command prompt, enter:
CiConfigure
This opens the Computer Interface Configuration dialog, Figure 22, that
reads the CiConfig.dat file and displays the contents of that file in the
dialog. If no CiConfig.dat file exists or there is an error getting the data, a
dialog indicating so is opened and the default data is displayed. Click on
the OK button to acknowledged the message and close the dialog.
3BUR002065R3501 95
FMS User Data File Migration from Multibus to Windows Appendix D Serial Data Transfers
e. Click on the Test Serial Connection button and verify that the connection
to the Multibus system is working properly.
During the test of the serial connection, a status dialog indicating whether
the serial port was successfully initialized and opened is displayed,
Figure 23.
96 3BUR002065R3501
Appendix D Serial Data Transfers FMS User Data File Migration from Multibus to Windows
3BUR002065R3501 97
FMS User Data File Migration from Multibus to Windows Appendix D Serial Data Transfers
CIFileUpld will not run until the serial connection configuration displayed in the
CiConfigure dialog has been tested and saved.
4. Transfer the TLL files that reside on the Multibus platform to the Windows
platform using the CIFileUpld functionality and then convert the transferred
files from FMS to text file format. To do so,
a. Upload the LIB_DIR.DR/D2 directory files in FMS format from the
[1.PLC] catalog of the Multibus node to the Windows-based Engineering
Station by entering the following command at the command prompt:
%AdvaBuild_Bin%\UPLOADTLLDEVLIB <MOD300 Node Name>
b. For each Controller or Generic DPSS device where Ladder Logic is
configured, upload LIB_DIR.DR/D2 directory files in FMS format from
that device’s catalog [20556.<device name>] to the Windows-based
Engineering Station by entering the following command at the command
prompt:
%AdvaBuild_Bin%\UPLOADTLLSEGLIB <device name> <MOD300
Node Name>
where:
<device name> is the templet name of the Controller or Generic DPSS
device where TLL is configured to run.
<MOD300 Node Name> is the name of the Multibus Configurator Data
Processor (CDP) node name where TLL is configured.
c. For each Controller or Generic DPSS device where Ladder Logic is
configured, transfer the ladder logic programs in FMS format to the
98 3BUR002065R3501
Appendix D Serial Data Transfers FMS User Data File Migration from Multibus to Windows
3BUR002065R3501 99
FMS User Data File Migration from Multibus to Windows Appendix D Serial Data Transfers
These files may be placed under revision control using the TLL Builder.
5. From the Command Prompt on the Windows system, execute AddRCSInfo to
add $Header$ type information to the source files so when they are
downloaded to FMS via a check-in and Set Active Revision, there will be
keywords in the files that can be used to verify the Revision Control System
(RCS) version number.
Enter the following at the command prompt to convert all .tll segment files.
ADDRCSInfo is located in the path represented by the variable
AdvaBuild_Bin.
cd %AdvaBuild_Bin%
AddRCSInfo seg <device name> <input file path> <<output
file path>>
where
<device name> is the templet name of the Controller or Generic DPSS
device where TLL is configured to run.
<input file path> = All input files at this location will be converted.
<<output file path>> = Location of output files and
seg_<device name>.log file. Not required. If not specified, files are
located in: c:\Documents and Settings\<username>\Local
Settings\Temp\AddRCSInfo.
6. Use the TLL Builder to check in the text files (.tll) to the Revision Control
System (RCS) of the Windows TLL Builder Server. The text files placed under
revision control may be moved to on-line storage using the TLL Builder Set
Active Revision and Compile commands. See the AdvaBuild TLL Builder
User’s Guide for information about checking in files to the RCS, compiling,
and so on. A GetRevision executable is used to get RCS information from FMS
files and output the results to a file where you can verify what versions of files
are actually executing at runtime. See Appendix C, Revision Control Tools.
7. Transfer the PLC configuration files that reside on the Multibus platform to the
Windows platform using the CIFileUpld functionality. To do so, enter the
following command at the command prompt:
100 3BUR002065R3501
Appendix D Serial Data Transfers FMS User Data File Migration from Multibus to Windows
If contiguous files are present, you may have to run this program multiple times
in order to pick up the indexed files. After the files are transferred, you can delete
the files created for any contiguous files.
PC Def and PC Port files are transferred. PC Command files are not and must be
manually re-entered. Use the DCN file transfer program (see Using File
Migration Utility for Multibus to Windows on page 43) for transfers.
For example, to upload the PLC configuration files from the Multibus node
named DPSS100, you would enter:
CIFileUpld WC00:[260.CONFIG]*.*
DPSS100::WC00:[260.CONFIG]*.* 1
Click OK to acknowledge the transfer.
When the upload of the PLC Configuration FMS user data files is complete the
migration of the PLC Configuration is complete. The resulting PLC
Configuration FMS user data files in FMS format are placed in the following
directory on the PC running the Windows operating system with AdvaBuild
Control Builder software:
C:\Program Files\ABB Industrial IT\Data\SystemServices\FMS\WC00\260\CONFIG
8. To transfer the memory pool configuration files that reside on the Multibus
platform, with the exception of the POOLS.PL files, to the Windows platform,
you must use the DCN transfer program (see Using File Migration Utility for
Multibus to Windows on page 43).
3BUR002065R3501 101
Environment and Graphic File Migration from Multibus to Windows Appendix D Serial Data
If the Multibus Turbo Node is not at Version 14/5, then you will see an ILLEGAL
INSTRUCTION in Task 89 - RSDISPATCH. This task is not required for the
migration process and you may proceed.
102 3BUR002065R3501
Appendix D Serial Data Transfers Environment and Graphic File Migration from Multibus to
It is recommended that you do not use this utility while using the system for
production.
3BUR002065R3501 103
Environment and Graphic File Migration from Multibus to Windows Appendix D Serial Data
104 3BUR002065R3501
INDEX
A all files of Ladder Logic directories in HP-UX
AddRCSInfo 28, 33, 42, 81, 93, 100 FMS format to Windows FMS format via
addresses for which timeout value must be fmsConvert 36
changed 83 all memory pool configuration files in HP-UX
annotate_.dmp file 58 FMS format to Windows FMS format via
annotation text migration from HP-UX to fmsConvert 37
Windows 27, 51, 55 all PLC Config files in HP-UX FMS format to
ASCII transition file to binary transition file Windows FMS format via fmsConvert 37
conversion via Save ATF 63 ASCII transition file to binary transition file
using conversion utility of Save ATF 63
B binary transition file to ASCII transition file
binary transition file to ASCII transition file using BTFtoATF utility 24, 77
conversion via BTFtoATF utility 24, 77 Console Configurator files in HP-UX FMS
BTFtoATF utility 24, 77 format to Windows FMS format via
fmsConvert 36
HP binary transition file to Windows binary
C
transition file via fmsConvert 21
checking in extracted sequence and recipe text files
Ladder Logic library files in HP-UX FMS
to RCS of 2000 TCL Builder Server 42
format to Windows FMS format via
checking in extracted sequence and recipe text files
fmsConvert 37
to RCS of Windows TCL Builder Server 34, 94,
Page Builder files in HP-UX FMS format to
100
Windows FMS format via fmsConvert 35
checking log file for errors 27, 55, 60, 68, 81
TCL sequence and recipe files in HP-UX FMS
CIFileUpld, transferring Multibus files
format to Windows FMS format via
PLC 100
fmsConvert 29
TLL 98
Windows binary transition file to HP-UX
transition file 76
binary transition file via fmsHPConvert 64
comment migration 51
creating
Console Configurator file migration
project on Windows-based Engineering
from HP-UX to Windows 35
Station 25, 78
from Multibus to Windows 102
target directories for FMS user data files
Console/Page Builder File Transfer utility 102
migrated 37
converting
target Ladder Logic directories for FMS user
all files of ENV# directories in HP-UX FMS
data files migrated 38
format to Windows FMS format via
target Page Builder and ENV# directories for
fmsConvert 36
3BUR002065R3501 105
Index
106 3BUR002065R3501
Index
H Windows 102
HP binary transition file to Windows binary database comments from HP-UX to
transition file conversion 21 Windows 27, 51
database from HP-UX to Windows 18, 20
I database from Multibus to Windows 71 to 72
import_nt_annotate.bat batch file 59 database from Windows to HP-UX 62
importing annotate_.dmp file via environment and graphic files from Multibus to
import_nt_annotate.bat batch file 59 Windows 102
inserting MOD_DB templet into new project 79 FMS user data files from HP-UX to
Windows 35
FMS user data files from Multibus to
L
Windows 94 to 95
loading
memory pool configuration files from HP-UX
ASCII transition file 26, 80
to Windows 35
binary transition file 67
Page Builder files from HP-UX to
transition file via Load ATF 26, 80
Windows 35
logging in to Control Builder and opening
Page Builder files from Multibus to
project 26
Windows 102
PLC configuration files from HP-UX to
M Windows 35
memory pool configuration file migration TCL sequence and recipe source files from HP-
from HP-UX to Windows 35 UX to Windows 28
mgetting TCL sequence and recipe source files from
converted Console Configurator files via Multibus to Windows 81
ftp 39 TCL source files from HP-UX to Windows 29
converted ENV# files via ftp 40 TCL source files from Multibus to
converted Ladder Logic files via ftp 40 Windows 81
converted Ladder Logic library files via ftp 40 TLL files from HP-UX to Windows 35
converted memory pool configuration files via modifying CIGATE.PK file 82
ftp 41
converted Page Builder files via ftp 39
P
converted PLC configuration files via ftp 41
Page Builder file migration
converted TCL recipe files via ftp 31
from HP-UX to Windows 35
converted TCL sequence files via ftp 31
from Multibus to Windows 102
migrating
PLC configuration file migration from HP-UX to
annotation text from HP-UX to Windows 27,
Windows 35
51, 55
putting binary transition file on HP-UX via ftp 66
comments from HP-UX to Windows 51
Console Configurator files from HP-UX to
Windows 35 R
Console Configurator files from Multibus to RCS, see revision control system
3BUR002065R3501 107
Index
retrieving U
annotation text from HP-UX to Windows via update_nt_comments_.sql script file 53
export_hp_annotate.sh script 57 updating
comment data from HP-UX to Windows via project on Windows by importing
get_comments_on_hp.sql script 52 annotate_.dmp file 59
revision control system 34, 42, 94, 100 project on Windows with comment data via
update_nt_comments_.sql script file 54
S uploading TCL sequence and recipe files in FMS
saving database as transition file 20, 62, 72 format from Multibus to Windows TCL Builder
SetNotCompiled executable 32, 92 Server 89
setting status for transferred FMS sequence and using
recipe files to “Not Compiled.” via ftp to get binary transition file 23
SetNotCompiled executable 32, 92 ftp to put binary transition file 66
T V
TCL Migration utility 32, 92 verifying
TCL sequence and recipe source file migration annotation text was updated in migrated
from HP-UX to Windows 28 project 60
from Multibus to Windows 81 comments were updated in migrated
TCL source file migration project 55
from HP-UX to Windows 29
from Multibus to Windows 81
TCLMultibusMigration.bat batch program 89
Telnet message box 53, 58
testing serial connection between Multibus and
Windows 73, 86, 95
TLL file migration from HP-UX to Windows 35
transferring
memory pool configuration files on Multibus to
Windows 101
PLC configuration files on Multibus to
Windows via CIFileUpld 100
TLL files on Multibus to Windows via
CIFileUpld 98
transition file to Windows via CIFileUpld 76
transition file
loading via Load ATF 26, 80
saving database 20, 62, 72
transferring to Windows via CIFileUpld 76
108 3BUR002065R3501
3BUR002065R3501 Litho in U.S.A. December 2009
Copyright © 2009 by ABB. All Rights Reserved
® Registered Trademark of ABB.
™ Trademark of ABB.
http://www.abb.com