Documente Academic
Documente Profesional
Documente Cultură
Series
Version 2.4.2.x
iii
OSIsoft, LLC
1600 Alvarado Street
San Leandro, CA 94577 USA
Tel: (01) 510-297-5800
Fax: (01) 510-357-8136
Web: http://www.osisoft.com
OSIsoft, the OSIsoft logo and logotype, Managed PI, OSIsoft Advanced Services, OSIsoft Cloud Services, OSIsoft Connected
Services, PI ACE, PI Advanced Computing Engine, PI AF SDK, PI API, PI Asset Framework, PI Audit Viewer, PI Builder, PI Cloud
Connect, PI Connectors, PI Coresight, PI Data Archive, PI DataLink, PI DataLink Server, PI Developer's Club, PI Integrator for
Business Analytics, PI Interfaces, PI JDBC driver, PI Manual Logger, PI Notifications, PI ODBC, PI OLEDB Enterprise, PI OLEDB
Provider, PI OPC HDA Server, PI ProcessBook, PI SDK, PI Server, PI Square, PI System, PI System Access, PI Visualization
Suite, PI Web API, PI WebParts, PI Web Services, RLINK and RtReports are all trademarks of OSIsoft, LLC.
All other trademarks or trade names used herein are the property of their respective owners.
The “PI Interface for Foxboro I/A 51 Series” and the “PI Interface for Foxboro I/A 70 Series”
(fxbais) provide for the bi-directional transfer of data between OSIsoft’s PI Data Archive and
Foxboro’s I/A Series system. Foxboro’s I/A Series systems run on either Solaris (51 Series
I/A 6.x or later) or Windows (70 Series I/A 8.2 or later) computers.
This manual only includes instructions for the Windows based “PI Interface for Foxboro I/A
70 Series”. Details on the installation of the Solaris build of the fxbais interface can be found
in the manual that ships with the Solaris interface.
The interface uses either the FoxAPI or the AIM*API to communicate with the I/A system.
The interface must run directly on a Foxboro I/A AP or AW machine, where either the
FoxAPI or the AIM*API software installed. It is compatible with “Secure” I/A systems as
well as standard I/A. The fxbais interface does not support networked access to the FoxAPI
or AIM*API (The FoxAPI/AIM*API running on a machine that is NOT part of the I/A
system configuration).
As of I/A 8.8, the FoxAPI is no longer available and is replaced by the AIM*API. These
APIs have the same functionality and are source code compatible, but require different
executables. The interface setup kit for Windows includes executables for both FoxAPI and
AIM*API, and the required executables are selected during the installation. The configuration
of the interface and the PI points are the same for both the FoxAPI and AIM*API.
For Foxboro I/A systems prior to I/A 8.2, the older release of the fxbais interface 2.3.8.66
using the FoxAPI is required. For more details, refer to the Vendor Software Required section
below.
Note: The value of [PIHOME] variable for the 32-bit interface will depend on whether the
interface is being installed on a 32-bit operating system (C:\Program Files\PIPC) or
a 64-bit operating system (C:\Program Files (x86)\PIPC).
The value of [PIHOME64] variable for a 64-bit interface will be C:\Program Files\PIPC on
the 64-bit operating system.
In this documentation [PIHOME] will be used to represent the value for either [PIHOME]
or [PIHOME64]. The value of [PIHOME] is the directory which is the common location for
PI client applications.
Note: This interface has been built against a UniInt version (4.5.0.59 and later)
which now writes all its messages to the local PI Message log.
Please see the document UniInt Interface Message Logging for UniInt 4.5.0.x and
later Interfaces in the %PIHOME%\Interfaces\UniInt directory for more details
on how to access these messages.
Note: OSIsoft is revising product documentation and other literature to reflect the
evolution of the PI Server from a single server to a multi-server architecture.
Specifically, the original historian core of the PI Server is now referred to as the
PI Data Archive.
Originally, the PI Server was a single server that contained the PI Data Archive and other
subsystems. To add features and improve scalability, the PI Server has evolved from a single
server to multiple servers. While the PI Data Archive remains a core server of the PI Server
product, the product name “PI Server” now refers to much more than the PI Data Archive.
OSIsoft documentation, including this user manual, is changing to use “PI Server” in this
broader sense and “PI Data Archive” to refer to the historian core.
Reference Manuals
OSIsoft
PI Data Archive manuals
PI API Installation Instructions manual
(%PIHOME%\bin\API_install.doc)
PI Universal Interface (UniInt) User Guide
(%PIHOME%\Interfaces\UniInt\UniInt Interface User Manual.pdf)
UniInt Interface Message Logging for UniInt 4.5.0.x and later Interfaces
(%PIHOME%\Interfaces\UniInt\UniInt Interface Message Logging.pdf)
PI Interface Configuration Utility User Guide
(%PIHOME%\ICU\PI Interface Configuration Utility.pdf)
Foxboro
Foxboro I/A Series documentation
I/A Series FoxAPI Installation Guide (B0193UC)
I/A Series FoxAPI User’s Guide (B0193UD)
AIM*AT Installation Guide(B0193YM)
I/A Series AIM*API User’s Guide (B0193YN)
2
Supported Operating Systems
Platforms 32-bit application 64-bit application
32-bit OS No No
Windows Vista
64-bit OS No (Emulation Mode) No
Windows 2008 32-bit OS No No
Windows 2008 R2 64-bit OS Yes (Emulation Mode) No
32-bit OS Yes No
Windows 7
64-bit OS Yes (Emulation Mode) No
Windows 8 and 8.1 32-bit OS Yes No
64-bit OS Yes (Emulation Mode) No
Windows 2012 Server 64-bit OS Yes (Emulation Mode) No
Security Note: We recommend installing all available updates from Windows Update
service. We recommend the newest versions of Windows for latest security features.
Supported Features
Feature Support
Interface Part Number PI-IN-FX-IA-NTI
Auto Creates PI Points No
Point Builder Utility No
ICU Control Yes
PI Point Types float16 / float 32 / float 64 / int16 / int32 / digital /
string
Sub-second Timestamps Yes
*Sub-second Scan Classes Yes (but of limited use. See note below)
Automatically Incorporates PI Point Yes
Attribute Changes
Exception Reporting Yes
Inputs to PI Data Archive Scan-based/Event Tags
Outputs to data source Yes
* Read-only interface available Yes
Supports Questionable Bit Yes
Supports Multi-character PointSource Yes
Maximum Point Count Unlimited for the FoxAPI
30,000 buffered points for the AIM*API
* Uses PI SDK No
PINet String Support No
* Source of Timestamps Synchronized to the PI Data Archive
Feature Support
History Recovery No
* UniInt-based Yes
* Disconnected Startup Yes
* SetDeviceStatus Yes
* Failover Interface specific
* Vendor Software Required on Yes
Interface Node / PINet Node
Vendor Software Required on Data No
Source Device
Vendor Hardware Required No
Additional PI Software Included with No
interface
*Device Point Types See below
Serial-Based interface No
Uses PI SDK
The PI SDK and the PI API are bundled together and must be installed on each interface
node. This interface does not specifically make PI SDK calls.
Source of Timestamps
The time on the PI Data Archive is treated as the master clock when time-stamping values
received by the interface. The timestamp is calculated by using the current time on the
4
interface node and applying an offset calculated from the different in the interface node time
and the time on the PI Data Archive.
Because the Foxboro I/A series workstation may have its time zone set to GMT and its clock
set to wall clock time, the time as indicated internally on this machine is technically incorrect.
Therefore, PI Foxboro uses the PI API to determine the PI Data Archive’s local time. The
Interface then applies an additional time offset to obtain the correct Coordinated Universal
Time (UTC). This offset is recalculated every 10 minutes.
UniInt-based
UniInt stands for Universal Interface. UniInt is not a separate product or file; it is an
OSIsoft-developed template used by developers and is integrated into many interfaces,
including this interface. The purpose of UniInt is to keep a consistent feature set and behavior
across as many of OSIsoft’s interfaces as possible. It also allows for the very rapid
development of new interfaces. In any UniInt-based interface, the interface uses some of the
UniInt-supplied configuration parameters and some interface-specific parameters. UniInt is
constantly being upgraded with new options and features.
The PI Universal Interface (UniInt) User Guide is a supplement to this manual.
Disconnected Start-Up
The fxbais interface is built with a version of UniInt that supports disconnected start-up.
Disconnected start-up is the ability to start the interface without a connection to the
PI Data Archive. This functionality is enabled by adding /cachemode to the list of start-up
parameters or by enabling disconnected startup using the ICU. Refer to the PI Universal
Interface (UniInt) User Guide for more details on UniInt disconnected startup.
SetDeviceStatus
Functionality has been added to UniInt 4.3.0.15 and later to support health tags. The PI
Foxboro I/A interface is built against a version of UniInt that supports the health tags.
The Health tag with a string point type and the attribute Exdesc = [UI_DEVSTAT], is used to
represent the status of the interface. The possible values for this string point are:
“1 | Starting” – The Interface remains in this state until it has loaded the PI points
and either starts scanning, or if running in failover, it initializes the failover state.
“2 | Connected/No Data” – the interface is part of a failover pair and currently
initializing or changing failover state.
“Good” – The interface is able to collect data. A value of “Good” does not mean
that all tags are receiving good values, but it is a good indication that there are no
hardware or network problems. When using failover, a “Good” status can
indicate that the interface is active or on standby. The failover status PI points
will show the status of the individual instances of the interface.
“4 | Intf Shutdown” – The Interface has shut down.
The Interface updates this point whenever the interface is started or stopped.
Failover
The user may simultaneously run two copies of PI Foxboro in a failover configuration. In this
manner, if one copy of the Interface fails, the other automatically assumes responsibility for
data collection. See the Failover section of this manual for details.
Note: The failover mechanism used by the interface is specific to the PI Interface for
Foxboro I/A (fxbais) interface. The interface does not support the UniInt-based
failover. –UFO_ID= is not supported.
6
PI Interface for Foxboro I/A 70 Series 7
Introduction
8
Chapter 2. Principles of Operation
The following description of the PI Foxboro Interface assumes that the user is familiar with
running OSIsoft interface programs in general. First-time users of the PI System may wish to
skim this section and return at a later time.
Overview
Upon startup, PI Foxboro reads the PI point database and determines which PI points it
services by looking at the Point Source and Location1 point attribute fields. The
InstrumentTag field should contain the name of the Foxboro I/A object. Otherwise, the
Extended Descriptor must have the name of the Foxboro I/A object.
PI Foxboro makes calls to FoxAPI functions in order to retrieve data from the I/A system.
The Location2 value determines whether the Interface utilizes unbuffered or buffered FoxAPI
access routines. Values written from PI to the I/A are also via either buffered or unbuffered
FoxAPI function calls.
Buffered Access
Buffered access involves reading from or writing to I/A object values in the I/A shared
memory. The interface uses the FoxAPI scopen() function to open the lists. When opening
the lists of buffered objects, the interface uses the value from the ExcDev attribute of the PI
points as the “delta” value within the FoxAPI data sets. When the Foxboro system sees that
an object has changed by more that the “delta” value, then it updates the value in the I/A
shared memory. When the interface reads a buffered value using the FoxAPI mreaidx()
function, it is actually reading from the I/A shared memory.
Unbuffered Access
Unbuffered access involves the FoxAPI broadcasting a message across the I/A system to
locate the objects requested and waiting until it receives a reply or times out. This generates a
lot of network traffic and CPU loading on the I/A system. Another problem with unbuffered
access is caused when the station hosting an unbuffered object is not available (offline,
network problem etc), then the interface must wait for the FoxAPI call to timeout. During this
timeout period, the interface is not able to do anything else, and this can cause gaps in the
scanning of the other points within the interface. For this reason, unbuffered access should be
avoided if possible. Unfortunately, some I/A objects can only be accessed with unbuffered
calls. These include all string objects. Care should be taken when using unbuffered access.
Object Status
When the interface receives a value from the I/A system, it also gets status information. The
interface examines the status to determine whether the value is valid. By default, the interface
can send either “Bad Input” or “I/O Timeout” when the object to the PI point depending on
the object status.
“I/O Timeout” is sent when the status indicated that the object is not being scanned. (i.e. no
response, disconnected, deleted etc). The connection status are bits 5 to 7 of the status.
“Bad Input” is sent when the object is bad (status bit 8) or out-of-service (status bit 11).
The system digital states sent can be changed using the –doubtful= and –no_connect=
command-line arguments.
For more information of the I/A object manager status information returned with the values,
see “Appendix F: FoxAPI/AIM*API Status Definition”. It is also possible to store the status
itself in a PI point by setting Location3=0. Note that the object status is not the same as a
block status. The block status can be read by configuring a point to read the .BLKSTA
parameter.
The interface can also be configured to ignore the object status and to always send the value
to PI. This can be configured for all points with the BadStatusIndication parameter in the
fxbais.ini file, or on a point-by-point basis with the userint1 point attribute. For more
information on the BadStatusIndication parameter, see the section on the fxbais.ini
Configuration File.
Outputs
Outputs from the PI System to the Foxboro I/A are performed via OSIsoft’s standard event-
based mechanism. That is, when the Interface determines that a PI point has received a new
10
value, it sends this value to the corresponding I/A object. Similar to the inputs, outputs can be
either buffered or unbuffered. When an object is in a write list, the object is secured and only
the interface will be able to write to that object. For speed and reliability, buffered outputs are
recommended.
However, care must be taken when configuring buffered output points. The parameter that
the interface is writing to must not be an output parameter from a block, or a parameter that
can be secured by the block. The parameters accessibility must be connectable and settable
and with no configured connections. For example, the OUT parameter from a PID cannot be
used. Similarly, the SPT parameter of a PID block cannot be used because it can be secured
when the PID controller is put into remote. However, the RI0x parameter of a CALC block
with no configured connections can be safely used.
There are limitations with writing values to I/A objects with buffered lists. It is not possible to
use buffered lists to write to any output parameters of I/A blocks. This includes the VALUE
parameter of I/A variable block types (BOOL, LONG, PACK, REAL, STRING etc.). They
can be read with buffered lists, but they cannot be written to with buffered lists. The interface
may hang when attempting to open write lists that contain output parameters (even when the
blocks are in manual and the I/A system is not securing the outputs). The unbuffered writes
do not have the same problems, but any unbuffered access have other problems. When
writing values to the I/A system, it is advisable to use buffered lists (location2>0) to write to
the input parameters of blocks.
If you are familiar with running PI data collection interface programs, this checklist helps you
get the interface running. If you are not familiar with PI interfaces, return to this section after
reading the rest of the manual in detail.
This checklist summarizes the steps for installing this interface. You need not perform a
given task if you have already done so as part of the installation of another interface. For
example, you only have to configure one instance of Buffering for every interface node
regardless of how many interfaces run on that node.
The Data Collection Steps below are required. Interface Diagnostics and Advanced Interface
Features are optional.
8. Build input points and, if desired, output points for this interface. Important point
attributes and their purposes are:
Location1 specifies the interface instance ID multiplied by 100.
Location2 is the PI list number for buffered access to I/A objects. Zero for
unbuffered points
Location3 is the data type of the I/A object. A positive value indicates input
(from I/A to PI) and a negative value indicates an output (from PI to
I/A). Zero indicates that the FoxAPI/AIM*API object status will be
store instead of the object value.
Location4 specifies the scan class.
Location5 is normally zero, but when non-zero makes the interface write the
FoxAPI/AIM*API list change count to the PI point.
ExDev specifies the delta that the value must change be before the CP will
notify the FoxAPI/AIM*API of the change. Care must be taken
when using ExcDev=0 as this can overload an I/A system.
ExDesc can specify the Foxboro I/A object or various other special
operations.
InstrumentTag specifies the Foxboro I/A object
PtSecurity must permit read access for the PI identity, group, or user configured in
the PI trust that is used by the interface.
DataSecurity must permit read access (buffering enabled) or read/write access
(unbuffered) for the PI identity, group, or user configured in the PI trust that is used
by the interface.
Security Note: When buffering is configured, the DataSecurity attribute must permit write
access for the buffering application’s PI trust or mapping. DataSecurity write permission for
the interface’s PI trust is required only when buffering is not configured.
9. Start the interface interactively and confirm its successful connection to the
PI Data Archive without buffering. (The DataSecurity attribute for interface points
must permit write access for the interface’s PI trust.)
10. Confirm that the interface collects data successfully.
11. If the messages “open_action: not found” or “clsset_action: not found” are output,
then refer to the section “Warnings ‘open_action: not found’ and ‘clsset_action : not
found’”
12. If output points are required, confirm that output points update the correct values in
the data source. Create an output point whitelist file for the interface instance.
13. Stop the interface and configure a buffering application (either Bufserv or PIBufss).
14. Start the buffering application and the interface. Confirm that the interface works
together with the buffering application by physically removing the connection
between the interface node and the PI Data Archive node. (The DataSecurity attribute
for interface points must permit write access for the buffering application’s PI trust or
mapping. The interface’s PI trust does not require DataSecurity write permission.)
15. Configure the interface to run as a Windows service. Confirm that the interface runs
properly as a service.
16. Restart the interface node and confirm that the interface and the buffering application
restart.
14
Interface Diagnostics
1. Configure Scan Class Performance points.
2. Install the PI Interface for Performance Monitor (Full Version only) on the interface
node.
3. Configure performance counter points.
4. Configure UniInt Health Monitoring points
5. Configure the I/O Rate point.
6. Install and configure the Interface Status Utility on the PI Data Archive node.
7. Configure the Interface Status point.
OSIsoft recommends that interfaces be installed on interface nodes instead of directly on the
PI Data Archive node. An interface node is any node other than the PI Data Archive node
where the PI Application Programming Interface (PI API) is installed (see the
PI API manual). With this approach, the PI Data Archive need not compete with interfaces
for the machine’s resources. The primary function of the PI Data Archive is to archive data
and to service clients that request data.
After the interface has been installed and tested, buffering should be enabled on the interface
node. Buffering refers to either PI API Buffer Server (Bufserv) or the PI Buffer Subsystem
(PIBufss). For more information about buffering see the Buffering for PI Interfaces chapter of
this manual.
In most cases, interfaces on interface nodes should be installed as automatic services.
Services keep running after the user logs off. Automatic services automatically restart when
the computer is restarted, which is useful in the event of a power failure.
Interface Directories
32-bit Interfaces
The [PIHOME] directory tree is defined by the PIHOME entry in the pipc.ini configuration
file. This pipc.ini file is an ASCII text file, which is located in the %windir% directory.
For 32-bit operating systems, a typical pipc.ini file contains the following lines:
[PIPC]
PIHOME=C:\Program Files\PIPC
For 64-bit operating systems, a typical pipc.ini file contains the following lines:
[PIPC]
PIHOME=C:\Program Files (X86)\PIPC
The above lines define the root of the PIHOME directory on the C: drive. The PIHOME
directory does not need to be on the C: drive. OSIsoft recommends using the paths shown
above as the root PIHOME directory name.
Security Note: Restrict the Windows accounts that can create or write files in
the %PIHOME% folder and subfolders.
The installation kit for the read/write version will automatically install the interface to:
PIHOME\Interfaces\fxbais\
PIHOME is defined in the pipc.ini file.
The installation kit for the read-only version of the interface installs the interface to:
PIHOME\Interfaces\fxbais_ReadOnly
A read-only version of this interface is available. Read-only versions cannot update the data
source (that is, control system). If outputs to the data source are not needed, use the read-only
version of the interface.
Security Note: A read-only interface provides the best defense against accidental or
malicious changes to the control system.
18
Note: The FoxAPI Release Notes (B0193UH) refers to “Special Instructions for Existing
OSI PI Applications”. These notes only apply to fxbais 2.2.5 or earlier and are not
relevant for the current release of the fxbais interface.
The FoxAPI entry in the Windows Control Panel can be selected to allow the FoxAPI to start
on a reboot and to manually start or stop the FoxAPI process.
As of I/A 8.8, the AIM*API is installed by default in the D:\opt\aim\bin directory. The
AIM*API process (apimgr.exe) is installed as a Windows service called the Aim API
Manager Service. It can be started and stopped with the Windows Services control panel.
The FoxAPI/AIM*API applet in the Windows Control Panel can be selected to allow the
FoxAPI/AIM*API to start on a reboot and to manually start or stop the FoxAPI process.
Foxboro recommend using the current release of the FoxAPI/AIM*API, so check with
Foxboro to ensure that the version on the system is up to date.
As of I/A 8.8, the AIM*API is installed by default in the D:\opt\aim\bin directory. The
AIM*API process (apimgr.exe) is installed as a Windows service called the Aim API
Manager Service. It can be started and stopped with the Windows Services control panel.
The AIM*API applet in the Control Panel is not required as the AIM*API services can be
controlled with the Windows Services control panel.
For details on installing the AIM*API software, refer to the Foxboro manual “AIM*AT
Installation Guide” B0193YM.
20
7. Run the “Interface Configuration Utility (ICU)” install kit. The ICU install kit will
also install the PI SDK, the PI API and the pibufss components.
During the installation, it will ask for a destination folder. It is recommended that
“D:\PIPC” be used. For the PI Data Archive name, the FQDN is recommended.
8. Once the ICU and its components are installed, the connection to the PI Data Archive
should be verified. Using the “About-SDK” utility, test the connection to the PI Data
Archive.
9. Run the fxbais_#.#.#.#.exe install kit to install the interface and the fxbais ICU
control. The install kit will prompt to select the feature to install. Select either the
FoxAPI or the AIM*API, depending on the requirements.
10. Enable the I/A software by selecting the Control Panel > Foxboro I/A > I/A Series
On / Autologon and reboot the station.
Once the interface and its required packages and installed then the interface can be
configured and set up as a service using either the ICU or manually.
Service Configuration
Service name
The Service name box shows the name of the current interface service. This service name is
obtained from the interface executable.
22
ID
This is the service ID used to distinguish multiple instances of the same interface using the
same executable.
Display name
The Display name text box shows the current Display Name of the interface service. If there
is currently no service for the selected interface, the default Display Name is the service name
with a “PI-” prefix. Users may specify a different Display Name. OSIsoft suggests that the
prefix “PI-” be appended to the beginning of the interface name to indicate that the service is
part of the OSIsoft suite of products.
Log on as
The Log on as box shows the current “Log on as” Windows account of the interface service.
If the service is configured to use the Local System account, the Log on as will have selected
“LocalSystem.” Users may specify a different Windows account for the service to use.
Security Note: For best security, we recommend running this interface service
under an account with minimum privileges, such as a Windows built-in service virtual
account, the built-in Network Service account, or a non administrative account that
you create.
PI ICU versions earlier than 1.4.14.x cannot create a service that runs as a Windows built-in
service virtual account or the built-in Network Service or Local Service accounts. After ICU
creates the interface service, you can change the account with a Windows administrative tool,
such as Services on the Control Panel or the sc command-line utility.
Password
If a Windows User account is entered in the Log on as text box, then a password must be
provided in the Password text box, unless the account requires no password.
Confirm password
If a password is entered in the Password text box, then it must be confirmed in the Confirm
password text box.
Dependencies
The Installed services list is a list of the services currently installed on this machine. Services
upon which this interface is dependent should be moved into the Dependencies list using the
button. For example, if API Buffering is enabled, then Bufserv or PIBufss should be
selected from the list at the right and added to the list on the left. To remove a service from
the list of dependencies, use the button, and the service name will be removed from
the Dependencies list.
When the interface is started (as a service), the services listed in the dependency list will be
verified as running (or an attempt will be made to start them). If the dependent service(s)
cannot be started for any reason, then the interface service will not run.
Note: Please see the PI Log and Windows Event Logger for messages that may
indicate the cause for any service not running as expected.
- Add Button
To add a dependency from the list of Installed services, select the dependency name, and
click the Add button.
- Remove Button
To remove a selected dependency, select the service name in the Dependencies list, and click
the Remove button.
The full name of the service selected in the Installed services list is displayed below the
Installed services list box.
Startup Type
The Startup Type indicates whether the interface service will start automatically or needs to
be started manually on reboot.
If the Auto option is selected, the service will be installed to start automatically when
the machine reboots.
If the Manual option is selected, the interface service will not start on reboot, but will
require someone to manually start the service.
If the Disabled option is selected, the service will not start at all.
Generally, interface services are set to start automatically.
Create
The Create button adds the displayed service with the specified Dependencies and with the
specified Startup Type.
Remove
The Remove button removes the displayed service. If the service is not currently installed, or
if the service is currently running, this button will be grayed out.
24
Start or Stop Service
The toolbar contains a Start button and a Stop button . If this interface service is not
currently installed, these buttons will remain grayed out until the service is added. If this
interface service is running, the Stop button is available. If this service is not running, the
Start button is available.
The status of the interface service is indicated in the lower portion of the PI ICU dialog.
Status of the
Status of Interface Service
the ICU Service installed or
uninstalled
Uninstall
Use the Windows Control Panel “Add or Remove Programs” or “Programs and Features” to
uninstall the “PI Interface for Foxboro IA (fxbais)” program. Do not uninstall any of the other
OSIsoft programs. The uninstall will remove the interface files from the system, but the site
specific .bat files will remain.
Run the fxbais_x.x.x.x_.exe installation kit. The interface will be marked for installation.
Follow the install prompts and selected the required API type when requested.
Change / Modify
Open the Windows Control Panel “Add or Remove Programs” or “Programs and
Features”.
Right click on the “PI Interface for Foxboro I/A 70 Series” program, and select
“Change” from the context menu.
Select Modify and Next. The setup program will then prompt for required API type.
Select the required API type, then Next and Install.
The installation will replace the existing interface files with the ones required for the selected
API. The site specific .bat files will remain unchanged.
Note: In the following Windows service installation commands you may use either a
slash (/) or dash (-) as the delimiter.
*Automatic service with fxbais.exe /s27ervicedX /install /auto /depend "“cpip bufserv"”
service ID
Windows Service Installation Commands on an Interface Node or a PI Data Archive Node
without Bufserv implemented
Manual service fxbais.exe /install /depend tcpip
Automatic service fxbais.exe /install /auto /depend tcpip
*Automatic service with fxbais.exe /s27ervicedX /install /auto /depend tcpip
service ID
*When specifying service ID, the user must include an ID number. It is suggested that this
number correspond to the interface ID (/id) parameter found in the interface .bat file.
Check the Microsoft Windows Services control panel to verify that the service was added
successfully. The services control panel can be used at any time to change the interface from
an automatic service to a manual service or vice versa.
The service installation commands in this section create an interface service that runs under a
low-privilege built-in account. On Windows 7 and Server 2012 and later, the service logs on
as the service virtual account. For earlier versions of Windows, the service logs on as
Network Service.
Security Note: For best security, we recommend running this interface service
under an account with minimum privileges, such as a Windows service virtual
account, the built-in Network Service account, or a non administrative account that
you create.
As discussed earlier, following the recommendation to run the interface service under a low-
privilege account may affect performance counters.
The services control panel can change the account that the interface service runs under.
Changing the account while the interface service is running does not take effect until the
interface service is restarted.
28
Chapter 5. FoxAPI/AIM*API Test Program
The PI Interface for Foxboro I/A (fxbais) relies on the services provided by the FoxAPI or the
AIM*API. To verify that the FoxAPI/AIM*API is currently functional, use the utilities
supplied by Foxboro.
For the FoxAPI, the utility is called foxtst. Use a command such as
D:\opt\fox\ais\bin\foxtst.exe
For the AIM*API, the utility is called apitst. Use a command such as
D:\opt\aim\bin\foxtst.exe
The actual directories vary depending on the location that the FoxAPI/AIM*API was
installed.
Because the foxtst/apitst programs and fxbais interface both use the same underlying
FoxAPI/AIM*API functions, foxtst/apitst provides an easy way to verify values that are
read by the fxbais interface and subsequently sent to PI Data Archive. Similarly, if
foxtst/apitst programs experience problems with reading a particular I/A object, then
the fxbais interface will likewise have difficulties.
For example, to use the FoxAPI uread() function to read the current value for the I/A object
CMPD:BLKA.BI0004, do the following (inputs are in bold below):
D:\opt\fox\ais\bin\foxtst.exe
Foxboro Fox API Test Program
Menu (1) Fox API Test Program Hostid = 80fe6962 System Type
= 51
function[ 0]: 40
num entries [ 1 ]:
reterr = 0 – ( Success )
The interface uses mreaidx() to read the values for buffered inputs. Therefore, using
getidx() and mreaidx() within foxtst/apitst is the recommended method of
checking points that do not appear to be updating correctly within the PI Data Archive.
Here is example that finds the indexes of 3 objects (MEAS, SPT and OUT of a PIDE block),
and then reads the buffered values for the C:B.Ps from the data sets. The fxbais interface is
running (so the objects will be in the data sets) :
D:\opt\aim\bin\apitst
30
3-Echo On/Off 15-Historian 600 -–Menu 6) Historian
4-Save Settings 16-AIM*Historian 700 -–Menu 7) AIM*Historian
5-an_error 17-Counters 800 -–Menu 8) Counters
18-Trouble Shooting 900 -–Menu 9) Trouble Shooting
19-OM 1000-(Menu 10) OM Functions
1100-(Menu 11) Old Functions
1300-(Menu 13) t_Objects
1400-(Menu 14) t_CDX
function[ 0]: 30
---- getidx ----
name index
---- -----
PITEST88_01:LC001_CTRL.MEAS 1
<<snipped>>
function[ 30]: 30
---- getidx ----
name index
---- -----
PITEST88_01:LC001_CTRL.SPT 7
<<snipped>>
function[ 30]: 30
---- getidx ----
name index
---- -----
PITEST88_01:LC001_CTRL.OUT 3
<<snipped>>
function[ 30]: 33
----mreaidx ----
index [ 1 ]: 1
end of indexes? [ N ]:
index [ 1 ]: 7
end of indexes? [ N ]:
index [ 7 ]: 3
end of indexes? [ N ]: Y
<<snipped>>
function[ 33]:
32
Chapter 6. Digital States
For more information regarding Digital States, refer to the PI Data Archive documentation.
The PointSource is a unique, single or multi-character string that is used to identify the PI
point as a point that belongs to a particular interface. For example, the string Boiler1 may be
used to identify points that belong to the MyInt interface. To implement this, the PointSource
attribute would be set to Boiler1 for every PI point that is configured for the MyInt
interface. Then, if /ps=Boiler1 is used on the startup command-line of the MyInt interface,
the interface will search the PI Point Database upon startup for every PI point that is
configured with a PointSource of Boiler1. Before an interface loads a point, the interface
usually performs further checks by examining additional PI point attributes to determine
whether a particular point is valid for the interface. For additional information, see the /ps
parameter. If the PI API version being used is earlier than 1.6.x or the PI Data Archive
version is earlier than 3.4.370.x, the PointSource is limited to a single character unless the
SDK is being used.
Note: Do not use a point source character that is already associated with another
interface program. However it is acceptable to use the same point source for multiple
instances of an interface.
The PI point is the basic building block for controlling data flow to and from the
PI Data Archive. A single point is configured for each measurement value that needs to be
archived.
If outputs to the data source device (control system) are not needed, configure the interface
instance to disable outputs from PI.
Point Attributes
Use the point attributes below to define the PI point configuration for the interface, including
specifically what data to transfer.
This document does not discuss the attributes that configure UniInt or PI Data Archive
processing for a PI point. Specifically, UniInt provides exception reporting and the
PI Data Archive or PIBufss provides data compression. Exception reporting and compression
are very important aspects of data collection and archiving, which are not discussed in this
document.
Note: See the PI Universal Interface (UniInt) User Guide and PI Data Archive
documentation for information on other attributes that are significant to PI point data
collection and archiving.
Tag
The Tag attribute (or tag name) is the name for a point. There is a one-to-one correspondence
between the name of a point and the point itself. Because of this relationship, PI System
documentation uses the terms “tag” and “point” interchangeably.
Follow these rules for naming PI points:
The name must be unique in the PI Data Archive.
The first character must be alphanumeric, the underscore (_), or the percent sign (%).
Control characters such as linefeeds or tabs are illegal.
The following characters also are illegal: * ’ ? ; { } [ ] | \ ` '‘"”
Length
Depending on the version of the PI API and the PI Data Archive, this interface supports Tag
attributes whose length is at most 255 or 1023 characters. The following table indicates the
maximum length of this attribute for all the different combinations of PI API and
PI Data Archive versions.
PI API PI Data Archive Maximum Length
1.6.0.2 or later 3.4.370.x or later 1023
1.6.0.2 or later Earlier than 3.4.370.x 255
Earlier than 1.6.0.2 3.4.370.x or later 255
Earlier than 1.6.0.2 Earlier than 3.4.370.x 255
If the PI Data Archive version is earlier than 3.4.370.x or the PI API version is earlier than
1.6.0.2, and you want to use a maximum Tag length of 1023, you need to enable the PI SDK.
See Appendix B. PI SDK Options for information.
PointSource
The PointSource attribute contains a unique, single or multi-character string that is used to
identify the PI point as a point that belongs to a particular interface. For additional
information, see the /ps command-line parameter and the PointSource chapter.
PointType
Typically, device point types do not need to correspond to PI point types. For example,
integer values from a device can be sent to floating-point or digital PI points. Similarly, a
floating-point value from the device can be sent to integer or digital PI points, although the
values will be truncated.
Float16, float32, float64, int16, int32, digital, string point types are supported. For more
information on the individual point types, see the PI Data Archive manuals.
Location1
Location2
The Location2 attribute determines whether the Interface adds the point to a FoxAPI data set
and retrieves “buffered” values from the FoxAPI. Buffered values are those updated by the
FoxAPI in the system-shared memory. Unbuffered access to I/A objects makes requests to
the Foxboro CP for each data retrieval call. OSIsoft recommends the use of buffered access to
reduce the load on the Foxboro system.
38
The value of Location2 is the PI list number. Set the value of Location2 to a positive
number to indicate that PI Foxboro should use buffered access to retrieve I/A data. For tags
with a common value of Location2, the Interface groups these tags into a list for use with the
FoxAPI scopen() call. This FoxAPI function returns a unique data set number, which may
be different than the Location2 value.
Tags for read values must be in a PI list that is separate from those tags for write values. To
help optimize the network traffic it is helpful to group tags referencing I/A objects from
different Foxboro CP modules into different PI lists.
Some customers have experienced performance problems when there are many (~250) tags in
a PI List. OSIsoft recommends keeping the size of a PI List within this number. However,
large numbers of small lists will take the interface a long time to open, so a compromise is
needed.
To indicate that the Interface should use unbuffered access to I/A objects, set Location2 to 0.
Access to I/A string data is always unbuffered. The interface will reject PI tags that are
configured for buffered access (Location2<>0) which have an I/A string data type
(Location3=4 or -4).
In summary,
I/A Data Access Method Location2
Unbuffered 0 (see note below)
Buffered >0 (PI list number)
Note: Using unbuffered access can negatively impact the performance of the interface,
and should be used sparingly. Under normal operations, unbuffered access does not
typically cause problems. But if the unbuffered I/A objects become unavailable (station
rebooted, network problems, etc), when the interface attempts to access those objects, it
will stop scanning the other tags until the FoxAPI calls time out. This will make the
interface ‘flat line’ during this period. To minimize the impact of this, the interface will
disable the regular scanning of any bad unbuffered tags found, but will periodically
attempt to re-read them.
Upon processing a PI list (i.e., points with a common positive Location2), the Interface enters
this list into the FoxAPI shared memory as a data set named PILISTxxLyyy. The first two
digits (xx) refer to the interface number as defined by the –id= startup parameter. The next
3 digits (yyy) refer to the Location2 number.
For example, for points with Location2 equal to 5 and processed by a copy of the Interface
running with –id=1, the FoxAPI data set named PILIST01L5 is created.
Location3
The Location3 attribute indicates the I/A data type and direction of data transfer. For the
transfer of data from the I/A to PI (input), Location3 is positive. Otherwise, it is negative.
A special case is used when Location3 equals zero (0). In this case, instead of storing the
value of the I/A object, it will use the I/A FoxAPI status. In this way, the object status can be
stored in the PI database. The status is a bit mapped integer. The definitions of the bits are
listed in Appendix E.
Examples
Location3 I/A Type Data Transfer
2 short integer I/A to PI
-3 float PI to I/A
However, regardless of the Location3 value, PI Foxboro checks with the FoxAPI to
determine the correct data type of the I/A object. The Interface writes to the PI Message Log
occurrences of point type mismatches and uses the correct type internally. The user should
then correct the value of Location3.
For output points (transfer of data from PI to the I/A), remember to configure an appropriate
output source point in the SourceTag attribute of the output PI point.
Because access to I/A string objects must use unbuffered access, the interface will reject PI
tags that are configured for buffered access (Location2<>0) which have an I/A string data
type (Location3=4 or -4).
Location4
Scan-based Inputs
For interfaces that support scan-based collection of data, Location4 defines the scan class for
the PI point. The scan class determines the frequency at which input points are scanned for
new values. For more information, see the description of the /f parameter in the Startup
Command File chapter.
Location5
40
InstrumentTag
This sets the Foxboro tag name (also called the I/A object or C:B.P) to be accessed for
reading/writing from/to the I/A. It may contain up to 32 characters in the
compound:block.parameter (C:B.P) or alias formats. The full Foxboro name with the proper
case must be used.
If this field is empty, the ExDesc attribute (see below) determines the I/A object. If both the
InstrumentTag and ExDesc attributes contain an I/A object, then PI Foxboro uses the I/A
object specified in the InstrumentTag.
Length
Depending on the version of the PI API and the PI Data Archive, this interface supports an
InstrumentTag attribute whose length is at most 32 or 1023 characters. The following table
indicates the maximum length of this attribute for all the different combinations of PI API
and PI Data Archive versions.
PI API PI Data Archive Maximum Length
1.6.0.2 or later 3.4.370.x or later 1023
1.6.0.2 or later Earlier than 3.4.370.x 32
Earlier than 1.6.0.2 3.4.370.x or later 32
Earlier than 1.6.0.2 Earlier than 3.4.370.x 32
If the PI Data Archive version is earlier than 3.4.370.x or the PI API version is earlier than
1.6.0.2, and you want to use a maximum InstrumentTag length of 1023, you need to enable
the PI SDK. See Appendix B. PI SDK Options for information.
ExcDev / ExcDevPercent
These attributes specify the exception deviation in engineering units. An event is sent to the
PI Data Archive if the PI point value changes by more than the exception deviation.
For buffered points (location2>0), the exception deviation is also used to specify the delta
values used with the FoxAPI for the I/A object. The I/A controllers monitor the scanned
objects, but will only send an update to the FoxAPI if the value has changed by more than the
delta value. In this way, it is possible to filter noise from signals and reduce the load between
the controller and the FoxAPI.
If the change in value exceeds the delta and the new value is sent to the FoxAPI, then the
change will also be sufficient for the new value to be sent to the PI Data Archive.
Note: An ExcDev/ExcDevPercent value of zero should be avoided as the Foxboro
system will always send an update to the I/A shared memory on every scan (by default, is
this every 0.5 seconds), regardless of whether the value has changed or not. The loading
on the I/A system caused by these unnecessary updates can cause issues.
ExDesc
This is the Extended Descriptor field. It can be used to define a number of various actions for
the point. It can define the Foxboro tag to access, define bit mapped operations on a value,
define profile points, trigger the reading of the point when another PI point changes, or it can
define points to monitor performance of the interface itself.
Length
Depending on the version of the PI API and the PI Data Archive, this interface supports an
ExDesc attribute whose length is at most 80 or 1023 characters. The following table indicates
the maximum length of this attribute for all the different combinations of PI API and
PI Data Archive versions.
PI API PI Data Archive Maximum Length
1.6.0.2 or later 3.4.370.x or later 1023
1.6.0.2 or later Earlier than 3.4.370.x 80
Earlier than 1.6.0.2 3.4.370.x or later 80
Earlier than 1.6.0.2 Earlier than 3.4.370.x 80
If the PI Data Archive version is earlier than 3.4.370.x or the PI API version is earlier than
1.6.0.2, and you want to use a maximum ExDesc length of 1023, you need to enable the PI
SDK. See Appendix B, PI SDK Options for information.
BTM= Keyword
BTM=x,y,z... is an optional field for bit masking values retrieved from I/A integer types.
The bit mask is x,y,z... where x is the bit location in the source whose value is put in the
low order bit (0) in the target. Then y is the bit location in the source whose value is put in
the next bit (1) in the target. Up to 31 bits can be put in the target and unspecified target bits
are set to 0.
To define the bit positions to be used, the interface supports using either the bit number, from
0 to 31 (0=LSB and 31=MSB) or using the Foxboro notation of B1 to B32 (B1=MSB and
B32=LSB).
MSB
LSB
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
B9
The command also supports inverting specific bits by starting the bit position with a tilde (~)
character.
An example is BTM=31,0,7,8.
42
This specification puts
bit 31 (B1) of the source to bit 0 of the target
bit 0 (B32) of the source to bit 1 of the target
bit 7 (B25) of the source to bit 2 of the target
bit 8 (BB24) of the source to bit 3 of the target
The resulting value then sent to the PI tag.
Another example is BTM=B23,B1,~B7,B8.
This specification puts
bit 9 (B23) of the source to bit 0 of the target
bit 31 (B1) of the source to bit 1 of the target
inverted bit 25 (B7) of the source to bit 2 of the target
bit 24 (B8) of the source to bit 3 of the target
The resulting value then sent to the PI tag.
PRI_BITS= Keyword
PRI_BITS=x,y,z… (priority bits) is an optional field that checks the list of specified bits and
returns the offset of the first matching bit. If there are no matching bits then it will return 0.
This can be used to convert a bitmapped status into a simple digital point.
The x,y,z bit positions are specified in the same way as the BTM bit positions above. It also
supports the inverting of bits using the tilde (~) character.
For example, to get the controller status of a PID block as a digital state, configure the PI
point as a digital that will read the .BLKSTA parameter from the block. Because BLKSTA is
a long packed Boolean, use Location3=10. Then use the following
PRI_BITS=B25,~B21,B2,B22
This will return the following states. Define a digital state set to match.
State Controller Status
0 Auto – none of the checked bits match
1 On Hold – Hold bit B25 is set
2 Manual – Manual/Auto bit is NOT set (bit is set when in auto)
3 Supervisory – Supervisory control bit B2 is set
4 Remote – Local/Remote bit B22 is set
Another example is to use the AIN ALMSTA parameter to convert the alarms into a single PI
digital point (instead of having one digital point for each possible alarm). Use the following
PRI_BITS=B10,B4,B7,B8,B15,B16,B3,B2
This will return the following state values. Define a digital state set to match.
State Alarm Status
0 No Alarms
1 Bad I/O
2 Out-of-Range
3 High-High Absolute
4 Low-Low Absolute
5 High Absolute
6 Low Absolute
7 Inhibited
8 Unacknowledged
Use the Foxboro ICC Block manuals (B0193AX) for more information on the meanings of
the bits in the various long packed 44oolean parameters available in the different block types.
Performance Points
For UniInt-based interfaces, the extended descriptor is checked for the string
“PERFORMANCE_POINT”. If this character string is found, UniInt treats this point as a
performance point. See the section called Scan Class Performance Points.
Trigger-based Inputs
For trigger-based input points, a separate trigger point must be configured. An input point is
associated with a trigger point by entering a case-insensitive string in the extended descriptor
(ExDesc) PI point attribute of the input point of the form:
keyword=trigger_tag_name
where keyword is replaced by “event” or “trig” and trigger_tag_name is replaced by the
name of the trigger point. There should be no spaces in the string. UniInt automatically
assumes that an input point is trigger-based instead of scan-based when the
keyword=trigger_tag_name string is found in the extended descriptor attribute.
An input is triggered when a new value is sent to the Snapshot of the trigger point. The new
value does not need to be different than the previous Snapshot value to trigger an input, but
the timestamp of the new value must be greater than (more recent than) or equal to the
timestamp of the previous value. This is different than the trigger mechanism for output
points. For output points, the timestamp of the trigger value must be greater than (not greater
than or equal to) the timestamp of the previous value.
Conditions can be placed on trigger events. Event conditions are specified in the extended
descriptor as follows:
Event='’rigger_tag_name'’event_condition
The trigger tag name must be in single quotes. For example,
Event='’inusoid'’Anychange
will trigger on any event to the PI point sinusoid as long as the next event is different than the
last event. The initial event is read from the snapshot.
The keywords in the following table can be used to specify trigger conditions.
Event Description
Condition
Anychange Trigger on any change as long as the value of the current event is different
than the value of the previous event. System digital states also trigger events.
For example, an event will be triggered on a value change from 0 to “Bad
Input,” and an event will be triggered on a value change from “Bad Input” to 0.
Increment Trigger on any increase in value. System digital states do not trigger events.
For example, an event will be triggered on a value change from 0 to 1, but an
event will not be triggered on a value change from “Pt Created” to 0. Likewise,
an event will not be triggered on a value change from 0 to “Bad Input.”
44
Event Description
Condition
Decrement Trigger on any decrease in value. System digital states do not trigger events.
For example, an event will be triggered on a value change from 1 to 0, but an
event will not be triggered on a value change from “Pt Created” to 0. Likewise,
an event will not be triggered on a value change from 0 to “Bad Input.”
Nonzero Trigger on any non-zero value. Events are not triggered when a system digital
state is written to the trigger point. For example, an event is triggered on a
value change from “Pt Created” to 1, but an event is not triggered on a value
change from 1 to “Bad Input.”
Obsolete Keywords
Care must be taken when upgrading from previous versions of the interface as the ExDesc
keywords TRG=, SOURCE=, SRC=, RTN= and MSG=are no longer supported by the
interface.
If the interface loads a point with one of the above keywords, the interface will refuse to load
the point, and log an error message. The functionality of these keywords is supported using
other methods within the interface.
Obsolete Keyword Replacement
TRG= EVENT=
SOURCE= SourceTag attribute
SRC= SourceTag attribute
RTN= Output point holds result or output.
SourceTag attribute point contains value to be written
MSG= String PI point
UserInt1
The default value for BadStatusIndication is 1, and so the Interface writes Bad Input
when the I/A object’s bad bit is set, and the values of UserInt1 are not used.
interface will output changes to the IA status of the object to the message log files. Please
refer to the section Appendix A: Error and Informational Messages for details.
Scan
By default, the Scan attribute has a value of 1, which means that scanning is turned on for the
point. Setting the Scan attribute to 0 turns scanning off. If the Scan attribute is 0 when the
interface starts, a message is written to the log and the point is not loaded by the interface.
There is one exception to the previous statement.
If any PI point is removed from the interface while the interface is running (including setting
the Scan attribute to 0), SCAN OFF will be written to the PI point regardless of the value of
the Scan attribute. Two examples of actions that would remove a PI point from an interface
are to change the point source or set the Scan attribute to 0. If an interface-specific attribute is
changed that causes the point to be rejected by the interface, SCAN OFF will be written to the
PI point.
Shutdown
The Shutdown attribute is 1 (true) by default. The default behavior of the PI Shutdown
Subsystem is to write the SHUTDOWN digital state to all PI points when PI is started. The
timestamp that is used for the SHUTDOWN events is retrieved from a file that is updated by the
Snapshot Subsystem. The timestamp is usually updated every 15 minutes, which means that
the timestamp for the SHUTDOWN events will be accurate to within 15 minutes in the event of
a power failure. For additional information on shutdown events, refer to PI Data Archive
manuals.
Note: The SHUTDOWN events that are written by the PI Shutdown Subsystem are
independent of the SHUTDOWN events that are written by the interface when
the /stopstat=Shutdown command-line parameter is specified.
SHUTDOWN events can be disabled from being written to PI points when the PI Data Archive
is restarted by setting the Shutdown attribute to 0 for each point. Alternatively, the default
behavior of the PI Shutdown Subsystem can be changed to write SHUTDOWN events only for
PI points that have their Shutdown attribute set to 0. To change the default behavior, edit the
Shutdown.dat file, as discussed in the PI Data Archive manuals.
46
DataSecurity
The PI identity in the PI trust that authenticates the interface must be granted read access by
the DataSecurity attribute of every PI point that the interface services. If the interface is used
without a buffering application, write access also must be granted. (If the interface is used
with a buffering application, the buffering application requires write access but the interface
does not.)
PtSecurity
The PI identity in the PI trust that authenticates the interface must be granted read access by
the PtSecurity attribute of every PI point that the interface services.
Output Points
Output points control the flow of data from the PI Data Archive to any destination that is
external to the PI Data Archive, such as a PLC or a third-party database. For example, to
write a value to a register in a PLC, use an output point. Each interface has its own rules for
determining whether a given point is an input point or an output point. There is no de facto PI
point attribute that distinguishes a point as an input point or an output point.
Security Note: When output points are required, implement an output point
whitelist, which provides a defense against accidental or malicious changes to the
control system.
Outputs are triggered for UniInt-based interfaces. That is, outputs are not scheduled to occur
on a periodic basis. There are two mechanisms for triggering an output.
As of UniInt 3.3.4, event conditions can be placed on triggered outputs. The conditions are
specified using the same event condition keywords in the extended descriptor as described
under Trigger-based Inputs Or described below. The only difference is that the trigger point
is specified with the SourceTag attribute instead of with the “event” or “trig” keywords.
Otherwise, the behavior of event conditions described under Trigger-based Inputs is identical
for output points. For output points, event conditions are specified in the extended descriptor
as follows:
event_condition
The keywords in the following table can be used to specify trigger conditions.
Event Description
Condition
Anychange Trigger on any change as long as the value of the current event is different
than the value of the previous event. System digital states also trigger events.
For example, an event will be triggered on a value change from 0 to “Bad
Input,” and an event will be triggered on a value change from “Bad Input” to 0.
Increment Trigger on any increase in value. System digital states do not trigger events.
For example, an event will be triggered on a value change from 0 to 1, but an
event will not be triggered on a value change from “Pt Created” to 0. Likewise,
an event will not be triggered on a value change from 0 to “Bad Input.”
Event Description
Condition
Decrement Trigger on any decrease in value. System digital states do not trigger events.
For example, an event will be triggered on a value change from 1 to 0, but an
event will not be triggered on a value change from “Pt Created” to 0. Likewise,
an event will not be triggered on a value change from 0 to “Bad Input.”
Nonzero Trigger on any non-zero value. Events are not triggered when a system digital
state is written to the trigger point. For example, an event is triggered on a
value change from “Pt Created” to 1, but an event is not triggered on a value
change from 1 to “Bad Input.”
For trigger method 1, a separate trigger point must be configured. The output point must have
the same point source as the interface. The trigger point can be associated with any point
source, including the point source of the interface. Also, the point type of the trigger point
does not need to be the same as the point type of the output point.
The output point is associated with the trigger point by setting the SourceTag attribute of the
output point equal to the tag name of the trigger point. An output is triggered when a new
value is sent to the Snapshot of the trigger point. The new value does not need to be different
than the previous value that was sent to the Snapshot to trigger an output, but the timestamp
of the new value must be more recent than the previous value. If no error is indicated, then
the value that was sent to the trigger point is also written to the output point. If the output is
unsuccessful, then an appropriate digital state that is indicative of the failure is usually written
to the output point. If an error is not indicated, the output still may not have succeeded
because the interface may not be able to tell with certainty that an output has failed.
Trigger Method 2
For trigger method 2, a separate trigger point is not configured. To trigger an output, write a
new value to the Snapshot of the output point itself. The new value does not need to be
different than the previous value to trigger an output, but the timestamp of the new value
must be more recent than the previous value.
Trigger method 2 may be easier to configure than trigger method 1, but trigger method 2 has
a significant disadvantage. If the output is unsuccessful, there is no point to receive a digital
state that is indicative of the failure, which is very important for troubleshooting.
For enhanced security, create a "“hitelist"”of output points. When this feature is enabled, the
interface verifies that an output point is in the whitelist before updating the data source.
The whitelist file is a .csv (comma-separated values) file that contains a list of approved
output PI points and the attributes that associate the PI point with a writable value in the data
source. For this interface, the following attributes must be in the whitelist file to secure the
output points:
Tag
InstrumentTag
ExDesc
48
Location2
Location3
The whitelist feature also supports range checking of output values. The Zero and Span
attributes in the whitelist file specify the minimum (zero) and maximum (sum of zero and
span) allowed for the output value.
To create and configure an output point whitelist, see the PI Universal Interface (UniInt)
User Guide.
*For Buffered Outputs, a positive Location4 value is needed to set an update rate for the
FoxAPI/AIM*API write lists. However, the Interface does not use this value and the output
event will trigger the interface to write to the FoxAPI/AIM*API. If Location4 = 0 then the
FoxAPI/AIM*API update rate will default to 10 seconds.
Command-line parameters can begin with a / or with a -. For example, the /ps=M and
-ps=M command-line parameters are equivalent.
For Windows, command file names have a .bat extension. The Windows continuation
character (^) allows for the use of multiple lines for the startup command. The maximum
length of each line is 1024 characters (1 kilobyte). The number of parameters is unlimited,
and the maximum length of each parameter is 1024 characters.
The PI Interface Configuration Utility (PI ICU) provides a tool for configuring the interface
startup command file.
The PI Interface Configuration Utility provides a graphical user interface for configuring PI
interfaces. If the interface is configured by the PI ICU, the batch file of the interface
(fxbais.bat) will be maintained by the PI ICU and all configuration changes will be kept
in that file and the PI Module Database. The procedure below describes the necessary steps
for using PI ICU to configure the fxbais interface.
From the PI ICU menu, select Interface, then NewWindows Interface Instance from EXE. A
window such as the following opens:
Browse to the fxbais.exe executable file. Then, enter values for Host PI Server/Collective,
Point Source, and Interface ID#. Interface name as displayed in the ICU (optional) will have
PI- pre-pended to this name and it will be the display name in the services menu.
Click Add.
The following message should appear:
Note that in this example the host PI Data server is “msltest1”. To configure the interface to
communicate with a remote PI Data server, select Connections… on the PI ICU Interface
menu and select the default server. If the remote node is not present in the list of servers, it
can be added.
Once the interface is added to PI ICU, near the top of the main PI ICU window, the interface
Type should be fxbais. If not, use the drop-down box to change the interface Type to
fxbais.
Click Apply to enable the PI ICU to manage this instance of the fxbais interface.
The next step is to make selections in the interface-specific page (that is, “fxbais”) that
allows you to enter values for the startup parameters that are particular to the fxbais interface.
52
Since the fxbais interface is a UniInt-based interface, in some cases you will need to make
appropriate selections in the UniInt page, which configures UniInt features through the PI
ICU.
To set up the interface as a Windows service, use the Service page. This page allows
configuration of the interface to run as a service as well as starting and stopping of the
interface service. The interface can also be run interactively from the PI ICU. To do that,
select Start Interactive on the Interface menu.
For more detailed information on how to use the above-mentioned and other PI ICU pages
and selections, please refer to the PI Interface Configuration Utility user guide. The next
section describes the selections that are available from the fxbais page. Once selections have
been made on the PI ICU window, press the Apply button in order for PI ICU to make these
changes to the interface’s startup file.
Since the startup file of the fxbais interface is maintained automatically by the PI ICU, use
the fxbais page to configure the startup parameters and do not make changes in the file
manually. The following is the description of interface configuration parameters used in the
PI ICU Control and corresponding manual parameters.
Configuration Tab
The PI Interface for Foxboro I/A 70 Series – ICU Control has various sections. A yellow text
box indicates that an invalid value has been entered, or that a required value has not been
entered.
Failover
The PI Foxboro Interface may be run in a failover configuration. If a copy of the Interface is
configured as the Primary node, it is responsible for collecting data whenever it is running. If
a copy of the Interface is configured as the Secondary node, it collects data only after it
detects that the Primary node is not currently running.
54
There are many additional parameters that need to be configured in order for Failover to
work. These parameters are entered by editing the fxbais.ini configuration file.
Appendix B describes Failover in more detail.
(-failover=mode where mode=primary or secondary)
Outputs
To enable the PI Foxboro Interface to write data to the Foxboro, check the enable outputs
box. (-write)
Configuration file
Edit fxbais.ini
This button allows the user to edit the fxbais.ini file from the ICU Control using Notepad.
Additional Parameters
This section is provided for any additional parameters that the current ICU Control does not
support.
These debugging parameters should not be used during the normal operation of the Interface.
Point Loading
Enabling this parameter tells the Interface to print detailed information regarding points that it
has either loaded or not loaded. (-fdb=16)
Shutdown
Enabling this parameter tells the Interface to print information regarding shutdown signals
received. In addition, the Interface displays a message when it tells the FoxAPI to close a data
set. (-fdb=17)
56
Close All Data Sets
Unlike other debugging parameters, this one modifies the behavior of the Interface. Enabling
this parameter tells the Interface to close all FoxAPI data sets, even those that it did not open.
(-fdb=18)
Buffered Outputs
Enabling this parameter tells the Interface to print a message when a buffered output fails.
(-fdb=19)
Outputs in General
Enabling this parameter tells the Interface to print information regarding outputs. Enable this
parameter if there are problems with using PI Foxboro to send data from PI to the I/A.
(-fdb=21)
Command-line Parameters
Note: The PI Universal Interface (UniInt) User Guide includes details about other
command-line parameters, which may be useful.
Parameter Description
/CacheMode Required for disconnected startup operation. If defined, the
Required when using /CacheMode startup parameter indicates that the interface will
disconnected startup be configured to utilize the disconnected startup feature.
Default: Not Defined
/CachePath=path Used to specify a directory in which to create the point caching
Optional files. The directory specified must already exist on the target
machine. By default, the files are created in the same location as
Default: Not Defined
the interface executable.
If the path contains any spaces, enclose the path in quotes.
Examples:
/CachePath=D:\PIPC\Interfaces\CacheFiles
/CachePath=D:/PIPC/Interfaces/CacheFiles
/CachePath=D:/PIPC/Interfaces/CacheFiles/
/CacheSynch=# NOTE: Care must be taken when modifying this parameter. This
Optional value must be less than the smallest scan class period defined with
the /f parameter. If the value of the /CacheSynch parameter
Default: 250 ms
is greater than the scan class value, input scans will be missed
while the point cache file is being synchronized.
The optional /CacheSynch=# startup parameter specifies the
time slice period in milliseconds (ms) allocated by UniInt for
synchronizing the interface point cache file with the
PI Data Archive. By default, the interface will synchronize the point
cache if running in the disconnected startup mode. UniInt allocates
a maximum of # ms each pass through the control loop
synchronizing the interface point cache until the file is completely
synchronized.
Synchronization of the point cache file can be disabled by setting
the value /CacheSynch=0. The minimum synchronization
period when cache synchronization is enabled is 50ms and the
maximum synchronization period is 3000ms (3s). Period values of
1 to 49 will be changed by the interface to the minimum of 50ms
and values greater than 3000 will be set to the maximum interval
value of 3000ms.
Default: 250 ms
Range: {0, 50 – 3000} time in milliseconds
Example: /CacheSynch=50 (use a 50ms interval)
/CacheSynch=3000 (use a 3s interval)
/CacheSynch=0 (do not synchronize the cache)
58
Parameter Description
/doubtful=digstate When the Interface receives a value for an I/A object that has its
Optional; seldom used bad bit (bit 8) or out-of-service bit (bit 11) set, it usually writes the
Bad Input digital state to the corresponding PI tag. (See the
discussion on BadStatusIndication above.) To write
another digital state, use the –doubtful parameter and specify
another digital state. For example,
/doubtful=”Invalid Data”
Notice quotation marks are used if the digital state contains a
space.
/ec=# The first instance of the /ec parameter on the command-line is
Optional used to specify a counter number, #, for an I/O Rate point. If the #
is not specified, then the default event counter is 1. Also, if the /ec
parameter is not specified at all, there is still a default event
counter of 1 associated with the interface. If there is an I/O Rate
point that is associated with an event counter of 1, every interface
that is running without /ec=# explicitly defined will write to the
same I/O Rate point. Either explicitly define an event counter other
than 1 for each instance of the interface or do not associate any I/O
Rate points with event counter 1. Configuration of I/O Rate points
is discussed in the section called I/O Rate Point.
For interfaces that run on Windows nodes, subsequent instances
of the /ec parameter may be used by specific interfaces to keep
track of various input or output operations. Subsequent instances
of the /ec parameter can be of the form /ec*, where * is any
ASCII character sequence. For example, /ecinput=10,
/ecoutput=11, and /ec=12 are legitimate choices for the
second, third, and fourth event counter strings.
/ecout=# The /ecout parameter specifies the I/O Rate counter number for
Optional measuring the rate of buffered outputs from PI to the I/A. The value
of x should be between 2 and 34, inclusive, or 51 and 200,
inclusive.
This I/O Rate counter can NOT be configured using the ICU under
Windows. Please use the methods described in the section
“Configuring I/O Rate Points Manually”.
/ecuinp=# The /ecuinp parameter specifies the I/O Rate counter number
Optional for measuring the rate of unbuffered inputs from the I/A to PI. The
value of x should be between 2 and 34, inclusive, or 51 and 200,
inclusive.
This I/O Rate counter can NOT be configured using the ICU under
Windows. Please use the methods described in the section
“Configuring I/O Rate Points Manually”.
/ecuout=# The /ecuout parameter specifies the I/O Rate counter number
Optional for measuring the rate of unbuffered outputs from PI to the I/A. The
value of x should be between 2 and 34, inclusive, or 51 and 200,
inclusive.
This I/O Rate counter can NOT be configured using the ICU under
Windows. Please use the methods described in the section
“Configuring I/O Rate Points Manually”.
/f=SS.## The /f parameter defines the time period between scans in terms
or of hours (HH), minutes (MM), seconds (SS) and sub-seconds (##).
/f=SS.##,ss.## The scans can be scheduled to occur at discrete moments in time
with an optional time offset specified in terms of hours ( hh),
or
minutes (mm), seconds (ss), and sub-seconds (##). If HH and MM
/f=HH:MM:SS.## are omitted, then the time period that is specified is assumed to be
or in seconds.
/f=HH:MM:SS.##,
PI Interface for Foxboro I/A 70 Series 59
Startup Command File
Parameter Description
hh:mm:ss.## Each instance of the /f parameter on the command-line defines a
scan class for the interface. There is no limit to the number of scan
Required for reading scan- classes that can be defined. The first occurrence of the /f
based inputs parameter on the command-line defines the first scan class of the
interface; the second occurrence defines the second scan class,
and so on. PI Points are associated with a particular scan class via
the Location4 PI Point attribute. For example, all PI Points that
have Location4 set to 1 will receive input values at the frequency
defined by the first scan class. Similarly, all points that have
Location4 set to 2 will receive input values at the frequency
specified by the second scan class, and so on.
Two scan classes are defined in the following example:
/f=00:01:00,00:00:05 /f=00:00:07
or, equivalently:
/f=60,5 /f=7
The first scan class has a scanning frequency of 1 minute with an
offset of 5 seconds, and the second scan class has a scanning
frequency of 7 seconds. When an offset is specified, the scans
occur at discrete moments in time according to the formula:
scan times = (reference time) + n(frequency) + offset
where n is an integer and the reference time is midnight on the day
that the interface was started. In the above example, frequency is
60 seconds and offset is 5 seconds for the first scan class. This
means that if the interface was started at 05:06:06, the first scan
would be at 05:07:05, the second scan would be at 05:08:05, and
so on. Since no offset is specified for the second scan class, the
absolute scan times are undefined.
The definition of a scan class does not guarantee that the
associated points will be scanned at the given frequency. If the
interface is under a large load, then some scans may occur late or
be skipped entirely. See the section “Performance Summaries” in
the PI Universal Interface (UniInt) User Guide for more information
on skipped or missed scans.
Sub-second Scan Classes
Sub-second scan classes can be defined on the command-line,
such as
/f=0.5 /f=00:00:00.1
where the scanning frequency associated with the first scan class
is 0.5 seconds and the scanning frequency associated with the
second scan class is 0.1 of a second.
Similarly, sub-second scan classes with sub-second offsets can be
defined, such as
/f=0.5,0.2 /f=1,0
Wall Clock Scheduling
Scan classes that strictly adhere to wall clock scheduling are now
possible. This feature is available for interfaces that run on
Windows and/or UNIX. Previously, wall clock scheduling was
possible, but not across daylight saving time. For example,
/f=24:00:00,08:00:00 corresponds to 1 scan a day starting
at 8 AM. However, after a Daylight Saving Time change, the scan
would occur either at 7 AM or 9 AM, depending upon the direction
of the time shift. To schedule a scan once a day at 8 AM (even
across daylight saving time), use
/f=24:00:00,00:08:00,L. The ,L at the end of the scan
class tells UniInt to use the new wall clock scheduling algorithm.
/failover=x Specify /failover=primary or /failover=secondary
Optional to run the Interface in a failover configuration. There are many
60
Parameter Description
additional parameters that need to be configured in order for
Failover to work. Enter these parameters by editing the
fxbais.ini configuration file. Appendix B describes Failover in
more detail.
/fdb=#,#,#,… To troubleshoot anomalous behavior of the Interface, enable one
Optional or more debugging parameters via /fdb. These parameters tell
the Interface to print informational messages to the PI Message
log.
The following are a list of the debug flags that can be set.
11 – Additional messages when opening lists of tags
12 – Setup of tags used with the libprofplot.so library
13 – Reading of data using libprofplot.so function calls
15 – Time offset between the PI Data Archive and the Interface
16 – Verbose messages during point loading
17 – Verbose messages during Interface shutdown
18 – Extra attempts to locate and close data sets. Unlike other
debugging values, this one affects the behavior of the Interface. If
/fdb=18 is specified, the Interface will close all data sets, even
those that it did not open.
19 – Messages for buffered outputs
20 – Messages for unbuffered outputs
21 – Messages for outputs in general
24 – Detailed error status after an scopen() call
25 – Log messages when interface enters and leaves
dev_hibernate()
26 – Log messages when interface enters and leaves
dev_service_input_list()
27 – Detailed information on each FoxAPI call made by the
interface
28 – Log “Out of service” and “Return to Service” status messages
For example, /fdb=16 will cause additional messages to be
logged when a point is loaded by the interface.
/host=host:port The /host parameter specifies the PI Data Archive node.
Required for Windows and Host is the IP address or the domain name of the PI Data Archive
UNIX node.
Port is the port number for TCP/IP communication. The port is
always 5450. It is recommended to explicitly define the host and
port on the command-line with the /host parameter.
Nevertheless, if either the host or port is not specified, the interface
will attempt to use defaults.
Examples:
Parameter Description
/id=x The /id parameter is used to specify the interface identifier.
Highly Recommended The interface identifier is a string that is no longer than 9
characters in length. UniInt concatenates this string to the header
that is used to identify error messages as belonging to a particular
interface. See Appendix A Error and Informational Messages for
more information.
UniInt always uses the /id parameter in the fashion described
above. This interface also uses the /id parameter to identify a
particular interface instance number that corresponds to an integer
value that is assigned to one of the Location code point attributes,
most frequently Location1. For this interface, use only numeric
characters in the identifier. For example,
/id=1
/no_connect= When the Interface receives a value for an I/A object that has its
digstate object connection status bits (bits 5, 6, or 7) set to something other
than “being scanned” (1), it writes the IO Timeout digital state
Optional; seldom used
to the corresponding PI tag. To write a different digital state, use
the /no_connect parameter and specify another digital state.
For example,
/no_connect=”Not Connect”
Notice quotation marks are used if the digital state contains a
space.
/PISDK=# The /pisdk parameter can be used to enable or disable the PI
Optional SDK in some situations. Use /pisdk=1 to enable the PI SDK.
Default = 0 Use /pisdk=0 to disable the PI SDK. If a particular interface
requires the PI SDK, then the PI SDK will always be enabled and
the /pisdk parameter will be ignored.
/ps=x The /ps parameter specifies the point source for the interface. X
Required is not case sensitive and can be any multiple character string. For
example, /ps=P and /ps=p are equivalent. The length of X is
limited to 100 characters by UniInt. X can contain any character
except ‘*’ and ‘?’.
The point source that is assigned with the /ps parameter
corresponds to the PointSource attribute of individual PI Points.
The interface will attempt to load only those PI points with the
appropriate point source.
If the PI API version being used is earlier than 1.6.x or the
PI Data Archive version is earlier than 3.4.370.x, the PointSource is
limited to a single character unless the SDK is being used.
62
Parameter Description
/sio The /sio parameter stands for “suppress initial outputs.” The
Optional parameter applies only for interfaces that support outputs. If the
/sio parameter is not specified, the interface will behave in the
following manner.
When the interface is started, the interface determines the current
Snapshot value of each output point. Next, the interface writes this
value to each output point. In addition, whenever an individual
output point is edited while the interface is running, the interface
will write the current Snapshot value to the edited output point.
This behavior is suppressed if the /sio parameter is specified on
the command-line. That is, outputs will not be written when the
interface starts or when an output point is edited. In other words,
when the /sio parameter is specified, outputs will only be written
when they are explicitly triggered.
/stopstat=digstate If /stopstat=digstate is present on the command line, then
or the digital state, digstate, will be written to each PI point when
/stopstat the interface is stopped. For a PI Data Archive, digstate must
be in the system digital state table. UniInt will use the first
occurrence of digstate found in the table.
/stopstat only is
If the /stopstat parameter is present on the startup command
equivalent to
line, then the digital state Intf Shut will be written to each PI
/stopstat="”ntf
point when the interface is stopped.
Shut"”
If neither /stopstat nor /stopstat=digstate is specified
Optional
on the command line, then no digital states will be written when the
Default = no digital state interface is shut down.
written at shutdown.
Examples:
/stopstat=shutdown
/stopstat="”ntf Shut"”The entire digstate value must be
enclosed within double quotes when there is a space in digstate.
/uht_id=# The /uht_id=# command-line parameter is used to specify a
Optional unique ID for interfaces that are run in a redundant mode without
Required if any type of using the UniInt failover mechanism. There are several OSIsoft
failover other than UniInt interfaces that are UniInt based and implement their own version of
failover phase 1 or 2 is failover. In order for health point(s) to be configured to monitor a
supported. single copy of the Interface, an additional parameter is required. If
the /uht_id=# is specified; only health points with a Location3
value equal to # will be loaded.
/write The /write parameter enables the Interface to send data from
Optional PI to the I/A. If the /write parameter is omitted; the Interface
does not load output points.
64
fxbais.ini Configuration File
The behavior of PI Foxboro may be further customized by creating a configuration file called
fxbais.ini. This file is not needed for normal interface operation. Use this file only if
special behavior is needed for the Interface.
This fxbais.ini file resides in the same directory as the interface executable fxbais.exe.
The contents of fxbais.ini should have the following format:
[fxbais-1]
; comment lines begin with a semi-colon
; lines in this file have the format
; key=value
;
; BadStatusIndication=1
; FirstSetReopen=60
; SetReopen=24
; EditSetReopen=35
; HibernateDelay=100
; DebugFlags=11,12
;
; The following keys are used for failover
;
; failover_peer=casaba
; fail_time=4
; watchdog=PI_COMM:PI_WATCHDOG.LI01
; failover_status=fx:coll
The [fxbais-1] section indicates that the entries below it pertain to the copy of PI Foxboro
running with –id=1. (For a copy of PI Foxboro running with –id=2, put in a section called
[fxbais-2], and so on.)
The following sections describe the meaning of the different keys and their values. Details on
the failover variables are in section “Appendix C: Failover Support”.
BadStatusIndication
The BadStatusIndication key tells the Interface how to proceed if it receives a value for
an I/A object that has its bad bit (bit 8) set. The following table describes the behavior:
BadStatusIndication Value written to PI
0 Action controlled on a tag-by-tag basis, using the value of PI
tag UserInt1 attribute.
1 Bad Input
2 I/A value, with PI questionable bit set (PI 3 only)
3 I/A value
The default value for BadStatusIndication is 1. That is, the Interface writes Bad Input
when the I/A object’s bad bit (bit 8) or out-of-service bit (bit 11) is set, and the value of
UserInt1 attribute is not used.
FirstSetReopen / SetReopen
When an attempt by PI Foxboro to open a FoxAPI data set fails, the Interface will try to
reopen this data set after FirstSetReopen seconds and again every SetReopen hours.
Fractional values for SetReopen are allowed. To prevent the reopening of a set, enter a
value of 0 for either FirstSetReopen or SetReopen. The default value is 0 (disabled) for
both entries.
EditSetReopen
If a tag that is part of a FoxAPI data set is edited, the Interface waits EditSetReopen
seconds before closing and reopening the set. The default value of EditSetReopen is 35
seconds.
HibernateDelay
After it has finished opening all its data sets, the Interface waits HibernateDelay
milliseconds before checking the I/A for new values. The default value of HibernateDelay
is 100 milliseconds.
DebugFlags
Contains a list of comma separated values used to enable different types of debug messages
within the interface. This is the same as the –fdb= command-line arguments.
The recognized debug values are:
11 – Additional messages when opening lists of tags
12 – Setup of tags used with the libprofplot.so library
13 – Reading of data using libprofplot.so function calls
66
15 – Time offset between the PI Data Archive and the Interface
16 – Verbose messages during point loading
17 – Verbose messages during Interface shutdown
18 – Extra attempts to locate and close data sets. Unlike other debugging values, this one
affects the behavior of the Interface. If –fdb=18 is specified, the Interface will close all
data sets, even those that it did not open.
19 – Messages for buffered outputs
20 – Messages for unbuffered outputs
21 – Messages for outputs in general
24 – Detailed error status after an scopen() call
25 – Log messages when interface enters and leaves dev_hibernate()
26 – Log messages when interface enters and leaves dev_service_input_list()
27 – Detailed information on each FoxAPI call made by the interface
28 – Log “Out of service” and “Return to Service” status messages
Introduction
In order to achieve continuous transfer of data between the Foxboro I/A and the PI Data
Archive, two copies of the PI Foxboro interface program may be run, each on a different
Foxboro AW workstation. The AW workstations may be either AW50 Series (Solaris) or
AW70 Series (Windows) models or one of each.
In a failover configuration, one copy of the interface is designated as PI Foxboro-Primary and
the other as PI Foxboro-Secondary. The Primary program is responsible for data collection
during the vast majority of the time.
However, should the Primary program terminate, the Secondary program automatically
assumes responsibility for transferring data between the I/A and PI.
When the Primary program restarts, the Secondary program automatically stops data
collection. The transfer of data between the I/A and PI again becomes the responsibility of
the Primary.
70
Parameters for Operation
PI ICU
To designate that PI Foxboro is running in a failover configuration, check the “Enable
Failover” option, select Primary or Secondary and enter a value for the UniInt Health Tag ID.
The primary and secondary instances of the interface must have different Health Tag ID
values, so they will not attempt to overwrite the others health tag data. See the “UniInt Health
Points” below for more details.
Command Line
To designate that PI Foxboro is running in a failover configuration, provide the
-failover parameter on the interface command line. Specifically, run the copies of the
interface as
$ fxbais –ps=F –id=1 –failover=primary ...
on one machine and
$ fxbais –ps=F –id=1 –failover=secondary ...
on the other.
Initialization File
When PI Foxboro encounters the –failover option on the command line, it looks for other
failover-related parameters in the initialization file fxbais.ini. In particular, the Interface
needs to know
machine is running the other instance of PI Foxboro
maximum time that the user can tolerate neither copy of PI Foxboro collecting data
name of the watchdog object on the I/A (to be described later)
name of the PI tag that tracks the failover data collection status (also described later)
The following contents of fxbais.ini provide an example of how to specify the above
information:
[fxbais-1]
failover_peer=LBUG02
fail_time=2
watchdog=PI_COMM:PI_WATCHDOG.LI01
failover_status=FX_FAILOVER_PRI
The section [fxbais-1] indicates that the entries below it pertain to the copy of PI Foxboro
running with –id=1. If PI Foxboro runs with –id=2, edit the fxbais.ini file and create a
section called [fxbais-2].
The value of the entry for failover_peer indicates the name of the workstation that is
running the other instance of PI Foxboro. The AW running the present copy of PI Foxboro
must be able to communicate to this other (peer) workstation via TCP/IP. To confirm, run the
standard ping command.
$ ping LBUG02
Alternatively, specify an IP address (in dotted-decimal form) for the failover_peer value.
[fxbais-1]
failover_peer=151.128.8.65
Confirm the communication between the two machines via TCP/IP by running ping.
$ ping 151.128.8.65
The value of the entry for fail_time indicates the maximum time in minutes for the
Secondary to wait before assuming data collection. In this example, at most 2 minutes will
elapse from the time that the Primary terminates to the time that the Secondary automatically
starts data collection. A value of fail_time that is too small (e.g., 1) can cause the
Secondary to start data collection even though the Primary is still collecting data. The
minimum fail_time will vary depending on the performance of the FoxAPI and the I/A
system. Because some FoxAPI calls can take some time to complete (opening lists etc) and
the interface is not able to check or update the watchdog when it waiting for the FoxAPI, the
FoxAPI delays are the limiting factor when setting fail_time.
The value of the watchdog entry is the name of the object residing on the Foxboro I/A.
The value of the failover_status entry is the name of a PI tag that keeps track of the
operational state of the failover configuration. Both of these items are described later.
For example, the UniInt health points for the primary interface may have location3=1 and
the secondary interface have location3=2. Then the primary interface would be started with
-failover=primary –uht_id=1
and secondary interface would be started with
-failover=secondary –uht_id=2.
The value used must be greater than zero and must match the location3 value for that PI
tags.
For details on the data available from the UniInt health points, please refer to the UniInt
Interface User Manual.
Design Details
It is recommended that a CALC block be built (no program steps need to be configured) on
the I/A control database, and the LI01 parameters of the block used by the interface as the
failover watchdog object.
It provides the main method of communications between the Primary and Secondary
programs regarding the responsibility of data transfer between the I/A and PI. At startup, if PI
Foxboro cannot access the watchdog object, it exits.
During normal operation (i.e., when the Primary is collecting data), the Primary program
periodically writes to this watchdog object. The value written is between 110 and 115, and
increases monotonically. When the value reaches 115, it rolls back to 110.
At specific intervals, the Secondary program reads the value of the watchdog object. When it
determines that the value of the watchdog object has stopped changing, it sends a message via
UDP to the Primary. If it does not get a response from the Primary, it concludes that the
Primary program is not running. The Secondary program then starts transferring data between
the I/A and PI.
While the Secondary program is collecting data, it writes periodically to the watchdog object
a value between 210 and 215. However, before every write, it reads the value of the watchdog
object. It checks to see whether this value is 10 (scenario to be described below).
When the Primary program is re-started, it writes a value of 10 to the watchdog object,
indicating that it wishes to resume data collection. When the Secondary program sees that the
watchdog object has a value of 10, it stops collecting data, and writes a value of 20 to the
watchdog object.
When the Primary sees that the watchdog object has a value of 20, it begins data collection
and writes values of 110 through 115. At this point, the default configuration exists – the
Primary is collecting data and the Secondary is in standby mode.
Other scenarios are described in a later section.
At startup, if PI Foxboro cannot access this PI tag, it exits. Therefore, the user must create
this failover status tag on the PI Data Archive machine before starting PI Foxboro. The tag
may be created with the default PI tag attributes. This PI point can also be used to enable
failover debug messages to be logged.
Note: The failover status point may not be updated correctly if the interface was to be
aborted without shutting down cleanly, or the AW is rebooted. Therefore, it is possible to
have both instances of the failover status point showing that both instances are collecting
when this is NOT the case. To determine which copy of the interface is actually collecting
data, look at the values of the I/A Watchdog object via a Foxboro console. Values that
continuously change from 110 to 115 indicate that the Primary is collecting data. Values
that continuously change from 210 to 215 indicate that the Secondary is collecting data.
76
When the Primary program starts, it also makes special note of the following:
Point source character (-ps=)
Interface number (-id=)
PI Data Archive machine and PI communications port (-host=)
Watchdog I/A object (fxbais.ini watchdog=)
Failover time (fxbais.ini fail_time=)
The Primary program sends all of this information (via UDP) to the Secondary. The
Secondary confirms that this set of information is identical to its own. If these parameters do
not match, the Primary will exit and print out the mismatched parameters in the log file. The
Secondary itself will begin data collection within the failover time (scenario to be described
below).
Operational Scenarios
In the following scenarios, “WD=” indicates the value of the watchdog object. “WD=110-
115” means a periodic change in the value of the watchdog object from 110 to 111 to 112 to
113 to 114 to 115 to 110 and so on.
1 – Startup, Normal
At startup, neither the Primary nor the Secondary is collecting data.
The Secondary program starts. The Secondary continuously checks for WD=10 and
WD=110-115. If WD=10, the Secondary writes WD=20.
Meanwhile, the Primary program starts. It writes WD=10. It then checks for WD=20. Since
the Secondary wrote WD=20, the Primary starts data collection and periodically writes
WD=110-115.
End Result: Primary is collecting data.
Meanwhile, the Primary program starts but cannot connect to the PI Data Archive. It is wait
until the connection to the PI Data Archive is established and will not respond to requests
from the secondary interface.
The Secondary sees that the WD is not changing. It then sends a message to the Primary via
UDP. The Primary does not respond because it is not running. The Secondary starts data
collection and periodically writes WD=210-215.
End Result: Secondary is collecting data.
7 – Power Outage and Recovery; Primary Re-starts much Earlier than the
Secondary
This scenario is the same as the sequence of scenarios 2 and 6.
8 – Power Outage and Recovery; Secondary Re-starts much Earlier than the
Primary
This scenario is the same as the sequence of scenarios 3 and 5.
78
9 – An interface cannot access the Watchdog Object on startup
An inability of an instance of the interface to access the watchdog object indicates a serious
problem on either the I/A System or the Foxboro NodeBus. On startup, the interface writes a
message to the PI log file and exits. It probably indicates a configuration issue. Ensure that
the watchdog object has been properly configured for read and write access (must not be
secured).
21. Stop the interface on the Primary machine. Confirm that the Secondary copy of the
interface starts data collection.
22. Restart the interface on the Primary machine. Confirm that the Primary copy of the
interface takes over data collection.
23. Permanently install the two copies of PI Foxboro so that they run in the background
(Solaris) or as services (Windows).
If multiple copies of the interface are running on the same machine (for example, using
different –id= parameters), create entries for failover_port and failover_self_port
in the fxbais.ini file. See the next section for details.
Optional Parameters
[fxbais-2]
80
…
failover_port=5452
failover_self_port=5452
The PI Data Archive time zone should always be set to the local time zone. Internally, the PI
Data Archive uses UTC time for the timestamps, and for that to be correct then the local time
zone must be set correctly.
The time zone settings on the Foxboro stations can vary depending on the configuration. On
all older systems, the time zone was always set to GMT, and the system clock was adjusted
so that the apparent time on the system matched the actual local time. On newer systems, they
can be configured to use either the GMT time zone, or the actual local time zone.
If the Foxboro stations are using the GMT time zone setting, when the interface attempts to
get the UTC time from the system clock on the Foxboro stations, it will return the wrong
value. It will be wrong by the difference between the GMT time and the local time, and by
clock drift. To get around this problem, the interface will periodically read the UTC time
from the PI Data Archive and calculate the difference between the actual UTC time on the
PI Data Archive and the apparent UTC time on the Foxboro Aws. This difference is then
applied to the time when the values are retrieved from the FoxAPI/AIM*API, and the
resulting adjusted time is used when the events are sent to PI.
The interface will update the offset every 10 minutes, or when it has detected a step change in
the system clock of the Foxboro AW.
This means that the interface does not need to be configured for any specific time zone
setting. It will automatically adjust to whatever time zone or system clock settings are using
on the Foxboro AW. It also means that the interface is able to handle daylight savings
transitions without the need change or restart anything, provided the current releases of the PI
API and the interface are being used.
Windows
The PI Firewall Database and the PI Trust Database must be configured so that the interface
is allowed to write data to the PI Data Archive.
The Trust Database, which is maintained by the PI Base Subsystem, replaces the Proxy
Database used prior to PI Data Archive version 3.3. The PI Trust Database maintains all the
functionality of the proxy mechanism while being more secure.
See “Manage Interface Authentication with PI Trusts” in the chapter “Manage Security” of
the PI Server Introduction to System Management Guide.
If the interface cannot write data to the PI Data Archive because it has insufficient privileges,
a -10401 error will be reported in the log file. If the interface cannot send data to a PI2 Data
Archive, it writes a -999 error. See the section Appendix A: Error and Informational
Messages for additional information on error messaging.
Authentication
Interface instances are usually configured to run as Windows services. Since a service runs in
a non-interactive context, a PI trust is required to authenticate the interface service to the
PI Data Archive. A PI trust is associated with one PI identity, PI user, or PI group. When an
interface successfully authenticates through a trust, the interface is granted the access rights
for the associated identity, user, or group.
OSIsoft discourages using highly-privileged identities, users, or groups in PI trusts for
interfaces.
Security Note: Avoid using the piadmin super-user and piadmins group. The
recommended best practice for PI Data Archive security is to create an identity, user,
or group that has only the access rights which are necessary for the interface to
operate.
Security configuration using p86ervicedFor PI Data Archive v3.3 and higher, the following
example demonstrates how to edit the PI trust table with ipconfig.
C:\PI\adm> ipconfig
@table pitrust
@mode create
@istr Trust,IPAddr,NetMask,PIUser
a_trust_name,192.168.100.11,255.255.255.255,trust_identity
@quit
For the preceding example,
Trust: An arbitrary name for the trust table entry; in the above example,
a_trust_name
IPAddr: the IP address of the computer running the interface; in the above example,
192.168.100.11
NetMask: the network mask; 255.255.255.255 specifies an exact match with IPAddr
PIUser: the PI identity, user, or group the interface is entrusted as; in the example,
trust_identity
Authorization
For an interface instance to start and write data to PI points, the following permissions must
be granted to the PI identity, user, or group in the PI trust that authenticates the interface
instance.
Database Security Permission Notes
PIPOINT r
The permissions in the preceding table must be granted for every PI point that is configured
for the interface instance. Observe that buffering on the interface node is significant to PI
point permissions.
86
When the interface instance is running on an unbuffered interface node, the interface instance
sends PI point updates directly to the PI Data Archive. Therefore, the DataSecurity attribute
must grant write access to the PI identity, user, or group in the PI trust that authenticates the
interface instance.
When the interface instance is running on a buffered interface node, the interface instance
sends PI point updates to the local buffering application, which relays the PI point updates to
the PI Data Archive. The buffering application is a separate client to the PI Data Archive and,
therefore, authenticates independently of the interface instances. The DataSecurity attribute
must grant write access to the PI identity, user, or group in the PI trust that authenticates the
buffering application.
This section describes starting and stopping the interface once it has been installed as a
service.
To start the interface service with PI ICU, use the button on the PI ICU toolbar.
A message will inform the user of the status of the interface service. Even if the message
indicates that the service has started successfully, double check through the Services control
panel applet. Services may terminate immediately after startup for a variety of reasons, and
one typical reason is that the service is not able to find the command-line parameters in the
associated .bat file. Verify that the root name of the .bat file and the .exe file are the same,
and that the .bat file and the .exe file are in the same directory. Further troubleshooting of
services might require consulting the log file, Windows Event Viewer, or other sources of log
messages. See the section Appendix A: Error and Informational Messages for additional
information.
To stop the interface service with PI ICU, use the button on the PI ICU toolbar.
The service can be removed by PI ICU or with the command:
fxbais.exe /remove [ /serviced id ]
The interface node uses buffering to prevent data loss when PI Data Archive is not available.
UniInt interfaces can buffer data to store point values when network communication to the
PI Data Archive is unavailable. UniInt disconnected startup requires buffering, and it is
highly recommended for failover. Buffering for interfaces is configured and enabled through
PI ICU.
Buffering services
The PI System offers two services to implement buffering at interfaces:
• PI Buffer Subsystem (PIBufss)
• API Buffer Server (Bufserv)
PI Buffer Subsystem is the best option for most environments.
Use API Buffer Server only if one or more of the following conditions is true:
• The version of PI Data Archive receiving the buffered data is earlier than 3.4.375
• Your interfaces run on a non-Windows platform
If any of the above conditions apply to you, see the PI Buffering Manager Help
(PIPC/HELP/BufferManager.chm) documentation for PI Data Archive. Otherwise, use PI
Buffer Subsystem.
Buffering configuration
Use PI Interface Configuration Utility (PI ICU) to configure interface buffering.
The Tools > Buffering option helps you configure buffering. Depending on your current
configuration, this option does one of the following:
• If this computer is configured to buffer data using PI Buffer Subsystem 4.3 or later, the
Buffering Manager window opens and shows a buffering dashboard. The dashboard shows
information about the status of buffering on this computer.
• If this computer is not currently configured to buffer data, and PI Buffer Subsystem 4.3 or
later is installed, you are prompted to configure PI Buffer Subsystem. If you click Yes, the
Buffering Manager window opens and shows the installation wizard, which helps you
configure PI Buffer Subsystem.
• If this computer is configured to buffer data using API Buffer Server (Bufserv), and
PI Buffer Subsystem 4.3 or later is installed, you are prompted to convert to and configure
PI Buffer Subsystem. If you click Yes at both prompts, the Buffering Manager window
opens and shows the upgrade wizard, which helps you upgrade from API Buffer Server to
PI Buffer Subsystem.
• If PI Buffer Subsystem 4.3 is not yet installed, the Buffering window opens for API
Buffering or the earlier version of PI Buffer Subsystem.
For PI Buffer Subsystem 4.3, when configuring an interface to buffer data to a PI Data
Archive server which has not been added to the buffered server list you must enable
buffering. Click the Enable button in the Buffering Status box on the interface General
page. To verify that the buffering status is On, exit PI ICU, then restart and select the
interface.
You can use Buffering Manager to configure, monitor, and troubleshoot buffering using
PI Buffer Subsystem. PI Buffer Subsystem is recommended for applications connecting to
PI Data Archive 3.4.375 or later. Older versions of PI Data Archive require API Buffer
Server, as do some sites with custom solutions. See Buffering Manager help
(PIPC/HELP/BufferManager.chm) for more information.
92
Chapter 15. Interface Diagnostics Configuration
The PI Point Configuration chapter provides information on building PI points for collecting
data from the device. This chapter describes the configuration of points related to interface
diagnostics.
Note: The procedure for configuring interface diagnostics is not specific to this
interface. Thus, for simplicity, the instructions and screenshots that follow refer to an
interface named ModbusE.
Some of the points that follow refer to a “performance summary interval”. This interval is 8
hours by default. You can change this parameter via the Scan performance summary box in
the UniInt – Debug parameter category page:
You configure one scan class performance point for each scan class in this interface. From
the ICU, select this interface from the Interface drop-down list and click UniInt-Performance
Points in the parameter category pane:
Right-click the row for a particular Scan Class # to open the shortcut menu:
You need not restart the interface for it to write values to the scan class performance points.
To see the current values (snapshots) of the scan class performance points, right-click and
select Refresh Snapshots.
Delete
To delete a performance point, right-click the line belonging to the point to be deleted, and
select Delete.
94
Correct / Correct All
If the “Status” of a point is marked “Incorrect”, the point configuration can be automatically
corrected by ICU by right-clicking on the line belonging to the point to be corrected, and
selecting Correct. The performance points are created with the following PI point attribute
values. If ICU detects that a performance point is not defined with the following, it will be
marked Incorrect: To correct all points, click Correct All.
The performance points are created with the following PI point attribute values:
Attribute Details
Tag Tag name that appears in the list box
PointSource PointSource for points for this interface, as specified on the
General page
Compressing Off
ExcMax 0
Descriptor Interface name + “ Scan Class # Performance Point”
Rename
Right-click the line belonging to the point and select Rename to rename the performance
point.
Column descriptions
Status
The Status column in the Performance Points table indicates whether the performance point
exists for the scan class in the Scan Class # column.
Created – Indicates that the performance point does exist
Not Created – Indicates that the performance point does not exist
Deleted – Indicates that a performance point existed, but was just deleted by the user
Scan Class #
The Scan Class # column indicates which scan class the performance point in the Tagname
column belongs to. There will be one scan class in the Scan Class # column for each scan
class listed in the Scan Classes box on the General page.
Tagname
The Tagname column holds the performance point tag name.
PS
This is the point source used for these performance points and the interface.
Location1
This is the value used by the interface for the /ID=# point attribute.
ExDesc
This is used to tell the interface that these are performance points and the value corresponds
to the /ID=# command line parameter if multiple copies of the same interface are running on
the interface node.
Snapshot
The Snapshot column holds the snapshot value of each performance point that exists in the
PI Data Archive. The Snapshot column is updated when the Performance Points page is
selected and when the interface is first loaded. You may have to scroll to the right to see the
snapshots.
96
After installing the PI Interface for Performance Monitor as a service, select this interface
instance from the Interface list, then click Performance Counters in the parameter categories
pane, and right-click on the row containing the performance counters point you wish to
create. This will open the shortcut menu:
Click Create to create the performance counters point for that particular row. Click Create All
to create all the performance counters points listed which have a status of Not Created.
To see the current values (snapshots) of the created performance counters points, right-click
on any row and select Refresh Snapshots.
Note: The PI Interface for Performance Monitor – and not this interface – is
responsible for updating the values for the performance counters points in the
PI Data Archive. So, make sure that the PI Interface for Performance Monitor is
running correctly.
Performance Counters
98
A skipped scan is a scan that occurs at least one scan period after its scheduled time. This
point is similar to the [UI_SCSKIPPED] Health Point.
The ICU uses a naming convention such that the point containing "“Scan Class 1)"”(for
example, "“y.perf.etamp390.E1(Scan Class 1).sched_scans_%skipped"”
refers to scan class 1, "“Scan Class 2)"”refers to scan class 2, and so on. The point containing
"“_Total)"”refers to the sum of all scan classes.
100
“Points Good” (.Points_Good)
The .Points_Good performance counter point is the number of points that have sent a good
current value to the PI Data Archive. A good value is defined as any value that is not a
system digital state value. A point can either be Good, In Error, or Stale. The total of Points
Good, Points In Error, and Points Stale will equal the Point Count. There is one exception to
this rule. At startup of an interface, the stale timeout must elapse before the point will be
added to the Stale counter. Therefore the interface must be up and running for at least 10
minutes for all points to belong to a particular counter.
102
Interface Health Monitoring Points
Interface Health Monitoring Points provide information about the health of this interface. To
use the ICU to configure these points, select this interface from the Interface list and click
Health Points from the parameter category pane:
Right-click the row for a particular health point to open the shortcut menu:
Click Create to create the health point for that particular row. Click Create All to create all
the health points.
To see the current values (snapshots) of the health points, right-click and select Refresh
Snapshots.
For some of the health points described subsequently, the interface updates their values at
each performance summary interval (typically, 8 hours).
[UI_HEARTBEAT]
The [UI_HEARTBEAT] health point indicates whether the interface is currently running.
The value of this point is an integer that increments continuously from 1 to 15. After reaching
15, the value resets to 1.
The fastest scan class frequency determines the frequency at which the interface updates this
point:
Fastest Scan Frequency Update frequency
Less than 1 second 1 second
Between 1 and 60 Scan frequency
seconds, inclusive
More than 60 seconds 60 seconds
If the value of the [UI_HEARTBEAT] health point is not changing, then this interface is in
an unresponsive state.
[UI_DEVSTAT]
The Health tag with a string point type and the attribute Exdesc = [UI_DEVSTAT], is used to
represent the status of the interface. The possible values for this string point are:
“1 | Starting” – The Interface remains in this state until it has loaded the PI points
and either starts scanning, or if running in failover, it initializes the failover state.
“2 | Connected/No Data” – the interface is part of a failover pair and currently
initializing or changing failover state.
“Good” – The interface is able to collect data. A value of “Good” does not mean
that all tags are receiving good values, but it is a good indication that there are no
hardware or network problems. When using failover, a “Good” status can
indicate that the interface is active or on standby. The failover status PI points
will show the status of the individual instances of the interface.
“4 | Intf Shutdown” – The Interface has shut down.
The Interface updates this point whenever the interface is started or stopped
[UI_SCINFO]
The [UI_SCINFO] health point provides scan class information. The value of this point is a
string that indicates
the number of scan classes;
the update frequency of the [UI_HEARTBEAT] health point; and
the scan class frequencies
An example value for the [UI_SCINFO] health point is:
3 | 5 | 5 | 60 | 120
104
The interface updates the value of this point at startup and at each performance summary
interval.
[UI_IORATE]
The [UI_IORATE] health point indicates the sum of
1. the number of scan-based input values the interface collects before it performs
exception reporting; and
2. the number of event-based input values the interface collects before it performs
exception reporting; and
3. the number of values that the interface writes to output points that have a SourceTag.
The interface updates this point at the same frequency as the [UI_HEARTBEAT] point. The
value of this [UI_IORATE] health point may be zero. A stale timestamp for this point
indicates that this interface has stopped collecting data.
[UI_MSGCOUNT]
The [UI_MSGCOUNT] health point tracks the number of messages that the interface has
written to the log file since start-up. In general, a large number for this point indicates that the
interface is encountering problems. You should investigate the cause of these problems by
looking in log messages.
The interface updates the value of this point every 60 seconds. While the interface is running,
the value of this point never decreases.
[UI_POINTCOUNT]
The [UI_POINTCOUNT] health point counts the number of PI points loaded by the interface.
This count includes all input, output, and triggered input points. This count does NOT include
any interface health points or performance points.
The interface updates the value of this point at startup, on change, and at shutdown.
[UI_OUTPUTRATE]
After performing an output to the device, this interface writes the output value to the output
point if the point has a SourceTag. The [UI_OUTPUTRATE] health point tracks the number
of these values. If there are no output points for this interface, it writes the system digital state
No Result to this health point.
The interface updates this point at the same frequency as the [UI_HEARTBEAT] point. The
interface resets the value of this point to zero at each performance summary interval.
[UI_OUTPUTBVRATE]
The [UI_OUTPUTBVRATE] health point tracks the number of system digital state values
that the interface writes to output points that have a SourceTag. If there are no output points
for this interface, it writes the system digital state No Result to this health point.
The interface updates this point at the same frequency as the [UI_HEARTBEAT] point. The
interface resets the value of this point to zero at each performance summary interval.
[UI_TRIGGERRATE]
The [UI_TRIGGERRATE] health point tracks the number of values that the interface writes
to event-based input points. If there are no event-based input points for this interface, it writes
the system digital state No Result to this health point.
The interface updates this point at the same frequency as the [UI_HEARTBEAT] point. The
interface resets the value of this point to zero at each performance summary interval.
[UI_TRIGGERBVRATE]
The [UI_TRIGGERBVRATE] health point tracks the number of system digital state values
that the interface writes to event-based input points. If there are no event-based input points
for this interface, it writes the system digital state No Result to this health point.
The interface updates this point at the same frequency as the [UI_HEARTBEAT] point. The
interface resets the value of this point to zero at each performance summary interval.
[UI_SCIORATE]
You can create a [UI_SCIORATE] health point for each scan class in this interface. The ICU
uses a tag naming convention such that the suffix “.sc1” (for example,
sy.st.etamp390.E1.Scan Class IO Rate.sc1) refers to scan class 1, “.sc2” refers to
scan class 2, and so on.
A particular scan class’s [UI_SCIORATE] health point indicates the number of values that
the interface has collected. If the current value of this point is between zero and the
corresponding [UI_SCPOINTCOUNT] point, inclusive, then the interface executed the scan
successfully. If a [UI_SCIORATE] point stops updating, then this condition indicates that an
error has occurred and the points in the scan class are no longer receiving new data.
The interface updates the value of a [UI_SCIORATE] point after the completion of the
associated scan.
Although the ICU allows you to create the point with the suffix “.sc0”, this point is not
applicable to this interface.
[UI_SCBVRATE]
You can create a [UI_SCBVRATE] health point for each scan class in this interface. The ICU
uses a tag naming convention such that the suffix "“sc1"”(for example,
sy.st.etamp390.E1.Scan Class Bad Value Rate.sc1) refers to scan class 1,
"“sc2"”refers to scan class 2, and so on.
A particular scan class’s [UI_SCBVRATE] point indicates the number system digital state
values that the interface has collected.
The interface updates the value of a [UI_SCBVRATE] point after the completion of the
associated scan.
Although the ICU allows you to create the point with the suffix “.sc0”, this point is not
applicable to this interface.
[UI_SCSCANCOUNT]
You can create a [UI_SCSCANCOUNT] health point for each scan class in this interface.
The ICU uses a tag naming convention such that the suffix "“sc1"”(for example,
106
sy.st.etamp390.E1.Scan Class Scan Count.sc1) refers to scan class 1,
"“sc2"”refers to scan class 2, and so on.
A particular scan class'’ [UI_ SCSCANCOUNT] point tracks the number of scans that the
interface has performed.
The interface updates the value of this point at the completion of the associated scan. The
interface resets the value to zero at each performance summary interval.
Although there is no "“can Class 0"” the ICU allows you to create the point with the suffix
"“sc0"” This point indicates the total number of scans the interface has performed for all of
its scan classes.
[UI_SCSKIPPED]
You can create a [UI_SCSKIPPED] health point for each scan class in this interface. The
ICU uses a tag naming convention such that the suffix "“sc1"”(for example,
sy.st.etamp390.E1.Scan Class Scans Skipped.sc1) refers to scan class 1,
"“sc2"”refers to scan class 2, and so on.
A particular scan class’s [UI_SCSKIPPED] point tracks the number of scans that the
interface was not able to perform before the scan time elapsed and before the interface
performed the next scheduled scan.
The interface updates the value of this point each time it skips a scan. The value represents
the total number of skipped scans since the previous performance summary interval. The
interface resets the value of this point to zero at each performance summary interval.
Although there is no "“can Class 0"” the ICU allows you to create the point with the suffix
"“sc0"” This point monitors the total skipped scans for all of the interface’s scan classes.
[UI_SCPOINTCOUNT]
You can create a [UI_SCPOINTCOUNT] health point for each scan class in this interface.
The ICU uses a tag naming convention such that the suffix "“sc1"”(for example,
sy.st.etamp390.E1.Scan Class Point Count.sc1) refers to scan class 1,
"“sc2"”refers to scan class 2, and so on.
This health point monitors the number of points in a scan class.
The interface updates a [UI_SCPOINTCOUNT] health point when it performs the associated
scan.
Although the ICU allows you to create the point with the suffix "“sc0"” this point is not
applicable to this interface.
[UI_SCINSCANTIME]
You can create a [UI_SCINSCANTIME] health point for each scan class in this interface.
The ICU uses a tag naming convention such that the suffix "“sc1"”(for example,
sy.st.etamp390.E1.Scan Class Scan Time.sc1) refers to scan class 1, "“sc2"”refers
to scan class 2, and so on.
A particular scan class'’ [UI_ SCINSCANTIME] point represents the amount of time (in
milliseconds) the interface takes to read data from the device, fill in the values for the points,
and send the values to the PI Data Archive.
The interface updates the value of this point at the completion of the associated scan.
PI Interface for Foxboro I/A 70 Series 107
Interface Diagnostics Configuration
[UI_SCINDEVSCANTIME]
You can create a [UI_SCINDEVSCANTIME] health point for each scan class in this
interface. The ICU uses a tag naming convention such that the suffix "“sc1"”(for example,
sy.st.etamp390.E1.Scan Class Device Scan Time.sc1) refers to scan class 1,
"“sc2"”refers to scan class 2, and so on.
A particular scan class'’ [UI_ SCINDEVSCANTIME] point represents the amount of time (in
milliseconds) the interface takes to read data from the device and fill in the values for the
points.
The value of a [UI_ SCINDEVSCANTIME] point is a fraction of the corresponding
[UI_SCINSCANTIME] point value. You can use these numbers to determine the percentage
of time the interface spends communicating with the device compared with the percentage of
time communicating with the PI Data Archive.
If the [UI_SCSKIPPED] value is increasing, the [UI_SCINDEVSCANTIME] points along
with the [UI_SCINSCANTIME] points can help identify where the delay is occurring:
whether the reason is communication with the device, communication with the
PI Data Archive, or elsewhere.
The interface updates the value of this point at the completion of the associated scan.
108
As the preceding figure shows, the ICU suggests an Event Counter number and a Tagname
for the I/O Rate point. Click the Save button to save the settings and create the I/O Rate point.
Click the Apply button to apply the changes to this copy of the interface.
You need to restart the interface in order for it to write a value to the newly created I/O Rate
point. Restart the interface by clicking the Restart button:
(The reason you need to restart the interface is that the PointSource attribute of an I/O Rate
point is Lab.)
To confirm that the interface recognizes the I/O Rate point, look in the log file for a message
such as:
PI-ModBus 1> IORATE: tag sy.io.etamp390.ModbusE1 configured.
To see the I/O Rate point’s current value (snapshot), click the Refresh snapshot button:
Event Counter
The Event Counter correlates a point specified in the iorates.dat file with this copy of the
interface. The command-line equivalent is /ec=x, where x is the same number that is
assigned to a tag name in the iorates.dat file.
Tagname
The tag name listed in the Tagname box is the name of the I/O Rate point.
Tag Status
The Tag Status box indicates whether the I/O Rate point exists in the PI Data Archive. The
possible states are:
Created – This status indicates that the point exist in the PI Data Archive
Not Created – This status indicates that the point does not yet exist in the
PI Data Archive
Deleted – This status indicates that the point has just been deleted
PI Interface for Foxboro I/A 70 Series 109
Interface Diagnostics Configuration
Unknown – This status indicates that the PI ICU is not able to access the
PI Data Archive
In File
The In File box indicates whether the I/O Rate point in the Tagname box and the number in
the Event Counter box are in the IORates.dat file. The possible states are:
Yes – This status indicates that the tag name and event counter are in the IORates.dat
file
No – This status indicates that the tag name and event counter are not in the
IORates.dat file
Snapshot
The Snapshot column holds the snapshot value of the I/O Rate point, if the I/O Rate point
exists in the PI Data Archive. The Snapshot box is updated when the IORate page is selected
and when the interface is first loaded.
Create/Save
Create the suggested I/O Rate point with the tag name indicated in the Tagname box. Or, save
any changes for the tag name indicated in the Tagname box.
Delete
Delete the I/O Rate point listed in the Tagname box.
Rename
Change the tag name for the I/O Rate point listed in the Tagname box.
Add to File
Add the tag name to the IORates.dat file with the event counter listed in the Event Counter
box.
Search
Search the PI Data Archive for a previously defined I/O Rate point.
110
Appendix A. Error and Informational Messages
A string NameID is pre-pended to error messages written to the message log. Name is a
non-configurable identifier that is no longer than 9 characters. ID is a configurable identifier
that is no longer than 9 characters and is specified using the /id parameter on the startup
command-line.
Message Logs
The location of the message log depends upon the platform on which the interface is running.
For more information about logs for interfaces running on Windows, see UniInt Interface
Message Logging for UniInt 4.5.0.x and later Interfaces or knowledge base article 401 on the
OSIsoft technical support web site.
Messages are written to the log file at the following times.
When the interface starts, many informational messages are written to the log. These
messages include the version of the interface, the version of UniInt, the
command-line parameters used, and the number of points.
As the interface loads points, messages are sent to the log if there are any problems
with the configuration of the points.
If the UniInt /dbUniInt parameter is found in the command-line, then various
informational messages are written to the log file.
If the /fdb= is used on the command-line, then various informational messages are
sent to the log.
Interface-level
The Interface can be configured to print out debugging messages by specifying various values
in the –fdb command line parameter. Alternatively, the DebugFlags section of the
fxbais.ini file may be used to specify these values. The available debugging values are:
11 – Additional messages when opening lists of tags
12 – Setup of tags used with the libprofplot.so library
13 – Reading of data using libprofplot.so function calls
15 – Time offset between the PI Data Archive and the Interface
1 Verbose messages during point loading
Point-level
The Interface may be configured to print out debugging messages for individual points. To
do so, add 4096 to the value of the point’s UserInt1 tag attribute field.
The advantage of point level debugging is that the user does not have to
stop the Interface
add –fdb parameters to the interface startup file
re-start the Interface
Because the Interface automatically incorporates PI tag attribute changes, point level
debugging can be disabled by setting the point’s UserInt1 attribute field to a value less than
4096.
The following are examples of point level debug messages:
14-Jul-09 13:47:52
FXBAIS 1> [mreaidx] Pitag (PITEST01_01:LC001_CTRL.MEAS) idx=92
status=0x223 val=40.925900 istat=0 changeCount=921
14-Jul-09 13:47:52
FXBAIS 1> ia_to_pi(): Pitag (PITEST01_01:LC001_CTRL.MEAS) drval=
40.9259 ival=0 istat=0 count=1
14-Jul-09 13:47:52
112
FXBAIS 1> dsil() – Pitag (PITEST01_01:LC001_CTRL.MEAS)
t=1247536082.00 istat=0 drval=40.9259 ival=0 sent to UniInt
This message indicates that for the PI point PITEST01_01:LC001_CTRL.MEAS, the call to
the FoxAPI function mreaidx() used the FoxAPI index of 92 to get the current value of the
object and resulted in a value of 40.925900 and an I/A object status of 0x223 (secured,
connected, float). This was converted to a drval=40.9259 and istat=0 for writing to PI.
Finally, the timestamp of 1247536082 UTC seconds was used when the event was sent to PI.
14-Jul-09 13:56:11
FXBAIS 1> [uread] error=0, status 0x23, val=94.824608; Pitag
(PITEST01_02:STATBITS001.RI01) istat=0
14-Jul-09 13:56:11
FXBAIS 1> dsil() – Pitag (PITEST01_02:STATBITS001.RI01)
t=1247536580.00 istat=0 drval=94.8246 ival=0 sent to UniInt
This message indicates that for the PI tag PITEST01_02:STATBITS001.RI01, the call to
the FoxAPI function uread() resulted in a value of 94.824608 and an I/A object status of
0x23 (connected, float). The timestamp of 1247536580 UTC seconds was used when the
event was sent to PI.
The pidiag –t utility can be used to convert the UTC seconds timestamp into a human
readable format. The pidiag utility is installed in the PIHOME/adm directory. The following
is an example of the pidiag –t command,
pidiag –t 1247536580 U
14-Jul-09 13:56:20 NZST – Local: 1247579780 UTC: 1247536580
Note: The trailing U on the pidiag –t command specifies that the timestamp passed is a
UTC time and not a local time. Timestamps logged in the interface debug messages will
always be in UTC seconds.
If the event count appears too high or low, the user can determine the source of excess values.
There are event counters for the Interface and for the individual buffered lists.
The Interface may be configured to count all inputs (-ec), unbuffered inputs (-ecuinp),
buffered outputs (-ecout), and unbuffered outputs (-ecuout). Use of these counters will
provide an overview of events generated by each category.
If there are buffered input or output points (i.e., Location2 greater than zero), list event
counters may be used. These counters are configured by specifying a non-zero Location5
field and a positive Location2 for a point. Such a point will then contain the number of I/A
object change counts. Location2 corresponds to the PI list number. Location5 indicates the
frequency in seconds with which the Interface updates this point. (For example, Location5
may be 120 to indicate 2 minutes.) Location4 indicates a scanclass number whose frequency
is less than the Location5 value.
114
Appendix B. PI SDK Options
To access the PI SDK settings for this interface, select this interface from the Interface list
and click UniInt – PI SDK in the parameter category pane.
Disable PI SDK
Select Disable PI SDK to tell the interface not to use the PI SDK. If you want to run the
interface in disconnected startup mode, you must choose this option.
The command line equivalent for this option is /pisdk=0.
Enable PI SDK
Select Enable PI SDK to tell the interface to use the PI SDK. Choose this option if the
PI Data Archive version is earlier than 3.4.370.x or the PI API is earlier than 1.6.0.2, and you
want to use extended lengths for the Tag, Descriptor, ExDesc, InstrumentTag, or PointSource
point attributes. The maximum lengths for these attributes are:
Attribute Enable the Interface to use PI Data Archive earlier than 3.4.370.x
the PI SDK or PI API earlier than 1.6.0.2, without
the use of the PI SDK
Tag 1023 255
Descriptor 1023 26
ExDesc 1023 80
InstrumentTag 1023 32
PointSource 1023 1
However, if you want to run the interface in disconnected startup mode, you must not choose
this option.
The command line equivalent for this option is /pisdk=1.
118
Interface locks up when opening output lists
If the interface attempts to open a list with write access and one of the points within the list is
an output parameter then the interface will lock up. The only way to stop the process is with
a kill -9. This is a limitation of the FoxAPI. The interface will attempt to check the “secured”
status of the write objects when the PI points are loaded, but this will only trap input
parameters that are currently secured and will not detect problems with output parameters.
Therefore, care must be taken when configuring buffered output points (from PI) that they
will only write to input (unsecured) I/A parameters.
The Interface can only write to an INPUT parameter of a block. For example, the Interface
cannot change the value of an .OUT parameter of a PID block since that parameter is the
output of these blocks. One can determine whether a parameter is an OUTPUT by examining
the documentation for the block.
When writing to variable blocks (BOOL, LONG, PACK, REAL, STRING), the VALUE
parameter is an output parameter and cannot be used with buffered outputs. Only unbuffered
outputs (Location2=0) points can be used to write to these objects.
But, unbuffered outputs should also be used with care. Although they will not cause the
interface to lockup when opening lists, they can cause long delays within the interface if the
I/A object is not currently available (misconfigured or a CP is rebooting).
On some Foxboro nodes, the time zone may be set to GMT and the system clock adjusted to
show the correct local time. Because of this, the system clock (UTC seconds) is not correct
when compared to the actual UTC seconds from the PI Data Archive.
The interface is able to adjust for this difference when the timestamps are sent to the PI Data
Archive, but some misleading messages can be logged. For example,
16-Jul-09 14:08:48
FXBAIS 1> (UTC time on server node – UTC time on interface node) = -43190
seconds
16-Jul-09 14:08:48
FXBAIS 1> Local time on server node – local time on interface node) = 10
seconds
The above messages show the time difference between a Foxboro AW51 and a PI Data
Archive in New Zealand (GMT+12). The local times are different by 10 seconds (due to
clock drift) and the UTC times are difference by nearly 12 hours. This is expected for
Foxboro Aws were the time zone is set to GMT.
Operational Hints
The following information may be useful during the operation of the PI Foxboro Interface.
PI Points showing “Bad Input” on startup until the I/A value changed
There was a problem with older versions of the I/A Object Manager that would cause some
PI points get a “No Response” status from the FoxAPI when the FoxAPI data sets were
opened. This would cause the fxbais interface to see the value as a “Bad Input”. The value
status would not be updated until the I/A value changed in the controller and triggered an
update of the FoxAPI.
This problems was resolved with the following Foxboro Quickfixes
I/A 6.5.1 Windows NT QF1005127
I/A 7.1 Windows XP QF1005128
maxobj
On startup, the FoxAPI / AIM*API processes allocate resources based on the maxima values
specified in the configuration file. Most of the maxima values are sufficient for most normal
operations.
The exception is maxobj, which is often too small for interfaces collecting large numbers of
points. The maxobj is the maximum number of objects that the API can maintain
connections to, and the default is 6000. When the interface attempts to open lists when the
6000 objects have been used, the call will fail and the interface will not be able to scan the
points.
Setting the maxobj to higher values allows the API to allocate more shared memory to the
lists. Typically, the maxobj should be 1.5 or 2 times the number of points scanned by the
interface.
For example, if an interface is scanning 6000 points, use
maxobj = 10000
This allows addition resources for when points are added or deleted from the interface, and
having extra resources allocated within the FoxAPI does not cause any problems.
Also note that it is possible for the resources to be used by points that are no longer being
scanned. To allow the FoxAPI to preserve object index values on a restart, the FoxAPI keeps
a list of the objects it has accessed in a file called restore_index.dat. The objects within
this list will reserve space in the FoxAPI, even if they are no longer in use. Therefore, it is
possible for the FoxAPI to run out of resources even when the fxbais interface and other
applications are not using maxobj objects.
To free the resources allocated for the restore_index.dat objects,
4. Stop the PI API and fxbais interface
$PIHOME/bin/pistop
5. Stop the FoxAPI processes
/opt/fox/ais/bin/aisstop
6. Delete the restore_index.dat file
rm /opt/fox/ais/bin/resource_index.dat
7. Restart the FoxAPI processes
/opt/fox/ais/bin/aisstart
8. Restart the PI API and the fxbais interface
$PIHOME/bin/pistart
The restore_index.dat file will be recreated and only objects that are used will be included in
the file.
maxds
This defines the maximum number of datasets. The default is 100. The range is 3 to 1000.
The number of datasets that the interface will open is the number of unique values in the
location2 attribute for the points in the interface. The default 100 datasets is usually
sufficient.
fastest_rsr
If the Object Manager (OM) loading on the control stations is too high, the OM can be
slowed to reduce the loads. The fastest_rsr parameter controls how often the control station
checked the objects in its scan lists to see whether they have exceeded the delta values, and is
in 0.5 second units (1=0.5 sec, 2=1 sec etc). The default value is 1 (0.5 seconds). A typical
setting for the fastest_rsr parameter is
fastest_rsr = 4
Increasing fastest_rsr to 4 (2 seconds) can significantly reduce the loads on the control
stations, but still giving an acceptable update rate to the interface.
Unfortunately, the fastest_rsr is applied to all connections from the FoxAPI and so it is not
possible to have different control stations using different rates.
122
Appendix D. FoxAPI/AIM*API Status Definition
When the fxbais interface reads a value from an I/A object, it also receives the object status.
The FoxAPI/AIM*API presents this status as a 32-bit word, with the bits numbered from 0 to
31. Bit 0 is the least significant. The fxbais interface can use this status to determine whether
the value is good. If the value is not good, then the interface can be configured to handle it in
different ways.
124
Generally, the Interface sends the I/A object’s value to PI only if all three of the following
conditions are met:
9. Bits 5-7 indicate a connected status.
10. Bit 8 indicates okay.
11. Bit 11 indicates in service.
Otherwise, the Interface sends Bad Input to PI. However, the condition regarding the bad
status from Bit 8 may be ignored. See the description for BadStatusIndication in the
section regarding the fxbais.ini file.
Appendix E. Terminology
To understand this interface manual, you should be familiar with the terminology used in this
document.
Buffering
Buffering refers to an interface node’s ability to store temporarily the data that interfaces
collect and to forward these data to the appropriate PI Data Archives.
N-Way Buffering
If you have PI Data Archives that are part of a collective, PIBufss supports n-way buffering.
N-way buffering refers to the ability of a buffering application to send the same data to each
of the PI Data Archives in a collective. (Bufserv also supports n-way buffering to multiple
PI Data Archives in a collective; however, it does not guarantee identical archive records
since point compression attributes could be different between PI Data Archives. With this in
mind, OSIsoft recommends that you run PIBufss instead.)
ICU
ICU refers to the PI Interface Configuration Utility. The ICU is the primary application that
you use to configure PI interface programs. You must install the ICU on the same computer
on which an interface runs. A single copy of the ICU manages all of the interfaces on a
particular computer.
You can configure an interface by editing a startup command file. However, OSIsoft
discourages this approach. Instead, OSIsoft strongly recommends that you use the ICU for
interface management tasks.
ICU Control
An ICU control is a plug-in to the ICU. Whereas the ICU handles functionality common to all
interfaces, an ICU control implements interface-specific behavior. Most PI interfaces have an
associated ICU control.
Interface Node
An interface node is a computer on which
the PI API and/or PI SDK are installed, and
PI Data Archive programs are not installed.
PI API
The PI API is a library of functions that allow applications to communicate and exchange
data with the PI Data Archive. All PI interfaces use the PI API.
126
PI Data Archive in a collective becomes unavailable, a secondary collective member node
seamlessly continues to collect and provide data access to your PI clients.
PIHOME
PIHOME refers to the directory that is the common location for PI 32-bit client applications.
A typical PIHOME on a 32-bit operating system is C:\Program Files\PIPC.
A typical PIHOME on a 64-bit operating system is C:\Program Files (x86)\PIPC.
PI 32-bit interfaces reside in a subdirectory of the Interfaces directory under PIHOME.
For example, files for the 32-bit Modbus Ethernet Interface are in
[PIHOME]\PIPC\Interfaces\ModbusE.
This document uses [PIHOME] as an abbreviation for the complete PIHOME or PIHOME64
directory path. For example, ICU files in [PIHOME]\ICU.
PIHOME64
PIHOME64 is found only on a 64-bit operating system and refers to the directory that is the
common location for PI 64-bit client applications.
A typical PIHOME64 is C:\Program Files\PIPC.
PI 64-bit interfaces reside in a subdirectory of the Interfaces directory under PIHOME64.
For example, files for a 64-bit Modbus Ethernet Interface would be found in
C:\Program Files\PIPC\Interfaces\ModbusE.
This document uses [PIHOME] as an abbreviation for the complete PIHOME or PIHOME64
directory path. For example, ICU files in [PIHOME]\ICU.
PI Message Log
The PI message log is the file to which OSIsoft interfaces based on UniInt 4.5.0.x and later
write informational, debug and error messages. When a PI interface runs, it writes to the
local PI message log. This message file can only be viewed using the PIGetMsg utility. See
the Message Logs section for more information on how to access these messages.
PI SDK
The PI SDK is a library of functions that allow applications to communicate and exchange
data with the PI Data Archive. Some PI interfaces, in addition to using the PI API, require the
use of the PI SDK.
PI Server Node
In earlier documentation, the term “PI Server” was used as a nickname for the
PI Data Archive and a PI Server node was a computer on which PI Data Archive programs
were installed. While the PI Data Archive remains a core server of the PI Server product, the
product name “PI Server” now refers to much more than the PI Data Archive. OSIsoft
documentation, including this user manual, is changing to use “PI Server” in this broader
sense and “PI Data Archive” to refer to the historian core. (See PI Data Archive Node.)
PI SMT
PI SMT refers to PI System Management Tools. PI SMT is the program that you use for
configuring PI Data Archives. A single copy of PI SMT manages multiple PI Data Archives.
PI SMT runs on either a PI Data Archive node or an interface node.
Pipc.log
The pipc.log file is the file to which OSIsoft interfaces based on UniInt versions earlier
than 4.5.0.x write informational and error messages. When a PI interface runs, it writes to the
pipc.log file. The ICU allows easy access to the pipc.log.
Point
The PI point is the basic building block for controlling data flow to and from the
PI Data Archive. For a given timestamp, a PI point holds a single value.
A PI point does not necessarily correspond to a “point” on the data source device. For
example, a single “point” on the data source device can consist of a set point, a process value,
an alarm limit, and a discrete value. These four pieces of information require four separate PI
points.
Service
A Service is a Windows program that runs without user interaction. A service continues to
run after you have logged off from Windows. It has the ability to start up when the computer
itself starts up.
The ICU allows you to configure a PI interface to run as a service.
128
Appendix F. Technical Support and Resources
132
Date Author Comments
15-Jan-2016 KMillar Version 2.4.1.x, Revision A; Various updates
WI#107930 – Clarify event counters with failover
WI#108887 – Show AIM*API can be used for failover
WI#116198 – Clarify that using kill -9 to stop
processes applies only to Solaris
WI#119195 – Fix chapter numbering
WI#120562 – Clarify use of the useaimapi parameter
WI#120567 – Clarify when the open_action &
clsset_action scripts are needed
29-Jan-2016 KMillar Version 2.4.1.x, Revision B; Update to skeleton 3.0.4.
Changes to a Windows specific manual. Remove
Solaris specific documentation (this will be in a
separate manual for the Solaris version of the
interface)
17-Aug-2016 KMillar Version 2.4.2.x; Update version
18-Nov-2016 MMoore Version 2.4.2.x: Skeleton 3.0.43