OPC Client Driver
OPC Client Driver
OPC Client Driver
The information contained in this manual is believed to be accurate and reliable. However, GE Intelligent Platforms,
Inc. assumes no responsibilities for any errors, omissions or inaccuracies whatsoever. Without limiting the foregoing,
GE Intelligent Platforms, Inc. disclaims any and all warranties, expressed or implied, including the warranty of mer-
chantability and fitness for a particular purpose, with respect to the information contained in this manual and the
equipment or software described herein. The entire risk as to the quality and performance of such information, equip-
ment and software, is upon the buyer or user. GE Intelligent Platforms, Inc. shall not be liable for any damages, includ-
ing special or consequential damages, arising out of the use of such information, equipment and software, even if GE
Intelligent Platforms, Inc. has been advised in advance of the possibility of such damages. The use of the information
contained in the manual and the software described herein is subject to GE Intelligent Platforms, Inc. standard
license agreement, which must be accepted by the buyer or user before the use of such information, equipment or
software.
Trademark Notices
Proficy is a trademark of GE Intelligent Platforms, Inc., a wholly-owned subsidiary of General Electric Company.
All other product names and marks identified throughout this book are trademarks or registered trademarks of their
respective companies. They are used throughout this book in editorial fashion only. No such use, or the use of any
trade name, is intended to convey endorsement or affiliation.
No part of this publication may be reproduced in any form, or stored in a database or retrieval system, or transmitted
or distributed in any form by any means, electronic, mechanical photocopying, recording or otherwise, without the
prior written permission of GE Intelligent Platforms. Information contained herein is subject to change without notice.
We want to hear from you. If you have any comments, questions, or suggestions about our documentation, send them
to the following email address:
[email protected]
Table of Contents
Event-Driven Architecture 2
OPC Compliance 2
1. I/O Server 3
3. OLE Interfaces 4
4. I/O DLL 4
6. NIO DLL 4
9. iFIX Applications 4
To auto-create items in the iFIX Process Database from the Device Browser: 7
To auto-create items in the iFix Process Database from the Datablock Browser: 7
Example 13
Running as a Service 13
Data Arrays 16
Example 1 16
Example 2 16
Examples 17
Examples 17
Example 18
Block Writes 18
Set Up Windows XP, Windows Vista or Windows Server 2008 Firewall for Remote OPC Servers 20
DCOM Settings 27
In Windows 2000 29
In Windows 2003 30
Supported Protocols 33
Supported Software 33
Operating System 33
OPC Servers 33
Features 34
Access Methods 34
To display the configuration properties for the driver, a server, a group, or an item: 36
Adding Objects 36
Changing Objects 36
Navigating 37
Right-clicking 37
Additional Features 37
New 41
Open 41
Save 41
Save As 41
Exit 42
Add Server 42
Add Group 42
Delete 43
Find 43
Sort 43
Tree Browser 43
Main Toolbar 43
Run-time Toolbar 43
Configuration Toolbar 43
Status Bar 43
Configuration Mode 43
Statistics Mode 44
Start 44
Stop 44
Reset Counters 44
Templates 44
Setup 44
OLE Server 44
Event Window 44
Help Topics 44
Item Dialog 46
Secondary Rate 46
Advanced Tab 47
Maximum Size 47
Growth Increment 47
Overrun Buffer 47
Authentication Level 48
Impersonation Level 48
Auto Create 48
Auto Enable 49
Auto Start 49
Enable Children 50
Set Defaults for I/O Driver Configuration File Name and Path 50
To set the default configuration file name and change the default path: 50
Connect 52
To set your I/O Driver Power Tool to connect automatically to the I/O Server on either a local or
remote machine: 54
Browse Failure 56
Name 56
Number of Servers 56
Number of Groups 56
Number of Items 56
Server Properties 56
Server Name 57
Description 57
ProgID 57
Server Location 57
Browse Network 57
Save on Disconnect 58
File Name 58
Client Settings 58
Group Properties 58
Group Name 58
Description 59
I/O Type 59
Data Source 59
Update Rate 60
% Deadband 60
Poll Rate 60
Async Timeout 61
Item Properties 61
Item Name 61
Description 61
Item ID 62
Access Path 62
Item Start 62
Item Length 63
Array 63
Browse Server 64
Client Settings 64
Disable Outputs 64
Latch Data 64
Exception Deadband 65
Access Time 65
Item ID 66
Access Path 66
Path 68
Items 68
Filter 68
Filter Button 69
Find What 70
Find Next 70
Find Previous 70
Remote Machine 70
Server List 70
Setting Up a Database Tag for Bit Read/Write Within an Analog Data (16-Bit Integer) Value 79
Examples 79
Set Up for Creating Items and Groups Automatically in iFIX Process Database 84
To open the OPC Client Power Tool from iFIX Process Database 91
To verify that the item or group was added to the run-time configuration: 92
Save Groups and Items Created in iFIX Process Database to the Configuration File 92
Statistics Overview 95
Transmits 95
Receives 95
Troubleshooting 96
Server Statistics 96
Transmits 96
Receives 96
Errors 96
Number of Groups 97
Number of Items 97
Vendor Info 97
Server Status 97
Bandwidth 97
Start Time 97
Current Time 97
Last Update 97
Major Version 97
Minor Version 97
Build Number 98
Connection In Use 98
Troubleshooting 98
Group Statistics 98
Transmits 98
Receives 98
Errors 98
Number of Items 99
Troubleshooting 99
Item Statistics 99
Transmits 100
Receives 100
Errors 100
Troubleshooting 101
Example 101
Quality 102
Format 102
Refresh 102
Example 1 103
Example 3 104
To add the OPC Client to the SCADA Configuration dialog box: 106
To stop the I/O driver from the OPC Client Power Tool: 108
To add the OPC Client to a SCADA configuration and launch the Power Tool: 108
Example 1 110
Example 2 110
Example 113
How Do I? 114
Troubleshooting 115
By Phone 122
To start designing a Visual Basic application that accesses the OPC Client objects: 123
Glossary 125
Index 131
Welcome to the OPC Client Driver Help. Click the following topics for information about using the OPC
Driver.
Click the following links for more information about the OPC I/O Driver.
The OPC Client is a GE Intelligent Platforms version 7.x I/O driver that provides the interface and com-
munications protocol between OLE for Process Control servers and your process control software. GE
Intelligent Platforms version 7.x drivers are designed with the following attributes to provide flexibility and
ease-of-use:
l Create and manipulate objects exposed in the I/O Server from another application.
l Create tools that access and manipulate driver objects. These tools can include embedded macro
languages or external programming tools.
l The I/O Server – The core executable program. The I/O Server maintains the OPC server, group,
and item objects, performs all required functions for communicating with third-party OPC servers,
and exposes the methods and properties to other applications.
l The I/O Driver Power Tool – A client application to the I/O Server with a graphical user interface.
The Power Tool accesses the I/O Server and lets you view and modify OPC server, group, and item
properties.
You can also view and modify driver properties with a custom client application developed specifically for
your system. Refer to Creating Custom Client Applications to learn more about creating your own client
application.
Event-Driven Architecture
Version 7.x drivers are event-based rather than time-based, reducing CPU time and increasing per-
formance.
OPC Compliance
The OPC Client driver complies with the OLE for Process Control (OPC) v1.0a and v2.0 standards. The OPC
Client provides the ability to bring data from any OPC v1.0a or v2.0 server to the GE Intelligent Platforms
iFIX Human-Machine Interface (HMI) software.
The I/O driver core. The I/O Server contains objects and interfaces that perform the following tasks:
l Driver Object – Manages Server Objects and the overall state of the driver.
l Server Object – A server is the I/O driver’s communication path to an OPC server. The Server
Object contains the properties and methods that govern the behavior of a server and allow you to
browse your OPC servers.
l Group Object – A group is a logical association of data, called items, in a server. The Group Object
contains the properties and methods that govern the behavior of an OPC group including asyn-
chronous and synchronous communications.
l Item Object – An item is a piece of data that can be read from an OPC server. The Item Object con-
tains the properties and methods that manage the behavior of an item. Item Objects in the I/O
3. OLE Interfaces
Exposes the data and functionality of the I/O Server to other applications.
4. I/O DLL
Provides functions for sending and receiving data to and from the process hardware. In this driver, your
hardware vendor’s OPC server software provides these functions.
Builds common memory, exposes its functionality to the Server and the NIO DLL, and stores and maintains
process data.
6. NIO DLL
Contains the I/O driver’s data access API. The NIO DLL has direct access to the Common Memory DLL,
providing fast and efficient read/write capability.
Contains the API that scales raw data to the specified engineering units.
Serves as a high-performance client to the I/O Server with a graphical user interface for configuring and
monitoring the driver.
9. iFIX Applications
Communicates with the I/O driver through the NIO DLL. Because the NIO DLL accesses the Common
Memory DLL directly, reading and writing data to iFIX applications is fast and efficient.
Communicates with the I/O driver through the OLE Interfaces. You can design custom applications with a
COM/OLE Automation programming application such as Visual Basic, Power Builder, or Visual C++.
l Lets You Automatically Create Groups and Items from iFIX Process Database
l Lets You Add Items Automatically to the iFIX Process Database
l Lets You Add Existing Items to the iFIX Process Database
l Automatically Creates the iFIX Process Database Log File
By enabling the Auto Create option in the I/O Driver Power Tool, you can automatically create items from
your HMI process control software by specifying an undefined item in the I/O address of a database block.
After you enter the undefined item, the OPC Client I/O driver automatically adds the new item to your
driver configuration. As a result, you do not have to start the I/O Driver Power Tool and create the OPC
items before you design your process database; you only need to create the required servers and groups.
1. Start the I/O Driver Power Tool and choose Setup from the Options menu. The Setup dialog box
appears.
2. Click the Advanced tab and select Auto Create On in the I/O Server area.
3. Close the Setup dialog box and choose Templates from the Options menu. The Templates dialog
box appears.
4. Enter the default values you want to use for your server, group, and items in the Templates dialog
box.
5. In the Power Tool, add Server1 and Group1, but do not create any items.
6. Save the Power Tool configuration as your default, exit from the Power Tool, and close all remote
connections.
7. Open iFIX Process Database and create five database blocks with valid Item IDs using Group1 as
the device name.
8. Open the Power Tool. The Tree Browser will display five new Items under Group1.
1. Using the previous example, delete Group1 from the Power Tool.
2. Open iFIX Process Database and create five database blocks, all with valid Item IDs, and different
group names.
3. Open the Power Tool. The Tree Browser will display five new Groups, each with its own new Item,
under Server1.
When automatically creating groups, enter a unique group name. Duplicate group names are not allowed.
1. Using the previous example, delete Server1 from the Power Tool.
2. Open iFIX Process Database and create one block with a valid prog id, a unique group name, and
an item ID valid to the specified OPC server’s prog id.
3. Open the Power Tool. The Tree Browser will display a new Server, Group, and Item.
When automatically creating servers, enter a valid OPC server prog id.
Keep in mind that all items and groups that you automatically create from the Process Database contain
default values found in the Templates section of the Power Tool.
Click the following links for more information regarding auto-creation of items in the iFIX Database.
l Auto-creating items in the iFIX Process Database from the Device Browser
l Auto-creating items in the iFix Process Database from the Datablock Browser
By selecting the Enable iFix PDB Tag Auto-creation option in the I/O Driver Power Tool, you can create
items that are automatically added to the Process Database. You can automatically create items in the
Database Tag, Device Browser, and Datablock Browser dialog boxes.
NOTE: This feature is available only for iFIX version 3.0 or later. All tags added to the process database are put off
scan. The initial value is displayed in the iFIX process database as ????, however, the actual value is displayed cor-
rectly after you have saved and reloaded the database.
The following conditions must be met to add existing items to the iFIX process database:
1. In the Tree Browser, select the group in which you want to auto-create items.
2. From the Display Mode menu, choose Config Mode.
3. From the Edit menu, choose Add Multiple Items. The Device Browser dialog box appears.
4. Expand the Path tree and tag type that you want to auto-create items for.
5. Select an item from the Tag Type list. The item IDs for the selected item appear in the Items list.
6. From the Items list, select the number of item IDs you want to auto-create. For example, if you
want to auto-create 10 items, select the first item ID in the Items list, hold down the Shift key and
select the tenth item ID.
7. If required, select the Enable iFix PDB Tag Auto-creation check box.
NOTE: This check box can also be selected on the Database Tag and Datablock Browser dialog boxes. For
more information, see Adding and Modifying Item IDs.
8. From the iFIX Database Tag Type list, select the type of datablock you want to create items for.
9. In the Tag Desc Prefix box, enter a brief description of the item you are adding. By default, AG- is
displayed.
NOTE: "AG-" is an acronym for "Auto Generated" and indicates, in the iFIX Process Database, that the tag
has been automatically generated. Adding AG- to the description provides you with a way to search the
iFIX Process Database for the tags you created in the OPC Client Power Tool.
10. In the Tag Name Prefix box, enter the prefix you want to have appear on the database blocks.
NOTES:
l You cannot duplicate tag names in the iFIX process database. When adding the same item with a
different tag type to the iFIX process database, you must add a tag name prefix to the item name.
l Tag names must contain only alphanumeric characters. A tag name containing non-alpha-
numeric characters (e.g., *, ~) will prevent the tag from being added to the iFIX process database.
11. Click OK. The auto-created items appear under the selected group in the Power Tool Tree Browser
and in the iFIX Process Database.
NOTE: The displayed item ID for each of the auto-created items is the same as the corresponding item ID
you selected in the Device Browser dialog box. To change the item IDs of the auto-created items, see
Adding and Modifying Item IDs.
To auto-create items in the iFix Process Database from the Datablock Browser:
1. In the Tree Browser, select the item you want to auto-create a database block for in the Process
Database.
2. From the Display Mode menu, choose Config Mode.
3. In the Properties Viewer, click the Browse Server button. The Datablock Browser dialog box
appears.
4. In the Item IDs list, expand the server and select the tag type that you want to create an item for.
5. If required, select the Enable iFix PDB Tag Auto-creation check box.
NOTE: This check box can also be selected on the Database Tag and Device Browser dialog boxes.
8. In the Tag Name Prefix box, enter the prefix you want to appear on the database block.
NOTES:
l You cannot duplicate tag names in the iFIX process database. When adding the same item with a
different tag type to the iFIX process database, you must add a tag name prefix to the item name.
l Tag names must contain only alphanumeric characters. A tag name containing non-alpha-
numeric characters (e.g., *, ~) will prevent the tag from being added to the iFIX process database.
9. Click OK. The auto-created item is added to the iFIX Process Database and appears in the Dat-
ablock Browser the next time it is opened.
The OPC Client driver allows you to create and configure items in the Power Tool and then to add those
items to the Process Database. For more information, see Add Existing Items to the iFix Process Database.
With the OPC Client driver you can create new items that are added to both the Power Tool and the iFIX
Process Database. You can also add existing items from the Power Tool to the Process Database.
When you add items to the iFIX Process Database a log file is created automatically to record all the
actions that you performed.
The log file name can be changed using the Setup dialog box.
To use the iFIX Process Database log file:
1. From the File menu, choose Open. The Open window browser appears.
2. From the Files of type list, select LogFiles (*.TXT). All available log files are displayed.
3. Double-click the log file you want to view.
The log file is in .CSV format and has the following fields:
Field Description
Date and Time The date and time the action was performed.
Tag Information Displays the tag name, the tag description, and the tag I/O address.
Status Success or Failed. If the status is failed, the error code is recorded.
The OPC Client driver allows you to add multiple items to a group in the Power Tool. See Adding Multiple
Items for the complete procedure.
The number of items you chose are added under the selected group in the Power Tool Tree Browser with
the associated item IDs displayed in the Item ID and Access Path fields.
To change the item IDs of the added items, see Adding and Modifying Item IDs from the Datablock
Browser.
In concert with the growing trend towards using custom programs to access plant floor data, GE Intelligent
Platforms version 7.x drivers enable you to connect easily with custom applications. You do not have to use
the OPC Client I/O Driver Power Tool to configure the driver. Instead, you can create your own COM or OLE
application or use an existing OLE application (such as Microsoft's Excel) to configure the driver and access
data.
Your driver may include a custom Visual Basic application. You can use this application in place of the
Power Tool to configure your driver. You can also refer to it when creating your own custom application.
Typically, custom Visual Basic applications are created for specific needs such as:
The OPC Client I/O Driver Power Tool is an OLE application that functions as a client to the OPC I/O Server
and is your main graphical driver configuration tool. It provides a graphical user interface (GUI) and graph-
ical aids for configuring the driver to communicate with your process hardware.
Refer to the following topics for a description of the Power Tool and how to use it to configure your driver:
You can control and configure the OPC I/O Server remotely using the Power Tool or any other client applic-
ation. To set up remote control of the I/O Server, you can install the Power Tool or your client application
on a computer that does not have the server software installed. However, you must install the I/O Server
on the computer used to communicate with the process hardware.
To install the Power Tool for remote communication:
1. Insert the I/O Drivers and OPC Server CD into the remote computer’s CD-ROM drive.
2. When the start-up screen appears, click the Install Driver button.
3. Select the OPC Client from the list and click the Install Now button.
4. Click the I Agree button to accept the user license and continue with the installation.
5. Follow the instructions on the screen to complete the installation. When the Install program
prompts you for the node type, select Client.
6. After installation is complete, open the Power Tool and connect to the I/O Server using the Network
list box. Refer to Set Up the OPC I/O Server Connection to learn more about establishing a con-
nection to the OPC I/O Server.
The OPC I/O Server supports two different methods of obtaining data from an OPC server: synchronous
and asynchronous I/O. Synchronous I/O enables the OPC Client to poll the OPC server at regular intervals,
according to the specified poll rate. Synchronous I/O is a reliable means of getting data at a specified time
interval.
Asynchronous I/O, by comparison, does not enable the OPC Client to poll the server; it provides data
between the driver and the OPC server on an exception basis. Using Asynchronous I/O, the server notifies
the OPC Client when data has exceeded the user-supplied percent deadband. This architecture offers low
communications overhead because the driver does not repeatedly poll for the same data over and over
again.
You can use synchronous and asynchronous I/O with exception-based database blocks by entering a dead-
band. When incoming data exceeds the specified deadband, SAC updates all the exception-based data-
base blocks.
For synchronous I/O, enter an exception deadband in each OPC item. For asynchronous I/O, enter a per-
cent deadband in the item’s group.
GE Intelligent Platforms version 7.x drivers support exception-based processing when used with iFIX
products for process control. Exception-based processing means that the software application processes
data only if there is a considerable deviation from normal values.
Exception-based processing also applies to database blocks. You can enable exception-based processing
for any block in the process database. After you enable this feature, the I/O driver reports any data change
that exceeds the I/O driver’s deadband to the iFIX Scan, Alarm, and Control (SAC) program. This program
resides in the background and works to maintain the process database continuously. Upon receiving noti-
fication of an exception, SAC polls for information on the affected database block and updates that block’s
value.
To configure a database for exception-based processing:
If you have many database blocks, using exceptions can help reduce the demand on SAC.
NOTES:
l Analog Register and Digital Register blocks in iFIX databases do not support exception-based processing.
In addition, the OPC Client does not support using the Text block with exception-based processing.
l The OPC Client does not support exception-based processing for database blocks that reference items con-
figured as data arrays.
You can enable or disable messaging to servers, groups, or items at any time. This is a very useful feature
for debugging, maintenance, and for making preliminary configurations.
Disabling a server also disables all of its groups and items because the server’s Enable check box controls
the driver’s connection to the OPC server. After the driver and server are disconnected, all of the server’s
groups and items are removed as well.
The same logic applies to disabling groups; when you disable a group, all of its items are disabled.
l You are removing devices on a server for repair or maintenance and do not want to display errors.
l You want to disconnect from the OPC server.
l You are removing a device for repair or maintenance and do not want to display errors.
l You want to reduce the communications load when you do not need to collect data from that group.
l You want to isolate the group for debugging.
l You want to remove the group from the OPC server.
Example
Your OPC server communicates with remote devices by radio transmission. You know that radio trans-
mission is not always reliable (particularly during inclement weather); however, you must provide daily
reports from your process hardware.
By enabling the Latch Data option for your items, you ensure data is always available for reports.
NOTES:
l Latch data is also available from the OPC server. Since data quality is returned from the OPC server, the
server can latch the item’s quality. Enabling latched data in the driver forces the quality to reflect a
latched state and changes the actual data quality returned by the OPC server.
l FIX 6.15 does not support latched data. However, you can add support for latched data by downloading
the SAC Software Improvement Module (SIM) from GE Intelligent Platforms’s web site.
l Analog Register and Digital Register blocks do not support latched data. Consequently, we do not recom-
mend using these blocks with the Latch Data option.
GE Intelligent Platforms version 7.x I/O drivers record the time and date of the following events:
The driver time stamps the data and errors at the item level.
To view time and date stamps in the Power Tool:
You can also view the time stamp from iFIX Process Database. Refer to Specify I/O Addresses in iFIX Pro-
cess Database for more information.
Running as a Service
NOTE: If the OPC Client driver is added to the SCU, and you do not stop it, it will be stopped automatically when
iFIX is shut down.
By default, an I/O Server does NOT run as a Windows service. To set up the I/O Server to run as a service,
you must register it as a service. During installation, the Setup wizard automatically registers the server as
a regular server process. To register it to run as a service, you must run the server on the command line,
specifying that you wish to register it as a service. When the server is running as a service, you may need
to re-register it in certain situations, such as when you need to change the logon account.
Before you register the I/O Server to run as a service, follow these steps to ensure that it is not currently
running:
l If the driver is currently running as a regular server, you must stop the process by shutting down all
clients to the server, such as the PowerTool or iFIX.
l If the driver is currently running as a service, you must stop the process by shutting down all clients
to the server, and you must also perform these tasks on your operating system:
l Windows XP, Windows 2000,and Windows 2003 – from Control Panel, select Admin-
istrative Tools, then select Services. A list of all services configured on the machine displays.
Locate OPCDrv Server. If the status is Started, right click and Stop the server.
l Windows Vista and Windows Server 2008 – from the desktop, click CTRL+SHIFT+ESC to activ-
ate Task Manager. Click the Services tab to see the services that are currently running under
your user account. The Status column indicates whether a service is running or stopped.
After you stop the server from running, select the Process tab from the Task Manager and verify that the
OPCDRV.exe process is no longer listed.
The Logon Account for Running As A Service dialog box appears, and the registration process now
allows the user to specify a logon account. This provides flexibility with the user’s choice of security
settings. The dialog box allows the user to select one of these accounts when registering the OPC
Client driver to run as a service:
l System Account – uses the local system account to log on the I/O Server. This pre-defined
account is useful when your local IT department’s security policy requires password expir-
ation.
NOTE: The local system account cannot be used to access remote OPC servers. If this OPC Client
accesses remote OPCDrv servers, you must select another account using This Account.
NOTE: Before you register the I/O Server to run as a regular server, you must ensure that it is not currently
running.
When registering the server this way, it will run, perform the necessary registration work, and then
exit. You can then start the server by using more conventional methods such as starting iFIX, the
Power Tool, or any client program capable of communicating with the server.
NOTE: You cannot display the OPCDrv Server window using ALT + SHIFT + S when running as a service.
You can configure each group in the OPC Client to read data from the OPC server’s internal cache or from
an actual device. Reading from the cache returns the last value read by the OPC server. The server
updates the cache based on the group’s update rate.
Reading from an actual device returns the latest values from the process hardware. Although the latest
value is obtained, reading from a device can cause undue stress on the system. For this reason, we recom-
mend that you only use device reads for diagnostic and troubleshooting purposes.
The OPC I/O Server supports browsing of an OPC server’s address space. By browsing your OPC servers,
you can greatly simplify the addition of new items because you can quickly determine what item IDs and
access paths are available to you.
Data Arrays
The OPC Client can read multiple values from an OPC server if the server supports data arrays. A data
array is a set of contiguous data of the same data type. By reading multiple values with a single item, you
simplify the driver configuration and improve driver throughput.
Example 1
Suppose you want to read 200 values of contiguous addresses from your OPC server. Without data arrays,
you have to create 200 items, one for each value. Each value is read independently, resulting in 200 mes-
sages to the OPC server. Using data arrays, you can create one item to read all 200 values. All values are
read at once, resulting in one message to the OPC server.
Using data arrays is best when the OPC Client communicates with the server using synchronous I/O
because the OPC Client reads the entire array. When data arrays are used with asynchronous I/O, the
driver throughput may not improve because the OPC server sends the entire array to the OPC Client even
if only one value in the array changes. Consequently, it may be better to create individual items for specific
values that change frequently and use data arrays for all other values.
Example 2
Assume the values at addresses 100, 150, and 200 change frequently. All other values from addresses 1
to 200 do not change frequently. In this situation, instead of creating one data array for all 200 values, it
would be better to create the following items:
The item ID syntax for data arrays depends on your OPC server. However, you can use the following gen-
eral syntax:
itemid
- Or -
itemid!subscript:length (Schneider Automation only)
itemid[subscript],Llength (RS-Linx only)
Where:
l itemid is the OPC server’s name for the item you want to access.
l subscript is the starting address of the array.
l length is the number of elements in the array.
To configure an item in the Power Tool as a 100-element array for an RS-Linx OPC server, use syntax sim-
ilar to the following:
Sign_Int_Array[0],L100
To configure an item in the Power Tool as a 100-element array for an S7 Siemens server, use syntax sim-
ilar to the following:
S7:[S7_300|VFD1|CP5613_5614(PROFIBUS)]DB1,B0,100
To configure an item in the Power Tool as a 100-element array for a Schneider Automation OFS OPC
server, use syntax similar to the following:
MBT:1.2.3.4!400001:100
Consult your OPC server documentation for the exact syntax required for your server.
You must enter an I/O address in a database block to access data from a data array. The exact syntax you
must use is similar to the item ID syntax:
servername;groupname;itemid;accesspath;[element]
Where:
With an Item Start of 0 defined in the Power Tool, you can access the fifth element in a 100-element array
located at address 2 on the RS-Linx OPC server RSLinxV22 using syntax similar to the following:
RSLINXV22;SignIntGroup1;Sign_Int_Array[2],L100;Clogix;[4]
To access the fifth element in a 100-element array on an S7 Siemens server, use syntax similar to the fol-
lowing:
To access the fifth element in a 100-element array at address 400001 on a Schneider Automation OPC
server, use syntax similar to the following:
After you complete the I/O Address field of an Analog Register or Digital Register block, you can use offset
in picture data sources to access different values in the array.
Example
Suppose you create an Analog Register block, AR10, with the I/O address:
RSLINXV22;SignIntGroup1;Sign_Int_Array[5],L100;;[20]
Then the following data sources access the specified array elements:
l You cannot use the Auto Create option with items configured as data arrays.
l Data arrays support boolean and numeric (integer and float) data types. Arrays of strings are not sup-
ported.
l The OPC Client does not support exception-based processing for database blocks that reference items con-
figured as data arrays.
The OPC Client does not automatically resize items configured as data arrays. If you need to change the
size of the array, disable the item, change the array’s length, and re-enable the item. Make sure the length
of the array in the OPC Client matches the length of the array defined in the OPC server. If the lengths do
not match, the data quality is set to BAD.
Block Writes
Block writes let you send data to various registers in the OPC server simultaneously by using a special
"send" command. This command instructs the OPC Client to send all outstanding writes in a single protocol
message.
When the OPC Client sends the array to the OPC server, it also sends any unmodified values in the array
using the last known value. Consequently, reads from the array return old values until the new data is writ-
ten.
To send block writes through iFIX:
The OPC Client driver now supports 15 digits of precision with analog data.
IMPORTANT:
l If you are using this OPC Client driver (v7.41) in iFIX 4.5, 15-digit precision is supported for data values only,
and not for signal conditioning. Therefore, in iFIX 4.5, signal conditioning calculations are limited to 7
digits of precision. In other words, if the range of your EGU limits exceeds 7 digits, a small amount of impre-
cision will be introduced into the calculated result for signal conditioning.
l If you are using iFIX 5.0 with this OPC Client driver (v7.41),15-digit precision is supported for both data val-
ues and signal conditioning.
l Prior to iFIX 4.5, 15-digit precision was not supported. Instead, you are limited to the 7 digit limits imposed
by the use of single precision values.
The following is a general overview of the steps necessary for setting up your I/O driver.
Set Up Windows XP, Windows Vista or Windows Server 2008 Firewall for Remote
OPC Servers
If Firewall security is enabled on Windows XP, Windows Vista, or Windows Server 2008 you may need to
modify or add items to the Exceptions list.
GE Intelligent Platforms recommends that you enter these settings on the local machine running the OPC
Client, as well as on the remote machine that has the OPC server you want to use.
l You must also add the GE Intelligent Platforms OPC Client driver by adding the file OPCDrv.exe into the
Exceptions list.
l If any OPC server that you want to use is a dll surrogate (an in-process dll and not an .exe), you must add
\system32\dllhost.exe into the Exceptions list.
l OPCENUM must reside on the remote machine with the OPC server. While most OPC Server applications
install and register this file, some do not. You can download this file from www.opcfoundation.org. Cur-
rently it is contained within the OPC Core Components 2.00 Redistributable 2.30.msi file. After you down-
load OPCENUM, run the .msi file.
The OPC Client supports DCOM (Distributed Component Object Model) to browse remote OPC Servers. If
you want to grant only certain users permission to launch or access the remote OPC servers, you can use
When OPC Servers register, they set up initial custom DCOM security settings to enable users on the net-
work to access and launch the Server. On large networks, it is recommended that you modify these set-
tings to avoid confusion and inadvertent changes to a running OPC Server.
If Firewall security is enabled on Windows XP, Windows Vista, or Windows Server 2008, you must also
modify or add items to the Exceptions list. Refer to Set Up Windows XP or Vista Firewall for Remote OPC
Servers.
IMPORTANT NOTES:
l GE Intelligent Platforms recommends that all OPC Client users be members of the Administrators group. To
facilitate this, GE Intelligent Platforms recommends creating a users group to contain individual users
that need to access remote OPC servers.
For example, create a group named “DAC” and add those users who will log into the operating systems
and access remote OPC servers. Add the users Tom, Denise, and Harry into the DAC group. Each of these
users will also be added into the Administrators group. This DAC group should also contain the following
built-in security principals: INTERACTIVE; NETWORK; SYSTEM.
l To make any OPC Client / OPC Server application work via DCOM, changes need to be made on both sides,
especially if you intend to use Asynchronous I/O communications.
l OPCENUM must reside on the remote machine with the OPC server. While most OPC Server applications
install and register this file, some do not. You can download this file from www.opcfoundation.org. Cur-
rently it is contained within the OPC Core Components 2.00 Redistributable 2.30.msi file. After you down-
load OPCENUM, run the .msi file.
l This section applies to OPC servers that need to use DCOM communications, regardless of whether the
OPC server uses Serial or Ethernet devices.
l If OPC communications is confined to a single machine (that is, using COM, but not DCOM), it continues to
work properly without making changes to DCOM settings.
l If you do not plan to use the OPC Client to connect remotely to OPC servers, then you may not need to
change your DCOM settings.
l If this is the first time you are connecting to (or allowing connections from) other machines on the net-
work, you must run the Windows Network Wizard (from Start > Control Panel) to set up your computer to
run on your network. This allows you to share resources on your computer with other computers on your
network. It is recommended that you run the Network Setup Wizard before modifying the DCOM settings.
DCOM Settings
The following procedures provide general guidelines for configuring DCOM settings. Differences between
Windows 2000, Windows 2003, Windows XP/Vista and Windows 2008 are noted.
1. From the Start menu, select or type Run. The Run dialog box appears.
2. Type: dcomcnfg and click OK.
In Windows 2000, the Distributed COM Configuration Properties dialog box appears.
In Windows Server 2003, Windows XP, Windows Vista, and Windows Server 2008, the Component
Services dialog box appears.
1. On the Component Services dialog box, expand Component Services, then expand the Computers
item.
2. Right-click My Computer and choose Properties. The My Computer Properties dialog box appears.
3. Click the COM Security tab. There are four permissions on this dialog box.
You may need to make changes to the Edit Limits… for Access Permissions and Launch and Activ-
ation Permissions.
Do not change the Edit Default… settings, since this will change the default settings for all programs
and applications running on the computer.
4. Click Access Permissions > Edit Limits… The Access Permission dialog box appears.
i. Select the user labeled ANONYMOUS LOGON, and then select the Allow check box for
Remote Access.
NOTE: This setting is necessary for applications that use OPCenum.exe to function and also for
some OPC Servers and OPC Clients that set their DCOM ‘Authentication Level’ to ’None’ to allow
anonymous connections. If you do not use such applications, you may not need to enable remote
access for anonymous logon users.
ii. Select the user labeled Everyone, and then select the Allow check box for Remote Access.
IMPORTANT: Since “Everyone” includes all authenticated users, it is recommended to add these
permissions to a smaller subset of users. One way of doing this is to create a Group named “DAC”
and add all user accounts to this Group that will access any OPC server. Then substitute “DAC”
everywhere that “Everyone” appears in the entire DCOM configuration dialogs.
iii. Click OK to close the Access Permissions dialog box and return to the My Computer Prop-
erties dialog box.
5. Click Launch and Activation Permissions > Edit Limits… The Launch Permission dialog box appears.
For each user or group (preferably add the “DAC” group) that needs to launch or activate the OPC
server, or participates in OPC / DCOM communications, make sure that the Local Launch, Remote
Launch, Local Activation, and Remote Activation check boxes are selected.
6. Click OK to save your changes, then click OK again to save and close the My Computer Properties
dialog box.
GE Intelligent Platforms recommends that all OPC Client users be members of the Administrators group.
IMPORTANT: Since the “Everyone” group includes all authenticated users, it is recommended to add these per-
missions to a smaller subset of users.
GE Intelligent Platforms recommends creating a group to contain individual users that need to access remote
OPC servers. GE Intelligent Platforms also recommends that all OPC Client users be members of the Administrators
group.
For example, create a group named “DAC” and add those users who will log into the operating systems and
access remote OPC servers. Add the users Tom, Denise, and Harry into the DAC group. Each of these users will also
be added into the Administrators group. This DAC group should also contain the following built-in security prin-
cipals: INTERACTIVE; NETWORK; SYSTEM. Then substitute “DAC” everywhere that “Everyone” appears in the entire
DCOM configuration dialogs.
In Windows 2000
1. Access the DCOM configurator (dcomcnfg.exe). The Distributed COM Configuration Properties dia-
log box appears.
2. Click the Applications tab. A list of applications displays.
3. Select the OPC server you want to modify and click the Properties button. The <Selected OPC
Server> Properties dialog box appears.
4. Click the General tab. The Authentication Level should be left as “Default”. This uses the default
authentication rules that are set in the system-wide DCOM settings.
5. Click the Location tab and make sure that the Run Application on this computer check box is selec-
ted.
6. Click the Security tab and select the Use Custom option for each of the permissions in this dialog
box and edit as described in the following steps.
7. In the Use custom access permissions area, click Edit. The Registry Value Permissions for Access
Permission dialog box appears.
8. Click the Add button. The Add Users and Groups dialog box appears.
9. From the Names list, select the DAC group and click the Add button. The DAC group displays in the
Add Names list.
10. Set Type of Access to Allow Access, then click OK to return to the Registry Value Permissions dialog
box. The DAC group is now displayed.
11. Click OK.
In Windows 2003
1. Access the DCOM configurator (dcomcnfg.exe). The Component Services dialog box appears.
2. Expand the Component Services item, then expand the Computers item, and then expand the My
Computer item.
3. Select the DCOM Config object. A list of applications displays.
4. Right-click the OPC server you want to modify and choose Properties. The <Selected OPC Server>
Properties dialog box appears.
5. Click the General tab. The Authentication Level should be left as “Default”. This uses the default
authentication rules that are set in the system-wide DCOM settings.
6. Click the Location tab and make sure that the Run Application on this computer check box is selec-
ted.
7. Click the Security tab and select the Customize option for each of the permissions in this dialog box
and edit them as described in the following steps.
8. In the Launch Permissions area, click Edit. The Launch Permissions dialog box appears.
9. Click the Add button. The Select Users and Groups dialog box appears.
10. Click the Advanced Button. The Select Users and Groups dialog box appears.
11. Click the Find Now button. In the search results, select the DAC group and click OK. The Select
Users and Groups dialog box displays the DAC group.
1. Access the DCOM configurator (dcomcnfg.exe). The Component Services dialog box appears.
2. Expand the Component Services item, then expand the Computers item, and then expand the My
Computer item.
3. Select the DCOM Config object. A list of applications displays.
4. Right-click the OPC server you want to modify and choose Properties. The <Selected OPC Server>
Properties dialog box appears.
5. Click the General tab. The Authentication Level should be set to “Default,” if it is not already. This
uses the default authentication rules that are set in the system-wide DCOM settings.
6. Click the Location tab and make sure that the "Run Application on this computer" check box is selec-
ted.
Interface Function
IOPCServer Adding groups and items. This is the main OPC server interface.
IOPCBrowseServer Browsing. An OPC server must support this interface for the driver to be
AddressSpace able to browse it.
IPersistFile Saving server settings. An OPC server must support this interface for the
driver to save its settings.
IOPCGroupStateMgt Managing the state of groups in the server.
IOPCSyncIO Performing synchronous reads and writes.
IOPCAsyncIO Performing asynchronous reads and writes.
IOPCItemMgt Maintaining the state of items in the server.
IdataObject/ Establishing asynchronous connections between the driver and the OPC
IAdviseSink server.
Supported Software
Operating System
l Microsoft® Windows® 2000
l Microsoft® Windows® XP
l Microsoft® Windows® Server 2003
l Microsoft® Windows® Vista
l Microsoft® Windows® Server 2008
l Microsoft® Windows® 7
OPC Servers
Any OPC server that supports the OLE for Process Control specification v1.0a or v2.05.
NOTE: Using a Human-Machine Interface (HMI) software package is not required to use the OPC Client. However, if
you choose to use an HMI software package, select one of the following:
Click the following links for more information regarding use of the Power Tool.
The OPC Client I/O Driver Power Tool is your main configuration utility for setting up and maintaining the
OPC Client I/O driver. It provides a means to specify the properties of servers, groups, and items.
Features
The Power Tool provides:
l The Templates dialog box for specifying server, group, and item defaults.
l The Setup dialog box for defining the default name and default path for configuration files.
l The Server Connection dialog box for connecting to a remote or local I/O Server.
l The Tree Browser for an overall view of your system configuration.
l The Device Browser dialog box for adding multiple items to a group.
l The Database Tag dialog box for adding existing items to the Process Database.
l The Find dialog box for searching for a server, group or item in the Tree Browser.
l The ability to alphabetically sort groups and items in the Tree Browser.
l A statistics mode for displaying the statistics of your I/O driver while it is running. Statistics are
provided for all levels: driver, server, group, and item.
l A configuration mode for displaying and modifying driver, server, group, and item properties.
Access Methods
From the iFIX Program Group:
1. Select Programs.
2. From the Programs menu, select Dynamics or iFIX.
3. Select OPC Power Tool from the menu that appears.
When you first start the Power Tool, the Server Connection dialog box appears. This dialog box is where
you choose the server that the Power Tool communicates with. You can choose either the Local Server (on
your computer) or a Remote Server (on the network).
l Tree Browser
l Main Toolbar
l Configuration Toolbar
l Run-time Toolbar
l Status Bar
l Search and Sort Toolbar
You can show or hide any of the components by selecting a command from the View menu. You can also
customize the Power Tool’s appearance by dragging the toolbars or the Tree Browser to the location you
want. For example, you can make the toolbars or the Tree Browser float above the Power Tool by dragging
them to the center of the screen. Later, you can dock them or resize them, as needed.
Click the following links for more information about the Power Tool's Graphic Interface.
Click the following links for more information regarding the Properties Viewer:
The Properties Viewer displays the statistics or the configuration properties of the selected object in the
Tree Browser.
To display the configuration properties for the driver, a server, a group, or an item:
The Tree Browser displays a hierarchical list of the I/O driver and its servers, groups, and items. The I/O
driver is displayed at the top of the tree.
When you select an object in the Tree Browser, its properties display in the Properties Viewer. You can
choose to view the object’s configuration or statistics properties with commands from the Display Mode
menu.
Adding Objects
When you add servers, groups, and items to a driver configuration, labels and icons representing the
objects automatically add to the Tree Browser. You can add servers to the driver, groups to each server,
and items to each group.
Changing Objects
When you add or modify servers, groups, or items in the Power Tool or in iFIX Process Database, changes
are made immediately to the I/O Server. Changes you make to the driver configuration while working with
the I/O Driver Power Tool automatically display in the Tree Browser. For changes from Process Database
to take effect, enable the Auto Create option first.
To view changes made from another client application (such as iFIX Process Database, another I/O Driver
Power Tool accessing the server, or a custom client application accessing the server), refresh the Tree
Browser display by selecting an object in the Tree Browser and pressing the F5 key.
You can collapse or expand the tree under an object by double-clicking it. You can also use the right arrow
key to expand an object and the left arrow key to collapse it, or click the plus and minus icons.
Navigating
Navigating through the Tree Browser can be done by selecting an object with a mouse click or by using the
keyboard. Use the up or left arrow keys to move up in the Tree Browser. Similarly, use the down or right
arrow keys to move down in the Tree Browser. You can also press a letter key to jump to the nearest
object that begins with that letter.
You can use the Find dialog box to locate a group or item in the Tree Browser, or you can sort the Tree
Browser in ascending alphabetical order to make locating a group or item easier. If you have selected a
server, you can search for or sort groups and items associated with that server. If you have selected a
group, you can search for or sort items associated with that group.
Right-clicking
You can right-click any object displayed in the Tree Browser to access run-time commands for the selec-
ted object. The following table describes the commands available for each object type and the behavior of
each command.
For more information about I/O data polling, see Feature: Asynchronous vs. Synchronous I/O.
Additional Features
Connection lines show the relationship between servers, groups, and items by displaying which groups
are on a server and which items belong to a group. The plus and minus buttons indicate whether items are
fully expanded or collapsed. The plus button shows the item is collapsed and the minus button indicates
You can also display the driver’s server window using the Tree Browser. To learn how to display this win-
dow, refer to How do I view the driver’s I/O Server Window?
Displays Power Tool status messages. It is located under the Properties Viewer. The right hand side of the
status bar indicates whether you are in Configuration mode (blue background) or Statistics mode (green
background).
The following is a list of shortcut keys for working with the I/O Driver Power Tool:
Shortcut Function
F5 Refreshes the Tree Browser.
Ctrl + N Opens a new I/O driver configuration file.
Ctrl + O Allows you to open an existing file.
Ctrl + S Saves the current file.
Alt + Opens and closes the Event window when an object in the Tree Browser is selected.
Shift + S Use the Event window for troubleshooting. When you are not debugging a problem,
leave the Event window closed.
The Main toolbar buttons are shortcuts to some commonly-used menu items.
Toolbar Function
button
New – Creates a new I/O driver configuration file.
Open – Opens an existing I/O driver configuration file, or the iFIX Process Database log
file
Save – Saves the current I/O driver configuration file. If the current configuration is
new, the Save As dialog box appears with fields for naming the file and choosing a file
type.
With
l a different file name.
Inl a different path.
As
l a configuration file.
As
l a comma separated value (CSV) file.
Help Topics – Displays the OPC Client I/O driver online help.
The Run-time toolbar contains buttons that are shortcuts to dialog boxes for viewing driver configurations
and statistics.
Toolbar Function
button
Start – Starts the driver. Enabled only when the driver is not running.
Stop – Stops the driver. Enabled only when the driver is running.
Configuration – Displays the properties of the object selected in the Power Tool’s
browser. These properties appear in the Properties Viewer.
Statistics – Displays the statistics of the object selected in the Power Tool’s browser.
The statistics appear in the Properties Viewer and are read-only.
Reset – Resets the statistics of the object currently selected in the Tree Browser. This
button is available only when the Power Tool is in Statistics Mode. Click the Statistics
button shown above to enable Statistics Mode.
Template – Lets you enter defaults for the driver and its servers, groups, and items.
Setup – Lets you select the statistics refresh rates, enter defaults for the I/O driver con-
figuration file name and path, and make advanced settings.
OLE I/O Server – Lets you select an OLE server.
I/O Server Event Window – Shows and hides the driver’s server windows. Using the
server event window, you can display the information that the driver logs during exe-
cution. This information includes operational messages from the OPC Client.
The Search and Sort toolbar contains buttons that activate Find and Sort operations. With them you can
find and sort groups and items when the focus is in the Tree Browser. If you have selected a server, you
can search for groups or items associated with that server. If you have selected a group, you can search
for items associated with that group.
If you have selected a server, you can sort the associated groups in ascending alphabetical order. If you
have selected a group, you can sort the associated items.
NOTE: Searching and sorting is available only during driver configuration.
Toolbar Function
button
Find – Opens the Find dialog box where you can enter the criteria for the object you
want to search for. This is available at all levels of the tree browser.
Sort – Sorts the groups and/or items associated with the object selected in the Tree
Browser. This is available only at the server and group levels.
The Configuration toolbar buttons are shortcuts to the driver configuration dialog boxes.
Toolbar Function
button
Add Server – Displays the OPC servers available to the local computer. After you
select a server, the driver adds a new server object and displays the fields for modi-
fying the server’s properties.
Add Group – Adds a new group to the selected OPC server and displays the fields
for modifying the group’s properties.
Add Item – Adds a new item to the selected group and displays fields for modifying
the new item’s properties.
Add Multiple Items – Displays a server where you can select multiple items to add
to the selected group, and to automatically create tags (items) that can be added to
the group.
Add Item to iFix Database – Opens the Database Tag dialog box where you can add
the selected item to the iFIX Process Database.
Delete – Deletes the server, group, or item currently selected in the Tree Browser.
To open a menu and display its commands, click the menu name.
To choose a command, open the command's menu and click the command name or press the command’s
shortcut keys. You can find the shortcut keys for a command displayed next to the command on its menu.
For example, click the File menu and note that the shortcut key for the New command is CTRL + N.
Open an existing driver configuration file or log file. You can select .OPC or .CSV configuration file types, or
.TXT log file types.
Saves the current driver configuration file to the default path for configuration files with the name you spe-
cify. The default path for configuration files is the same path where you installed the server. You can
change the default path by entering a new location. Refer to Set Defaults for I/O Driver Configuration File
Name and Path to learn how to configure the default path for the Power Tool.
If you save a new driver configuration file, the Save As dialog box prompts you to enter a name for your
driver configuration file.
Lets you enter a new name, path, and file type for the current driver configuration.
l Save In – Select the directory that you want to store the file in.
l File Name – Enter a new name for the file. To save a file with an existing file name, select the name
in the list or enter the current name. This will overwrite the existing file.
l Save as Type – Specify the type of file you want to save the configuration as:
l A configuration file (*.OPC) – Specify the type of file in the format that the driver uses to com-
municate with the process hardware. Configuration files use the three-letter acronym of the
driver.
l A comma separated value file (.CSV) – Save the file as a text file. You can open these files in
a text editor and use them to document your driver configurations. You can also modify .CSV
files in a text editor, open them in the Power Tool, and save them as configuration files. The
delimiters for .CSV files conform to national standards. For example, in the United States,
.CSV file delimiters are commas. In France, .CSV file delimiters are semicolons. Saving a con-
figuration as a .CSV file is sometimes referred to as exporting the driver configuration.
l Refer to Use I/O Driver Report Files for details on how to use the different file types most effect-
ively.
l Save button – Saves the file with the specified name.
l Cancel button – Closes the dialog box without saving the file.
Exit
The commands that appear in the Edit menu are for creating and modifying driver configuration files.
These commands correspond with the buttons on the Power Tool’s Configuration Toolbar.
Add Server
Displays a dialog box that lists all valid OPC servers available to your computer. By selecting an OPC server
from the list, you can add it to the driver. The Power Tool obtains the OPC server list from the registry
where the I/O server is running. Consequently, if you are trying to connect to a remote server, you must
register the I/O server on both the local and remote nodes.
Add Group
Displays a server browser that allows you to select multiple items to add to the selected group.
Add Item to iFix Database
Opens the Database Tag dialog box that allows you to add the selected item to the iFIX Process Database.
Deletes the server, group, or item currently selected in the Tree Browser. When you delete an object, all of
its associated objects are deleted. For example, If you delete a server, all groups and items are deleted for
that server.
Find
Displays a dialog box that allows you to locate a server, group, or item listed in the Tree Browser.
Sort
The commands in the View menu are for customizing the Power Tool’s appearance. If a check mark
appears next to a command, the item displays; otherwise, the item is hidden.
Tree Browser
The commands in the Display Mode menu are for displaying the driver’s configuration or statistics in the
Properties Viewer.
Configuration Mode
Displays the properties of the object selected from the Power Tool’s browser. These properties appear in
the Properties Viewer.
Displays the statistics of the object selected from the Power Tool’s browser. The statistics appear in the
Properties Viewer and are read-only.
Start
The commands in the Options menu are for accessing specific Power Tool options.
Reset Counters
Resets the statistics of the object currently selected in the Tree Browser. This command is available only
when the Power Tool is in Statistics Mode. To enable Statistics Mode, choose Stats Mode from the Display
Mode menu.
Templates
Lets you enter defaults for the driver’s servers, groups, and items.
Setup
Lets you set the statistics refresh rates, enter defaults for the I/O driver configuration file name and path,
and make advanced settings.
OLE Server
Displays the server Event window for this driver. By default, the driver logs information about the oper-
ation of the OPC Client.
The commands in the Help menu provide access to the Power Tool’s online help and version number.
Help Topics
The Power Tool Environment can be configured through the following sources. Click the links for more
information:
You set up the Power Tool’s environment by displaying the Setup dialog box and completing each tab. In
the Setup dialog box you can do the following:
To display the Setup dialog box, choose Setup from the Options menu.
The Templates dialog box contains three tabs, each of which contains a settings template for either a
server, group, or item. The Server template (tab) is automatically displayed first when the dialog box is
opened. Each template is described below
l Server Properties
l Group Properties
l Item Properties
The Setup dialog box contains three tabs. The Display Setup tab is automatically displayed first when the
dialog box is opened. Each tab is described below:
Specifies the primary refresh rate (in milliseconds) at which the I/O driver, server, and group statistics are
updated.
Valid Entries
1000 ms to 60000 ms
Default Value
Item Dialog
Specifies the primary refresh rate (in milliseconds) at which the item statistics are updated.
Valid Entries
1000 ms to 60000 ms
Default Value
Secondary Rate
Specifies the refresh rate that will be used if an error is received from the server. The primary (server-
/group or item) refresh rate is ignored and the refresh rate entered in this field is used. The refresh will
continue at the secondary refresh rate until communication succeeds. The refresh will then automatically
switch to the primary refresh rates.
Valid Entries
5000 ms to 360000 ms
Default Value
Specifies the default I/O driver configuration file. This is the file that the server loads on start-up.
Default Path for Configuration File
Specifies the default path for the driver’s configuration file. If the server does not find the default con-
figuration file in this path, it creates a new, empty configuration file.
Default iFIX PDB Tag Auto-creation File Name
Specifies the default name for the driver’s log file. A log file will be created automatically with the name
you specify, that records all actions that you perform to add tags to the iFIX Process Database from the
OPC Client driver.
NOTE: Changes made to the Default iFIX PDB tag auto-creation log file name do not take effect until the OPC Cli-
ent driver is restarted.
The log file contains the following fields and is in .CSV format:
Field Description
Date and Time The date and time the action was performed.
Lets you stop SAC (the Scan, Alarm and Control program) when opening an OPC Client configuration. Typ-
ically, SAC continues running when you open or load an OPC Client configuration. However, we recom-
mend stopping SAC prior to loading an OPC Client configuration if:
Advanced Tab
Maximum Size
Specifies the maximum amount of memory that the OPC Client requires. The amount of memory specified
is allocated and reserved but not committed until needed. The number is rounded up from the value you
enter to the nearest value supported by your operating system.
Do not modify this field unless instructed to do so by GE Intelligent Platforms Customer Services per-
sonnel.
Valid Entries
Value in bytes
Default Value
10000000 bytes
Growth Increment
Specifies the increment that I/O driver memory grows by when more memory is needed. The OPC Client
rounds up the value you enter to the nearest value supported by your operating system.
Do not modify this field unless instructed to do so by GE Intelligent Platforms Customer Services per-
sonnel.
Default Value
4095 bytes
Overrun Buffer
Specifies an area of memory that immediately follows driver main memory (defined by the Maximum Size
field). The OPC Client rounds up the value you enter to the nearest value supported by your operating sys-
tem. If you try to access memory in this area, an error is generated. You will also experience problems
with your driver if your system attempts to use memory in the overrun buffer.
Do not modify this field unless instructed to do so by GE Intelligent Platforms Customer Services per-
sonnel.
Default Value
4095 bytes
Specifies the default authentication level for the connection between the Power Tool and I/O Server, and
the connection between the I/O Server and OPC server.
Valid Entries
Authentication Configures
Level
None No client authentication or verification.
Connect The OPC server to prompt for a user name and password. After you enter this
information, the remote server verifies it and establishes a connection with the
OPC Client. If the server cannot verify the user name and password, no con-
nection is made.
Impersonation Level
Specifies the impersonation level given to the remote server by the client. If the remote server does not
require impersonation of the client, then this setting is ignored.
Valid Entries
Impersonation Configures
Level
Identify The server application to verify the identity of the client.
Impersonate The server application to impersonate the client application only by performing
processing tasks as the client application. The server application can imper-
sonate the client application only on the computer running the server applic-
ation.
Specifies the path to the DLL that provides signal conditioning for the OPC Client. Do not make entries in
this field unless you are having problems finding the signal conditionings.
Default Value
OPCSIG.DLL
Path to Error Resource DLL
Specifies the path to the DLL that provides all the error codes and text error messages for the OPC Client.
Windows also uses this DLL to provide messages to the Event Viewer.
Do not modify this field unless instructed to do so by GE Intelligent Platforms Customer Services per-
sonnel.
Default Value
OPCERR.DLL
Auto Create
Off
On
When selected, allows you to create servers, groups, and items automatically from a client application,
such as Process Database. When the client application attempts to access a non-existent object, the OPC
Client automatically creates a new server, group, or item.
Default Value
On
NOTES:
l Whenever you enable or disable the Auto Create option, close all remote connections and restart the
Power Tool in order for your changes to take effect.
l You cannot auto create an item with data array support enabled.
Auto Enable
Off
When selected, prohibits the OPC Client from enabling any server, group, or item that is automatically cre-
ated. This feature allows you to import a database without enabling any objects. Later, you can go back
and manually enable any objects you want.
On
When selected, the OPC Client automatically enables any server, group, or item that is created with the
Auto Create option. Auto Create lets you create servers, groups, and items automatically from a client
application, such as Process Database. When the client application attempts to access a non-existent
object, the OPC Client automatically creates a new server, group, or item. Using the Auto Enable option,
the OPC Client enables the object when it is created.
Auto Start
Off
When selected, prohibits the OPC Client from collecting data automatically. As a result, you must start the
driver yourself, or use iFIX to start it for you.
NOTE: Whenever you enable or disable the Auto Start option, close all remote connections and restart the Power
Tool in order for your changes to take effect.
On
When selected, the OPC Client automatically polls the process hardware for data. When you set up the
OPC Client to run as a service, this option lets the driver collect data immediately on start-up.
NOTE: Whenever you enable or disable the Auto Start option, close all remote connections and restart the Power
Tool in order for your changes to take effect.
When selected, all the children of any object are enabled when you enable the parent object. The children
are the objects under the parent object in the Tree Browser. For example, the groups of a server are the
server’s children. Using this check box, you can enable of all the server’s groups and all of its items when
you enable the server.
Disable Floating Point Checks
When selected, the driver does not check the format of floating point values returned from the OPC
Server. This is a global setting, and remains set until you clear the check box, or the driver is re-installed.
By default, this check box is cleared. When cleared, the driver will check the format of the floating point val-
ues returned from the OPC Server and generate errors for invalid floating point values.
Set Defaults for I/O Driver Configuration File Name and Path
The default path for the configuration file is the same path where you installed the I/O server. The OPC Cli-
ent requires you to specify the default path and file name when you automatically start the driver.
To set the default configuration file name and change the default path:
1. From the Options menu, choose Setup. The Setup dialog box appears.
2. Select the Default Path tab.
3. Enter the configuration file’s default name and default path in the boxes provided.
NOTES:
You can make more detailed settings for your driver using the Advanced tab in the Setup dialog box.
CAUTION: Advanced settings are for fine-tuning your driver and should not be changed unless you have an intim-
ate knowledge of how the driver operates and know that you need to make some adjustments.
The I/O Driver Server Connection Dialog Box is where you can configure...
When selected, allows you to connect to the OPC I/O Server on the local node.
When selected, allows you to connect to the OPC I/O Server on a remote node. You should know the name
of the computer that the OPC I/O Server resides on.
l Enter the remote server’s name in the Remote Machine Name or TCP/IP Address box.
l Enter the remote server’s TCP/IP address in the Remote Machine Name or TCP/IP Address box.
l Select a remote server from the Network list box. The server’s name automatically appears in the
Remote Machine Name or TCP/IP Address box.
The remote server name may not be the same as its iFIX node name.
NOTE: The remote server connection refers to the OPC Client Power Tool’s connection to the OPC Client’s I/O Server.
It has nothing to do with connecting the OPC Client to remote, third-party OPC servers.
Specifies the remote server's computer name or TCP/IP address. If you know the name or address of the
remote server, you can enter it directly in the field. Otherwise, you can browse the network using the Net-
work list box and select the appropriate computer.
Displays all the computers on the local network. These nodes are not all servers. You should know which
computer the OPC I/O Server that you want to connect to resides on.
When selected, the I/O Driver Server Connection dialog box displays when you start the Power Tool. If you
select this check box, the I/O Driver Server Connection dialog box displays every time you start the Power
Tool, letting you make changes to your driver configuration.
If you clear the check box, the I/O Driver Server Connection dialog box does not display when you start the
Power Tool. If you plan to always use the same I/O Server, clearing the check box spares you from having
to click Connect every time you start the Power Tool.
If you clear the check box and then change your mind, you can configure the Power Tool display the I/O
Driver Server Connection dialog box by editing its INI file. This file resides in your Windows folder and is
called OPCDidw.INI.
To edit the INI file:
The next time you start the Power Tool, the dialog box appears.
Connect
Connects you to the I/O Server you have selected. The server can be local or remote.
The Power Tool is a client of the OPC I/O Server. The I/O Server maintains the driver's server, group, and
item objects and performs all required functions for communicating with the process hardware. The
Power Tool accesses the I/O Server and lets you view and modify OPC server, group, and item properties.
The I/O Driver Server Connection dialog box displays when you first start the Power Tool. This dialog box
lets you choose whether to set up the Power Tool to communicate with a Local I/O Server (on your com-
puter) or a Remote I/O Server (a computer on the network). If you choose a remote I/O Server, you must
enter or select the remote machine name or address.
3. Click Yes if you want to try connecting to a remote server. If you cannot connect to the local server,
there is a problem with the server start-up. Refer to Using Event Viewer for details about how to
display any errors that the server may have generated.
3. Click Yes if you want to try another server. If you cannot connect to the machine that the server is
on, you may not have an account to that machine or your DCOM settings may be incorrect. Refer to
How do I Set up Security for using the I/O Server Remotely for more information.
4. Select the Show this Dialog on Startup check box to display the I/O Driver Server Connection dialog
box every time you start the Power Tool.
To set your I/O Driver Power Tool to connect automatically to the I/O Server on either a
local or remote machine:
1. From Windows Explorer, open your iFIX folder, typically C:\Prgram Files\GE Intelligent Plat-
forms\Proficy iFIX, and select OPCDIDW.EXE.
2. Create a shortcut by right-clicking the mouse and selecting Create Shortcut from the menu dis-
played.
3. Right-click the new shortcut and choose Properties.
4. Select the Shortcut tab.
5. In the Target box, append one of the following command line parameters after OPCDIDW.EXE, as
shown in the following examples:
This setup suppresses the I/O Driver Server Connection dialog box on Power Tool start-up. This is a
good practice if you plan to always use the same server on the same computer.
Lets you enter the maximum number of messages stored in the Server’s event log. By default, the server
stores 250 messages.
Valid Entries
0 to 2147483647
Click the following links for more information about configuring the I/O Driver:
Click the appropriate link for more information regarding configuring the I/O Driver:
The OPC Client uses various methods for browsing local and remote machines for OPC servers.
When browsing for OPC servers on the local machine, three methods can be used:
l OPCEnum.exe - this is a tool provided by the OPC Foundation that helps clients browse local or
remote machines. The OPC Client installs this utility on your local machine as part of the product
installation.
l Browse the Windows Registry for OPC servers.
l By CategoryID - any OPC 1.0 and 2.0 server that is registered with the Windows StdCom-
ponentCategoriesMgr as an OPC 1.0 or OPC 2.0 CATID Server displays with this method. This
method is not supported for use with remote machines.
When browsing for OPC servers on a remote machine, two methods can be used:
l OPCEnum.exe - this is a tool provided by the OPC Foundation that helps clients browse local or
remote machines. The OPC Client installs this utility on your local machine as part of the product
installation.
l Browse the Windows Registry for OPC servers. You must have Administrator rights to be able to do
this on a remote machine.
All servers that are found using any of the above methods are displayed in this list.
If no servers were found on the machine, the message "No servers were found on the machine" displays.
You must then verify that either the correct machine name/TCP/IP address was entered in the previous
page or that the OPC server(s) are correctly installed on the given machine.
If one or more methods fail, a message box displays indicating the methods used and which ones suc-
ceeded or failed. It also displays an error message indicating the reason for failure, as returned by the sys-
tem. Any server(s) found are listed. You can select a server from the list or remedy the reason for the
failure and rerun the search.
One possible remedy includes modifying your DCOM settings, even if your OPC server is running locally.
For information about modifying your DCOM settings, refer to How do I Set up Security for using the I/O
Server Remotely.
IMPORTANT: If you are browsing OPC servers on a local or remote machine, then OPCENUM must reside and be
registered on that machine for browsing to work correctly. While most OPC server applications install and register
this file, some may not. You can download this file from www.opcfoundation.org. Currently, it is contained within
the OPC Core Components 2.00 Redistributable 2.30.msi file. After you download the file, run the .msi program and
follow the instructions on screen to install it. You must do this on each of the local or remote machines you intend
to browse.
You can view the driver name and the number of servers, groups, and items configured for the driver by
selecting the driver icon in the Tree Browser and then choosing Configuration Mode from the Display
Mode menu. The following is a list of configuration properties that display for the driver:
Name
Number of Servers
Number of Groups
Displays the total number of groups configured on all servers for the driver.
Number of Items
Displays the total number of items configured for all groups on all servers for the driver.
Server Properties
NOTE: The following fields and descriptions are identical in both the Server template (in the Templates dialog
box) and the Server information displayed in the Properties Viewer when in Config Mode.
Specifies the name of the selected server. You can use this name as a shortcut in place of the OPC server’s
Prog ID when adding a database block. Do not assign the same name to more than one server. The server
name must be unique across all servers, groups, and items.
Valid Entries
When selected, the driver is connected to the OPC server and the driver is enabled for polling. If you clear
the check box, the driver is disconnected from the OPC server and all of the server’s groups and items are
disabled and are not polled.
Description
Specifies user-defined comments about the selected server. Such descriptions can be very helpful when
you go back to look at old configuration or report files, or when you need to modify an existing con-
figuration. The more detailed and specific the information you enter in this field, the easier it is to identify
the server.
Valid Entries
ProgID
Specifies the Programmatic ID for the selected OPC server. The Prog ID is a vendor-specific string used by
the driver to connect to the OPC server. This field cannot be modified.
Valid Entries
Select this connection method... When the OPC server resides on...
Local The local computer.
Remote A remote node on your network.
If you choose Remote, the Machine Name field becomes available and the Browse Network button
appears.
Machine Name
Specifies the machine name or TCP/IP address of a remote OPC server. This field is available only if you
select Remote from the Server Location list.
Browse Network
When selected, the current OPC server settings are saved to a file when the OPC Client shuts down. If you
clear the check box, the server’s settings are not saved. If you select this check box the File Name box
appears and is available.
NOTE: The OPC server must support the IPersistFile interface if you select this check box.
File Name
Specifies the file name containing the OPC server settings. The driver saves this file when it shuts down. If
you do not enter a file name, the driver saves the settings to the file currently loaded by the OPC Server.
This parameter is available only if you select the Save on disconnect check box.
Client Settings
Send Messages to Event Window
When selected, asynchronous run-time messages are sent to the I/O Server’s Event Window. For
example, asynchronous updates (exceptions) and synchronous timeouts received from the OPC server are
sent to the Event Window when you select the check box.
You can display the Event Window by selecting Event Window from the Options menu.
FIX DBB I/O Address Delimiter
Specifies the delimiter used by the I/O Server in order to parse I/O addresses entered in iFIX Process Data-
base. Different OPC servers use different delimiters to parse the fields of their item IDs. For example, if
the item ID uses a colon as a delimiter, then the Process Database delimiter must be something other than
a colon. The default value is the semicolon ( ; )
Valid Entries
Colon :
Comma ,
Semicolon ;
Forward slash /
Back slash \
Group Properties
NOTE: The following fields and descriptions apply to both the Group Properties Viewer and the Group template.
Group Name
Specifies the name of the selected group. Any application requesting data from the I/O driver uses this
name to access items in the group. Each group that the driver communicates with should have a unique
name across all servers, groups, and items.
Valid Entries
When selected, the driver is enabled to poll the selected group. If you clear the check box, the selected
group and its associated items are not polled.
You may want to disable one or more groups in the following situations:
l You are swapping hardware for repair or maintenance and do not want to display errors.
l You do not need to collect data from the items within a group and you want to reduce the com-
munications load.
l You want to isolate a group for debugging.
Description
Specifies user-defined comments about the selected group. Such descriptions can be very helpful when
you go back to look at old configuration or report files, or when you need to modify an existing con-
figuration that you did not create. The more detailed and specific the information you enter in this field, the
easier it will be to identify the group at a later date.
Valid Entries
Specifies the communications method the driver uses to obtain data from the OPC server.
Valid Entries
Data Source
Specifies where the OPC server will obtain data from when the OPC Client issues a read request.
Valid Entries
The Returns...
data
source...
Cache The last value read by the OPC server. The server updates the cache based on the
group’s update rate.
Device The latest values from the process hardware. Reading directly from a device can
cause undue stress on your system. We recommend this selection only for diagnostic
and troubleshooting purposes.
Specifies the rate at which the OPC server polls for data from the process hardware and updates its
internal cache. The rate you enter applies to all items in the current group.
Valid Entries
Accepts the time format: days:hours:minutes:seconds.milliseconds, within the range of 0.1 to 6:23:59:59.9.
Entering 0 forces the OPC Server to run at its maximum rate and increases CPU usage.
In general, you need to balance CPU usage against an acceptable update rate. For example, if CPU usage
is 90% and you never want the CPU usage to exceed 50%, enter a longer (larger) value here. However, if
changing the update value causes updates to be too slow for your application, you will need to shorten the
update rate to find the acceptable minimum value.
% Deadband
Specifies the maximum fluctuation in this group’s items that can be tolerated before reporting the change
(an exception) to the OPC Client. Enter this value as a percentage of the full EGU range of the group’s
items.
Valid Entries
0 to 100
Example
Assume the full EGU range is 0 to 100 and the maximum fluctuation (the deadband) is 5%. Using these val-
ues, if the current EGU value is 10, the new value must exceed 15 or fall below 5 before the OPC server
reports an exception. However, if the full EGU range is 0 to 200, the new value must exceed 20 or fall
below 0 before an exception is reported.
The OPC server uses the following formula to determine whether an exception has occurred:
absolute value(last cached value – current) > Percent Deadband * (High EGU – Low EGU)
When this formula is true, the server reports an exception and updates its cache. When the formula is
false, it takes no action.
NOTE: The exact implementation of this feature differs from server to server. Refer to your server’s documentation
to learn the EGU range used by the server.
Specifies the rate at which the driver polls the OPC server for the selected group’s items. The time range
for poll rates is different for synchronous and asynchronous I/O types.
Valid Entries
Accepts the time format: days:hours:minutes:seconds:subseconds. For synchronous, the range is from
00:00:00:00.00 to 6:23:59:59.9. For asynchronous, the range is from 00:00:00:30.0 to 6:23:59:59.9. For
more information, see Zero and Subsecond Poll Rates.
When selected, the OPC Client refreshes the selected group’s items at the interval specified by the Poll
Rate. This check box is available only when you select Asynchronous from the I/O Type list.
The asynchronous watchdog does not override the item’s access time. Consequently, when the access
time expires, the watchdog stops.
Async Timeout
Specifies how much time the OPC Client waits for an asynchronous update from the OPC server. When a
timeout occurs, the OPC Client sets the quality of all items waiting for data to Uncertain, Last Usable
because the quality of the data is no longer known. This setting is available only when you select Asyn-
chronous from the I/O Type list.
Valid Entries
Item Properties
NOTE: The following fields and descriptions apply to both the Item Properties Viewer and the Item template.
Item Name
Specifies the name of the selected item. You can use the name of the item interchangeably with its ID
when entering I/O addresses in Process Database. However, item names must be unique across all serv-
ers, groups, and OPC items.
Valid Entries
Enables the OPC Client to poll the item when you select this check box and the driver is connected to the
item’s OPC server. If you clear the check box, the item is disabled and not polled.
You may want to disable one or more items in the following situations:
Description
Specifies user-defined comments about the selected item. Such descriptions can be very helpful when you
go back to look at old configuration or report files, or when you need to modify an existing configuration
that you did not create. The more detailed and specific the information you enter, the easier it will be to
identify the item at a later date.
Valid Entries
Specifies the fully qualified ID for this item and describes the properties of the data point that you want to
read. For example, an item ID can contain addressing parameters, engineering units, and scaling prop-
erties.
Valid Entries
The format of the item ID is specific to each OPC server. Refer to your OPC server documentation for more
information.
If your OPC server supports browsing, you can click the Browse Server button and select the item you
want. The Power Tool updates the Item ID field with the item you select. For more information about
browsing an OPC server, refer to How do I browse an OPC server?
The access path is a vendor-specific method used to inform the OPC server of the path to use when retriev-
ing data for the current item.
Example
Suppose you have two devices connected to COM1. One device is connected by radio. The other is con-
nected using TCP/IP. In this configuration, possible access paths might be RADIO and ETHERNET.
NOTE: Not all OPC servers support access paths. If your OPC server does not use access paths, you can leave this
setting blank. Consult your OPC server documentation for more information.
Item Start
Specifies the starting address of the data array. This setting is available only if the Array check box is selec-
ted.
Valid Entries
0 to 32767
Example
Specifies the number of values stored by the data array. This setting is available only if the Array check box
is selected.
Valid Entries
1 to 1000
Example
The length of the array defined in the OPC Client must match the length of the array defined in the OPC
server. If the lengths of both arrays do not match, the OPC Client sets the data quality of the item to BAD.
l The starting address plus the array length minus 1 (start + length-1) must be less than or equal to 32767
for Process Database to be able to access all elements of the array. For example, you cannot create an
array starting at 32700 with a length of 100 and have Process Database access all elements in the array.
Instead the array must start at 32667 or must have a length of 67.
l Your OPC server may not support arrays with 1000 elements. In this case, you may need to reduce the size
of the data array for the item you are creating and break up the data into multiple items.
Array
When selected, the current item is configured as a data array. A data array is a set of contiguous data of
the same data type. By configuring an item as a data array, you enable the OPC Client to read multiple val-
ues from an OPC server, if the server supports data arrays. Reading multiple values with a single item sim-
plifies the driver configuration and improves driver throughput.
To configure the item to hold a single value only, clear this check box.
You cannot select or clear this check box while the item is enabled.
Requested Datatype
Specifies the item’s default data type. The driver uses this data type for the item if you do not specify a
database block hardware option. When a hardware option is specified, it overrides the data type. The hard-
ware option can be changed only when the item is disabled.
Valid Entries
Data Description
Type
Byte Unsigned 8-bit character.
Boolean Digital value, 0 or 1.
Double Double-precision 64-bit floating point value.
Float Single-precision 32-bit floating point value.
Long Signed 32-bit integer.
Server OPC Server specific native (canonical) data type. Consult your OPC server vendor or
documentation to determine the native data type for the specified item ID.
NOTES:
l Your OPC server may not support all data types supported by the driver. Consult your OPC server doc-
umentation to determine supported data types.
l When data array support is enabled for an item, the data type is an array of the selected data type. For
example, if the selected data type is Float and data array support is enabled, the data type is an array of
floats. Data arrays support boolean and numeric (integer and float) data types. Arrays of strings are not
supported.
Browse Server
Opens the Browse OPC Server dialog box where you can browse an OPC server to select an item ID and
access path to assign to the selected item. You can also use this dialog box to auto-create iFIX process
database tags.
Client Settings
Disable Outputs
Prevents output from the OPC Client to the selected item when you select this check box.
l To prevent control outputs that may be hazardous to someone performing maintenance or repair
on the process control hardware.
l To prevent erroneous writes to the item.
l To isolate a datablock for debugging.
Latch Data
In iFIX applications, the link’s current alarm status changes always displays COMM to indicate a com-
munication problem.
NOTES:
l FIX 6.15 does not support latched data. However, you can add support for latched data by downloading
the SAC Software Improvement Module (SIM) from GE Intelligent Platforms’s web site.
l Analog Register and Digital Register blocks do not support latched data. Consequently, we do not recom-
mend using these blocks with the Latch Data option.
When selected, all outstanding writes for the current item are sent to the process hardware.
When the driver sends its outstanding writes for a data array, it also sends any unmodified values in the
array using the last known value.
Specifies the maximum acceptable data fluctuation in an exception-based iFIX database block. Entering a
deadband value prevents the database block’s current value from changing when there is only a slight fluc-
tuation in data.
NOTE: The exception dead band is used only for synchronous I/O.
Valid Entries
Any positive number for analog items. For digital items, set the deadband to 0.
Example
Suppose the current value of an item is 50 and you set a deadband of 20, SAC updates the exception-
based database block when an incoming value is less than or equal to 30 or greater than or equal to 70.
To create an exception-based iFIX database block:
Specifies how long the OPC Client keeps an item active in the OPC server when your process control soft-
ware no longer requests data from that item.
Whenever your process control software requests data from an item, the OPC Client resets the access
time for that item and the item remains active in the OPC server. After data requests stop for the item and
the access time expires, the OPC Client sets the item to inactive in the OPC server. When the item is inact-
ive, the OPC server stops polling the process hardware for that data. Consequently, if the item has an asyn-
chronous watchdog enabled, the watchdog also stops when the access time expires.
The actual implementation for setting an item to inactive is OPC server specific.
Valid Entries
Example
NOTE: You can force the OPC Client to never deactivate an item by entering DISABLED in this setting.
Displays the item IDs for every OPC server installed on the local computer. Use the plus and minus buttons
to expand and collapse the list.
Access Paths Browser
Displays all available access paths for the selected item ID. Use the plus and minus buttons to expand and
collapse the list.
NOTE: Not all OPC servers support access paths.
Item ID
Specifies the fully qualified item ID that you want to use. You can also complete the setting by browsing the
OPC server. After you select an item ID and click OK, the Power Tool completes the item’s Item ID field.
Access Path
Specifies the access path that you want to use. You can also complete the setting by browsing the OPC
server. After you select an access path and click OK, the Power Tool completes the item’s Access Path
field.
If you do not want to include an access path, you can leave this field blank.
Enables the Tag Desc Prefix, iFix Database Tag Type, and Tag Name Prefix settings to allow you to auto-
matically create database blocks in, and to add existing items to, the iFIX Process Database.
If you select this check box on the Database Tag dialog box it will also be selected on the Device Browser
and Datablock Browser dialog boxes.
If you select this check box on the Device Browser dialog box it will also be selected on the Database Tag
and Datablock Browser dialog boxes.
If you select this check box on the Datablock Browser dialog box it will also be selected on the Database
Tag and Device Browser dialog boxes.
iFIX Database Tag Type
Specifies the type of datablock you are creating. This setting is available on the Database Tag, Device
Browser, and Datablock Browser dialog boxes. This setting is available only if the Enable iFix PDB Tag
Auto-creation check box is selected.
Valid Entries
l AI – Analog Input
l AO – Analog Output
l DI – Digital Input
l DO – Digital Output
Specifies the description of the datablocks you are creating. This setting is available on the Database Tag,
Device Browser, and Datablock Browser dialog boxes. This setting is available only if the Enable iFix PDB
Tag Auto-creation check box is selected.
By default, "AG-" is displayed. "AG-" is an acronym for "Auto Generated" and indicates, in the iFIX Process
Database, that the tag has been automatically generated. Adding AG- to the description provides you with
a way to search the iFIX Process Database for the tags you created in the OPC Client Power Tool.
Valid Entries
Up to 40 characters.
Tag Name Prefix
Specifies the prefix of the datablocks that you are creating. This setting is available on the Database Tag,
Device Browser, and Datablock Browser dialog boxes. This setting is available only if the Enable iFix PDB
Tag Auto-creation check box is selected.
NOTES:
l You cannot duplicate tag names in the iFIX process database. When adding the same item with a dif-
ferent tag type to the iFIX process database, you must add a Tag Name Prefix to the item name.
l Tag names must contain only alphanumeric characters. A tag name containing non-alphanumeric char-
acters (e.g., *, ~) will prevent the tag from being added to the iFIX process database.
The Database Tag Properties Viewer is where you can configure Database Tag properties.
Enables the Tag Desc Prefix, iFix Database Tag Type, and Tag Name Prefix settings to allow you to auto-
matically create database blocks in, and to add existing items to, the iFIX Process Database.
If you select this check box on the Database Tag dialog box it will also be selected on the Device Browser
and Datablock Browser dialog boxes.
If you select this check box on the Device Browser dialog box it will also be selected on the Database Tag
and Datablock Browser dialog boxes.
If you select this check box on the Datablock Browser dialog box it will also be selected on the Database
Tag and Device Browser dialog boxes.
Specifies the type of datablock you are creating. This setting is available on the Database Tag, Device
Browser, and Datablock Browser dialog boxes. This setting is available only if the Enable iFix PDB Tag
Auto-creation check box is selected.
Valid Entries
l AI – Analog Input
l AO – Analog Output
Specifies the description of the datablocks you are creating. This setting is available on the Database Tag,
Device Browser, and Datablock Browser dialog boxes. This setting is available only if the Enable iFix PDB
Tag Auto-creation check box is selected.
By default, "AG-" is displayed. "AG-" is an acronym for "Auto Generated" and indicates, in the iFIX Process
Database, that the tag has been automatically generated. Adding AG- to the description provides you with
a way to search the iFIX Process Database for the tags you created in the OPC Client Power Tool.
Valid Entries
Up to 40 characters.
Specifies the prefix of the datablocks that you are creating. This setting is available on the Database Tag,
Device Browser, and Datablock Browser dialog boxes. This setting is available only if the Enable iFix PDB
Tag Auto-creation check box is selected.
NOTES:
l You cannot duplicate tag names in the iFIX process database. When adding the same item with a dif-
ferent tag type to the iFIX process database, you must add a Tag Name Prefix to the item name.
l Tag names must contain only alphanumeric characters. A tag name containing non-alphanumeric char-
acters (e.g., *, ~) will prevent the tag from being added to the iFIX process database.
The Device Browser Properties Viewer is where you can configure Device Browser properties.
Path
Displays all available access paths for the selected group. Use the plus and minus buttons to expand and
collapse the list. Select the path you want to display the associated items in the Items list.
NOTE: Not all OPC servers support access paths.
Items
Filter
Specifies the information you want to use to filter the list of displayed items. You can edit the filter, or
select from the list. You can also use wildcards (i.e., ? to represent a single character, or * to represent two
or more characters). The maximum number of items in the filter list is 10 and the list is cleared when you
close the Power Tool.
NOTE: The filter is case sensitive. You must enter the item information exactly as it appears in the Items list.
Use this button to filter the list of items based on the information you specified in the Filter field.
Enables the Tag Desc Prefix, iFix Database Tag Type, and Tag Name Prefix settings to allow you to auto-
matically create database blocks in, and to add existing items to, the iFIX Process Database.
If you select this check box on the Database Tag dialog box it will also be selected on the Device Browser
and Datablock Browser dialog boxes.
If you select this check box on the Device Browser dialog box it will also be selected on the Database Tag
and Datablock Browser dialog boxes.
If you select this check box on the Datablock Browser dialog box it will also be selected on the Database
Tag and Device Browser dialog boxes.
iFIX Database Tag Type
Specifies the type of datablock you are creating. This setting is available on the Database Tag, Device
Browser, and Datablock Browser dialog boxes. This setting is available only if the Enable iFix PDB Tag
Auto-creation check box is selected.
Valid Entries
l AI – Analog Input
l AO – Analog Output
l DI – Digital Input
l DO – Digital Output
Tag Desc Prefix
Specifies the description of the datablocks you are creating. This setting is available on the Database Tag,
Device Browser, and Datablock Browser dialog boxes. This setting is available only if the Enable iFix PDB
Tag Auto-creation check box is selected.
By default, "AG-" is displayed. "AG-" is an acronym for "Auto Generated" and indicates, in the iFIX Process
Database, that the tag has been automatically generated. Adding AG- to the description provides you with
a way to search the iFIX Process Database for the tags you created in the OPC Client Power Tool.
Valid Entries
Up to 40 characters.
Tag Name Prefix
Specifies the prefix of the datablocks that you are creating. This setting is available on the Database Tag,
Device Browser, and Datablock Browser dialog boxes. This setting is available only if the Enable iFix PDB
Tag Auto-creation check box is selected.
NOTES:
The Find Properties Viewer is where you can configure Find properties.
Find What
Specifies the criteria you want to use to search the Tree Browser for a group or item.
You can use an asterisk (*) as a wildcard character to assist in your search.
Find Next
Click to search the tree browser for the group or item specified in the Find What box.
Find Previous
The Network Browser Properties Viewer is where you can configure Network Browser properties.
Displays the computer names available on the local network. Use the plus and minus buttons to expand
and collapse the list. When you locate the computer you want, select it and click OK.
Remote Machine
Specifies the name of a remote computer that you want to connect to. You can also set this by browsing
the network. After you select a remote computer and click OK, the Power Tool completes the OPC server’s
Remote Machine Name field.
The Select an OPC Server Properties Viewer is where you can configure OPC Server properties.
Server List
Displays a list of all the OPC servers installed on the local computer.
3. Select the OPC server you want to connect to and click OK. The Power Tool adds the server to the
Tree Browser.
4. In the Properties Viewer, enter the properties for the new server. Edits to a property do not take
effect until you remove the focus (the cursor) from the field.
5. Select the Enable check box to enable communication for the server.
To add a remote server to your driver configuration:
6. If applicable, enter or update the properties for the server. Edits to a property do not take effect
until you remove the focus (the cursor) from the field.
7. Select the Enable check box to enable communication for the server.
To modify an existing server’s properties:
1. In the Tree Browser, select the server you want to change the location for.
2. Click the Select Location button. The Select the Host Machine dialog box appears.
3. Select Use Local OPC Server to change from a remote machine to the local machine.
- Or -
Select Use Remote OPC Server change from the local machine to a remote machine and either
enter the machine name or TCP/IP address or choose the remote machine from the Network list,
then click OK. The following message displays:
The change will not occur until the next time the driver connects to the OPC server. Would you like
to disconnect form the current server and reconnect to the remote node now?
4. Click Yes to change the location of the server. The OPC Server Location and Remote Machine Name
fields on the Server Properties Viewer are updated accordingly.
NOTE: Having the ability to change the server location is useful for configuring the server offline; that is, without
having to connect to the remote machine, which may not be available. For example, you select the server on the
local machine and configure it, and when you are ready to access the remote server, or when it becomes avail-
able, you change the server location to the appropriate remote machine.
IMPORTANT: When you change the machine location, the OPC Client Power Tool does not check to ensure that the
configured server exists on that machine. For example, if the server does not exist at the new location, or you do
not have access rights, you will receive runtime errors when you start or enable the server.
1. In the Power Tool's Tree Browser, select the server that you want to add a group to.
2. From the Display Mode menu, choose Config Mode.
3. From the Edit menu, choose Add Group. The new group appears in the Tree Browser and the group
properties appear in the Properties Viewer.
4. Enter the properties for the new group. Edits to a property do not take effect until you remove the
focus (the cursor) from the field.
5. Select the Enable check box to enable communication for the new group.
To modify an existing group:
1. In the Power Tool's Tree Browser, select the group you want to modify.
2. In the Properties View, edit the group’s properties as needed. If the group is connected to the OPC
server, it updates automatically after you remove the focus (the cursor) from the current field.
1. In the Power Tool's Tree Browser, select the group that you want to add an item to.
2. From the Display Mode menu, choose Config Mode.
3. From the Edit menu, choose Add Item. The new item appears in the Tree Browser and the fields for
entering item properties appear in the Properties Viewer.
4. Enter the properties for the new item. Edits to a property do not take effect until you remove the
focus (the cursor) from the field.
5. Select the Enable check box to enable communication for the new item.
To modify an existing item:
1. In the Power Tool's Tree Browser, select the item you want to modify.
2. In the Properties Viewer, edit the item’s fields as needed. If the Enable check box is selected and
the OPC Client is connected to this item’s OPC server, changes to the Item ID and Access Path fields
are not allowed. Changes to other fields take place immediately.
1. In the Power Tool's Tree Browser, select the item you want to add or change an item for.
2. If required, clear the Enabled check box or choose Stop from the Display Mode menu to stop the
driver.
Changes to the Item ID and Access Path are not allowed if the item is enabled and the driver is con-
nected to the selected item’s server.
3. Click the Browse Server button. The Browse OPC Server (Datablock Browser) dialog box appears.
4. In the Item ID’s tree browser, expand the list(s) and select the item ID you want to add to the group.
The item ID appears in the Access Path tree browser.
- Or -
Enter the database block information in the ItemID and Access Path fields.
NOTE: The Access Path field can be left blank.
5. Click OK. The selected item ID and access path are displayed in the Properties Viewer.
1. In the Power Tool's Tree Browser, select the group to which you want to add multiple items.
2. From the Display Mode menu, choose Config Mode.
3. From the Edit menu, choose Add Multiple Items. The Device Browser dialog box appears.
NOTE: This feature is available only for iFIX version 3.0 or later. All tags added to the process database are set to
OFF scan. The initial value is displayed in the iFIX Process Database as ????, however, the actual value is dis-
played correctly after you have saved and reloaded the database.
The following conditions must be met to add existing items to the iFIX process database:
1. From the Tree Browser, select the item you want to add to the iFIX process database.
2. Click the Add Item to iFIX Database button. The Database Tag dialog box appears.
3. Select the Enable iFix PDB Tag Auto-creation check box.
4. From the iFIX Database Tag Type list, choose the type of tag that indicates the item you are adding
to the process database.
5. In the Tag Desc Prefix box, enter a brief description of the item you are adding. By default, AG- is
displayed. The description you enter is displayed in the Description box.
6. In the Tag Name Prefix box, enter a prefix for the item you are adding. The prefix you enter is dis-
played in the Tag Name box, preceding the displayed item name.
NOTE: You cannot duplicate tag names in the iFIX process database. When adding the same item with a
different tag type to the iFIX process database, you must add a Tag Name Prefix to the item name.
You can enter defaults for driver, server, group, and item properties by choosing Templates from the
Options menu and displaying the Templates dialog box.
The Power Tool stores the default driver, server, group, and item properties in the registry of the computer
on which you installed the OPC I/O Server. For example, if you run the Power Tool and connect to a server
on another computer, the default values you enter are written to the remote server.
Setting default values can significantly decrease I/O driver configuration time. For example, if you have
100 groups that have the same property settings except for the group name, you can use the default set-
tings for each group and modify the name field as needed.
Example: Group Defaults
Click the following links for more information regarding configuring iFIX Applications:
You do not have to use the OPC Client Power Tool to create all of the driver items. If you have the right
information, you can add items while configuring your database in iFIX Process Database.
To configure the driver from iFIX Process Database, you must know the following information about the
item that you want to add:
l The three-letter acronym for the driver. For the OPC Client, the acronym is OPC.
l The OPC server’s name or Prog ID to which you will add the item.
l The group’s name to which you will add the item. If you do not know the group name or you want to
add the item to a new group, specify a group name that does not exist. The driver will automatically
create the group.
l The item ID you want to create.
l The access path, if needed.
Items are only automatically created for groups that already exist in the Power Tool. Items and groups are
automatically created for servers that already exist in the Power Tool. Remember that the Device setting in
iFIX Process Database accepts the three-letter driver acronym. The I/O Address setting uses the server
and group names assigned in the Power Tool followed by the item ID and access path.
Refer to Enter Driver Information in iFIX Process Database for details about entering driver data in Process
Database for automatic item creation.
IMPORTANT: Always stop any 7.x driver you have running before you import a database, reload a database, or cre-
ate multiple database blocks with the Generate command. If you leave the driver running while you complete
any of these tasks, the database may not load or import properly, or you may have to restart iFIX or Process Data-
base.
You can specify the item address that the database block accesses in the Process Database I/O Address
setting. OPC I/O addresses typically consist of the server name or Prog ID, a group name, and the item ID
or item name. The I/O address is specific to the driver. This setting is not case sensitive.
OPC I/O addresses to items configured as data arrays require the syntax:
servername;groupname;itemid,length;accesspath;[address]
For more information about using this syntax, refer to Access Data Arrays with a Database Block.
Where:
l SERVER_NAME is the name of the OPC server defined in the Power Tool. You can enter the serv-
ers Prog ID in place of the server name. If you enter a Prog ID that does not exist in the drivers con-
figuration, the driver adds the OPC server to its configuration.
l GROUP_NAME is the name of the group that the item belongs to. If you enter a group name that
does not exist, the driver automatically adds the group to the server.
l ITEM_ID is a fully qualified Item ID. If you enter an item ID that does not exist, the driver auto-
matically adds the item to the group. If you are creating a database block for an item that already
exists, you can substitute the item name for the item ID.
l ACCESS_PATH is a fully qualified access path for the given item ID. Specifying an access path is
optional because not all OPC servers require or support their use. Access paths are OPC-server
specific. If no access path is required, you can omit this portion of the address.
If you enter an I/O address that is not defined by a group and item ID, the driver performs the following
operations if you enabled the Auto Create option:
l Adds the group to the server if the group does not exist.
l Adds the item to the group.
If you have not enabled the Auto Create option, Process Database prompts you to start the Power Tool so
that you can add the nonexistent group or item to your driver configuration. You can then continue con-
figuring the database block.
Refer to FIX DBB I/O Address Delimiter to determine valid delimiters that can be used in Process Data-
base.
You can enter the following special addresses into the I/O Address field of a Digital Output or Analog Out-
put block to perform certain events:
l !SWITCH:NAME
l !MODE:NAME
l !POLL:NAME
l !SEND:ITEM
l !START
Where NAME is the name of the server, group, or item you want to perform the event on.
!SWITCH Toggles between Asynchronous and Synchronous I/O communications on groups. This
address has no functionality for servers and items.
!MODE Enables polling to the server, group, or item specified when a value of 1 is written to a
Digital Output block. (Analog Output blocks are not supported.) Disabling a specified
object occurs when a value of 0 is written to a Digital Output block.
!POLL Triggers a demand (one-shot) poll of:
when any value is written to the Digital Output or Analog Output block.
!SEND Sends a special command to the specified item when any value is written to a Digital
Output block. The command is sent only if the Block Writes option is enabled for the
item and the item is configured as a data array. The command instructs the driver to
send the entire data array in a single message to the OPC server.
When the OPC Client sends the data array, it also sends any unmodified values in the
array using the last known value.
In addition to event addresses, Text blocks also allow you to substitute the following address for any item
in the driver:
l !QUALITY:NAME
l !TIME:NAME
Where NAME is the name of the item with the property you want to view.
!QUALITY Displays the data quality for the selected item. This setting is latched. Consequently, if
Setting Up a Database Tag for Bit Read/Write Within an Analog Data (16-Bit Integer) Value
You can configure a database Digital tag (DI/DO) and address an item that has Analog data.
The following address formats allow you to access bits within an Analog data (16-bit integer) value, by
adding a ";/" (semi-colon and forward slash) and specifying the Bit Offset at the end of the I/O address
string. The Bit Offset has a range of 0 to 15.
l Server ; Group ; ItemID ;;; /BitOffset assumes that there is no access path defined, the item is not
set up as an array, and you want to read a Bit Offset within a single Analog data.
l Server ; Group ; ItemID ; AccessPath ;;/BitOffset assumes that there is an access path defined, the
item is not set up as an array, and you want to read a Bit Offset within a single Analog data.
l Server ; Group ; ItemID; AccessPath ; [ArraySubscript] ; /BitOffset assumes that there is an access
path defined, the item is set up as an array, and you want to read a Bit Offset of the ArraySubscript
element within an array of Analog data.
l Server ; Group ; ItemID ;; [ArraySubscript] ; /BitOffset assumes that there is no access path defined,
the item is set up as an array, and you want to read a Bit Offset of the ArraySubscript element
within an array of Analog data.
NOTE: The OPC Client driver attempts to resolve the address when an invalid syntax is used for a Digital database
tag. This results in a 0 bit offset for the address. For example, entering Server1;Group1;Device1;40001 for a DI/DO
block results in an address of Server1;Group1;Device1;40001;No Access Path;;/0.
Examples
Example 1: Using a Rockwell Software RSLinx Server
1. In the Power Tool, add an OPC Server connected to the RSLinx OPC Server and create a group with
default parameters.
2. In the Power Tool, create an item with the following properties:
This specifies that the AI tag will read Analog data from the OPC Client Driver from Server
RSLinxV22, Group SignIntGroup1, Item Sign_Int_Array[20], Access Path CLogix1, defined as an
array in the client.
You can also create a DI (Digital Input) tag with the following parameters:
This specifies that the DI tag will read Digital data from the OPC Client Driver from Server
RSLinxV22, Group SignIntGroup1, Item Sign_Int_Array[20] / Bit Offset 0, access path CLogix1,
defined as an array in the client.
Example 2: Using a Siemens S7 SIMATIC NET OPC Server
1. In the Power Tool, add an OPC Server connected to the Siemens S7 SIMATIC NET Server and create
a group with default parameters.
2. In the Power Tool, create an item with:
- Or -
Server1;Group1;S7:[S7_300|VFD1|CP5613_5614(PROFIBUS)]DB1,INT10,3;;[10]
This specifies that the AI tag will read data from the OPC Client Driver from Server1, Group1, Item
S7:[S7_300|VFD1|CP5613_5614(PROFIBUS)]DB1,INT10,3, Element 10 of the array, with no Access
Path.
You can also create a DI (Digital Input) tag with the following parameters:
- Or -
Server1;Group1;S7:[S7_300|VFD1|CP5613_5614(PROFIBUS)]DB1,INT10,3;;
[10];/2
This specifies that the DI tag will read Digital Data from the OPC Client Driver from Server1,
Group1, Item S7:[S7_300|VFD1|CP5613_5614(PROFIBUS)]DB1,INT10;3; Element10 Bit Offset 2 of the
array, with no Access Path.
Example 3: Using a Schneider Automation OFS OPC Server
1. In the Power Tool, add an OPC Server connected to the OFS Server and create a group with default
parameters.
2. In the Power Tool, create an item with the following parameters:
This specifies that the client will read an item MBT:1.2.3.4!400001 (with no Access Path), defined as
a single item in the server. This will read data for element 1 for 4x-based holding registers (i.e.,
400001 from the PLC).
NOTE: In the Schneider Documentation for the current version of the server, the ItemID uses the 6-digit
notation regardless of the settings in the PLC. Therefore, if you are reading 40001 (5-digit notation) from
the PLC, you must enter it as 400001 in the ItemID configuration.
3. In the iFIX Process Database, create an AI (Analog Input) tag with the following parameters:
This specifies that the AI tag will read data from the OPC Client Driver from Server1, Group1, Item
MBT:1.2.3.4!400001 (which will be 400001 from the PLC), with no Access Path.
You can also create a DI (Digital Input) tag with the following parameters:
This specifies that the DI tag will read Digital data from the OPC Client Driver from Server1,
Group1, Item MBT:1.2.3.4!400001 Bit Offset 15 (which will be 400001:15 from the PLC), no Access
Path, defined as a single item in the client.
NOTE: The OPC Client supports iFIX Digital Register Block (DR) offsets for accessing digital bit data for
items defined as single items, or items defined as arrays, if used in the above mentioned formats for Bit
Offsets for 16-bit integer data values only.
NOTE: Refer to Example 1 above for the syntax for entering the I/O address for a database point for accessing bit-
offsets to Analog 16-bit Integer Data.
2. In the Process Database, create a Digital Register (DR) tag with the following parameters:
This specifies that the DR0 tag will read data from the OPC Client Driver from Server RSLinxV22,In-
tegerGroup1, Item Integer_Array [0], Bit Offset 0, and Access Path CLogix1, defined as an array of
integers in the server.
In iFIX Pictures, you can create a link to the tag DR0 and specify the offset to the tag to read the cor-
responding data values, as follows:
Any digital offset greater than 319 will return an error because the item is defined as an array of 20
elements each of which is a 16-bit integer.
You can select a data type for the process data stored by iFIX from the Hardware Options field in Process
Database. The data type you select overrides the requested data type of the associated OPC item. If you do
not select a data type, iFIX uses the item’s data type. For example, if you configure an item with a Long
data type and then select Float as the hardware option in Process Database, the data type for the item is
Float because iFIX overrides the item’s setting. For this reason, make sure the data type you select in Pro-
cess Database is correct for the information that you are requesting.
Only Signed and Unsigned data types support the use of signal conditioning.
NOTE: When completing this field, enter either the complete data type string or the Process Database shortcut.
We recommend using the Process Database shortcut only when creating new items from Process Database.
When creating a database block to an OPC item that already exists, we recommend that you don’t change the
requested data type because it will affect every reference to the OPC item. Additionally, the OPC specification
recommends that requested data types not be changed after you add them because the OPC server may perform
special initialization for a particular data type and may then not be able to service the item if you change the
data type.
iFIX Process Database uses the default settings for groups and items when you add a new database block
that refers to an undefined address. Default values may already be set for your application. To find out
what the default values are, open the OPC Client Power Tool and choose Templates from the Options
menu. When the Templates dialog box appears, you can display the default server, group, and item values
by selecting a tab. To change a value, refer to Setting Default Values for Server, Groups, and Item Prop-
erties.
In the Process Database Signal Conditioning field, you can specify the method for converting raw data to a
value that iFIX applications can use. When you select a signal conditioning, the OPC Client scales (converts)
the data to a value within the specified range.
Unsigned data types support many types of signal conditioning; signed values only support LIN signal con-
ditioning. The type of signal conditioning you select must match the range of incoming values from the pro-
cess hardware. By matching the range of values in the process hardware, you ensure the driver can
properly convert the raw data values to the database block’s EGU range. For example, if the incoming val-
ues are between 0 and 255, you would select 8BN signal conditioning.
IMPORTANT:
l Prior to iFIX 4.5, 15-digit precision was not supported. Instead, you are limited to the 7 digit limits imposed
by the use of single precision values.
l If you are using this OPC Client driver (v7.41) in iFIX 4.5, 15-digit precision is supported for data values only,
and not for signal conditioning. Therefore, in iFIX 4.5, signal conditioning calculations are limited to 7
digits of precision. In other words, if the range of your EGU limits exceeds 7 digits, a small amount of impre-
cision will be introduced into the calculated result for signal conditioning.
l If you are using iFIX 5.0 with this OPC Client driver (v7.41), 15-digit precision is supported for both data val-
ues and signal conditioning.
l NONE
l 12BN Signal Conditioning
l 12AL Signal Conditioning (with alarming)
l 15BN Signal Conditioning
l 15AL Signal Conditioning (with alarming)
l LIN Signal Conditioning
l 3BCD Signal Conditioning
l 4BCD Signal Conditioning
l 13BN Signal Conditioning
l 13AL Signal Conditioning (with alarming)
l Most signal conditioning types with alarming return values with all 16 bits and generate an OVER or
UNDER range alarm if the value is outside the EGU range of the database block. For example, if a data-
base block using 8AL signal conditioning receives a value of 300, an OVER range alarm is generated and
the value 300 is displayed.
l When 3BCD or 4BCD signal conditioning is used, out of range values are not displayed. For example, if a
database block using 3BCD signal conditioning receives a value of 1000, an OVER range alarm is gen-
erated and question marks are displayed instead of the out of range value.
Parameter Description
Description 12-bit binary number.
Input Range 0 – 4095
Scaling Scales 12-bit binary values to the database block’s EGU range.
Read Reads from a 16-bit register using the same algorithm as 12BN, and returns a
Algorithm status indicating whether the value is out of range and in an alarm state, or OK.
Parameter Description
Description 12-bit binary number.
Parameter Description
Description 13-bit binary number.
Input Range 0 – 8191
Scaling Scales 13-bit binary values to the database block’s EGU range.
Read Reads from a 16-bit register using the same algorithm as 13BN, and returns a
Algorithm status indicating whether the value is out of range and in an alarm state, or OK.
Parameter Description
Description 13-bit binary number.
Input Range 0 – 8191
Scaling Scales 13-bit binary values to the database block’s EGU range. Ignores the
most significant 3 bits.
Read Algorithm Reads from a 16-bit register using the following algorithm:
Parameter Description
Description 15-bit binary number.
Input Range 0 – 32767
Scaling Scales 15-bit binary values to the database block’s EGU range.
Read Reads from a 16-bit register with alarming using the same algorithm as 15BN, and
Algorithm returns a status indicating whether the value is out of range and in an alarm state,
or OK.
Parameter Description
Description 15-bit binary number.
Input Range 0 – 32767
Scaling Scales 15-bit binary values to the database block’s EGU range. Ignores the
most significant bit.
Read Algorithm Reads from a 16-bit register using the following algorithm:
Parameter Description
Description 3-digit Binary Coded Decimal value.
Input 0 – 999
Range
Scaling Scales 3-digit Binary Coded Decimal values to the database block’s EGU range.
Parameter Description
Description 8-bit binary number.
Input Range 0 – 255
Scaling Scales 8-bit binary values to the database block’s EGU range.
Read Reads from a 16-bit register using the same algorithm as 8BN, and returns a
Algorithm status indicating whether the value is out of range and in an alarm state, or OK.
Parameter Description
Description 4-digit Binary Coded Decimal value.
Input 0 – 9999
Range
Scaling Scales 4-digit Binary Coded Decimal values to the database block’s EGU range.
Read Reads from a 4-digit BCD register. The Raw_value is then separated into four
Algorithm nibbles (4 bits) prior to scaling the value. Each nibble is examined for a value
greater than 9 (A-F hex). If a hexadecimal value between A and F is found, a range
alarm is generated, indicating the value is not within BCD range. Otherwise, the
value is scaled with the following algorithm:
Parameter Description
Description 8-bit binary number.
Input Range 0 – 255
Scaling Scales 8-bit binary values to the database block’s EGU range. Ignores the
most significant byte.
Read Algorithm Reads from a 16-bit register using the following algorithm:
Refer to the following topics for valid entries for each setting:
To open the OPC Client Power Tool from iFIX Process Database
1. From the Drivers menu, choose OPC. Any servers, groups, or items that you added appear in the
Tree Browser.
2. Modify and add servers, groups, and items as needed.
When you create an item in iFIX Process Database, it automatically adds to the driver server.
1. Open the OPC Client’s Power Tool and select an object in the Tree Browser.
2. Press the F5 key to refresh the Tree Browser.
3. Expand the server containing the group you added. To view the item, expand the group.
Use the following I/O driver-specific fields in iFIX Process Database to set up the OPC Client:
l Device
l Hardware Options
l I/O Address
l Signal Conditioning
Save Groups and Items Created in iFIX Process Database to the Configuration File
Creating a group or item with Process Database adds the group or item only to the run-time configuration,
not the driver configuration file.
To save the group or item to the configuration file:
l Save the configuration file in the Power Tool at any time while iFIX is running by choosing Save from
the File menu.
- Or -
l Save the group or item automatically to the configuration file when you shut down iFIX by clicking
an object in the Tree Browser and pressing ALT + SHIFT + S. When the server window appears,
choose Save on FIX Exit from the Server menu.
NOTE: Searching for servers, groups, and items is available only when the driver is in configuration mode. The
search feature is available at all levels in the tree browser.
1. In the Power Tool's Tree Browser, select a server or group with an object you to want to search for.
2. From the Edit menu, choose Find. The Find dialog box appears.
3. In the Find What box, enter the name of the group or item you want to search for, or select a pre-
vious search criterion from the list. You can use an asterisk (*) as a wildcard character to assist in
your search.
4. Click the Find Next button to perform the search. The group or item you searched for is selected in
the Tree Browser.
NOTE: You can use the Find Previous button to move backwards through the found objects at the Item level only.
NOTE: Sorting servers, groups, and items is available only during configuration of the OPC Client driver.
1. In the Power Tool's Tree Browser, select the driver, server, or group with the objects that you want
to sort. If you select the driver, the associated servers are sorted; if you select a server, the asso-
ciated groups are sorted; if you select a group, the associated items are sorted.
2. From the Edit menu, choose Sort. The objects associated with the selected driver, server, or group
are sorted in ascending alphabetical order.
You can use I/O driver report files (.CSV) to document, create, or upgrade I/O driver configuration binary
files. All files with the CSV extension are Comma Separated Value files that you can view and edit in a text
editor or Microsoft Excel.
l Report header
l Server header
l Server data
l Group header
l Group data
l Item header
l Item data
Report Header – is for information and contains the driver name and the date of the report.
Server Header – contains a list of all the server properties. The server header must start with an exclam-
ation point (!).
Server Data – contains the values of the server properties for your driver configuration. The number of
data values must match the number of server properties listed in the server header. If you do not specify a
value for a property, it uses the default value for that property.
Group Header – contains a list of all the group properties. The group header must start with an at-sign (@).
Group Data – contains the values of the group properties for your driver configuration. The number of
data values must match the number of group properties listed in the group header. If you do not specify a
value for a property, it uses the default value for that property.
Item Header – contains a list of all the item properties. The item header must start with a pound sign (#).
Item Data – contains the values of the item properties for your driver configuration. The number of data
values must match the number of item properties listed in the item header. If you do not specify a value for
a property, it uses the default value for that property.
Server !Name,De-
Heade- scription,Enabled,ProgID,PrimaryConnectionType,PrimaryRemoteMachineName,
r BackupCon-
nectionType,BackupRemoteMachineName,PersistOnShutdown,PersistFileName,
SendMessageToWindow,IoAddressDelimiter
Server Server0,,1,Intellution.OPCNIO,Local,,,,0,,1
Data
Server3,,0,OPC.DVTest.1,Sample OPC Server,Local,,0,,1,;
Group @Chan-
Heade- nel,Name,Description,Enabled,Deadband,IoType,DataSource,ClientUpdateRate,
r ServerUpdateRate,AsyncTimeout,AsyncWatchDogEnable,UseConnectionPoints
Group Server0,Group20,,0,0,Synchronous,Cache,01,01,10000,1,1
Data
Server0,Group1,,1,0,Synchronous,Cache,01,01,10000,1,1
Server1,Group2,,1,0,Asynchronous,Cache,01,01,10000,1,1
Item #Device,Name,De-
Heade- scription,Enabled,ItemID,AccessPath,DeadBand,RequestedDataType,
r LatchData,OutputDisabled,AccessTime,IsDataArray,ItemLength,ItemStartAddr,
BlockWritesEnabled
You can import a .CSV file from the Power Tool or the I/O Server. Regardless of the method you select, any
errors in the .CSV file appear in the I/O Server window when you import it. To view the errors, click an item
in the Tree Browser and press ALT + SHIFT + S.
Click the following links for more information regarding methods on running the driver.
Statistics Overview
The I/O Driver Statistics display shows statistics for the I/O driver. This is the highest level of driver stat-
istics and provides information about the entire system. The number of transmits, receives, and errors are
displayed for all servers, groups, and items in the current configuration. To display the driver’s statistics,
select the I/O driver icon in the Tree Browser and then choose Stats Mode from the Display Mode menu.
The following describes the fields and buttons that are visible in the I/O Driver Properties Viewer in Stats
Mode:
Transmits
Example:
Receives
Displays the total number of messages received from all OPC servers, including both synchronous and
asynchronous callbacks.
Errors
Displays the total number of errors sent from all OPC servers.
For more information about the cause of the error, examine the Last Error field in the OPC item statistics.
Troubleshooting
Server Statistics
The Server Statistics display shows statistics for the selected server. The number of transmits, receives
and errors displayed are for all groups and items configured for the server. You can also see the number
groups and items on the server, the server’s connection status, the server’s start time and current time,
the time of the last update sent to the driver, and the version number of the server’s software.
To display a server’s statistics, select the server in the Tree Browser and then choose Stats Mode from the
Display Mode menu.
The following table lists and describes the fields and buttons that are visible in the Server Properties
Viewer in Stats Mode:
Transmits
Displays the number of messages sent from all items on all the groups configured for the selected server.
Example:
Receives
Displays the total number of messages received from the OPC server, including both synchronous and
asynchronous callbacks.
Errors
Displays the total number of errors sent from the selected server.
For more information about the cause of the error, examine the Last Error field in the OPC item statistics.
Number of Groups
Number of Items
Displays the number of items configured on all the groups for the selected server.
Displays the number of write requests that are pending for the server.
Vendor Info
Displays a vendor-supplied string describing the OPC server. Typically, this information includes the
vendor’s name and software version number.
Server Status
Displays the current status of the OPC server. Possible values include:
l Not Connected
l Suspended, No Data
l Running
Bandwidth
Displays OPC server specific information. One possible, and the suggested, use is to show the approx-
imate percent of bandwidth currently in use by the OPC server.
Start Time
Displays the time and date that the OPC server started. The time is displayed in universal time (Greenwich
Mean Time).
Current Time
Displays the server’s current time and date. The time is displayed in universal time (Greenwich Mean
Time).
Last Update
Displays the time and date that the server sent its last data update to the driver. The time is displayed in
universal time (Greenwich Mean Time).
Major Version
Minor Version
Connection In Use
Troubleshooting
Displays the primary refresh rate and the refresh status for the selected server.
Group Statistics
The Group Statistics display shows the statistics for the selected group. The number of transmits, receives,
and errors are displayed for all items configured for the group.
To display a group’s statistics, select the group in the Tree Browser and then choose Stats Mode from the
Display Mode menu.
The following fields and buttons are visible in the Group Properties Viewer in Stats Mode:
Transmits
Displays the number of reads and writes sent to the OPC server for all the items configured for the selec-
ted group.
Example:
Receives
Displays the total number of messages the group received from the OPC server, including both syn-
chronous and asynchronous callbacks.
Errors
Displays the total number of errors that were sent from the OPC server and received by the selected
group.
l You specify an invalid item ID or access path from the OPC server.
l The OPC server rejects a read or write request.
For more information about the cause of the error, examine the Last Error field in the OPC item statistics.
Number of Items
Displays the total number of items configured for the selected group.
Displays the actual update rate that the server uses to refresh this group’s data cache. This value may be
different from the requested update rate if the requested rate is too small and the server cannot update
the group at that frequency.
Displays the number of asynchronous read and write messages that are pending with the OPC server for
the selected group. When the group uses synchronous I/O, the number of pending asynchronous message
is always 0.
Troubleshooting
Displays the primary refresh rate and the refresh status for the selected group.
Item Statistics
The Item Statistics display shows statistics for the selected OPC item. The number of transmits, receives,
and errors are displayed for the selected item. Other available statistics include the last time the driver
successfully read data from and wrote data to the item, the OPC quality of the item, the server’s native
data type, and the access rights for the item.
To display an item’s statistics, select the item in the Tree Browser and then choose Stats Mode from the
Display Mode menu.
The following describes the fields and buttons that are visible in the Item Properties Viewer in Stats Mode:
Item ID
Specifies the fully qualified ID for this item and describes the properties of the data point that you want to
read. For example, an item ID can contain addressing parameters, engineering units, and scaling prop-
erties.
Valid Entries
The format of the item ID is specific to each OPC server. Refer to your OPC server documentation for more
information.
If your OPC server supports browsing, you can click the Browse Server button and select the item you
want. The Power Tool updates the Item ID field with the item you select. For more information about
browsing an OPC server, refer to How do I browse an OPC server?
Transmits
Displays the number of messages sent to the OPC server from the selected item.
Receives
Displays the total number of messages the item received from the OPC server, including both synchronous
and asynchronous callbacks.
Errors
Displays the total number of errors that were sent from the OPC server and received by the selected item.
For more information about the cause of the error, examine the Last Error field for the item.
Number of Items
Displays the total number of items configured for the selected group.
Access Rights
Data Quality
Displays the quality of the data in the selected item. When the item is a data array, the quality applies to all
values in the array. Consequently, if even one value of the array is bad, the quality of the entire array is
bad.
Server Datatype
Displays the format of the data that the OPC server returns to the driver. This format does not need to be
the same as the requested data type. For example, if the requested data type is Unsigned, the server may
obtain an unsigned value, but return it to the driver in the form of a Float.
Read Data
Displays the last known data value read from the selected item.
Displays the last good write value sent to the selected item.
Last Error
Displays the last error received by the item from the OPC server. For a list of errors, refer to Error Codes.
Displays the last date and time that the OPC server successfully read data from the selected item.
Displays the last date and time that the driver successfully wrote data to the selected item.
Displays the last date and time that an error occurred for the selected item.
Displays the number of items that are waiting to be written to a data array. Block writes send data to vari-
ous registers in the OPC server simultaneously by using a special "send" command. This command
instructs the OPC Client to send all outstanding writes in a single protocol message. Block writes are use-
ful in batch situations where multiple setup parameters are required by the hardware at one time.
When the OPC Client sends a data array, it also sends any unmodified values in the array using the last
known value.
To send block writes through iFIX, you must enable block writes in the item you want to use and then cre-
ate a Digital Output block with the following address:
!Send:DataBlockName
Note that only item names are valid with the !Send control address. Server and group names do not cause
any block writes to be sent to the OPC server. Analog Output blocks are not supported.
Displays the Data Monitor for the selected item. The Data Monitor displays the data received for the item,
the data's quality, and the last time data was read and written. The Data Monitor also displays the time the
last error occurred for the item.
Troubleshooting
Displays the primary refresh rate and the refresh status for the selected item.
Example
Click the following links for more information regarding the Data Monitor.
Starting Address
Displays the data received for the selected item in the format selected in the Format setting.
Quality
If the data quality is bad, the links in your operator displays show question marks by default. To save the
last good value, enable the Latch data option. For more information about data quality, refer to Under-
standing Data Quality.
Format
Specifies the format or data type to use when displaying an item’s data. Possible formats include:
Displays the last time and date the I/O driver successfully read data from the process hardware for the
selected item.
Displays the last time and date the driver successfully wrote data to the process hardware for the selected
item.
Displays the last date and time the driver failed to access the selected item in the process hardware.
Refresh
Click to refresh the data display with updated data from the driver.
The OPC Client driver displays the quality of the data in the selected item as part of its statistics. Data qual-
ity can be good, bad, or uncertain. Each quality type can also have the following additional text (substring)
to further explain the quality:
Device Failure
Sensor Failure
Data Latched
Communication Failure
Out of Service
Uncertain Last Usable Value
Sub-normal
The OPC Foundation defines each quality type and substring. For more information on the definition of
each item, visit the OPC Foundation website.
The following are practical examples for combining your primary poll rates and access times to help you
configure your items.
Example 1
l PollRec1
l Poll Rate = 10 seconds
l Access Time = 5 minutes
In this item, the OPC Client polls every 10 seconds for five minutes. If no requests are made within five
minutes, the item is disabled and the OPC Client stops polling PollRec1.
Example 2
l PollRec3
l Poll Rate = 10 seconds
The driver always polls PollRec3 at 10 seconds with this configuration because the access time is disabled.
Example 3
l PollRec4
l Poll Rate = Disabled
l Access Time = Disabled
The driver does not read messages from PollRec4 on the device. Instead, the OPC Client updates the item
when it receives data from the OPC server.
The Data Monitor displays the data received for the item, the data's quality, and the last time data was
read and written. It also provides the time of the last error for the item.
To use the Data Monitor:
1. Confirm the driver is running, and that the selected item is polling. You may have to enable the
item’s server and group to ensure the item is polling.
2. Select the item you want to examine and click the Data Monitor button. The Data Monitor dialog box
appears.
3. From the Format list, select the format you want to use to display the values stored in the item. If
required, use the Refresh button to refresh the data display.
Click the following links for more information regarding Starting and Stopping the I/O Driver.
1. Specify a default path and configuration file name for the driver:
a. From the Options menu, choose Setup. The Setup dialog box appears.
b. Select the Default Path tab.
c. Enter the configuration file’s default name and default path in the boxes provided.
2. Configure your servers, groups, and items. Select the Enable check box for each server, group, and
item you want to start.
3. From the Display Mode menu, choose Start to start the driver. The driver processes all enabled
servers, groups, and items.
If you want to start the driver automatically, you should also turn on the Auto Start option.
To turn on the Auto Start option:
1. From the Options menu, choose Setup. The Setup dialog box appears.
2. Select the Advanced tab in the Setup dialog box.
3. Click the Auto Start On option button from the Server area.
IMPORTANT: You must install the OPC Client in your root iFIX or Dynamics directory to start it from the SCU. If you
have not installed the driver in this directory, uninstall it and then re-install it in the proper path.
l You must have an OPC Client configuration file in your root iFIX or Dynamics directory with a name of
nodename.OPC. This file is necessary for iFIX to load the driver and is created by the installation program
when you install the OPC Client driver. You also need a configuration file with a different name that
defines your servers, groups, and items.
You can configure a driver to start automatically by adding the I/O Control program to the list of programs
that are defined in the System Configuration Utility (SCU) to start automatically. FIX or iFIX may have
already added this program to the list if you had one or more drivers installed when you installed iFIX.
However, if you do not have any drivers installed, or I/O Control is not listed, add the program to the Con-
figured Tasks list in the SCU.
IMPORTANT: You must install the OPC Client in your root iFIX or Dynamics directory to start it automatically from
the SCU. If you have not installed the driver in this directory, uninstall it and then re-install it in the proper path.
Parameter Description
/A Starts all I/O drivers identified in the SCADA configuration.
/Sxxx Starts one I/O driver where xxx is the three-letter I/O driver acronym.
If you are connecting items to one or more database blocks and need to access data with SAC, add the
OPC Client to the SCADA Configuration dialog box as follows.
To add the OPC Client to the SCADA Configuration dialog box:
4. Click Add to add the selected I/O driver to the Configured I/O Drivers list box.
l You must have an OPC Client configuration file in your root iFIX or Dynamics directory with the name
nodename.OPC. This file is necessary for iFIX to load the driver and is created by the installation program
when you install the OPC Client driver. You also need a configuration file with a different name that
defines your servers, groups, and items.
l If you are using iFIX, nodename.OPC resides in your Database path (C:\FIX32\PDB, by default). Do not move,
rename, or delete this file. iFIX uses the file to load the driver. Use nodename.OPC to define your servers,
groups, and items.
l If you subsequently change the name of your SCADA server after installing the OPC Client driver, iFIX can-
not automatically start the driver because the name of the node does not match the name of the con-
figuration file. To correct this, rename the configuration file to match the name of your SCADA server. For
example, if you change the name of the SCADA server from SCADA1 to SCADA9, rename the configuration
file from SCADA1.OPC to SCADA9.OPC.
l You must have an OPC Client configuration file in your root iFIX or Dynamics directory with the name of
nodename.OPC. This file is necessary for iFIX to load the driver and is created by the installation program
when you install the OPC Client driver. You also need a configuration file with a different name that
defines your servers, groups, and items.
l If you are using iFIX, nodename.OPC resides in your Database path (C:\FIX32\PDB, by default). Do not move,
rename, or delete this file. iFIX uses the file to load the driver. Use nodename.OPC to define your servers,
groups, and items.
Check Communication
l Add the OPC Client to a SCADA configuration and launching the Power Tool
l Configure a group with the Power Tool
l Add a link to a picture that accesses the group
You can set up a single Data link and enable communications between iFIX and the process hardware with
the OPC Client.
You must configure a group in the I/O Driver Power Tool first, then open a picture in the iFIX WorkSpace
and set up a data link that accesses process hardware using the OPC Client. When you enter the I/O
address, the item is automatically be created and the I/O Server starts polling for data.
To add the OPC Client to a SCADA configuration and launch the Power Tool:
1. From the OPC Client Power Tool Options menu, choose Setup. The Setup dialog box appears.
2. Click the Advanced tab and choose Auto Create On from the Server area.
3. Start the iFIX WorkSpace.
4. For detailed information on adding a datalink in an iFIX Picture, see the Adding DataLinks topic in
the Creating Pictures e-book.
5. From the iFIX WorkSpace:
l In Ribbon view, on the Home tab, in the WorkSpace group, click Switch to Run.
- Or -
l In Classic view, on the WorkSpace menu, choose Switch to Run.
This action activates the run-time environment. Data from the hardware appears in the link. If it
does not, refer to the Troubleshooting section.
Select from the following topics for tips on optimizing your process.
The best way to add items in order to maximize performance in the OPC Client is by combining groups.
This technique reduces the number of groups and minimizes communications overhead. Since the poll
rate is a property of the group, the driver updates all items in the group at the same time.
Example 1
Configuration 1
Configuration 2
l Number or groups: 1
l Number of items per group: 100
l Total items: 100
l Total calls from the driver to the OPC server = 1
As you can see, placing multiple items in a single group significantly decreases the communications over-
head between the driver and the OPC server. However, you don’t want to arbitrarily place every item in a
single group because this may cause unneeded stress on the system. Instead, group your items by their
poll rate.
Example 2
You need to add 100 items to your driver configuration. You need to update the items as follows:
To configure the driver correctly with these requirements, create 4 groups with the following properties:
Group Properties
Group 1 I/O Type: Synchronous
Update Rate: 1s
Poll Rate: 1s
Group 2 I/O Type: Synchronous
Update Rate: 1s
NOTES
l When using synchronous communications, we recommend that the update rate be twice as fast as the
poll rate. If the client is obtaining the value once an hour from the server, there is no reason for the server
to obtain the data once a second.
l We recommend that you enable the Asynchronous Watchdog with a large poll rate to ensure that the cli-
ent holds the latest data in the OPC server. However, you can disable the watchdog and not affect asyn-
chronous updates from the server to the client.
l Also, keep the number of items in each group to 1000 or fewer for optimum performance. For example, if
you have a group with 1500 items, divide it into two groups of 750.
Using the Auto Create option also adds items with default values. If you have modified the data type of one
or more items, use the procedure at the end of this topic.
NOTE: You may not be able to delete items from the driver configuration because another computer may start
accessing them.
1. With iFIX running, open Mission Control, click the SAC tab, and click Stop, to stop SAC.
2. Open the I/O Driver Power Tool and delete all the items. Do not delete servers and groups.
3. Return to Mission Control and the SAC tab. Click Start. The driver automatically adds the necessary
items with the default settings defined in the Power Tool.
This procedure guarantees that the I/O driver configuration in the Power Tool matches what you
are accessing in your iFIX database.
If you made specific modifications to one or more items, such as a different requested data type for
each item in a group, use the following procedure.
l Do not configure unneeded poll and update rates. Also, configure poll rates you do need based on
the requirements of your application. For example, if your data changes once a minute, set your
poll rate to 1 minute, not 1 second. For more information, refer to How do I choose poll and update
rates?
l Whenever possible, clean up items that you are not using for your process control system. Refer to
How do I eliminate excess items? to learn how.
l Use asynchronous I/O instead of synchronous I/O. Let the OPC server inform the driver when data
has changed instead of polling for the same data once a second. For more information about the
differences between asynchronous and synchronous I/O, refer to Feature: Asynchronous vs. Syn-
chronous I/O.
l Set the current group’s data source to Cache, not Device. This configuration causes the driver to
read data from its cache instead of directly from a device and eliminates a great deal of overhead.
For more information about the differences between Cache and Device data sources, refer to
Feature: Device vs. Cache Reads
The poll rate determines how often the OPC Client polls for data from the OPC server’s data cache for the
specified group’s items. All items in the group are polled at the same time. The update rate sets how often
the OPC server polls the process hardware to update the server’s internal data cache for all the items in
the specified group.
Keep in mind that if you set poll and update rates for groups to values that are shorter than needed, you
impose unnecessary stress on your system.
Example
l Database block scan time: 10 seconds
l Poll Rate: 5 seconds
l Update Rate: 2 seconds
Setting the update rate to zero requests the OPC server to update its group at its maximum rate. The OPC
server will return the actual, or revised, rate that it can run at. This revised rate is displayed in the Actual
Rate field on the group’s statistics display in the OPC Client’s Power Tool.
Click the following links for information about troubleshooting your system.
l How Do I?
l Frequently Asked Questions
l Troubleshooting
l The Most Common I/O Driver Problems
l Tools for Troubleshooting the OPC Client
l Using the Windows Event Viewer
l Using the Data Monitor
l Error Codes
l Getting Technical Support
How Do I?
Consult the frequently asked questions below to find out how to correct common problems with your I/O
driver:
Troubleshooting
Select from the Troubleshooting tips below to find out how to correct problems with your I/O driver.
l What program or tools can I use to troubleshoot my driver when I am experiencing problems?
l My driver doesn’t load.
l I receive a message that the server is busy.
l My driver loads but does not start polling.
l The OPC Client does not connect to a local OPC server after restarting my HMI software.
l My driver doesn’t communicate with any group or I receive ????? in my operator display links.
l The driver is not transmitting or receiving messages.
l The driver is transmitting messages but not receiving any messages.
l The driver is receiving messages, but not transmitting messages.
l The driver communicates to some but not all of the items in a group.
l I can’t connect to a remote server.
l I can’t see the driver in iFIX Process Database.
l I am receiving old data in my HMI display.
l What do the numbers in the Errors field of the Power Tool’s statistics display mean?
l My message rate is slow.
l My driver stops running after a period of time.
l I do not receive driver messages in Alarm History.
l Automatic driver startup does not work.
Some of the most common problems encountered when setting up and using I/O drivers are caused by
one or more of the following:
l Failing to match the communication parameters of the process hardware in the OPC server. For
information about appropriate values for these fields, consult your OPC server’s documentation.
l Failing to run SAC. You cannot access data from your I/O driver in the Event Viewer or the iFIX
WorkSpace until SAC is running.
l Attempting to communicate to areas of memory not defined in the controller. Verify that each
item’s address is valid.
l Setting an item’s access time to be larger than its poll time so that OPC Client never polls for data.
l Not enabling the server, group or item in the OPC Client.
l Leaving the item ID blank.
Click the following links for more information regarding the OPC Client:
Mission Control also provides a summary of driver-level statistics. To see the statistics for each server, use
the OPC Power Tool.
Refer to the iFIX documentation for details about enabling alarm services.
The options in the Server’s View menu let you choose the types of messages to display. The message pri-
ority is as follows:
Server Displays...
View
Errors Connection errors, run-time errors, and any exceptions caused by the driver or
OPC server.
Warnings General warnings.
Information General information such as loading files or .CSV activity.
Debug1 The connection status of the driver to an OPC server when the server is enabled.
Debug1 messages also contain information about any OPC interface that was not
obtained when the driver connected to the OPC server.
Debug2 Information about asynchronous transactions between the driver and the OPC
server.
Debug3 Information about failed writes to the OPC server.
GE Intelligent Platforms’s Version 7.x drivers take advantage of a Windows feature known as the Event
Viewer. This feature allows software to write messages and data to the Windows Event Log. These mes-
sages can then be viewed using the Windows Event Viewer application. Version 7.x drivers use this ability
primarily to log information about problems that arise during execution, particularly in the lowest layers of
the driver where reporting the problem to users is more difficult. It also allows the messages logged to
include specific information about the error. For instance, if the memory object encounters a problem
while mapping an area of global memory via the "CreateFileMapping()" Win32 function, it not only reports
that the error happened, but it can also translate the error code returned by Windows and include that text
as well.
The Windows Event Viewer contains three different categories of messages: System, Security, and Applic-
ation. The OPC Client writes its messages to the Application log.
Information that may be helpful for troubleshooting your I/O driver includes:
Error Codes
Error codes display in the Power Tool’s statistics display and in Mission Control’s DRVST fields. The fol-
lowing table lists the errors that appear in the statistics display. To view an error, select an item from the
Tree Browser and select Stats Mode from the Display Mode menu. The error appears in the Last Error field
of the selected item. To learn more about Mission Control errors, refer to one of the following:
The following errors are combined with the errors listed above. For example, if you receive error 1516,
this is a combination of error 1500, Error reading from common memory, and Error 16, No data to read for
block write. From this error, you can determine that the OPC Client was reading from common memory
when it found no data for the pending block write.
By Phone
The OPC I/O Server is an OLE application that you can control programmatically. It exposes its functionality
to other OLE applications through its interfaces, which means you can create custom OLE applications to
access or control the driver.
For example:
l You can use Visual Basic to programmatically enable servers, groups, or items depending on user
input.
l You can use VBA in Excel to create a program that generates reports comparing group statistics
within a driver.
l You can write programs that control the driver with higher performance using C or C++.
Refer to the following topics for steps on getting started with creating custom applications:
Microsoft Visual Basic is one of many applications that you can use to develop custom OLE applications for
use with the OPC Client.
To start designing a Visual Basic application that accesses the OPC Client objects:
1. Start Visual Basic and from the Projects menu, choose References. The GE Intelligent Platforms
OPC Client 7.10 Library should display in the Available References list box. If it does not, browse
your directories for .TLB files and add OPCDRV.TLB to the Available References list box.
2. From the View menu, choose Object Browser and then from the Libraries/Projects list at the top of
the browser, select OPCDRV.
3. Select a property or method and press F1 to learn how to use it.
The type library, OPCDRV.TLB, is installed in the same path that you installed the OPC Client.
NOTE: To use Visual Basic for Applications (VBA) instead of the VB Compiler, select References from the Tools
menu in step 1 and follow steps 2 and 3 above.
You can create a custom client application for use with the I/O Server using Microsoft Visual C or C++.
1. Add a call to CoCreateInstance to load the server and get a pointer to the driver interface.
2. Include InterfaceDef.h in the source from your driver.
3. Add Interfacedef_i.obj to the project.
You can obtain copies of InterfaceDef.h and Interfacedef_i.obj from GE Intelligent Platforms. Contact your
local sales representative for more information.
Click the following links for more information regarding Data Sources in iFIX:
You can access any item in the OPC Client as a data source in iFIX. Using this method, the values from your
OPC server can be displayed directly to an operator without the overhead of using the process database.
Typically, this approach is best when you only want to display the data and do not need to alarm or his-
torically trend the information.
To access an item in the OPC Client as a data source:
1. Configure the OPC Client as needed. For more information about configuring the client, refer to
Choosing a Method for Configuring Your Driver.
2. Register the OPC Client as a data server with the Data Server Installer.
a. From the Base path (C:\Dynamics, by default), double-click the icon for the Data Server
Installer (DataServerInstaller.exe).
b. Click Add or double-click the data server you want to modify.
c. In the Data Server box, enter a name. Make sure the name is not already in use.
d. From the OPC server list, select an OPC driver.
e. Select the Set as Default Server check box to make the server the default.
3. Start iFIX and add a Data link to any picture you have in your Pictures folder. The Data link dialog
box appears.
4. Click the Browse button to the left of the Source field. The Expression Builder dialog box appears.
5. Click the Data Servers tab.
6. Select the OPC Client and navigate to the item you want to use.
You can read string values in the OPC client by using the following syntax as your data source:
Where:
Using this feature, you can read the string values you need. However, you cannot read past the boundary
of an itemID. For example, if you create an item that contains a string of 10 characters and you specify to
read 20 bytes, only the first 10 characters are read.
NOTE: This syntax is not supported with data arrays since arrays to not support string data.
Glossary
The following terms are used in the I/O Driver Power Tool.
CSV File – A comma separated file that the I/O Driver Power Tool creates when it exports a configuration
file. Comma separated files can be edited in any third-party application that supports CSV files, such as
Microsoft Excel or a text editor. Comma separated value files can also be created in a third-party
application and read by the I/O Driver Power Tool.
Exception-Based Processing – SAC can perform exception-based processing on the following events:
I/O Address – A location in the process hardware (for example, a register, address, or point) that the driver
reads from and writes data to. An I/O address is a portion of an OPC item.
I/O Driver – The software interface responsible for sending data to and acquiring data from the process
hardware. When discussing OPC drivers the term I/O Server is sometimes used as well.
l NODE: defines the computer where the data you require is located. This can be the computer you
are working on or a remote computer.
l TAG: is the name of a database block. Block names can be up to 30 characters long.
l FIELD: defines the data type.
Process Database Block – Individual units of instructions that receive, verify, manipulate, and output pro-
cess values. Process database blocks can also compare a process value against an alarm limit and per-
form calculations based on a specific process value.
Primary Database Blocks – Primary database blocks are blocks in the process database that com-
municate with field devices.
Run-Time Configuration File – The process control software uses run-time configuration files (.OPC files)
to communicate with the process hardware during run-time.
SAC – The Scan, Alarm, and Control program (SAC) is a iFIX system task that runs on a SCADA server. SAC
transmits and receives data back and forth between the process database and the I/O driver’s common
memory.
Signal Conditioning – The method by which a raw process data value is scaled.
SIM Driver – An I/O driver used to simulate input and output of the process database for iFIX applications.
SIM values are saved in the process database itself but are cleared when SAC is started or when you
reload the process database. SIM registers range from 0 to 2000 for analog values and 0:0 to 2000:15 for
digital values.
Time-Based Scan Time – With a time-based scan time, SAC retrieves data at set time intervals. Use time-
based scanning when your data changes frequently.
Welcome to OPC Client I/O driver online help. This help system provides all the information you need to
use the OPC Client I/O driver. Refer to the following topics to learn more about the features of the OPC Cli-
ent online help:
l Using Help
l Accessing Information
l Navigating in the Online Help
l Using F1 Help
l Using the Help Table of Contents
l Using the Help Index
l Using the Help Full-Text Search
l Printing the Online Help
Use Help
The OPC Client Help appears in a browser consisting of three panes: the help button bar, the navigation
pane, and the viewer.
Each menu contains a list of commands. To display the commands, click the menu name. The following
table explains the function of each command.
Command Function
Hide/Show Hides or shows the navigation pane. The Hide button is displayed by default.
Locate Finds and highlights the current help topic in the Contents tab.
Back Displays the previously viewed help topic.
Forward Displays the next help topic in a previously viewed sequence of topics.
Print From the Contents tab, prints pages, headings and subtopics, or the entire table
of contents. From the Index or Search tab, opens the Print dialog for printing the
current topic.
Options Opens a menu that provides access to:
Hide/Show tabs; Locate; Back/Forward; Home; Stop; Refresh; Print; Search High-
light Off
Web Support Opens the GE Intelligent Platforms Support web site, if an Internet connection is
available.
l Contents
l Index
l Search
Viewer Pane
The Viewer pane displays the selected help topic. Topics that refer you to additional information have a
See Also button below the topic title.
Access Information
The OPC Client I/O driver online help consists of independent topics with specific information on I/O driver
concepts and procedures. You can access these topics using one of the following methods:
l Use F1 Help
l Use the Help Index
l Use the Help Full-Text Search
l Use the Help Table of Contents
The index, full-text search, and table of contents are all located in the Help Topics dialog box. You can dis-
play this dialog box by using one of the following methods:
When you access a topic in the OPC Client online help, it may not provide all the information you need. To
learn more about a topic, you can:
Links to other topics are blue with a solid underline and are called jumps. Jumps take you out of the cur-
rent topic to a new topic. Links that display pop-up windows are blue italics with a solid underline. Pop-up
windows display over the current window and are usually definitions of terms.
Use F1 Help
The fastest way to get help on the Power Tool controls is to press the F1 key. To display F1 help, select the
control you want information on and press the F1 key. The topic that appears is specific to the selected con-
trol and usually explains the effect of the control, which entries are valid, and provides examples of valid
entries when applicable.
The table of contents provides an overview of what’s available in the OPC Client online help. It displays the
titles of the books and the topics within each book.
The online help provides an index to all its topics. This index is similar to the index in a printed book.
If you can’t find the information you’re looking for in the index, you can use the full-text search capability. A
full-text search finds every occurrence of a selected word or phrase anywhere within the online help.
A
C
About Power Tool command 44
C++ custom client applications 123
access times 103
cache reads 15
accessing documentation 128
sorting: using the Power Tool's Find and Sort verifying items created from 91
toolbar 92
iFIX process database 5-6, 8, 76-77, 83-84, 91-
statistics 98 92
information 127
H
Interfacdef_i.obj 123
handling exceptions 11
InterfaceDef.h 124
hardware options 83
interfaces 33
help 127-130
item ids
Help menu 41, 44
adding 8, 74
help printing 130
items 5, 12
Help Topic command 44
accessing from iFIX 124-125
help topics 44
adding 40, 42, 72, 110
hiding the Configuration toolbar 43
adding multiple 8-9, 74
hiding the Main toolbar 43
adding to iFix PDB 8, 74
hiding the Run-time toolbar 43
adding to iFIX process database 6, 8
hiding the status bar 43
block writes 18
hiding the Tree Browser 43
configuring automatically 5
how the driver works 2
creating automatically in process database 5,
how to use the OPC Client 114 83
sorting 93
N
verifying 91
navigating in the Help system 128
viewing 91
New command 41
viewing statistics 99
new files 38, 41
L nodename.OPC 51
R saving items 92
name 56 servers 12
viewing statistics 96 starting the OPC Client 39, 77, 104-105, 107, 116
showing the status bar 43 stopping the OPC Client 39, 77, 107, 116
sorting servers 92 T
specifying hardware options in iFIX process data-
table of contents 129
base 83
tags
specifying I/O addresses in iFIX process data-
base 77 auto-creating 74
user interface 9
verifying items 91
writing to items 18