Professional Documents
Culture Documents
REV B
Tables.................................................................................................................................... vii
Preface.................................................................................................................................... ix
Who This Document Is For ..................................................................................................... ix
What You Should Know .......................................................................................................... ix
Revision Information ............................................................................................................... ix
Reference Documents .............................................................................................................. ix
I/A Series Documents .......................................................................................................... ix
OPC Foundation Documents .............................................................................................. x
Glossary of Terms ..................................................................................................................... x
1. Introduction ...................................................................................................................... 1
The OPC Standard ................................................................................................................... 3
OPC Servers ......................................................................................................................... 4
OPC Clients ......................................................................................................................... 4
The FDSI OPC Client Driver .............................................................................................. 5
Limitations ................................................................................................................................ 5
Installation ................................................................................................................................ 6
Hardware ............................................................................................................................. 6
Software ............................................................................................................................... 6
Installing the OPC Server ..................................................................................................... 7
OPC Communications ............................................................................................................. 7
DCOM Setup – OPC Server ............................................................................................... 7
Default Properties ............................................................................................................ 7
OPC Server General and Security Settings ....................................................................... 8
2. Configuration.................................................................................................................. 15
Port Configuration .................................................................................................................. 16
I/A Series Control Configuration ....................................................................................... 16
FDSI Configurator ............................................................................................................. 16
FBM Type ..................................................................................................................... 16
FBM Properties ............................................................................................................. 17
Redundant Configuration ............................................................................................. 18
OPC Server Properties ................................................................................................... 19
Device Configuration .............................................................................................................. 20
OPC Items (Tag Names) .................................................................................................... 20
Device Configuration Without an XML File (Default Group Used) .................................. 21
iii
B0700BH – Rev B Contents
iv
Figures
1-1. Non-Redundant FBM/Non-Redundant OPC Server Network Configuration .............. 1
1-2. Redundant FBM/Non-Redundant OPC Server Network Configuration ...................... 2
1-3. Redundant FBM/Redundant OPC Server Network Configuration ............................... 3
1-4. Navigating to DCOM Config from Component Services ............................................. 9
1-5. OPC Server Properties Dialog Box, General Tab (DASABCIP Properties Shown) ...... 10
1-6. OPC Server Properties Dialog Box, Security Tab (DASABCIP Properties Shown) ..... 11
1-7. OPC Server Security Settings – Launch, Access, and Configuration Permissions ......... 12
1-8. Configuring Permissions ............................................................................................. 12
1-9. OPC Server Identity Settings ...................................................................................... 13
2-1. FDSI Configurator Port Configuration Window, DHCP Enabled ............................. 17
2-2. FDSI Configurator Port Configuration Window, DHCP Disabled ............................ 18
2-3. Redundant FBM/Non-Redundant OPC Configuration .............................................. 19
2-4. Configuring the Heartbeat .......................................................................................... 23
2-5. General Tab ................................................................................................................ 25
2-6. Groups Tab ................................................................................................................. 26
2-7. I/O Points Tab ............................................................................................................ 27
2-8. I/A Series Control Database Configuration for Use with the OPC Client Driver
and an FCP270 or ZCP270 ........................................................................................ 29
4-1. Function Buttons in the Diagnostic Application ......................................................... 41
4-2. Connect to FoxOPCIO Dialog Box ............................................................................ 42
4-3. Diagnostic Client/Browser Log Configuration ............................................................ 43
4-4. Diagnostic Client/Browser Log Initialization Confirmation ........................................ 43
4-5. Log Directories ........................................................................................................... 44
4-6. I/A Diagnostics Display .............................................................................................. 45
4-7. Browse OPC Servers Display ...................................................................................... 46
4-8. List of Available OPC Servers Shown in the Fox OPC Diagnostics Window .............. 47
4-9. Browse OPC Servers Display Showing Available Items ............................................... 48
4-10. Selecting the CLSID of the Server ............................................................................... 49
v
B0700BH – Rev B Figures
vi
Tables
2-1. ECB200 / ECB202 Configuration .............................................................................. 16
2-2. ECB201 Configuration Without a Device Configuration File .................................... 21
2-3. ECB201 Configuration With a Device Configuration File .......................................... 24
2-4. DCI Blocks Supported by the OPC Client Driver ...................................................... 28
2-5. DCI IIN block configuration ..................................................................................... 29
2-6. Data Conversions ........................................................................................................ 30
2-7. Creating Duplicate Tag Names Using Device Configuration XML File ...................... 32
2-8. Creating Duplicate Tag Names Using I/A Series Control Configuration
and no XML File ......................................................................................................... 32
3-1. SMDH ECB201 Display on FBM232 (Non-Redundant) ........................................... 37
3-2. SMDH ECB201 Display on FBM233 (Redundant) ................................................... 37
4-1. Common Problems and Corrective Actions ................................................................ 52
vii
B0700BH – Rev B Tables
viii
Preface
This document describes the I/A Series Field Device System Integrator Object Linking and
Embedding for Process Control (OPC®) client driver utilizing the FBM232 (Single) and
FBM233 (Redundant).
This document provides information for installing, configuring, troubleshooting, and operating
the OPC client driver for I/A Series FDSI FBMs (FBM232/233) to OPC servers that are OPC
2.x DA compliant.
Revision Information
This is the second release of this document.
Reference Documents
Refer to the following documents for additional and related information. Most of these docu-
ments are available on the I/A Series Electronic Documentation CD-ROM, but the CD-ROM
may not contain the latest revision of the documents. For the latest revisions of the documents,
refer to the Customer Satisfaction Center’s webpage http://ips.csc.invensys.com.
ix
B0700BH – Rev B Preface
♦ Field Device System Integrator Module (FBM233), 10/100 Mbps Ethernet, Redundant
(PSS 21H-2Z33 B4)
♦ OPC Client Driver for Field Device System Integrator Modules (PSS 21S-3A8 B3).
Glossary of Terms
The following terminology, used throughout this document, relates to the FBM232/233 and
associated software.
Alias An alias is a short simple name that can be given to an OPC Item (tag)
that has a long tag name. The alias can be used to specify the tag when you
configure DCI blocks. Using the OPC client driver aliasing feature
requires that you create and use a device configuration file.
Backup Module The FBM233 that is physically inserted into the baseplate in the position
of backup module (the right-hand side of a valid pair of slot positions).
Client/Server The server side of the Field Device System Integrator is the OPC server,
which translates the communication protocol used by a specific vendor’s
plant-floor device, allowing the FDSI FBMs read/write access to data in
the device. Because there are many different types of OPC servers avail-
able, FDSI FBMs can communicate with a wide variety of industrial auto-
mation equipment including remote terminal units, programmable logic
controllers, and power monitoring equipment.
The clients are the FDSI FBMs. The clients request external field device
data from the OPC server. The server collects data from its connected
devices using each device’s specific communication protocol, interprets the
data according to the OPC specification, and sends it to the FDSI FBM.
x
Preface B0700BH – Rev B
DCI Distributed Control Interface (DCI) control blocks are I/A Series control
blocks that support connectivity of I/A Series control stations to various
bus-resident devices via a general purpose interface. These control blocks
are used in conjunction with the FBM232/233 to interface digital field
device I/O communications with the I/A Series control station.
ECB An equipment control block is created for each FBM and external field
device, and provides communications with that FBM or external field
device.
Fieldbus With regard to the I/A Series system, this term applies in general to two
specific buses: the I/A Series system 100 Mbps Ethernet Control network
and the I/A Series system 2 Mbps Module Fieldbus.
xi
B0700BH – Rev B Preface
Group A Group is a logical collection of OPC Items (data points). All Items must
belong to a group. You can organize groups according to your process
needs; for example, you can create one group containing all the input data
points and another group containing all the output data points. You can
add as many groups as required for your application.
Heartbeat The heartbeat facility allows for the detection of connection failures
between individual devices and FBMs. A device heartbeat is a constantly
changing input point in the device that is scanned at a configurable rate.
Faults are detected in the FBMs when devices do not update their heart-
beat points. Use of the heartbeat function is required for redundancy.
Item An OPC “Item” represents a data point on a field device. An Item can also
be referred to by the names “tag” or “point”. OPC Items must be orga-
nized into logical collections of Items called groups. See Groups.
Letterbug This is an identifier for I/A Series control devices, particularly for Fieldbus
Modules (FBMs).
Main Module The FBM233 that is physically inserted into the baseplate in the position
of main module (the left-hand side of a valid pair of slot positions).
Master The FBM233 module of the pair that is communicating with the CP.
Either module of the pair can be the Master module as indicated by a sta-
tus indicator on the front of the module.
Modular Baseplate The modular baseplate provides mounting for DIN rail mounted mod-
ules. Its 2 4 or 8 mounting positions can accommodate FBMs, FCMs and
FCP270s. The modular baseplates also provide the necessary connectors
for dc power, time strobe, the I/A Series Fieldbus module, and termina-
tion cables.
xii
Preface B0700BH – Rev B
Parameter This is a named element in the data structure of a device function block,
ECB, or I/A Series control block.
Tracker The FBM233 module of the pair that is tracking the master module com-
munication with the field device(s). Either module of the pair can be the
Tracker module as indicated by a status indicator on the front of the
module.
xiii
B0700BH – Rev B Preface
xiv
1. Introduction
This chapter provides an overview of the OPC client driver for FBM232/233 and the network
configurations in which it is used.
The Field Device System Integrator (FDSI) OPC client driver integrates plant-floor third-party
devices via OPC servers into an I/A Series system. Analog, digital, and ASCII String data values
can be read or written to any OPC Data Access (DA) Specification 2.0 compliant server that sup-
ports these data types. Communication is performed via an Ethernet connection between an
FDSI FBM and an OPC server. OPC communication is vendor independent. However, the OPC
servers are designed to communicate to a specific vendor’s plant-floor device or network.
The OPC servers handle all of the intricacies of device-specific communication protocols. The
OPC server packages the data in generic OPC form so that OPC clients such as the FBM232/233
can have read/write access to the data in the devices.
OPC communications between the FBM and the server are said to be “remote”. The server must
reside on a remote workstation, which is connected to the FBM by an Ethernet network. During
the FDSI configuration process you must provide either the IP address or the machine name of
the remote station in which the OPC server is located.
A typical non-redundant FBM/non-redundant OPC server network configuration for the
FBM232 is shown below in Figure 1-1.
To Other
FBMs
OPC Client
Hub/Switch
FBM232
10/100 Mbps
Ethernet
Diagnostic
Utility
OPC Server
PLC Network
1
B0700BH – Rev B 1. Introduction
A typical redundant FBM/non-redundant OPC server network configuration for the FBM233 is
shown below in Figure 1-2.
To Other
FBMs
Hub/Switch Diagnostic
Utility
10/100 Mbps
Ethernet
OPC Server
PLC Network
2
1. Introduction B0700BH – Rev B
A fully redundant FBM/redundant OPC server network configuration for the FBM233 is shown
below in Figure 1-3.
To I/A Series System
(FCP or FCM)
To Other
FBMs
Hub/Switch A Hub/Switch B
* The diagnostic utility for the OPC client driver can be installed on a workstation attached to either
side of the network and can be moved depending on which network you want to evaluate.
NOTE
The Ethernet connections of the PLC networks in Figure 1-1, Figure 1-2, and
Figure 1-3 can also include hubs, switches, and so forth. For simplicity, these items
are not shown.
3
B0700BH – Rev B 1. Introduction
OPC Servers
Servers provide field device input data to clients and pass output data from clients to the field
devices. OPC servers may also provide local diagnostic and link data statistics that they have com-
piled in the course of operation with the field devices.
OPC servers have two separate communications interfaces. One interface is a low-level serial or
Ethernet driver that communicates with the field devices. All of the arcane details of message
transactions and protocol characteristics are handled on this side. The other interface is OPC.
The OPC side allows any connected OPC clients to read and write data to the devices in a stan-
dard way – no protocol specifics to worry about. The server takes point-by-point configuration
information from an OPC client and performs the necessary actions to enable data to pass back
and forth between the client and the devices. Usually more than one client can be connected to a
server at a time.
Rockwell’s RSLinx for Allen-Bradley (A-B) PLCs is a good example. This server provides a stan-
dard OPC client interface on one side. The other side can be a combination of EthernetIP, Con-
trolNet, DH+, and so forth, that is, specialized protocols for specific A-B product lines of PLCs
and devices.
Invensys® Foxboro’s® AIM*OPC server is another example. The AIM*OPC server provides a
standard OPC client interface on one side. The other side communicates to I/A Series systems
using the AIM*API software. It allows connected clients to read and write data in an I/A Series
control system.
An OPC server may run as: a service, an executable application, or a DLL.
OPC Clients
OPC clients are the “user” side of an OPC communication link. A client specifies to a server with
which data points it wishes to make a connection. The connections can be read/write, read-only,
or write-only. The connections can be to any device on the link accessible by the OPC server.
Typically the read connections are change-driven; the server will not pass a data value to the client
unless it has changed.
The OPC paradigm supports the concept of “Groups”. An OPC group is a single collection of
data “Items”. Items are data values such as Booleans, Integers, Floating points, Strings, and so
forth that represent data values in a network of PLCs or other devices. Items of different data
types can be mixed indiscriminately within a group. They can be any supported data type and can
come from any device connected to the OPC server. Some values may also reside in the OPC
server itself, functioning as error counters or statuses. The Items are “scanned” based on the group
scan rate. For example, if a particular group’s scan rate is 2 seconds, then all the Items associated
with that group are scanned by the OPC server every 2 seconds.
4
1. Introduction B0700BH – Rev B
NOTE
The group scan rate is configured by the client. The OPC server attempts to scan
this Group of Items at this rate. However, if the OPC server cannot scan the Items
at this rate (perhaps due to loading problems, slow responding devices, and so forth)
it will do whatever it can to complete the scans - even if it means slowing down the
scan rate regardless of what the client has specified. In other words, when the client
configures a group to be scanned at 2 seconds, the server tries to honor the request,
but it may require slowing the scan to 4 seconds in order to get all of the requested
data.
Limitations
The following are limitations of the FDSI OPC client:
1. The FDSI OPC client connects to only one server.
2. Up to 10 device ECB201s are supported, depending on I/O load.
3. FDSI FBMs 232 and 233 can handle up to 2,000 I/O points. See Field Device System
Integrators (FBM230/231/232/233) User’s Guide (B0700AH) for more detail on the
number of points supported by the FBM. However, the practical limit on the number
of points supported depends on the performance of the connected OPC server.
4. The maximum number of output changes per second is limited to 250.
5. The FDSI OPC client is only compatible with OPC DA Specification 2.0 servers.
1.0a server connections are not supported.
6. Device connection failure can only be determined by configuring a “heartbeat” to a
periodically changing value in the OPC server.
7. OPC array data types are not supported.
5
B0700BH – Rev B 1. Introduction
Installation
General FDSI hardware and software installation instructions are given in Field Device System
Integrators (FBM230/231/232/233) User’s Guide (B0700AH). B0700AH contains a section titled
“Quick Start Example”, which outlines a typical sequence for installing and configuring an
I/A Series system and associated field equipment, and provides a quick-start flow chart.
Procedures to install the FDSIs and OPC client driver in this document correspond to the quick-
start flow chart and quick-start procedures given in B0700AH. When performing an installation,
keep the quick-start flow chart and procedures handy for reference.
Hardware
Refer to Field Device System Integrators (FBM230/231/232/233) User’s Guide (B0700AH) for
complete installation instructions for the FBM232/233s. Installation of FDSI hardware corre-
sponds to Steps 1 and 2 in the quick-start flow chart.
For information on OPC server hardware installation and configuration, refer to the documenta-
tion provided by the hardware’s manufacturer.
Software
Refer to Section 2 in the Field Device System Integrators (FBM230/231/232/233) User’s Guide
(B0700AH) for complete software installation instructions. Software installation is covered in
Step 3 in the quick-start flow chart.
Software requirements include the following:
♦ Media Kit for OPC Client Driver for Field Device System Integrator Modules
(K0173XD)
♦ OPC Client Driver for FDSI Modules CD-ROM (K0173WX)
♦ Diagnostic Utility for OPC Client driver (K0173WG)
♦ FDSI Configurator CD-ROM (K0173WZ).
The FDSI OPC client driver software is distributed on a CD-ROM. Insert the disc into the host
workstation’s CD-ROM drive. The installation should start automatically. If it does not, click
Start > Run then type E:\setup.exe.
There are no installation options to pick during the install. Click Next at each dialog box then
click Finish at the end of the installation.
The following FDSI OPC client driver files are installed in d:\usr\fox\sp\files\devices:
♦ OPC.ziph. This file is the downloadable FDSI OPC client driver
♦ OPC_DriverRev.txt. This file contains the version information on driver file.
In addition to the driver files, there are also other files installed:
♦ OPCPortExample_NoDHCP_Redun.XML – Example redundant port configuration XML
file that does not use DHCP
♦ OPCPortExample_DHCP_NonRedun.XML – Example non-redundant port configuration
XML file that uses DHCP
♦ OPCDevExample.XML – Example device configuration XML file
♦ OPCServer_CLSIDs.txt – Text file containing some OPC server Class IDs. A Class
ID is required when creating a port configuration XML file.
6
1. Introduction B0700BH – Rev B
NOTE
If the OPC server has been installed as a manual service or ‘not as a service’, the
FDSI OPC client driver will start the OPC server automatically.
OPC Communications
For OPC communications to operate properly, DCOM Security on the OPC server machine
must be properly configured. The server must reside on another machine and connect remotely
through DCOM. The following procedures should be performed before connecting field devices
to FBM(s) (Step 2 of the quick-start flow chart provided in B0700AH).
NOTE
The following section describes procedures for the Windows XP® platform, and
illustrations depict Windows XP screen displays. However, the displays on
Windows NT® or Windows 2000® platforms are slightly different from, but simi-
lar to, displays on a Windows XP platform. Furthermore, the functional groups and
access paths within some displays on a Windows NT/2000 platforms are different
from those on a Windows XP platform.
Default Properties
You must define the workstation default properties as described in the following paragraphs.
1. For a Windows XP workstation, open the Component Services window. Navigate to
Control Panel > Administrative Tools > Component Services.
2. Expand and navigate to Component Services > Computers > My Computer in the left-
hand pane of the Component Services window.
3. Right-click on My Computer to open the default properties sheet.
NOTE
The default properties for Windows 2000 or Windows NT are located in the
Default Properties tab of the main DCOM dialog box (accessed using the Win-
dows dcomcnfg utility).
7
B0700BH – Rev B 1. Introduction
8
1. Introduction B0700BH – Rev B
3. Select the server name from the list of DCOM applications, and right-click on it to
open the server’s Properties dialog box.
9
B0700BH – Rev B 1. Introduction
When the Properties dialog box appears (shown in Figure 1-5), click the General tab and set the
Authentication Level to None, as shown below.
Figure 1-5. OPC Server Properties Dialog Box, General Tab (DASABCIP Properties Shown)
10
1. Introduction B0700BH – Rev B
To configure the security settings, click the Security tab in the Properties dialog box and set the
three properties (launch permissions, access permissions, and configuration permissions) as fol-
lows.
Figure 1-6. OPC Server Properties Dialog Box, Security Tab (DASABCIP Properties Shown)
For each property, you must add “everyone” to the users and groups list. To add everyone and set
launch permissions, access permissions, and configuration permissions, perform the following
steps:
1. Select the Customize option and click the Edit button. A dialog box similar to
Figure 1-7 appears. (Launch Permission dialog box shown below; Access and Configu-
ration Permission dialog boxes are not shown.)
11
B0700BH – Rev B 1. Introduction
Figure 1-7. OPC Server Security Settings – Launch, Access, and Configuration Permissions
2. Click the Add button. A dialog box similar to Figure 1-8 appears.
12
1. Introduction B0700BH – Rev B
3. In the Select Users or Groups dialog box, type “everyone” in the large edit box. The
cursor should be in that edit box already. See Figure 1-8. Click OK at each dialog to
return back to the Security properties dialog.
4. Repeat these steps for each of the three properties (access permissions, default launch
permissions, and default configuration permissions).
After “everyone” has been added, click the OK button and make sure the property settings are as
follows:
Settings:
1. Access Permissions – Everyone – Allow Access
2. Default Launch Permissions – Everyone – Allow Launch
3. Default Configuration Permissions – Everyone – Full Control
4. Click the Identity tab and set the Identity property – The Interactive Users
NOTE
If the OPC server has been installed as a service, the Interactive User selection is
disabled. The This user and The system account selections are enabled, and one of
them will be selected already. If this is the case, leave the setting as is.
13
B0700BH – Rev B 1. Introduction
14
2. Configuration
This chapter describes OPC client driver configuration, including procedures to configure ports
and devices. This chapter also provides instructions for using device configuration files, and
introduces the FDSI Configurator software.
After you have installed all the hardware and software (corresponding to Steps 1, 2, and 3 in the
quick-start flow chart in B0700AH), and configured DCOM in the server machine (refer to
“OPC Communications” on page 7), you must define the I/A Series database and perform FDSI
configuration, including required port configuration XML files, and optionally, device configura-
tion XML files. These steps correspond to Steps 4 and 5 in the quick-start flow chart in
B0700AH. The order is not important, but both pieces need to be in place for the interface to
operate. An I/A Series control configurator (such as I/A Series Configuration Component
(IACC), the Integrated Control Configurator (ICC), or FoxCAE) is used to create ECBs and
DCI blocks that define the devices/groups and data respectively that are accessed through the
FDSI OPC client. Defining the I/A Series database is described in Steps 6, 7, and 8 in the quick-
start flow chart.
If a heartbeat connection is needed and/or alias naming is required, then you must also use the
FDSI Configurator to create device configuration files. In both cases the configuration process has
three steps:
1. Configure a port.
2. Configure devices.
3. Configure data Items.
You must perform two separate configuration tasks, which are described in this document in par-
allel. This chapter covers all details regarding the I/A Series control database configuration in con-
junction with the matching FDSI configurations.
For a method of verifying communications between the FDSI client and the OPC server, refer to
the section titled “Troubleshooting” on page 50.
The Field Device System Integrators (FBM230/231/232/233) User’s Guide (B0700AH) describes
how to use one of the I/A Series control configurators to create port and device ECBs as well as
DCI blocks. It also describes how to use the FDSI Configurator to create port and device config-
uration files. Refer to that document for general instructions to perform these tasks. The intent of
this user guide is only to point out the specifics required to support the FDSI OPC client driver.
15
B0700BH – Rev B 2. Configuration
Port Configuration
I/A Series Control Configuration
The OPC client driver requires a “port” ECB (ECB200 or ECB202) with the I/A Series standard
naming convention of 6 characters, with the last 2 characters representing the baseplate number
and numerical position; for example, for the first baseplate (0): 01 through 08 when non-redun-
dant or alphabetical position 0A through 0D when redundant. See the section titled “Letterbug
Assignments” in the Field Device System Integrators (FBM230/231/232/233) User’s Guide
(B0700AH). The port represents the connection to an OPC server. Configuration differences
between redundant and non-redundant connections are minimal. The ECB200/202 parameters
are configured as shown below:
Parameter Value
HWTYPE 232 for ECB200, 233 for ECB202
SWTYPE 232 for ECB2010 233 for ECB202
PORTEX 1
FILEID <filename>.XML (maximum length of 31 characters)
SFILID OPC.ZIPH
The FILEID field contains the name of the FDSI port configuration XML file. This file is created
using the FDSI Configurator utility.
The SFILID field contains the name of the OPC client driver executable file in a compressed for-
mat. This file is supplied on the installation CD and is placed in the proper directory during the
installation process.
Configuring ECB200 and ECB202 parameters is covered in Steps 7 and 8 of the quick-start flow
chart in B0700AH.
FDSI Configurator
A port configuration file is required even if device configuration files are not required. The port
configuration file provides the OPC client driver with information it needs to communicate with
an OPC server. Installation of the FDSI Configurator software corresponds to Step 3, and cre-
ation of the port configuration file corresponds to Step 4 of the quick-start flow chart in
B0700AH. The following sections provide settings for the port configuration file created with the
FDSI Configurator. For reference there are two example port configuration files as described in
“Software” on page 6.
FBM Type
Select the type of FBM to be configured. Use either 232 for non-redundant or 233 for redundant
operation. Figure 2-1 illustrates an FBM232 port configuration for the Wonderware ABCIP DA
OPC server.
16
2. Configuration B0700BH – Rev B
FBM Properties
In the example in Figure 2-1, DHCP is enabled in the FBM Properties section of the FDSI Con-
figurator window, which means that the FBM232 is automatically assigned an IP address by the
network DHCP server. With DHCP enabled, the IP address, subnet mask, and default gateway
fields are disabled. You must enter the server station’s name or IP address in the OPC server
Machine IP Address or Name field, as shown above.
If DHCP is not enabled, you must enter the correct IP Address, Subnet Mask, and Default Gate-
way in the edit boxes provided, in addition to entering the server station’s name or IP address. See
Figure 2-2 below:
17
B0700BH – Rev B 2. Configuration
Redundant Configuration
The FBM233 redundant configuration is performed exactly the same as the non-redundant con-
figuration, except that the port requires two sets of network information: one set of configuration
information for the main FBM and one set for the backup FBM.
Figure 2-3 below illustrates a redundant FBM configuration that connects to the same server IP
address, which indicates that there are two separate cable connections to the same server station.
In Figure 2-3, the OPC server does not support full redundancy. This configuration would be
similar to that shown in Figure 1-2.
However, some OPC servers do support full redundancy, as shown in Figure 1-3. If this is the
case, the OPC server machine name or IP address information will differ between the Main and
the Backup.
18
2. Configuration B0700BH – Rev B
19
B0700BH – Rev B 2. Configuration
control on the left contains the OPC Spec 1.0 and 2.0 supported OPC servers that are currently
installed on that system.
The OPC Server Name can be whatever you wish to call it. The name given to the server will be
the name that is displayed in the diagnostic utility. For more information on the diagnostic utility
refer to Chapter 4 “Diagnostics and Troubleshooting”.
NOTE
OPC Spec 1.0 servers are NOT supported by the FDSI OPC client.
Device Configuration
The FDSI OPC client requires at least one device ECB (ECB201) to communicate with an OPC
server. As mentioned previously, a device may represent a specific PLC or it may simply represent
a collection of data from an OPC server that is connected to many devices.
You can create a device configuration XML file with the FDSI Configurator utility. The FDSI
Configurator is used to configure OPC Groups, tag name aliases, and the ECB201 Heartbeat
option. A device configuration XML file is not required in all situations and may be omitted.
This section describes the configuration of OPC Groups, data points in both the I/A Series sys-
tem and in the FDSI Configurator device configuration XML file
20
2. Configuration B0700BH – Rev B
Due to limitations in the I/A Series control configurators, these character strings in I/A Series
DCI block PNT_NO parameters can be no longer than 31 characters. If a desired tag name is
longer or includes spaces, then tag name aliasing must be employed. The FDSI Configurator is
used to create alias tag names that are stored in a device configuration XML file. This is explained
later in “Alias Tag Names” on page 24.
Parameter Value
HWTYPE 232 (233 if redundant)
SWTYPE 232 (233 if redundant)
PARENT The name of this device’s parent
ECB200 or ECB202
DVNAME user configured string represent-
ing the Default Group name (For
example: UNIT_1)
DVOPTS NOXML
PORTNO 1
FILEID
Configuring ECB201 parameters is covered in Step 13 of the quick-start flow chart in B0700AH.
21
B0700BH – Rev B 2. Configuration
Heartbeat
A heartbeat value is associated with a specific device ECB201 by a device configuration XML file.
A device heartbeat is a constantly changing value that may be located in an OPC server accessible
device such as a PLC. The value is an OPC connectable data point (an OPC tag name) that is
“watched” by the FDSI OPC client driver heartbeat mechanism at a configurable rate. The value
in the device could be driven from a timer, a flip-flop or “seconds” from the time-of-day clock.
When configured, the heartbeat function acts similar to a watchdog timer. If the point does not
update within the scan rate, the driver will retry (wait) 2 times before failing the ECB201. In
other words, if the heartbeat scan time is configured for 5 seconds, the OPC server must provide a
changed value within that time. If it does not, then the FDSI OPC client will retry (wait) 2 times
the scan time (approximately 10 seconds more) before failing the ECB201.
The configured heartbeat tag scan rate should be a value longer than the update rate in which the
value changes. That is, if the heartbeat value in the device changes every 2 seconds, the heartbeat
scan rate should be set longer, 3 or 4 seconds for example.
A device heartbeat requires the configuration and use of a device configuration XML file.
! CAUTION
Invensys Foxboro recommends using the heartbeat facility (which requires the use
of a device configuration file) wherever possible. This enables System Monitor and
SMDH to detect/display a bad connection to a specific device. The heartbeat facil-
ity is required for redundant operation. Redundancy does not operate without it.
Configuration of the heartbeat OPC tag is performed in the FDSI Configurator in the General
tab of the OPC device configuration sheet. See Figure 2-5.
Note that if an updating point is not available to the OPC server, then an I/A Series Control gen-
erated value can be used in a looping scheme. This requires the use of:
1. One or two read/write-able memory areas in the device accessible to the OPC server.
2. A DCI output block such as IOUT, ROUT, COUT; and an “upstream” connected
RAMP block or other similar block to provide a changing value.
3. The OPC tag name (representing a data value in the device) configured in the heart-
beat mechanism is the same tag name as configured in the output block’s PNT_NO
field. Additionally, in the PNT_NO field the tag name must be appended with a $
character. This character forces the status for this particular point to always be
“Good”. It is required to keep the output value writing even if the associated ECB201
is failed due to a heartbeat timeout. When the communications problem is resolved,
the output value will transmit to the OPC server, “reviving” the ECB201 by satisfying
the heartbeat watchdog timer.
The heartbeat scan rate time must be greater than the RAMP block and output block
period/phase or the ECB201 will fail.
The RAMP block will generate a value that the output block will send to the device via the OPC
server. The FDSI OPC heartbeat mechanism is connected to the same value in the device which
will satisfy the heartbeat watchdog timer.
A better method would be to have the DCI output block connected to one value in the device and
the FDSI OPC heartbeat mechanism connected to another value. The device internally copies the
value from the DCI output block to the other value used by the heartbeat. This method would
22
2. Configuration B0700BH – Rev B
eliminate any question of the OPC server updating the value locally instead of within the device.
See Figure 2-4 below.
FBM Device
OPC Input Value
DCI OUT
Server
Heartbeat In Output Value
(device copies input
to output)
Invensys Foxboro recommends that the above method of connecting a heartbeat is used as a “last
resort” if at all possible. FDSI redundant operation (FBM233) is more secure when the heartbeat
value is generated by a connected device rather than from a control scheme.
The heartbeat OPC tag will be associated with a special Heartbeat Group. The Heartbeat Group
name is a concatenation of the name specified in the ECB201 DVNAME parameter and the
string “HeartbeatGroup”. For example if an ECB201 has “DEV1” configured in the DVNAME
parameter, then DEV1HeartbeatGroup is the name of this device’s Heartbeat Group. This group
name can be viewed using the diagnostic application for the OPC client driver. For more informa-
tion on this utility refer to Chapter 4 “Diagnostics and Troubleshooting”.
The heartbeat OPC tag name is configured in the General tab of the FDSI Configurator when
creating a device configuration XML file.
23
B0700BH – Rev B 2. Configuration
Parameter Value
HWTYPE 232 (233 if redundant)
SWTYPE 232 (233 if redundant)
PARENT The name of this device’s parent
ECB200 or ECB202.
DVNAME user configured string represent-
ing the Default Group name (For
example: UNIT_1)
DVOPTS
PORTNO 1
FILEID <filename>.XML (For example,
PLC155.XML)
24
2. Configuration B0700BH – Rev B
25
B0700BH – Rev B 2. Configuration
26
2. Configuration B0700BH – Rev B
Checking the Write Only box will prevent the read-back facility from attempting to read I/O
points that can only be written.
After you have configured a point, click the Add button to add the point to the configuration. The
point will appear in a spreadsheet type list at the bottom of the dialog box. From the list, a point
can be modified or deleted using the Modify or Remove button, respectively. When you select any
field in the list, all of the information for that row appears in the General area edit fields in the top
left-hand portion of the dialog box.
27
B0700BH – Rev B 2. Configuration
All of the text fields in the I/O Points Tab can be copied and pasted from other Windows applica-
tions. However, the Group, Start, and Count fields in the I/O Point generator cannot be copied
and pasted.
Name Description
BIN Binary Input block
BINR Redundant Binary Input block
BOUT Binary Output block
IIN Integer Input block
IOUT Integer Output block
PAKIN Packed Input block
PAKOUT Packed Output block
PLSOUT Pulse Output block
RIN Real Input DCI block
RINR Redundant Real Input DCI block
ROUT Real Output DCI block
STRIN String Input DCI block
STROUT String Output DCI block
The process of creating, editing, modifying, and deleting DCI blocks is well documented else-
where. What is important to the OPC client interface is that one DCI block is required for every
OPC tag. Each block is associated via its IOM_ID parameter with a specific device ECB
(ECB201). Each device ECB is associated with a parent ECB200 or ECB202 via the ECB201’s
PARENT parameter. The blocks and their relationships are shown in Figure 2-8. Note that the
device ECB (ECB201) is shown to include a device configuration file as its DVOPTS parameter
value. The information presented in this section corresponds to Step 16 of the quick-start flow
chart in B0700AH.
28
2. Configuration B0700BH – Rev B
Figure 2-8. I/A Series Control Database Configuration for Use with the OPC Client Driver
and an FCP270 or ZCP270
There are separate DCI blocks for each data type. You should know ahead of time what type of
block to use when connecting to an OPC tag. Similar data types exist. For example, you can use
an IIN block to read integer or packed boolean data, and you can use a BOUT block to write to a
single boolean tag in the server.
The DCI readback facility for output blocks is also supported by the FDSI OPC client. The only
exception to readback behavior is when the DCI output block is connected to an OPC “write-
only” tag. Write-only support requires the support of a device configuration XML file. In this case
the value cannot be read, so the readback value is internally set by the FDSI OPC client to be
equal to the output value from the CP. The table below shows a typical IIN DCI block configura-
tion for an OPC connection.
Parameter Value
IOM_ID PLC155 (name of ECB201)
SIMOPT 0
PNT_NO AIRMGR\AREA3\BLWRSPD1
29
B0700BH – Rev B 2. Configuration
Note that the PNT_NO value could either be an actual tag name in the OPC server or an alias
name entry in the device config XML file.
Miscellaneous
DCI Points Not in the Device Configuration XML File
There are times when it is not necessary to include all configured points in both the I/A Series
control database and the device configuration file. An example this would be if the heartbeat
mechanism is required but alias names are not required. Also, points with a short tag may be
added to an existing database without going through the process of updating the device configura-
tion file and downloading it to the FBM. By simply prefixing a pound # character to the
PNT_NO value, you can prevent the OPC client software from attempting to find a match in a
device configuration file.
Example: #BLR2\BLWRVIBRATIONMON
Data Conversions
You do not need to be concerned about data conversions between the server and the CP, byte
swapping, or any data manipulation between the CP and the OPC server. The operational behav-
ior of the FDSI OPC client is such that if an IIN block (a 32-bit signed integer) is connected to a
16-bit OPC server tag, the FDSI OPC client makes the conversion automatically. Similarly, if an
IIN is connecting to a 64-bit long word, the conversion is made automatically. The same holds
true for single precision (32-bit float) RINs connecting to double precision reals in the server.
The following tables outline the compatible data type connection options available in the FDSI
OPC client driver.
DCI Block DCI Block Data Type Connectable OPC Data Type
IIN 32-bit signed integer 16-bit signed integer
32-bit signed integer 16-bit unsigned integer
32-bit signed integer 32-bit signed integer
32-bit signed integer 32-bit unsigned integer
32-bit signed integer 16-bit BCD
RIN 32-bit float 32-bit float
32-bit float 64-bit float1
BIN Single contact Boolean type
PAKIN Single contact 32-bit signed integer
32-bit unsigned integer 32-bit unsigned integer
STRIN String (80 characters, including NULL) Null terminated String type
30
2. Configuration B0700BH – Rev B
DCI Block DCI Block Data Type Connectable OPC Data Type
IOUT 32-bit signed integer 16-bit signed integer
32-bit signed integer 16-bit unsigned integer
32-bit signed integer 32-bit signed integer
32-bit signed integer 32-bit unsigned integer
32-bit signed integer 16-bit BCD
ROUT 32-bit float 32-bit float
32-bit float 64-bit float1
BOUT Single contact Boolean type
PAKOUT 32-bit unsigned integer 32-bit signed integer
32-bit unsigned integer 32-bit unsigned integer
STROUT String (80 characters, including NULL) Null terminated String type
1. The range supported by the RIN and ROUT block is limited to 32 bits. Even though a
RIN/ROUT block can connect to a 64-bit float OPC data type, the value must be within
the range supported by the 32-bit float. If it is not within that range, non-deterministic
results can occur.
8-bit values such as BYTE and CHAR types are not supported. 64-bit signed and unsigned inte-
gers and LBCD types are not supported.
31
B0700BH – Rev B 2. Configuration
For example:
32
3. Principles of Operation
This chapter provides an overview of the operation of the OPC client driver, including
ECB200/202 and ECB201 operation, OPC client driver operation, and redundant operation.
This chapter also provides information on how errors are reported.
You should be familiar with the section titled “Maintenance” in Field Device System Integrators
(FBM230/231/232/233) User’s Guide (B0700AH). This section details all of the SMDH Equip-
ment Change and Information displays.
To be operational, all ECBs must be ONLINE/ENABLED and NOT FAILED (white) in
SMDH. Refer to Step 9 in the quick-start flow chart contained in B0700AH.
ECB200/ECB202 Operation
You must know two important concepts in order to make the ECBs operational: A Software
Download followed by a Data Base Download as performed from the SMDH Equipment
Change displays. On the Equipment Change displays these picks are labeled EEPROM/Soft Down-
load and DB Download respectively. The corresponding steps in the quick-start flow chart con-
tained in B0700AH that relate to this section are Steps 10, 11, 12, 14, and 15.
When an FDSI FBM is shipped from the factory, it is pre programmed with the latest and proper
IOM23x file but no driver. When powered up for the first time, the operating system is loaded
from the FBM’s non-volatile flash memory. The FBM boots up and remains in a Driver
Failed/DCI not Ready state until you manually download the OPC client driver software and
port configuration file. First, you must set the ECB200 (or 202) ONLINE. Setting the
ECB200/202 ONLINE enables other equipment change actions, such as Soft Download and DB
Download. Upon performing this action, the red LED located on the FBM faceplate turns off.
To download the OPC client driver, click on EEPROM/SOFT DOWNLOAD > SOFT DOWNLOAD on the
ECB200/202’s Equipment Change page in SMDH. The OPC.ziph file that was configured in
the ECB200/202 SFILID parameter is downloaded to the FBM at this point.
When the Soft Download is active, the ECB200/202 SMDH Equipment Information display
indicates Download Active on page 2 for FBM233 and page 3 for FBM232. Upon successful
completion of the download, the FBM automatically reboots. During the FBM reboot, the FBM
appears “FAILED” to the host CP. After the FBM reboots, it should remain ONLINE.
NOTE
During a Soft Download operation, any existing port and device configuration
XML files are deleted.
When the FBM completes the Soft Download operation and reboots (at this point, the FBM
should remain ONLINE), you should verify that the checksum value displayed in the DRIVER
VERSION field on the SMDH Equipment Information display is the same as that in the
OPC_DriverRev.txt file located in the d:\usr\fox\sp\files\devices directory. If the checksums are
not the same, the download operation failed.
33
B0700BH – Rev B 3. Principles of Operation
When the Soft Download is complete, the appropriate driver is now downloaded in the FBM.
However, the driver has no idea to which OPC server it will connect and where that OPC server
is located. For this reason, you must follow the Soft Download with a DB Download of the port
configuration XML file. Click the DB DOWNLOAD field. The port configuration XML file that was
configured in the ECB200/202 FILEID parameter is downloaded to the FBM. During the DB
Download, page 2 of the ECB200/202 Equipment Information display should indicate DCI NOT
READY. When the download completes, the Equipment Information display should indicate DCI
READY, and SMDH displays the ECB200/202 in the yellow color. If the port configuration file is
correct, the FBM will have made a connection to the OPC server. If the port configuration is not
syntactically correct, DCI NOT READY and DOWNLOAD FAILED are displayed on the Equipment
Information page.
If a port configuration file does not have syntax errors, it could have a bad Class ID or bad IP
addresses. If the port configuration file has a bad Class ID, the Equipment Information page will
display OPC Server Not Connected. If the port configuration file has a bad IP address, the Equip-
ment Information page will display OPC Server Machine Not Connected. See Chapter 4 “Diag-
nostics and Troubleshooting” for more information.
You may wish to download an updated port configuration file while the communications link is
up and running. This is supported. However, you must realize that all communications to the
currently connected server are temporarily broken if the download is successful, then re-estab-
lished. If an error is encountered during the download (such as a malformed tag in the XML file),
the connection is not broken and the download action is reported as DOWNLOAD FAILED on the
Equipment Information page.
By default, the ENABLE PORT 1 field is set to “enabled” on the Equipment Change page in
SMDH. Port 1 must be enabled for communications to take place. If Port 1 is not “enabled”,
communications do not take place.
If the link is up-and-running and you click GO OFF-LINE, all communication to the OPC server
stops, and the connected OPC Groups and points are disconnected. Clicking GO ON-LINE re-
establishes all communications with the OPC server. Similarly, clicking DISABLE PORT 1 termi-
nates all communications to the OPC server, while clicking ENABLE PORT 1 re-establishes
communications.
If the port and device ECBs (ECB200/202 and ECB201) are ONLINE and ENABLED, the
point connections are made to the server regardless of the compound’s ON/OFF status.
At some point, you may want to reboot (reset) the FBM with an FBM RESET Equipment Change
action. Be sure to turn the FBM “OFFLINE” prior to performing this action. Disabling the FBM
first by turning it offline provides a clean way to disconnect the FBM from the OPC server before
you reset the FBM. Otherwise, unpredictable behavior could result. At a minimum, if the FBM is
not disconnected from the OPC server before the FBM reset, the OPC server indicates that one
more client is attached than is actually the case.
For more details on SMDH Equipment Change actions, and Equipment Information pages, refer
to the “Maintenance” chapter in Field Device System Integrators (FBM230/231/232/233) User’s
Guide (B0700AH).
34
3. Principles of Operation B0700BH – Rev B
ECB201 Operation
If any device ECBs (ECB201s) require a device configuration XML file, you must download the
specific device configuration.XML file pertaining to each connected ECB201. The corresponding
steps in the quick-start flow chart contained in B0700AH that relate to this section are Steps 13,
14, and 15.
In its initial state, the ECB201 is disabled. The ECB201 must be in the “disabled” state to enable
the DB Download field in SMDH.
For devices that do not specify a device configuration XML file, you do not need to download a
device configuration XML file, but you must enable the devices. If this is the case, simply click the
ENABLE COMMUNICATIONS field on the ECB201’s Equipment Change page in SMDH.
Click DB DOWNLOAD on the ECB201’s Equipment Change page to download the device configura-
tion file. The file configured in the ECB201’s FILEID parameter is downloaded to the FBM at
this point. After the download takes place successfully, the Equipment Information display for the
ECB indicates DCI READY. After a successful download, you must enable the ECB in order for
successful communications to take place for that device. To do so, click ENABLE COMMUNICATIONS
on the ECB201’s Equipment Change page.
If a heartbeat tag has been configured in the XML file, the ECB may possibly “Fail” for a short
period of time until the heartbeat value is received. The ECB may enter this temporary failed state
if there are large numbers of points being connected as a result of the ECB being enabled.
Redundant Operation
The redundant operating philosophy is fairly simple. In a redundant configuration, there are two
FBMs that operate in matched pairs with their own separate Ethernet cables to an OPC server as
shown in Figure 1-2 and Figure 1-3 in Chapter 1 “Introduction”. The FBM in the left-hand slot
is referred to as the “Main” while the FBM in the right-hand slot is referred to as the “Backup”.
35
B0700BH – Rev B 3. Principles of Operation
The FBMs may be rebooted independently of each other via SMDH. This is accomplished using
the RESET option on the Equipment Change display.
On input, both the Main and Backup FBMs receive OPC input data, but the Control Processor
(CP) only receives data from the FBM in the “Master” role. On output, the CP sends data
changes to both the Master and Tracker FBMs. Subsequently both FBMs forward the output data
to the OPC server on their respective Ethernet links.
The section titled “Maintenance” in Field Device System Integrators (FBM230/231/232/233) User’s
Guide (B0700AH) contains the SMDH Equipment Information displays and a table of the dis-
play field contents for FBM233s.
36
3. Principles of Operation B0700BH – Rev B
When a role switch occurs and the error is subsequently corrected, the restored FBM does not
automatically resume Mastership of the link when communication is restored. If you want the
FBM to resume Mastership under these conditions, you must manually switch the roles in
SMDH.
Error Reporting
Misconfigured PNT_NO parameters in the I/A Series control database or PNT_NO/OPC Item
tags in the device configuration file cause the Block Detail displays for those blocks to report
invalid address or duplicate address errors.
If the OPC server deems that a point is having a problem, it sets the appropriate status (usually
“BAD”) for that point. The status is picked up by the FDSI OPC client, which sets the status bad
for that DCI block.
Hardware disconnections due to broken cables or downed servers are monitored by the FDSI
OPC client. When a hardware disconnect occurs, the ECB201s go to an ONLINE/FAILED state
and a system alarm is generated. The System Monitor propagates the alarm through the I/A Series
system. The DCI blocks remain in an out-of-service condition until the connection is re-estab-
lished. If a device heartbeat is configured via an XML file, and the device heartbeat “times out”,
the ECB201 is set to the ONLINE/FAILED state. This same behavior is also seen if the heartbeat
is connected to a point that is not changing. The time out occurs because the device ECB did not
get an update from the OPC server within 3 times the scan rate for the heartbeat tag. For exam-
ple, if the heartbeat scan rate is set for 10 seconds, the device ECB201 waits for approximately 30
seconds before it fails the device.
FDSI monitors for a loss of communications. The following indications are displayed in SMDH
for the ECB201.
37
B0700BH – Rev B 3. Principles of Operation
38
3. Principles of Operation B0700BH – Rev B
39
B0700BH – Rev B 3. Principles of Operation
40
4. Diagnostics and Troubleshooting
This chapter describes diagnosing and troubleshooting problems with the FDSI OPC client
driver.
Diagnostics
The FDSI OPC client software package is supplemented with a remote connectable diagnostic
tool that provides a graphical user interface called Fox OPC Diagnostics. This application is
installed from the CD titled “Diagnostic Utility for OPC Client driver” (K0173WG) on any AW,
or a workstation running the Windows XP or Windows NT operating system. Insert the CD-
ROM into the CD-ROM drive; setup should start automatically. If it does not, browse the CD
and double-click on setup.exe.
The diagnostic utility for OPC client driver connects remotely to the FDSI via a TCP/IP connec-
tion. This diagnostic application is the only means available for viewing the OPC Group and
point connections within the FDSI OPC client. The diagnostic utility also supports a limited
browsing capability. The browsed Item tags can be “copied and pasted” into other applications,
such as the FDSI Configurator. The tag data types are displayed. As indicated previously, a server’s
CLSID (Class ID) string is displayed, and it can also be copied and pasted.
The SMDH Equipment Information displays also provide you with feedback regarding the health
of the FBMs, devices, and the OPC connection.
Configure
Log Browse OPC
Servers
Connect About
Exit
Disconnect
I/A Open Log Files
Diagnostics
41
B0700BH – Rev B 4. Diagnostics and Troubleshooting
Connect Button
The Connect button is used to bring up the Connect to FoxOPCIO dialog box.
To connect the diagnostic application to an FBM, perform the following steps:
1. Click the Connection button. The dialog box in Figure 4-2 appears.
Disconnect Button
The Disconnect button is used to close the diagnostic application’s connection to the FBM. Exit-
ing out of the application also closes the connection.
42
4. Diagnostics and Troubleshooting B0700BH – Rev B
The log files are stored in the FoxOPCTools\Diagnostics\log directory. Figure 4-5 illustrates the
directory structure. You can access the log files by clicking Open Log Files on the toolbar (see
Figure 4-1). The log files (named CE_OPCClient_Event.log and CE_OPCClient_Error.log) are
stored in the Monday to Sunday subdirectories (listed alphabetically). See Figure 4-5 below.
The logging information can be useful for diagnosing configuration and connection errors. If
these files are not too large, you can e-mail the files directly to a member of the Invensys Foxboro
support team.
The log files only update when their respective check boxes are “checked” in the Log Configura-
tion dialog box as shown above, and the Diagnostic Client/Browser is connected to the FBM.
Simply checking or unchecking the logs in the Log Configuration dialog box does not cause the
Diagnostic Client/Browser to take action immediately. You must exit, then restart the Diagnostic
Client/Browser before the Log check-box settings take effect.
If you want to start a troubleshooting session with an empty log file, click the Configure Log but-
ton and re-initiate the logging. When the initialization takes place the log files will be recreated as
empty files for that day.
The Diagnostic Client/Browser can remain connected to the FBM for as long as desired. How-
ever, the logging should be disabled by unchecking the check-boxes in the Log Configuration dia-
log. See the note below.
43
B0700BH – Rev B 4. Diagnostics and Troubleshooting
NOTE
When enabled, the log files only update when the diagnostic application is con-
nected to the FBM. The log files are circular, but grow each time an error or event
occurs up to 1 MB in size. After the 1 MB limit is reached the beginning entries will
be overwritten with current entries. After a troubleshooting session, you should
uncheck the boxes in the Log Configuration dialog and delete the log files to free up
hard drive space.
44
4. Diagnostics and Troubleshooting B0700BH – Rev B
As shown in Figure 4-6, the I/A Diagnostics display is divided into three separate panes. The left-
hand pane is a tree structure that contains the name of the connected OPC server. The tree struc-
ture underneath the OPC server contains all the configured groups. By selecting a group, all the
points associated with that group are displayed in spreadsheet form on the right-hand side of the
interface. Tag Name, Value, Timestamp, Quality, and Status fields are displayed for each point.
Any misconfigured points appear in red and the Quality field contains a text message indicating
that “The item is no longer available in the server”. The I/A Series Block Detail display
for a misconfigured point is cyan with an Invalid Point Address error. If a previously good
server tag goes “bad,” this is noted on the I/A Diagnostics display. With this information, you can
correct the misconfigured tags.
The lower pane is divided into three sections labeled (from left to right) FoxOPCIO Information,
Selected Server, and Selected Group.
♦ The FoxOPCIO Information section provides the IP address of the FBM, and the
numbers of: connected servers (always 1), active Items, reads per second, writes per
second, and invalid Items.
♦ The Selected Server section provides the IP address of the OPC server machine, the
server name, the OPC version specification used by the FDSI OPC client driver to
connect to the server, and the number of active Items.
45
B0700BH – Rev B 4. Diagnostics and Troubleshooting
♦ The Selected Group section provides the number of active items for the group and
the group update rate in milliseconds.
46
4. Diagnostics and Troubleshooting B0700BH – Rev B
The FDSI can only connect to 2.0 DA compliant servers. Select the tree item OPC Data Access
Ver 2.0 and right-click on it. Click the word Populate when it appears. It may take several
moments for the browser to find any OPC servers on the station. When the browser returns, the
available OPC servers are listed under the Ver 2.0 tree branch as shown in Figure 4-8.
Figure 4-8. List of Available OPC Servers Shown in the Fox OPC Diagnostics Window
Select a server from the list and right-click on it. Select Populate from the popup menu. A display
similar to Figure 4-9 appears.
47
B0700BH – Rev B 4. Diagnostics and Troubleshooting
This display is also divided into three panes. The left-hand pane shows a tree structure. Under the
servers “branches” in the tree structure are the available Items. The Item tags, as displayed, contain
the syntax required to support a proper OPC connection.
When creating an OPC device configuration file with the FDSI Configurator, you can copy and
paste the tag “branches” displayed in the Browse OPC Servers display into the OPC Item field of
the “I/O Points Properties” page in the FDSI Configurator. This Browse option is also a good way
to check the syntax of a misconfigured tag in the FDSI OPC client driver or to copy the class ID
as required for using the FDSI Configurator.
48
4. Diagnostics and Troubleshooting B0700BH – Rev B
2. Expand the CLSID branch, and select the field containing the CLSID by single click-
ing on it twice – do not double click. When properly selected, an edit box appears
around the string as shown in Figure 4-10, and the characters within it are
highlighted.
3. Copy the whole field including the ‘{ }’ characters, and paste this text into the Class
ID edit box on the FDSI Configurator (see Figure 2-1 and Figure 2-2 for examples of
the Class ID edit box of the FDSI Configurator).
FBM IP Address
To get the IP addresses of non-redundant or redundant FBMs (Master only), you can create a
DCI STRIN block to display the IP address information.
To obtain an FBM’s IP address, perform the following steps:
1. Create a DCI STRIN block with the PNT_NO configured as $FBM0_IPADDRESS and
the IOM_ID as the name of the ECB200/202.
2. The ECB200/202 must be in the DCI READY state.
3. Use FoxView to display the STRIN block.
49
B0700BH – Rev B 4. Diagnostics and Troubleshooting
4. The STRIN block displays the IP address of the FBM. The block indicates if the
Ethernet connection is a DHCP address or a fixed address (as configured in the port
configuration XML file). For redundant FBMs, configure two STRIN blocks, one for
the Main FBM and one for Backup FBM. Configure the PNT_NOs with
$FBMM_IPADDRESS and $FBMB_IPADDRESS for Main and Backup, respectively. Config-
ure the IOM_ID with the name of the ECB200/202.
Refer to the section titled “Maintenance” in Field Device System Integrators
(FBM230/231/232/233) User’s Guide (B0700AH) for more details on this and other diagnostic
blocks.
Troubleshooting
Verifying Communications Between FDSI Client and OPC Server
Initially, you should attempt a simple one-point connection as opposed to trying to connect the
whole database application in one shot. The following steps are simply a way to verify communi-
cations between the FDSI client and the OPC server. They assume that the FDSI Configurator
and the FDSI OPC client software has been installed on the I/A Series V8.x system. The steps
also assumes that the OPC server has been installed on its system and that communication
between the server and its devices is operating properly. The assumption is also made that an
updating value (or a value that can be changed remotely) is available for a test connection. This
value’s OPC tag name must be less than 32 characters and must not include spaces.
1. Make the DCOM settings on the OPC server system as described in “DCOM Setup
– OPC Server” on page 7.
2. Create and edit an ECB200/202 using an I/A Series control configurator.
3. Create and edit an ECB201. Configure the ECB201 for NOXML operation (see
Chapter 2 “Configuration”).
4. Create and edit a test DCI input or output block and connect it with a test value’s
OPC tag name as stated above.
5. Create an OPC port configuration XML file using the FDSI Configurator (see
Chapter 2 “Configuration”)
6. Put the FBM200/202 on-line and perform a SOFT DOWNLOAD. Wait until the module
reboots and comes back up, then perform a DB DOWNLOAD. These two actions load the
FDSI OPC client driver image and load the port XML file to the FBM. If using a
redundant pair of FBMs, remove the backup module to simplify testing.
7. After performing the DB Download, verify that DCI READY appears in the SMDH
Equipment Information display for the FBM. If it does, then the client is connected
to the server and the point should update in FoxView.
If the Equipment Information display indicates OPC Server Machine Not Con-
nected, you must troubleshoot the Ethernet link between the FBM and the server.
Ping the FBM from the server side. Check the port configuration XML file and verify
that it contains the proper IP addresses for the server and the FBM.
If the Equipment Information display indicates OPC Server NOT Connected, verify
the CLSID in the port configuration XML file. Occasionally, an inadvertent character
can be copied to the CLSID field in the FDSI Configurator. Note also that both curly
50
4. Diagnostics and Troubleshooting B0700BH – Rev B
brace characters { } that bracket the CLSID string must be included as part of the
CLSID entry in the FDSI Configurator.
8. Put the ECB201 on-line. Both the ECB200/202 and the ECB201 should be NOT
FAILED.
9. Check the test DCI block with FoxView to verify the point connection. If the block is
cyan, double-check the syntax of the tag name. Make sure the tag exists in the server.
10. Use the Diagnostic Client/Browser utility to troubleshoot if there are problems.
51
B0700BH – Rev B 4. Diagnostics and Troubleshooting
Another important area to check is the ECB200/202 configuration of the port configuration
XML file and the OPC driver file names. It’s entirely possible to get the two file names mixed up
when configuring ECB200/202. FILEID must be set to the name of the port configuration XML
file, and SFILID must be set to OPC.ziph. When the opposite names are configured, the FBM
does not operate properly. There is no validation of these filenames performed by either the con-
trol station or the I/A Series configurator.
Another common configuration mistake is the transposition of the contents of the DVOPTS and
the FILEID fields in an ECB201. The ECB201 may be initially configured with NOXML in the
DVOPTS field. However, the final configuration requires the use of a device config XML file for
the ECB201. The user inadvertently replaces “NOXML” in DVOPTS with the XML filename
and the FILEID parameter remains blank. The correct procedure is to delete “NOXML” from
DVOPTS; Enter the XML file name in FILEID; Click “Done”; Perform a Delete/Undelete on
the ECB201.
The table below describes some common problems, possible causes, and corrective actions you
can take.
52
4. Diagnostics and Troubleshooting B0700BH – Rev B
53
B0700BH – Rev B 4. Diagnostics and Troubleshooting
33 Commercial Street
Foxboro, Massachusetts 02035-2099
United States of America
www.foxboro.com
Inside U.S.: 1-866-746-6477
Outside U.S.: 1-508-549-2424 or contact your local Foxboro representative.
Facsimile: 1-508-549-4999
Printed in U.S.A. 1204