ICN OPC Server ABB Inc.
ABB Inc. The Company ABB Inc. is an established world force in the design and manufacture of instrumentation for industrial process control, flow measurement, gas and liquid analysis and environmental applications. As a part of ABB, a world leader in process automation technology, we offer customers application expertise, service and support worldwide. We are committed to teamwork, high quality manufacturing, advanced technology and unrivaled service and support.
1 1.1 Introduction Introduction ICN OPC Server is an Industrial IT enabled software product. It is an OPC Foundation compliant server application (serial communications device interface) that allows hardware devices to communicate with OPC Clients such as ABB Operate IT Products and other software manufacturer's HSI packages like ICONICS’ Genesis32, Intellution's FIX Dynamics and similar packages from Wonderware, CI Technologies and others.
ICN OPC Server Guide Introduction 1.2.2 Mini-link and Mini-link External Mini-link Internal (1731 and 1732N) or Mini-link External (1733N) is used for connecting the ICN to a host computer. It is also considered to be a member on the ICN. The Minilink Internal is plugged into an ISA slot of the Personal Computer where as Mini-link External is connected to a serial port of the Personal Computer. Boh types of Mini-links can connect up to 2 ICNs.
2 2.1 Installation Objectives This chapter explains the installation procedure for the ICN OPC Server. 2.2 System requirements: For running the ICN OPC Server, you need the following computer configuration and software installed: • Pentium 300 MHz or faster processor with 64 MB RAM. • At least 100 MB of available hard disk space. • CD ROM Drive (at least 4 speed, higher speed recommended) • A SVGA monitor or better. • Windows 2000 or Windows XP or Microsoft Windows NT 4.0. Service Release 4.
ICN OPC Server Guide Installation 2.3 Instructions: The following procedure explains how to install ICN OPC Server on your computer. Start your Microsoft Windows operating system. Windows 95 needs DCOM (Distributed COM) for running the ICN OPC Server. The ICN OPC Server setup will detect if DCOM was already installed on your computer. If DCOM was not present, it will install it. This is an issue with only Windows 95.
ICN OPC Server Guide Installation Type D:\SETUP.EXE or E:\SETUP.EXE, (CD DriveLetter:\Setup.exe depending on the letter you use for the CD-ROM drive) and click on OK or press ENTER. 2. The ICN OPC Server Setup introductory screen displays briefly while installation is initiating. Figure 2 .2. ICN OPC Server Setup 3. The following message will be displayed if you are installing the ICN OPC Server under Windows 95. Figure 2 .3.
ICN OPC Server Guide Installation Figure 2 .4. ICN OPC Server Setup -Welcome 4. ABB Software License Agreement will be displayed next and will display the legal information about using the ICN OPC Server Software. Click on Yes if you accept the agreement. Clicking on No will terminate the Setup. Refer to the next figure. ABB Software License Agreement is a legal document. Read it carefully before clicking on Yes. Figure 2 .5.
ICN OPC Server Guide Installation Figure 2 .6. ICN OPC Server Setup –Information 5. Enter User Information: The User Information dialog box will be displayed next as shown below. Type your name, company name and the serial number. This serial number can be found on the CD case or the ICN OPC Server package you received. Click on Next to continue. Figure 2 .7. ICN OPC Server Setup –Destination Location 6. The Choose Destination Location dialog box will be displayed next as shown in the next figure.
ICN OPC Server Guide Installation If you want to install ICN OPC Server onto a different folder, click on the Browse button to open the Choose Folder dialog box and then browse to the desired folder or create a new folder by typing its name in the Path field. • Click on OK to continue. Figure 2 .8. ICN OPC Server Setup –Choose Destination 7. Select Components for installation: The ICN OPC Server Software package consists of the main software and a few options.
ICN OPC Server Guide Installation Figure 2 .9. ICN OPC Server Setup –Select Components 8. Choose the Program Folder: The ICN OPC Server setup will also create a program folder and will create program shortcuts inside that folder. You can use these shortcuts to start the programs. The default program folder that will be automatically created will be: ABB Control Solutions Software Suite. If you want to create a new program folder you can type its name in the Program Folders field on this dialog box.
ICN OPC Server Guide Installation Figure 2 .10. ICN OPC Server Setup –Select Components • Click on Next to continue. Figure 2 .11. ICN OPC Server Setup –Program Folder 9. 2-8 The ICN OPC Server Setup will display the Start Copying Files dialog box next as shown in the figure above. This dialog box will display the settings you have selected. Click on Next to continue.
ICN OPC Server Guide Installation Figure 2 .12. ICN OPC Server Setup 10. The setup will start now and will display a progress bar as shown above. After the Setup copied all the required files, the following Information box will be displayed. The ICN OPC Server CD contains all the technical documentation in Adobe PDF format. If your system does not have Adobe Acrobat Reader installed already, you can install it from the CD after the ICN OPC Server Setup completes. Figure 2 .13. ICN OPC Server Setup 11.
ICN OPC Server Guide Installation Figure 2 .15. ICN OPC Server Setup –Setup Complete 2 - 10 • Click on Finish to complete the installation. • If the setup had to overwrite any DLLs that were open in the system at the time of Setup, then you will need to restart the computer for the changes to be effective. You can opt to restart your computer at a later time.
3 3.1 Application Tutorial Objectives In this lab, we will configure an ICN OPC Server database and add a device to it. We will use this database to download the PIDLAB Strategy from the previous lab to the MOD 30ML instrument. We will also populate the OPC database with tags using the Modcell Interface File (.MIF) created in the previous lab and monitor the data by reading them from the instrument using the built-in OPC Client of the ICN OPC Server.
ICN OPC Server Application Tutorial 3.2 Instructions 3.2.1 Part 1 1. Launch the ICN OPC Server: From the Windows Start menu, select Programs-ABB Control Solutions Software Suite - ICN OPC Server. • The OPC Server will launch as shown in the next figure. • A blank tag database Untitled is opened by default. We will add a device to this database. We will save this database later. Figure 3 .1. ABB ICN OPC Server 2.
ICN OPC Server Application Tutorial Figure 3 .2. Add new ICN Device • Type the name MOD30ML in the Name field (the name is user-configurable and can be anything!). • Select the Type as MOD30ML Controller from the drop down menu. • Select the serial communication port of the computer to which the MOD 30ML is connected, in the Port field. Click on the down arrow in this field to show the dropdown menu and then select the port. (COM1 for example). • Type the ICN Number in the ICN Number field.
ICN OPC Server Application Tutorial Figure 3 .3. Modcell Interface File • Click on the button next to the File Name field. A file selection dialog box as shown below will appear next. Browse for the folder that has the .MIF file from this dialog box and then select it. This is the file you generated while compiling your database. • Click on the Open button on this dialog box. This will attach the tags that are in the .
ICN OPC Server Application Tutorial Figure 3 .5. Port Properties • Select the COMM port from the drop-down menu in the Port field and then enable it by checking the box next to the Enable field. • Choose the Baud Rate, Parity, Flow Control, Data bits and Stop bits from this dialog box. Make sure these entries match the settings of the instrument. • Click on OK to complete the Port configuration. • Click on OK.
ICN OPC Server Application Tutorial Figure 3 .7. File – Save As 3-6 • Click on the Save button to save the file. The Title bar of the OPC Server will redisplay with the saved file name. • You can now either close the ICN OPC Server application by selecting File – Exit from the menu bar at the top or minimize it.
ICN OPC Server Application Tutorial 3.2.2 Part 2 – Downloading database from ViZapp 5. Run the Vizapp Application and open your workspace document. Open your instrument document on the right frame. Select Instrument – Download from the menu bar at the top. • The Communication Setup dialog box will be displayed as shown below: • Click on the Browse button next to the Server name field to browse the OPC Servers registered in the system.
ICN OPC Server Application Tutorial Figure 3 .9. Select OPC Server Figure 3 .10. Communication Setup 3-8 • Click on ABB.ICN.DataAccess item to select it. It should now be displayed in the Server Name field. Click on OK. • The Communication Setup dialog box will redisplay with ABB.ICN.
ICN OPC Server Application Tutorial 6. Select the Device: Click on the Browse button next to the Device Name field. • The Select Device dialog box will display as shown below next. You will also notice the ICN OPC Server application started automatically with the OPC database file you last saved. • This Select Device dialog box will show the name of the device you added to the OPC Database in Part A of this lab. Select the device and then click on OK. Figure 3 .11.
ICN OPC Server Application Tutorial Figure 3 .12. Communication Setup • Click on OK on this dialog box. The Download Status Indicator will display as shown below if the communication with the instrument was established. If there was no communication, you will get error message boxes. • After successful download, the following message box saying “Download completed without error” will be displayed. Click on OK.
ICN OPC Server Application Tutorial 3.2.3 Part 3 – ABB ICN OPC Client 8. Launch the ICN OPC Server Application if it was not running already. It will be launched with your last saved database (for example boiler.icns) as shown below: Figure 3 .15. OPC Server database with tags • Do you notice that the OPC database is populated with tags from the MIF file automatically? Also notice that the tags are shown with alias names. Figure 3 .16. OPC Live Data 9.
ICN OPC Server Application Tutorial 3 - 12
4 4.1 Operation and Reference ICN OPC Server 4.1.1 OPC Tag Database The database is typically made up of the following: Devices: These are hardware devices (MOD30 / MODCELL / MOD 30ML) connected to the OPC Server. Groups: Tags/Signals can be grouped together into groups. Groups follow a device that means that you can make groups of tags from a device. In the ICN OPC database, the grouping will be based on the grouping in the CL block in the instrument database database.
ICN OPC Server Operation and Reference Figure 4 .1. OPC Server Tag database Having a .MIF file is very handy. Connecting the MIF file to a device in the OPC tag database will create the groups and signals automatically. This will save a tremendous amount of time compared to creating them manually. 4.1.2 ICN Device Properties Configure the properties of the MOD30 or MODCELL or MOD 30ML device in this dialog. Figure 4 .2.
ICN OPC Server Operation and Reference Timeout: Timeout value in ms is the time for which the OPC server tries to reestablish communication with the device in the case of a communication failure. The default value of 1000 ms should not need to be changed. Address: Type the instrument’s ICN address in the address field. Interface File: MIF file - Choose the Modcell Interface file for this device: To choose a .MIF file, 1. Click on the button next to the MIF File field on this dialog box.
ICN OPC Server Operation and Reference Figure 4 .3. ViZapp Communication Setup Simulate I/O: The OPC Server does not access the device in Simulate mode. When checked, no communication takes place and I/O values are generated randomly. 4.1.3 Serial Port Configuration Configure the serial port for the communication: Menu item Edit – Ports displays the communication port settings as shown below: Figure 4 .4.
ICN OPC Server Operation and Reference • Select the COMM port from the drop-down menu in the Port field and then enable it by checking the box next to the Enable field. • Choose the Baud Rate, Parity, Flow Control, Data bits and Stop bits from this dialog box. Make sure these entries match the settings of the instrument. • Click on OK to complete the Port configuration. • The ICN Device Properties dialog box will redisplay with the port number.
ICN OPC Server Operation and Reference 4.1.4 Tag Data The ICN Tag Data property sheet shows the following configured data: Figure 4 .5. Tag properties Name – Tag Name Description – Description of the tag Block – MOD30 Block if the Device is a MOD30 instrument such as MOD 30 Controller, Math Unit, Recorder or SLU Data Point – MOD30 pneumonic Scaling – Custom Scaling for the tag if any. See the Scaling section for details.
ICN OPC Server Operation and Reference 4.1.5 Saving the OPC Server Tag database: The OPC tag database can be save as a file with an extension. ICNS. • Menu item File – Save will save the OPC Tag database. • The Save As dialog box will be displayed next as shown below: • Choose the same folder where you have saved the instrument database for saving this file and then type a name for the OPC tag database file in the File name field. • Click on the Save button to save the file.
ICN OPC Server Operation and Reference • Live data values from the instrument will be displayed in the Value column of the OPC Server application. • The live data is read-only as this OPC client application and is mainly used for testing the function of the OPC Server and the communication between the hardware devices and the OPC Server tag database. It does not allow writing of the same. 4.1.
ICN OPC Server Operation and Reference 4.2 Dynamic Data Entry (DDE) Type Links The ICN OPC Server supports DDE (Dynamic Data Exchange) for serving data to DDE Client applications such as Microsoft Excel. The typical reference for DDE connections is: Program|Topic!Point The character between Program and Topic is called a Pipe, the dashed vertical line character on the keyboard. An exclamation point is used between the Topic and Point. Refer your application's documentation for using DDE.
ICN OPC Server Operation and Reference 4 - 10
PRODUCTS AND SERVICING A Comprehensive Instrumentation Range Sensors, transmitters and related instruments for flow, temperature, pressure, level and other process variables Flowmeters electromagnetic, ultrasonic, turbine, differential pressure, Wedge, rotary shunt, coriolis, vortex. Differential Pressure transmitters Smart, electronic and pneumatic. Temperature sensors and transmitters, fiber optic systems. Pressure transmitters Level sensors and controllers.
The Company’s policy is one of continuous product improvement and the right is reserved to modify specifications contained herein without notice. ©2002 ABB Inc. ABB Instrumentation Ltd. St. Neots Cambs. England, PE19 3EU Tel: (01480) 475321 Fax: (01480) 217948 ABB Inc.